/* ============================================================
   KGATLENG TALENT PORT – SOFTENED TONE STYLES
   WITH BACKGROUND IMAGE SUPPORT
   ============================================================ */

/* ---------- ROOT VARIABLES ---------- */
:root {
    --bg: #0a1622;
    --panel: #102237;
    --soft: #142b40;
    --gold: #b89a78;
    --gold-soft: rgba(184,154,120,0.14);
    --white: #eef0f2;
    --muted: #a0adb8;
    --line: rgba(255,255,255,0.06);
    --blue: #4a8aaa;
    --blue-soft: rgba(74,138,170,0.1);
    --shadow: 0 20px 60px rgba(0,0,0,0.35);
    --transition-cinematic: cubic-bezier(0.16,1,0.3,1);
    --header-height: 80px;

    --text-xs: clamp(0.6rem,1.2vw,0.7rem);
    --text-sm: clamp(0.7rem,1.5vw,0.82rem);
    --text-base: clamp(0.85rem,1.8vw,1rem);
    --text-md: clamp(1rem,2.2vw,1.2rem);
    --text-lg: clamp(1.2rem,2.8vw,1.6rem);
    --text-xl: clamp(1.6rem,4vw,2.4rem);
    --text-2xl: clamp(2rem,5vw,3.2rem);
    --text-3xl: clamp(2.8rem,7vw,4.5rem);
    --text-4xl: clamp(3.5rem,9vw,6rem);

    --section-spacing-desktop: 5rem;
    --section-spacing-tablet: 4rem;
    --section-spacing-mobile: 2.5rem;
    --card-padding-desktop: 2.5rem;
    --card-padding-tablet: 1.8rem;
    --card-padding-mobile: 1.2rem;
}

/* ---------- RESET & BASE ---------- */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family:'Inter',sans-serif;
    background:linear-gradient(180deg,#0a1622 0%,#0b1723 100%);
    color:var(--white);
    overflow-x:hidden;
    padding-top:var(--header-height);
}
body::before {
    content:'';
    position:fixed;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(74,138,170,0.06), transparent 25%),
        radial-gradient(circle at left center, rgba(184,154,120,0.05), transparent 30%),
        radial-gradient(circle at bottom right, rgba(74,138,170,0.04), transparent 20%);
    pointer-events:none;
    z-index:-1;
}
.container { width:min(1400px,92%); margin:auto; }

/* ---------- HEADER & NAV ---------- */
header {
    position:fixed;
    top:0; left:0;
    width:100%;
    z-index:1000;
    backdrop-filter:blur(18px);
    background:rgba(10,22,34,0.92);
    border-bottom:1px solid var(--line);
    height:var(--header-height);
}
.nav {
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:100%;
}
.logo { display:flex; flex-direction:column; gap:0.25rem; }
.logo span:first-child {
    font-size:0.75rem;
    letter-spacing:0.28rem;
    text-transform:uppercase;
    color:var(--gold);
}
.logo h1 {
    font-size:1rem;
    font-weight:700;
    letter-spacing:0.08rem;
}
nav ul {
    display:flex;
    gap:2rem;
    list-style:none;
    align-items:center;
}
nav a {
    color:var(--muted);
    text-decoration:none;
    font-size:0.95rem;
    transition:0.3s ease;
}
nav a:hover { color:var(--white); }
.nav-cta {
    padding:0.8rem 1.25rem;
    border-radius:999px;
    border:1px solid rgba(184,154,120,0.3);
    background:var(--gold-soft);
    color:var(--gold);
    text-decoration:none;
    font-size:0.92rem;
    font-weight:600;
    transition:0.3s ease;
}
.nav-cta:hover {
    background:rgba(184,154,120,0.22);
    border-color:rgba(184,154,120,0.5);
}
.nav-actions {
    display:flex;
    align-items:center;
    gap:0.75rem;
}
.nav-actions .btn-login-link {
    padding:0.8rem 1.25rem;
    border-radius:999px;
    border:1px solid rgba(184,154,120,0.3);
    color:var(--gold);
    background:transparent;
    text-decoration:none;
    font-weight:600;
    font-size:0.92rem;
    transition:0.3s ease;
}
.nav-actions .btn-login-link:hover {
    background:var(--gold-soft);
    border-color:rgba(184,154,120,0.5);
}
.nav-toggle {
    display:none;
    background:none;
    border:1px solid var(--line);
    border-radius:8px;
    color:var(--white);
    font-size:1.5rem;
    padding:0.4rem 0.8rem;
    cursor:pointer;
    transition:background 0.3s;
}
.nav-toggle:hover { background:rgba(255,255,255,0.05); }

