/* Importation d'une police moderne de Google Fonts */
@import url('https://googleapis.com');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0f19;
    color: #e2e8f0;
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Gestion du canvas en arrière-plan */
#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    text-align: center;
    margin-bottom: 50px;
}

/* Titre NETWORKS épuré et cyberpunk */
header h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.6);
}

/* Bloc d'introduction */
.intro-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.intro-card p {
    font-size: 1.15rem;
    margin-bottom: 15px;
}

.intro-card .subtitle {
    color: #00f2fe;
    font-weight: 700;
    margin-bottom: 0;
}

/* Réorganisation du texte en grille à 2 colonnes pour les cas */
.grid-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 1024px) {
    .grid-container {
        grid-template-columns: 1fr 1fr; /* Sépare le texte original en 2 colonnes distinctes */
    }
}

.case-card {
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 35px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.case-card:hover {
    border-color: rgba(0, 242, 254, 0.4);
    transform: translateY(-5px);
}

h2 {
    font-size: 1.5rem;
    color: #00f2fe;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(0, 242, 254, 0.2);
    padding-bottom: 10px;
}

.description {
    font-style: italic;
    color: #94a3b8;
    margin-bottom: 25px;
}

.step {
    margin-bottom: 30px;
}

h3 {
    font-size: 1.2rem;
    color: #38bdf8;
    margin: 20px 0 10px 0;
}

/* Listes pour NordVPN */
ul {
    list-style-position: inside;
    margin-left: 10px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    color: #cbd5e1;
}

/* Blocs de code Linux / Configurations */
pre {
    background-color: #05070f;
    border-left: 3px solid #00f2fe;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 12px 0;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: #38bdf8;
}

pre code {
    color: #a7f3d0;
}
