/* ===========================
   RESET & BASE
=========================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    min-height: 100%;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    background: radial-gradient(circle at top left, #0f172a 0%, #020617 45%, #020617 100%) !important;
    color: #e5e7eb !important;
}

/* ===========================
   CARTE PRINCIPALE
=========================== */

body .container {
    width: min(980px, 94%);
    margin: 80px auto;
    padding: 36px 30px 32px;
    border-radius: 28px;
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.88));
    box-shadow:
        0 28px 70px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(148, 163, 184, 0.35);
    backdrop-filter: blur(18px);
    text-align: center;
    overflow: hidden;
}

/* halo néon derrière la carte */
body .container::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.30), transparent 60%);
    opacity: 0.9;
    z-index: -1;
}

/* ===========================
   TITRES
=========================== */

body h1 {
    font-size: 30px;
    margin: 0 0 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f9fafb;
}

body h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
}

/* tous les h2 */
body h2 {
    font-size: 22px;
    margin: 26px 0 14px;
    color: #e5e7eb;
    text-align: left;
    display: inline-block;
    position: relative;
    padding-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* le premier h2 (Technologies) centré */
body .container > h2:first-of-type {
    text-align: center;
}

/* barre bleue sous les h2 */
body h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 90px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #22d3ee);
}

/* ===========================
   TEXTE
=========================== */

body p {
    text-align: justify;
    line-height: 1.8;
    font-size: 16px;
    color: #e5e7eb;
    margin: 0 0 16px;
}

body strong {
    color: #bfdbfe;
}

/* ===========================
   BADGES TECHNOLOGIES
=========================== */

body .tech-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

body .tech-list li {
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: radial-gradient(circle at top left, #1d4ed8, #2563eb);
    color: #f9fafb;
    box-shadow:
        0 12px 30px rgba(37, 99, 235, 0.6),
        0 0 0 1px rgba(59, 130, 246, 0.9);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body .tech-list li:hover {
    transform: translateY(-2px);
    background: radial-gradient(circle at top left, #2563eb, #38bdf8);
    box-shadow:
        0 16px 40px rgba(37, 99, 235, 0.8),
        0 0 0 1px rgba(56, 189, 248, 0.9);
}

/* ===========================
   CONTENU (missions, etc.)
=========================== */

body .content {
    margin-top: 10px;
    text-align: left;
}

/* liste principale */
body .content > ul {
    list-style: none;
    padding-left: 0;
    margin: 10px 0 18px;
}

/* chaque gros item (Missions, Compétences) */
body .content > ul > li {
    position: relative;
    margin: 14px 0 6px;
    padding: 12px 14px 12px 40px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
    box-shadow:
        0 14px 34px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(148, 163, 184, 0.25);
    color: #e5e7eb;
}

/* pastille néon devant chaque gros item */
body .content > ul > li::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: radial-gradient(circle at center, #3b82f6, #22d3ee);
    box-shadow:
        0 0 8px rgba(59, 130, 246, 0.9),
        0 0 14px rgba(56, 189, 248, 0.9);
}

/* sous-listes (détails) */
body .content ul ul {
    list-style: none;
    margin: 8px 0 4px;
    padding-left: 10px;
}

body .content ul ul li {
    position: relative;
    margin: 6px 0;
    padding-left: 18px;
    font-size: 15px;
    line-height: 1.6;
}

/* petit bullet pour les sous-points */
body .content ul ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
}

/* ===========================
   BOUTON RETOUR
=========================== */

body .back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
    padding: 10px 26px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;

    background: linear-gradient(135deg, #3b82f6, #22d3ee);
    color: #0b1120;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.6);
}

body .back-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #22c55e, #06b6d4);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: -1;
}

body .back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(37, 99, 235, 0.85);
}

body .back-link:hover::before {
    opacity: 1;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 768px) {
    body .container {
        margin: 60px auto 40px;
        padding: 26px 18px 24px;
    }

    body h1 {
        font-size: 24px;
    }

    body h2 {
        font-size: 19px;
    }

    body .tech-list li {
        white-space: normal;
        text-align: center;
    }
}