/* ---------- DISTRICT BADGE (header) ---------- */
.district-badge {
    display:flex;
    flex-direction:column;
    align-items:center;
    background:rgba(184,154,120,0.15);
    border:1px solid rgba(184,154,120,0.3);
    border-radius:12px;
    padding:0.3rem 0.8rem;
    margin-left:1rem;
    line-height:1.2;
    flex-shrink:0;
}
.district-badge .badge-text {
    font-weight:700;
    font-size:0.9rem;
    color:var(--gold);
    letter-spacing:0.08em;
}
.district-badge .badge-sub {
    font-size:0.55rem;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:0.1em;
}
@media (max-width:1024px) { .district-badge { display:none; } }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
    display:block;
    position:fixed;
    top:0; right:0; bottom:0;
    width:320px;
    z-index:1500;
    padding:2.5rem 2rem;
    background:rgba(10,22,34,0.72);
    backdrop-filter:blur(24px) saturate(180%);
    -webkit-backdrop-filter:blur(24px) saturate(180%);
    border-left:1px solid rgba(184,154,120,0.15);
    box-shadow:-20px 0 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
    transform:translateX(100%);
    transition:transform 0.45s cubic-bezier(0.16,1,0.3,1);
    overflow-y:auto;
}
.mobile-menu.open { transform:translateX(0); }
.mobile-menu::before {
    content:'';
    position:absolute;
    top:-20%; right:-20%;
    width:200px; height:200px;
    background:radial-gradient(circle, rgba(184,154,120,0.08), transparent 70%);
    border-radius:50%;
    pointer-events:none;
    z-index:0;
}
.mobile-menu > * { position:relative; z-index:1; }
.mobile-menu .close-btn {
    position:absolute;
    top:20px; right:20px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:50%;
    width:44px; height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-size:1.4rem;
    cursor:pointer;
    transition:all 0.3s ease;
}
.mobile-menu .close-btn:hover {
    background:rgba(184,154,120,0.15);
    border-color:var(--gold);
    color:var(--white);
    transform:rotate(90deg);
}
.mobile-menu ul {
    list-style:none;
    padding:0;
    margin-top:2.5rem;
    display:flex;
    flex-direction:column;
    gap:0.2rem;
}
.mobile-link {
    display:block;
    padding:0.7rem 1rem;
    border-radius:12px;
    color:rgba(255,255,255,0.7);
    text-decoration:none;
    font-size:1.15rem;
    font-weight:500;
    letter-spacing:0.02em;
    transition:all 0.25s ease;
    border:1px solid transparent;
}
.mobile-link:hover {
    background:rgba(255,255,255,0.04);
    border-color:rgba(184,154,120,0.12);
    color:#fff;
    padding-left:1.4rem;
}
.mobile-register-cta {
    display:block;
    padding:0.9rem 1.5rem;
    margin-top:1.5rem;
    background:linear-gradient(135deg, var(--gold), #c8ae90);
    color:#0a1622 !important;
    border-radius:999px;
    text-align:center;
    font-weight:700;
    font-size:1.1rem;
    letter-spacing:0.04em;
    border:none;
    box-shadow:0 8px 24px rgba(184,154,120,0.25);
    transition:all 0.25s ease;
}
.mobile-register-cta:hover {
    transform:translateY(-2px);
    box-shadow:0 12px 32px rgba(184,154,120,0.35);
    color:#0a1622 !important;
    padding-left:1.5rem;
}
.mobile-login-cta {
    display:block;
    padding:0.9rem 1.5rem;
    margin-top:0.75rem;
    background:rgba(255,255,255,0.02);
    border:1px solid rgba(184,154,120,0.3);
    color:var(--gold) !important;
    border-radius:999px;
    text-align:center;
    font-weight:600;
    font-size:1.1rem;
    letter-spacing:0.04em;
    backdrop-filter:blur(4px);
    transition:all 0.25s ease;
}
.mobile-login-cta:hover {
    background:rgba(184,154,120,0.08);
    border-color:var(--gold);
    color:#fff !important;
    box-shadow:0 0 20px rgba(184,154,120,0.08);
}
.mobile-menu ul li:last-of-type {
    border-top:1px solid rgba(255,255,255,0.04);
    padding-top:0.5rem;
}

/* ---------- OPENING OVERLAY (KGATLENG) ---------- */
.opening-overlay {
    position:fixed;
    top:0; left:0;
    width:100vw; height:100vh;
    z-index:2000;
    overflow:hidden;
    transition:opacity 0.8s ease, visibility 0.8s;
    pointer-events:all;
    background:#0a1622;
}
.opening-overlay.dismissed {
    opacity:0;
    pointer-events:none;
    visibility:hidden;
}
.carousel-container {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    z-index:0;
}
.carousel-slide {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    background-size:cover;
    background-position:center;
    opacity:0;
    transition:opacity 1.2s ease-in-out;
}
.carousel-slide.active { opacity:1; }
.opening-overlay::after {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    background:rgba(10,22,34,0.6);
    z-index:1;
}
.overlay-content {
    position:relative;
    z-index:2;
    width:100%; height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}
.opening-logo-top-left,
.opening-badge-top-right {
    position:absolute;
    top:2rem;
    z-index:3;
}
.opening-logo-top-left {
    left:2rem;
    display:flex;
    flex-direction:column;
    gap:0.1rem;
}
.opening-logo-top-left span {
    font-size:0.7rem;
    letter-spacing:0.2rem;
    text-transform:uppercase;
    color:var(--gold);
}
.opening-logo-top-left h1 {
    font-size:1.2rem;
    font-weight:700;
    letter-spacing:0.08rem;
    color:#eef0f2;
}
.opening-badge-top-right {
    right:2rem;
    background:rgba(184,154,120,0.15);
    border:1px solid rgba(184,154,120,0.3);
    border-radius:12px;
    padding:0.4rem 1rem;
    text-align:center;
    line-height:1.3;
}
.opening-badge-top-right .badge-text {
    font-weight:700;
    font-size:1rem;
    color:var(--gold);
    letter-spacing:0.08em;
}
.opening-badge-top-right .badge-sub {
    font-size:0.6rem;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:0.1em;
    display:block;
}
.opening-content {
    text-align:center;
    padding:2rem;
    max-width:800px;
    width:100%;
    position:relative;
    z-index:2;
}
.opening-eyebrow {
    font-size:0.75rem;
    letter-spacing:0.25rem;
    text-transform:uppercase;
    color:var(--gold);
    margin-bottom:1rem;
    opacity:0;
    transform:translateY(20px);
    transition:opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.opening-content h2 {
    font-size:clamp(3rem,8vw,5rem);
    font-weight:700;
    letter-spacing:-0.12rem;
    color:#eef0f2;
    margin-bottom:0.8rem;
    opacity:0;
    transform:translateY(30px);
    transition:opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.opening-content h2 span {
    color:var(--gold);
    display:block;
    font-size:0.45em;
    letter-spacing:0.1em;
    font-weight:400;
    margin-top:0.2em;
}
.opening-desc {
    font-size:clamp(1rem,2vw,1.2rem);
    color:var(--muted);
    max-width:500px;
    margin:0 auto;
    opacity:0;
    transform:translateY(25px);
    line-height:1.7;
    transition:opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.opening-enter-btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:72px; height:72px;
    border-radius:50%;
    background:linear-gradient(145deg, #c8ae90, #b89a78);
    border:none;
    cursor:pointer;
    margin-top:2rem;
    transition:all 0.25s cubic-bezier(0.2,0.9,0.4,1.1);
    animation:softPulse 2.4s infinite ease-in-out;
    box-shadow:0 10px 28px rgba(0,0,0,0.45), 0 0 0 1px rgba(200,190,170,0.3), inset 0 1px 0 rgba(220,210,190,0.4);
    opacity:0;
    transition:opacity 0.5s ease, transform 0.2s;
}
.opening-enter-btn:hover {
    transform:scale(1.07);
    background:linear-gradient(145deg, #d4bca8, #c0a088);
    box-shadow:0 15px 32px rgba(0,0,0,0.6), 0 0 0 2px rgba(210,200,180,0.7);
}
.opening-enter-btn:active { transform:scale(0.96); transition:0.08s linear; }
.opening-enter-btn svg {
    width:30px; height:30px;
    display:block;
    stroke:#1e2a1f;
    stroke-width:2.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    fill:none;
    filter:drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}
@keyframes softPulse {
    0%,100% { box-shadow:0 10px 28px rgba(0,0,0,0.45), 0 0 0 1px rgba(200,190,170,0.3), inset 0 1px 0 rgba(220,210,190,0.4); }
    50% { box-shadow:0 12px 32px rgba(0,0,0,0.65), 0 0 0 3px rgba(184,154,120,0.7), inset 0 1px 0 rgba(230,220,200,0.6); }
}

/* ---------- PAGE LOADER ---------- */
.page-loader {
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--bg);
    transition:opacity 0.5s ease, visibility 0.5s;
}
.page-loader.hidden { opacity:0; visibility:hidden; }
.spinner {
    width:50px; height:50px;
    border:4px solid rgba(255,255,255,0.1);
    border-top:4px solid var(--gold);
    border-radius:50%;
    animation:spin 1s linear infinite;
}
@keyframes spin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }

/* ---------- SECTIONS ---------- */
section { position:relative; }
.section { padding:var(--section-spacing-desktop) 0; }
.section-head {
    display:flex;
    justify-content:space-between;
    gap:2rem;
    margin-bottom:3rem;
    align-items:end;
    flex-wrap:wrap;
}
.section-head h3 {
    font-size:var(--text-3xl);
    line-height:1;
    letter-spacing:-0.12rem;
    max-width:700px;
}
.section-head p {
    color:var(--muted);
    line-height:1.8;
    max-width:520px;
    font-size:var(--text-base);
}
.eyebrow {
    display:inline-flex;
    align-items:center;
    gap:0.6rem;
    border:1px solid rgba(184,154,120,0.2);
    padding:0.55rem 1rem;
    border-radius:999px;
    color:var(--gold);
    background:rgba(184,154,120,0.08);
    margin-bottom:1.5rem;
    font-size:0.85rem;
    letter-spacing:0.06rem;
}

/* ---------- HERO ---------- */
.hero {
    min-height:calc(100vh - var(--header-height));
    display:flex;
    align-items:center;
    padding:1rem 0 2rem;
    background-size:cover !important;
    background-position:center 30% !important;
}
.hero-grid {
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:4rem;
    align-items:center;
    width:100%;
}
.hero h2 {
    font-size:var(--text-4xl);
    line-height:0.95;
    margin-bottom:1rem;
    letter-spacing:-0.24rem;
}
.hero h2 span { color:var(--gold); }
.hero-subheadline {
    font-size:var(--text-lg);
    color:var(--muted);
    margin-bottom:1.5rem;
    max-width:600px;
    line-height:1.8;
}
.hero p.lead {
    color:var(--muted);
    line-height:1.9;
    font-size:var(--text-base);
    max-width:760px;
    margin-bottom:2rem;
}
.hero-actions {
    display:flex;
    gap:1rem;
    flex-wrap:wrap;
    margin-bottom:2rem;
}
.btn {
    padding:1rem 1.4rem;
    border-radius:999px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s ease;
    display:inline-flex;
    align-items:center;
    gap:0.6rem;
    cursor:pointer;
    font-family:'Inter',sans-serif;
    font-size:var(--text-base);
}
.btn-primary {
    background:linear-gradient(135deg, var(--gold), #c8ae90);
    color:#0a1622;
    border:none;
}
.btn-primary:hover {
    transform:translateY(-2px);
    box-shadow:0 8px 30px rgba(184,154,120,0.25);
}
.btn-secondary {
    border:1px solid rgba(255,255,255,0.12);
    color:var(--white);
    background:rgba(255,255,255,0.03);
}
.btn-secondary:hover {
    border-color:rgba(255,255,255,0.25);
    background:rgba(255,255,255,0.06);
}
.btn-login-link {
    padding:0.8rem 1.2rem;
    border-radius:999px;
    border:1px solid rgba(184,154,120,0.2);
    color:var(--gold);
    background:transparent;
    text-decoration:none;
    font-weight:600;
    font-size:0.85rem;
    transition:0.3s ease;
}
.btn-login-link:hover {
    background:var(--gold-soft);
    border-color:rgba(184,154,120,0.4);
}
.trust-badges {
    display:flex;
    flex-wrap:wrap;
    gap:1rem;
    background:rgba(255,255,255,0.03);
    border-radius:20px;
    padding:1rem 1.5rem;
    border:1px solid var(--line);
}
.trust-badge {
    display:flex;
    align-items:center;
    gap:0.8rem;
}
.trust-badge i {
    color:var(--gold);
    font-size:1.2rem;
}
.trust-badge .badge-num {
    font-weight:700;
    font-size:1.2rem;
}
.trust-badge .badge-label {
    color:var(--muted);
    font-size:0.8rem;
}

/* ---------- CONSTELLATION ---------- */
.constellation-panel {
    background:linear-gradient(180deg, rgba(16,34,55,0.8), rgba(10,22,34,0.95));
    border:1px solid var(--line);
    border-radius:30px;
    padding:2rem;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
}
.constellation-panel small {
    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:0.18rem;
    font-size:0.7rem;
    display:block;
}
.constellation-panel h3 {
    font-size:var(--text-xl);
    margin:0.8rem 0;
    letter-spacing:-0.04rem;
}
.constellation-panel .panel-intro {
    margin-bottom:1.2rem;
    font-size:0.88rem;
    color:var(--muted);
    line-height:1.65;
}
.constellation-container {
    position:relative;
    width:100%;
    height:360px;
    margin:0 auto;
}
.cluster-bg {
    position:absolute;
    border-radius:50%;
    pointer-events:none;
    z-index:0;
    border:1px dashed rgba(255,255,255,0.04);
    background:radial-gradient(circle, rgba(255,255,255,0.012) 0%, transparent 70%);
    transition:all 0.6s var(--transition-cinematic);
}
.cluster-bg.highlight {
    border-color:rgba(184,154,120,0.15);
    background:radial-gradient(circle, rgba(184,154,120,0.04) 0%, transparent 70%);
}
.cluster-label {
    position:absolute;
    pointer-events:none;
    z-index:0;
    font-size:0.56rem;
    letter-spacing:0.1em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.14);
    transition:color 0.6s var(--transition-cinematic);
    transform:translate(-50%, -50%);
}
.cluster-label.highlight { color:rgba(184,154,120,0.5); }
.constellation-svg {
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    pointer-events:none;
    z-index:1;
}
.constellation-svg line {
    stroke:rgba(184,154,120,0.12);
    stroke-width:0.7;
    transition:stroke 0.5s ease, stroke-width 0.5s ease, opacity 0.5s ease;
}
.constellation-svg line.dimmed { opacity:0.15; }
.constellation-svg line.highlighted {
    stroke:rgba(184,154,120,0.55);
    stroke-width:1.3;
    opacity:1;
    filter:drop-shadow(0 0 4px rgba(184,154,120,0.35));
}
.constellation-node {
    position:absolute;
    z-index:2;
    cursor:pointer;
    transform:translate(-50%,-50%);
    transition:transform 0.5s var(--transition-cinematic), opacity 0.5s ease;
}
.constellation-node.dimmed { opacity:0.35; }
.constellation-node.highlighted { opacity:1; z-index:3; }
.constellation-node .node-core {
    width:12px; height:12px;
    border-radius:50%;
    background:var(--gold);
    box-shadow:0 0 20px rgba(184,154,120,0.5), 0 0 50px rgba(184,154,120,0.2);
    transition:all 0.5s var(--transition-cinematic);
    position:relative;
}
.constellation-node[data-type='pathway'] .node-core {
    background:var(--blue);
    box-shadow:0 0 20px rgba(74,138,170,0.5), 0 0 50px rgba(74,138,170,0.2);
}
.constellation-node[data-type='sponsor'] .node-core {
    background:var(--blue);
    box-shadow:0 0 20px rgba(74,138,170,0.5), 0 0 50px rgba(74,138,170,0.2);
}
.constellation-node[data-type='creative'] .node-core { background:#b89a78; }
.constellation-node[data-type='athletic'] .node-core { background:#c8ae90; }
.constellation-node[data-type='innovation'] .node-core { background:#a88a6a; }
.constellation-node[data-type='heritage'] .node-core {
    background:#a88a6a;
    opacity:0.85;
}
.constellation-node[data-type='hub'] .node-core {
    background:#eef0f2;
    box-shadow:0 0 20px rgba(238,240,242,0.7), 0 0 50px rgba(238,240,242,0.3);
    width:16px; height:16px;
}
.constellation-node .node-glow {
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:36px; height:36px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(184,154,120,0.2) 0%, transparent 70%);
    pointer-events:none;
    transition:all 0.5s var(--transition-cinematic);
}
.constellation-node .node-label {
    position:absolute;
    top:22px;
    left:50%;
    transform:translateX(-50%);
    white-space:nowrap;
    font-size:0.68rem;
    letter-spacing:0.04em;
    color:var(--muted);
    transition:all 0.5s var(--transition-cinematic);
    font-weight:500;
}
.constellation-node.highlighted .node-core {
    background:#eef0f2;
    box-shadow:0 0 35px rgba(184,154,120,0.9), 0 0 80px rgba(184,154,120,0.4);
    width:20px; height:20px;
}
.constellation-node.highlighted .node-glow {
    width:64px; height:64px;
    background:radial-gradient(circle, rgba(184,154,120,0.4) 0%, transparent 70%);
}
.constellation-node.highlighted .node-label {
    color:#eef0f2;
    font-size:0.78rem;
    letter-spacing:0.06em;
    text-shadow:0 0 18px rgba(184,154,120,0.5);
}
.constellation-node.connected .node-core {
    box-shadow:0 0 25px rgba(184,154,120,0.6), 0 0 55px rgba(184,154,120,0.25);
    width:14px; height:14px;
}
.constellation-node.connected .node-glow {
    width:46px; height:46px;
    background:radial-gradient(circle, rgba(184,154,120,0.28) 0%, transparent 70%);
}
.constellation-node.connected .node-label {
    color:rgba(255,255,255,0.75);
    font-size:0.72rem;
}
.node-tooltip {
    position:absolute;
    z-index:10;
    background:rgba(10,22,34,0.95);
    border:1px solid rgba(184,154,120,0.3);
    padding:0.6rem 0.9rem;
    border-radius:8px;
    font-size:0.8rem;
    color:var(--white);
    pointer-events:none;
    transition:opacity 0.3s;
    opacity:0;
    transform:translate(-50%, 10px);
    box-shadow:0 5px 20px rgba(0,0,0,0.5);
}
.node-tooltip.visible { opacity:1; transform:translate(-50%, 0); }

/* ---------- GRID ---------- */
.grid-2 { display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:1.5rem; }

/* ---------- ABOUT CARDS ---------- */
.about-card {
    background:linear-gradient(135deg, rgba(16,34,55,0.8), rgba(10,22,34,0.95));
    border:1px solid rgba(255,255,255,0.05);
    border-radius:28px;
    padding:var(--card-padding-desktop);
    transition:transform 0.35s ease, border-color 0.35s, box-shadow 0.35s;
    position:relative;
    overflow:hidden;
}
.about-card::after {
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:5px;
    background:linear-gradient(90deg, var(--gold), transparent);
    opacity:0.7;
}
.about-card:hover {
    transform:translateY(-6px);
    border-color:rgba(184,154,120,0.3);
    box-shadow:0 20px 40px rgba(0,0,0,0.5);
}
.about-card .card-icon {
    font-size:2.2rem;
    color:var(--gold);
    margin-bottom:1.2rem;
    width:60px; height:60px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(184,154,120,0.08);
    border-radius:16px;
    transition:all 0.3s ease;
}
.about-card:hover .card-icon {
    background:rgba(184,154,120,0.2);
    color:#eef0f2;
}
.about-card small {
    font-size:0.7rem;
    letter-spacing:0.15rem;
    text-transform:uppercase;
    color:var(--gold);
    display:block;
    margin-bottom:0.5rem;
}
.about-card h4 {
    font-size:var(--text-xl);
    margin-bottom:1rem;
    letter-spacing:-0.03rem;
}
.about-card p {
    color:var(--muted);
    line-height:1.8;
    font-size:var(--text-base);
}

/* ---------- BENEFIT CARDS ---------- */
.benefit-card {
    background:rgba(255,255,255,0.02);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:18px;
    padding:1.5rem;
    transition:0.3s;
}
.benefit-card:hover {
    background:rgba(255,255,255,0.04);
    border-color:rgba(184,154,120,0.3);
    transform:translateY(-3px);
}
.benefit-icon { font-size:1.8rem; color:var(--gold); margin-bottom:1rem; }
.benefit-card h5 { font-size:var(--text-lg); margin-bottom:0.5rem; }
.benefit-card p {
    color:var(--muted);
    font-size:var(--text-sm);
    line-height:1.6;
}

/* ---------- TIMELINE ---------- */
.timeline {
    display:flex;
    overflow-x:auto;
    gap:2rem;
    padding-bottom:1rem;
    margin:3rem 0;
}
.timeline-item {
    min-width:160px;
    text-align:center;
    position:relative;
    flex:1;
}
.timeline-item::after {
    content:'';
    position:absolute;
    top:20px;
    left:50%;
    width:100%;
    height:2px;
    background:var(--line);
    z-index:0;
}
.timeline-item:last-child::after { display:none; }
.timeline-year {
    background:var(--gold);
    color:#0a1622;
    font-weight:700;
    font-size:0.8rem;
    padding:0.4rem 0.6rem;
    border-radius:20px;
    display:inline-block;
    margin-bottom:0.8rem;
    position:relative;
    z-index:1;
}
.timeline-desc {
    color:var(--muted);
    font-size:0.85rem;
    line-height:1.5;
}

/* ---------- DASHBOARD ---------- */
.dashboard-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1.8rem;
    margin-bottom:2rem;
}
.dash-card {
    background:linear-gradient(145deg, rgba(16,34,55,0.85), rgba(10,22,34,0.97));
    border:1px solid rgba(255,255,255,0.06);
    border-radius:28px;
    padding:2rem 1.5rem;
    transition:transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
    display:flex;
    flex-direction:column;
}
.dash-card:hover {
    transform:translateY(-4px);
    border-color:rgba(184,154,120,0.3);
    box-shadow:0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,154,120,0.15);
}
.dash-card-header {
    display:flex;
    align-items:center;
    gap:0.8rem;
    margin-bottom:1.5rem;
}
.dash-card-header i {
    color:var(--gold);
    font-size:1.4rem;
}
.dash-card-header span {
    color:var(--muted);
    font-size:0.9rem;
    letter-spacing:0.05em;
}
.donut-chart-container {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0.8rem;
}
.donut-wrap {
    position:relative;
    width:130px; height:130px;
}
.donut-svg {
    transform:rotate(-90deg);
    width:100%; height:100%;
}
.donut-bg {
    fill:none;
    stroke:rgba(255,255,255,0.05);
    stroke-width:8;
}
.donut-fill {
    fill:none;
    stroke:var(--gold);
    stroke-width:8;
    stroke-linecap:round;
    transition:stroke-dashoffset 1.5s ease-in-out;
}
.donut-center {
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    font-size:2.2rem;
    font-weight:700;
    color:var(--white);
}
.donut-center .prefix,
.donut-center .suffix {
    font-size:0.8rem;
    opacity:0.7;
    color:var(--gold);
}
.donut-label {
    color:var(--muted);
    font-size:0.85rem;
    text-align:center;
}
.donut-detail {
    color:rgba(255,255,255,0.45);
    font-size:0.75rem;
    text-align:center;
    max-height:0;
    opacity:0;
    overflow:hidden;
    transition:0.3s;
}
.dash-card:hover .donut-detail {
    max-height:40px;
    opacity:1;
    margin-top:0.3rem;
}
.bar-chart {
    display:flex;
    align-items:flex-end;
    justify-content:space-around;
    height:180px;
    padding:0 1rem;
    margin-top:1rem;
}
.bar-wrap {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:0.5rem;
    flex:1;
}
.bar {
    width:24px;
    background:linear-gradient(180deg, var(--gold), #c8ae90);
    border-radius:8px 8px 0 0;
    transition:height 1.2s ease-in-out;
    height:0;
}
.bar-label {
    color:var(--muted);
    font-size:0.65rem;
    margin-top:0.5rem;
}
.progress-list {
    display:flex;
    flex-direction:column;
    gap:1.2rem;
    flex:1;
}
.progress-item {
    display:flex;
    flex-direction:column;
    gap:0.3rem;
}
.progress-head {
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    font-size:0.8rem;
}
.progress-track {
    height:8px;
    background:rgba(255,255,255,0.06);
    border-radius:10px;
    overflow:hidden;
}
.progress-fill {
    height:100%;
    width:0%;
    background:linear-gradient(90deg, var(--gold), #c8ae90);
    border-radius:10px;
    transition:width 1.5s ease-in-out;
}
.stats-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:1rem;
    color:var(--muted);
    font-size:0.8rem;
}

/* ---------- REGISTRATION PATHWAYS ---------- */
.pathway-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
}
.pathway-portal {
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:0.8rem;
    background:linear-gradient(135deg, rgba(16,34,55,0.95), rgba(10,22,34,0.98));
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    padding:2.5rem 2rem;
    text-decoration:none;
    color:var(--white);
    transition:transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow:hidden;
    position:relative;
}
.pathway-portal::after {
    content:'';
    position:absolute;
    top:0; left:0; right:0;
    height:4px;
    background:var(--accent, var(--gold));
    opacity:0.8;
}
.pathway-portal:hover {
    transform:translateY(-5px);
    border-color:rgba(184,154,120,0.35);
    box-shadow:0 20px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(184,154,120,0.2);
}
.portal-icon {
    flex-shrink:0;
    width:70px; height:70px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(184,154,120,0.08);
    border-radius:18px;
    font-size:2.2rem;
    color:var(--gold);
    transition:background 0.3s, color 0.3s;
    margin:0 auto 0.5rem;
}
.pathway-portal:hover .portal-icon {
    background:rgba(184,154,120,0.18);
    color:#eef0f2;
}
.portal-content { width:100%; }
.portal-number {
    font-size:0.75rem;
    letter-spacing:0.2em;
    text-transform:uppercase;
    color:var(--gold);
    display:block;
    margin-bottom:0.25rem;
}
.pathway-portal h4 {
    font-size:var(--text-xl);
    font-weight:600;
    margin-bottom:0.4rem;
    letter-spacing:-0.02rem;
    color:var(--white);
}
.portal-desc {
    color:var(--muted);
    line-height:1.6;
    font-size:var(--text-base);
    margin-bottom:0.5rem;
}
.portal-who {
    color:rgba(255,255,255,0.5);
    font-size:0.8rem;
    margin-bottom:1rem;
}
.portal-link-text.portal-btn {
    display:inline-block;
    padding:0.7rem 1.3rem;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(184,154,120,0.4);
    border-radius:999px;
    color:var(--gold);
    font-size:0.8rem;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    transition:all 0.2s ease;
    width:auto;
    text-align:center;
    margin-top:0.5rem;
}
.portal-link-text.portal-btn:hover {
    background:rgba(184,154,120,0.15);
    border-color:var(--gold);
    color:#eef0f2;
    letter-spacing:0.1em;
}
.badge-flag {
    position:absolute;
    top:10px; right:10px;
    background:var(--gold);
    color:#0a1622;
    font-size:0.7rem;
    font-weight:700;
    padding:0.3rem 0.6rem;
    border-radius:999px;
    text-transform:uppercase;
    letter-spacing:0.05em;
}
.badge-flag.recommended { background:var(--blue); color:#fff; }
.pathway-portal.accent-blue { --accent:#4a8aaa; }
.pathway-portal.accent-gold { --accent:#b89a78; }
.pathway-portal.accent-light-gold { --accent:#c8ae90; }

/* ---------- STATUS CHECK ---------- */
.status-interface {
    position:relative;
    background:rgba(10,22,34,0.80);
    backdrop-filter:blur(8px);
    border-radius:28px;
    padding:3rem 2.5rem;
    max-width:560px;
    margin:0 auto;
    text-align:center;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:0 25px 60px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
    z-index:1;
}
.status-interface::after {
    content:'';
    position:absolute;
    inset:0;
    border-radius:28px;
    background:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.06) 0%, transparent 60%);
    pointer-events:none;
}
.status-interface h3 {
    position:relative;
    z-index:2;
    font-size:var(--text-2xl);
    font-weight:600;
    letter-spacing:-0.04rem;
    margin-bottom:0.5rem;
    color:#eef0f2;
}
.status-subtitle {
    color:var(--muted);
    margin-bottom:2rem;
    position:relative;
    z-index:2;
    font-size:var(--text-base);
}
.status-field {
    position:relative;
    z-index:2;
    display:block;
    width:100%;
    padding:1rem 1.2rem;
    margin-bottom:0.9rem;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(255,255,255,0.1);
    border-radius:14px;
    color:#eef0f2;
    font-family:'Inter',sans-serif;
    font-size:0.95rem;
    outline:none;
    backdrop-filter:blur(10px);
    transition:border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.status-field.error { border-color:#b57a7a; }
.status-field:focus {
    border-color:rgba(100,150,180,0.6);
    background:rgba(100,150,180,0.05);
    box-shadow:0 0 0 3px rgba(100,150,180,0.1);
}
.status-btn {
    position:relative;
    z-index:2;
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    padding:0.85rem 1.5rem;
    margin-top:1.2rem;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(100,150,180,0.5);
    border-radius:999px;
    color:#9abbd0;
    font-size:0.9rem;
    font-weight:600;
    letter-spacing:0.08em;
    text-transform:uppercase;
    cursor:pointer;
    backdrop-filter:blur(12px);
    transition:all 0.3s ease;
    font-family:'Inter',sans-serif;
}
.status-btn:hover {
    background:rgba(100,150,180,0.1);
    border-color:rgba(100,150,180,0.8);
    color:#eef0f2;
    letter-spacing:0.12em;
    box-shadow:0 0 15px rgba(100,150,180,0.25);
}
.status-btn:active { transform:scale(0.98); transition:transform 0.1s ease; }
.status-btn:disabled { opacity:0.6; cursor:not-allowed; }
.forgot-link {
    display:block;
    margin-top:1rem;
    color:var(--gold);
    font-size:0.8rem;
    text-decoration:none;
}
.forgot-link:hover { text-decoration:underline; }

/* ---------- MODALS ---------- */
.modal {
    position:fixed;
    top:0; left:0;
    width:100%; height:100%;
    z-index:2500;
    display:flex;
    align-items:center;
    justify-content:center;
    background:rgba(0,0,0,0.7);
    opacity:0;
    pointer-events:none;
    transition:opacity 0.3s;
}
.modal.open { opacity:1; pointer-events:auto; }
.modal-content {
    background:var(--panel);
    border:1px solid var(--line);
    border-radius:20px;
    padding:2rem;
    max-width:500px;
    width:90%;
    text-align:center;
    box-shadow:var(--shadow);
    position:relative;
}
.modal-close {
    position:absolute;
    top:20px; right:20px;
    background:none;
    border:none;
    color:var(--muted);
    font-size:1.5rem;
    cursor:pointer;
    transition:color 0.3s;
}
.modal-close:hover { color:var(--white); }

/* ---------- FOOTER ---------- */
footer {
    border-top:1px solid var(--line);
    padding:3rem 0 2rem;
    margin-top:5rem;
}
.footer-grid {
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr;
    gap:2rem;
    align-items:start;
}
.footer-links {
    display:flex;
    gap:1.8rem;
    list-style:none;
    flex-wrap:wrap;
}
.footer-links a {
    color:var(--muted);
    text-decoration:none;
    font-size:0.82rem;
    transition:color 0.3s;
}
.footer-links a:hover { color:var(--gold); }
.social-icons {
    display:flex;
    gap:1rem;
}
.social-icons a {
    color:var(--muted);
    font-size:1.5rem;
    transition:color 0.3s;
}
.social-icons a:hover { color:var(--gold); }
.newsletter-form {
    display:flex;
    gap:0.5rem;
    margin-top:1rem;
}
.newsletter-form input {
    flex:1;
    padding:0.7rem 1rem;
    border-radius:8px;
    background:rgba(255,255,255,0.05);
    border:1px solid var(--line);
    color:var(--white);
    font-family:'Inter',sans-serif;
    font-size:var(--text-sm);
    transition:border-color 0.3s;
}
.newsletter-form input:focus {
    outline:none;
    border-color:var(--gold);
}
.newsletter-form button {
    padding:0.7rem 1.2rem;
    border-radius:8px;
    background:var(--gold);
    color:#0a1622;
    font-weight:600;
    border:none;
    cursor:pointer;
    font-family:'Inter',sans-serif;
    font-size:var(--text-sm);
    transition:transform 0.2s, box-shadow 0.2s;
}
.newsletter-form button:hover {
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(184,154,120,0.3);
}
.newsletter-msg {
    font-size:0.8rem;
    margin-top:0.5rem;
    min-height:1.5rem;
    transition:color 0.3s;
}

/* ---------- SCROLL TO TOP ---------- */
.scroll-top {
    position:fixed;
    right:20px; bottom:20px;
    width:52px; height:52px;
    border-radius:50%;
    background:transparent;
    border:none;
    cursor:pointer;
    display:none;
    z-index:999;
    transition:transform 0.2s;
}
.scroll-top:hover { transform:scale(1.05); }
.scroll-top svg {
    width:52px; height:52px;
    transform:rotate(-90deg);
}
.scroll-top circle {
    fill:none;
    stroke-width:4;
}
.scroll-top .bg-circle { stroke:rgba(255,255,255,0.1); }
.scroll-top .progress-circle {
    stroke:var(--gold);
    stroke-dasharray:151;
    stroke-dashoffset:151;
    transition:stroke-dashoffset 0.1s;
}
.scroll-top .arrow {
    position:absolute;
    top:50%; left:50%;
    transform:translate(-50%,-50%);
    color:var(--gold);
    font-size:1.2rem;
}

/* ---------- COOKIE OVERLAY ---------- */
.cookie-overlay {
    position:fixed;
    inset:0;
    z-index:4000;
    background:rgba(0,0,0,0.6);
    display:flex;
    align-items:flex-end;
    justify-content:center;
    pointer-events:auto;
}
.cookie-banner {
    width:100%;
    background:var(--panel);
    border-top:1px solid var(--line);
    padding:1rem 2rem;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    flex-wrap:wrap;
    pointer-events:auto;
}
.cookie-banner p {
    color:var(--muted);
    font-size:0.85rem;
    flex:1;
    min-width:200px;
}
.cookie-buttons {
    display:flex;
    gap:0.5rem;
    flex-wrap:wrap;
}
.cookie-btn {
    padding:0.6rem 1.2rem;
    border-radius:999px;
    border:1px solid var(--line);
    background:transparent;
    color:var(--white);
    cursor:pointer;
    font-family:'Inter',sans-serif;
    font-size:0.85rem;
    transition:all 0.3s;
}
.cookie-btn:hover {
    background:rgba(255,255,255,0.05);
    border-color:rgba(255,255,255,0.2);
}
.cookie-btn.accept {
    background:var(--gold);
    color:#0a1622;
    border:none;
}
.cookie-btn.accept:hover {
    background:#c8ae90;
    transform:translateY(-2px);
    box-shadow:0 4px 12px rgba(184,154,120,0.3);
}

/* ---------- SECTION BACKGROUND OVERLAY STYLES ---------- */
.hero,
#about,
#register,
#status {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.hero > *,
#about > *,
#register > *,
#status > * {
    position: relative;
    z-index: 1;
}

/* Grain texture overlay via pseudo-element */
.hero::before,
#about::before,
#register::before,
#status::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

/* Parallax for status section */
#status {
    background-attachment: fixed !important;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1200px) {
    .dashboard-grid { grid-template-columns:repeat(2,1fr); gap:1.5rem; }
    .grid-4 { grid-template-columns:repeat(2,1fr); }
    .constellation-container { height:300px; }
    .hero-grid { gap:2.5rem; }
}

@media (max-width:1024px) {
    .section { padding:var(--section-spacing-tablet) 0; }
    .section-head {
        flex-direction:column;
        gap:1rem;
        margin-bottom:2.5rem;
    }
    .section-head p { max-width:100%; }
    .hero-grid { grid-template-columns:1fr; gap:2rem; }
    .hero {
        min-height:auto;
        padding:2rem 0 3rem;
    }
    .hero h2 { font-size:clamp(2.8rem,8vw,4rem); }
    .constellation-container { height:300px; }
    .constellation-node .node-label { font-size:0.6rem; top:18px; }
    .constellation-node .node-core { width:10px; height:10px; }
    .constellation-node .node-glow { width:28px; height:28px; }
    .cluster-label { font-size:0.5rem; }
    .constellation-node.highlighted .node-core { width:16px; height:16px; }
    .constellation-node.highlighted .node-glow { width:48px; height:48px; }
    .pathway-grid { gap:1.2rem; }
    .about-card { padding:var(--card-padding-tablet); }
    .dash-card { padding:1.8rem 1.3rem; }
    .grid-2, .grid-3 { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr 1fr; gap:1.5rem; }
    nav ul { display:none; }
    .nav-toggle { display:block; }
    .nav-actions { display:none !important; }
    .opening-overlay::before { opacity:0.25; }
    .opening-content h2 { font-size:clamp(3.5rem,10vw,4.5rem); }
    .opening-desc { font-size:clamp(1.1rem,2.2vw,1.3rem); }
    .opening-enter-btn { width:60px; height:60px; }
    .opening-enter-btn svg { width:24px; height:24px; }
}

@media (max-width:768px) {
    :root { --header-height:70px; }
    .section { padding:var(--section-spacing-mobile) 0; }
    .section-head { margin-bottom:2rem; }
    .section-head h3 { font-size:clamp(1.8rem,6vw,2.5rem); }
    .hero { padding:1rem 0 2.5rem; }
    .hero h2 { font-size:clamp(2rem,8vw,2.8rem); letter-spacing:-0.04rem; }
    .hero-subheadline { font-size:1rem; }
    .hero p.lead { font-size:0.95rem; margin-bottom:1.5rem; }
    .hero-actions { flex-direction:column; gap:0.75rem; }
    .hero-actions .btn {
        justify-content:center;
        padding:0.85rem 1.2rem;
        font-size:0.95rem;
        width:100%;
    }
    .trust-badges {
        flex-direction:column;
        padding:0.8rem 1rem;
        gap:0.6rem;
        border-radius:16px;
    }
    .trust-badge .badge-num { font-size:1rem; }
    .constellation-container { height:260px; }
    .constellation-node .node-label { font-size:0.55rem; top:16px; }
    .constellation-node .node-core { width:9px; height:9px; }
    .constellation-node .node-glow { width:24px; height:24px; }
    .cluster-label { font-size:0.45rem; }
    .constellation-node.highlighted .node-core { width:14px; height:14px; }
    .constellation-node.highlighted .node-glow { width:40px; height:40px; }
    .constellation-node.highlighted .node-label { font-size:0.65rem; }
    .constellation-node.connected .node-core { width:11px; height:11px; }
    .constellation-node.connected .node-glow { width:32px; height:32px; }
    .constellation-node.connected .node-label { font-size:0.6rem; }
    .constellation-panel { padding:1.2rem; }
    .constellation-panel h3 { font-size:1.2rem; }
    .constellation-panel .panel-intro { font-size:0.8rem; }
    .grid-2, .grid-3 { grid-template-columns:1fr; gap:1rem; }
    .grid-4 { grid-template-columns:1fr 1fr; gap:1rem; }
    .about-card { padding:var(--card-padding-mobile); border-radius:20px; }
    .about-card .card-icon { width:48px; height:48px; font-size:1.6rem; border-radius:12px; }
    .about-card h4 { font-size:var(--text-lg); }
    .about-card p { font-size:0.9rem; }
    .dashboard-grid { grid-template-columns:1fr; gap:1rem; }
    .dash-card { padding:var(--card-padding-mobile); border-radius:20px; }
    .dash-card-header { margin-bottom:1rem; }
    .dash-card-header i { font-size:1.2rem; }
    .donut-wrap { width:100px; height:100px; }
    .donut-center { font-size:1.6rem; }
    .donut-center .prefix,
    .donut-center .suffix { font-size:0.7rem; }
    .bar-chart { height:140px; padding:0 0.5rem; }
    .bar { width:18px; }
    .bar-label { font-size:0.55rem; }
    .progress-head { font-size:0.75rem; }
    .pathway-grid { grid-template-columns:1fr; gap:1rem; }
    .pathway-portal {
        padding:1.5rem 1.2rem;
        flex-direction:row;
        text-align:left;
        gap:0.8rem;
        align-items:center;
        border-radius:18px;
    }
    .portal-icon { width:48px; height:48px; font-size:1.4rem; border-radius:12px; margin:0; flex-shrink:0; }
    .portal-number { font-size:0.6rem; }
    .pathway-portal h4 { font-size:1.1rem; margin-bottom:0.1rem; }
    .portal-desc { font-size:0.8rem; margin-bottom:0.2rem; }
    .portal-who { display:none; }
    .portal-link-text.portal-btn { padding:0.5rem 1rem; font-size:0.75rem; margin-top:0.2rem; }
    .badge-flag { font-size:0.55rem; padding:0.15rem 0.5rem; top:6px; right:6px; }
    .status-interface { padding:1.8rem 1.2rem; border-radius:20px; }
    .status-interface h3 { font-size:var(--text-xl); }
    .status-field { padding:0.8rem 1rem; font-size:0.85rem; border-radius:10px; }
    .status-btn { padding:0.75rem 1rem; font-size:0.8rem; border-radius:999px; }
    .footer-grid { grid-template-columns:1fr; gap:1.5rem; text-align:center; }
    .footer-links { justify-content:center; gap:1rem; }
    .social-icons { justify-content:center; }
    .newsletter-form { flex-direction:column; max-width:400px; margin:1rem auto 0; }
    .newsletter-form input { width:100%; }
    .newsletter-form button { width:100%; justify-content:center; }
    .timeline { flex-direction:column; gap:1.5rem; }
    .timeline-item {
        min-width:unset;
        text-align:left;
        display:flex;
        align-items:center;
        gap:1rem;
    }
    .timeline-item::after { display:none; }
    .timeline-year { margin-bottom:0; flex-shrink:0; }
    .timeline-desc { font-size:0.9rem; }
    .mobile-menu { width:100%; padding:2rem 1.2rem; border-left:none; border-radius:0; }
    .mobile-menu .close-btn { top:14px; right:14px; width:40px; height:40px; font-size:1.2rem; }
    .mobile-link { font-size:1.05rem; padding:0.7rem 0.8rem; }
    .mobile-register-cta,
    .mobile-login-cta { font-size:0.95rem; padding:0.8rem 1rem; }
    .cookie-banner { padding:1rem 1.2rem; flex-direction:column; align-items:stretch; text-align:center; }
    .cookie-buttons { justify-content:center; }
    .cookie-btn { padding:0.5rem 1rem; font-size:0.8rem; }
    .stats-footer { flex-direction:column; gap:0.8rem; align-items:flex-start; }
    .stats-footer a { width:100%; justify-content:center; }
    .scroll-top { width:44px; height:44px; right:14px; bottom:14px; }
    .scroll-top svg { width:44px; height:44px; }
    .scroll-top .arrow { font-size:1rem; }
    .modal-content { padding:1.5rem 1.2rem; border-radius:16px; width:95%; }
    .modal-close { top:14px; right:14px; font-size:1.2rem; }
    .opening-content { padding:1.5rem; }
    .opening-content h2 { font-size:clamp(3rem,12vw,4rem); }
    .opening-desc { font-size:clamp(1rem,2.5vw,1.2rem); padding:0 0.5rem; }
    .opening-enter-btn { width:60px; height:60px; margin-top:1.5rem; }
    .opening-enter-btn svg { width:24px; height:24px; }
    .opening-eyebrow { font-size:0.7rem; letter-spacing:0.2rem; }
    .opening-logo-top-left,
    .opening-badge-top-right { top:1rem; }
    .opening-logo-top-left { left:1rem; }
    .opening-badge-top-right { right:1rem; }
    .opening-logo-top-left h1 { font-size:1rem; }
    .opening-badge-top-right .badge-text { font-size:0.8rem; }
    .hero,
    #about,
    #register,
    #status {
        background-position: center 20% !important;
    }
    #status {
        background-attachment: scroll !important;
    }
}

@media (max-width:480px) {
    :root { --header-height:64px; }
    .container { width:96%; }
    .section { padding:2rem 0; }
    .section-head h3 { font-size:clamp(1.5rem,7vw,2rem); }
    .hero h2 { font-size:clamp(1.6rem,7vw,2.2rem); letter-spacing:-0.02rem; }
    .hero-subheadline { font-size:0.9rem; }
    .hero p.lead { font-size:0.85rem; }
    .hero-actions .btn { font-size:0.85rem; padding:0.75rem 1rem; }
    .grid-4 { grid-template-columns:1fr; }
    .constellation-container { height:220px; }
    .constellation-node .node-label { font-size:0.5rem; top:14px; }
    .constellation-node .node-core { width:8px; height:8px; }
    .constellation-node .node-glow { width:20px; height:20px; }
    .constellation-node.highlighted .node-core { width:12px; height:12px; }
    .constellation-node.highlighted .node-glow { width:32px; height:32px; }
    .constellation-node.connected .node-core { width:10px; height:10px; }
    .constellation-node.connected .node-glow { width:28px; height:28px; }
    .cluster-label { font-size:0.4rem; }
    .constellation-node .node-label { display:block !important; }
    .about-card { padding:1rem 0.8rem; border-radius:16px; }
    .about-card .card-icon { width:40px; height:40px; font-size:1.2rem; border-radius:10px; margin-bottom:0.8rem; }
    .about-card h4 { font-size:var(--text-md); }
    .about-card p { font-size:0.82rem; }
    .about-card small { font-size:0.6rem; }
    .dash-card { padding:1rem 0.8rem; border-radius:16px; }
    .dash-card-header { margin-bottom:0.8rem; }
    .dash-card-header i { font-size:1rem; }
    .dash-card-header span { font-size:0.8rem; }
    .donut-wrap { width:80px; height:80px; }
    .donut-center { font-size:1.2rem; }
    .donut-center .prefix,
    .donut-center .suffix { font-size:0.6rem; }
    .donut-label { font-size:0.75rem; }
    .bar-chart { height:120px; padding:0 0.2rem; }
    .bar { width:14px; }
    .bar-label { font-size:0.5rem; }
    .pathway-portal { padding:1rem 0.8rem; border-radius:14px; gap:0.6rem; }
    .portal-icon { width:40px; height:40px; font-size:1rem; border-radius:10px; }
    .pathway-portal h4 { font-size:0.95rem; }
    .portal-desc { font-size:0.75rem; }
    .portal-number { font-size:0.5rem; }
    .portal-link-text.portal-btn { padding:0.4rem 0.8rem; font-size:0.65rem; }
    .status-interface { padding:1.2rem 0.8rem; border-radius:16px; }
    .status-interface h3 { font-size:var(--text-lg); }
    .status-field { padding:0.6rem 0.8rem; font-size:0.8rem; }
    .status-btn { padding:0.6rem 0.8rem; font-size:0.75rem; }
    .status-subtitle { font-size:0.85rem; }
    .timeline-item { gap:0.6rem; }
    .timeline-year { font-size:0.7rem; padding:0.3rem 0.5rem; }
    .timeline-desc { font-size:0.8rem; }
    .benefit-card { padding:1rem 0.8rem; }
    .benefit-icon { font-size:1.4rem; }
    .benefit-card h5 { font-size:var(--text-md); }
    .benefit-card p { font-size:0.78rem; }
    .mobile-menu { padding:1.5rem 1rem; }
    .mobile-link { font-size:0.95rem; padding:0.6rem 0.6rem; }
    .mobile-register-cta,
    .mobile-login-cta { font-size:0.85rem; padding:0.7rem 0.8rem; }
    .mobile-menu ul { margin-top:2rem; gap:0.1rem; }
    .mobile-menu .close-btn { top:10px; right:10px; width:36px; height:36px; font-size:1rem; }
    .opening-content { padding:1.2rem; }
    .opening-content h2 { font-size:clamp(2.8rem,14vw,3.5rem); letter-spacing:-0.06rem; }
    .opening-content h2 span { font-size:0.5em; }
    .opening-desc { font-size:clamp(1rem,3vw,1.1rem); padding:0 0.5rem; }
    .opening-enter-btn { width:56px; height:56px; margin-top:1.5rem; }
    .opening-enter-btn svg { width:22px; height:22px; }
    .opening-eyebrow { font-size:0.65rem; letter-spacing:0.15rem; margin-bottom:0.8rem; }
    .scroll-top { width:38px; height:38px; right:10px; bottom:10px; }
    .scroll-top svg { width:38px; height:38px; }
    .scroll-top .arrow { font-size:0.85rem; }
    .newsletter-form input { font-size:0.8rem; padding:0.6rem 0.8rem; }
    .newsletter-form button { font-size:0.8rem; padding:0.6rem 0.8rem; }
    .logo h1 { font-size:0.85rem; }
    .logo span:first-child { font-size:0.65rem; letter-spacing:0.2rem; }
    .nav-toggle { font-size:1.2rem; padding:0.3rem 0.6rem; }
    .cookie-banner p { font-size:0.78rem; }
    .cookie-btn { font-size:0.75rem; padding:0.4rem 0.8rem; }
    .forgot-link { font-size:0.75rem; }
    .opening-badge-top-right { display:none; }
    .hero,
    #about,
    #register,
    #status {
        background-position: center 15% !important;
    }
}

@media (max-width:360px) {
    .section-head h3 { font-size:1.3rem; }
    .hero h2 { font-size:1.4rem; }
    .hero-subheadline { font-size:0.82rem; }
    .hero p.lead { font-size:0.78rem; }
    .hero-actions .btn { font-size:0.78rem; padding:0.65rem 0.8rem; }
    .trust-badges { padding:0.6rem 0.8rem; }
    .trust-badge .badge-num { font-size:0.9rem; }
    .trust-badge .badge-label { font-size:0.7rem; }
    .trust-badge i { font-size:1rem; }
    .pathway-portal h4 { font-size:0.85rem; }
    .portal-desc { font-size:0.7rem; }
    .constellation-container { height:180px; }
    .constellation-node .node-label { font-size:0.45rem; top:12px; }
    .constellation-node .node-core { width:7px; height:7px; }
    .constellation-node .node-glow { width:16px; height:16px; }
    .cluster-label { font-size:0.35rem; }
    .constellation-node.highlighted .node-core { width:10px; height:10px; }
    .constellation-node.highlighted .node-glow { width:28px; height:28px; }
    .constellation-node.connected .node-core { width:9px; height:9px; }
    .constellation-node.connected .node-glow { width:24px; height:24px; }
    .constellation-node .node-label { display:block !important; font-size:0.4rem; }
    .status-interface h3 { font-size:1rem; }
    .status-field { font-size:0.75rem; padding:0.5rem 0.6rem; }
    .status-btn { font-size:0.7rem; padding:0.5rem 0.6rem; }
    .about-card h4 { font-size:1rem; }
    .about-card p { font-size:0.75rem; }
    .about-card .card-icon { width:36px; height:36px; font-size:1rem; }
    .dash-card-header span { font-size:0.7rem; }
    .dash-card-header i { font-size:0.9rem; }
    .donut-wrap { width:70px; height:70px; }
    .donut-center { font-size:1rem; }
    .bar-chart { height:100px; }
    .bar { width:12px; }
    .bar-label { font-size:0.4rem; }
    .footer-links a { font-size:0.75rem; }
    .social-icons a { font-size:1.2rem; }
    .mobile-menu { padding:1.2rem 0.8rem; }
    .mobile-link { font-size:0.85rem; padding:0.5rem 0.5rem; }
    .mobile-register-cta,
    .mobile-login-cta { font-size:0.78rem; padding:0.6rem 0.6rem; }
    .opening-content h2 { font-size:clamp(2.2rem,12vw,2.8rem); }
    .opening-desc { font-size:clamp(0.9rem,2.8vw,1rem); }
    .opening-enter-btn { width:48px; height:48px; margin-top:1rem; }
    .opening-enter-btn svg { width:18px; height:18px; }
    .opening-eyebrow { font-size:0.55rem; }
    .logo h1 { font-size:0.75rem; }
    .logo span:first-child { font-size:0.55rem; letter-spacing:0.15rem; }
    .nav-toggle { font-size:1rem; padding:0.2rem 0.5rem; }
    .container { width:98%; }
}