/* =========================================================
   Athena CTF — Single-page SPA
   Ontario Tech palette: navy #003C71 / blue #0077C8 / orange #E75D2A
   ========================================================= */

:root {
    --navy: #003C71;
    --navy-deep: #001F3D;
    --blue: #0077C8;
    --blue-bright: #22A7F0;
    --orange: #E75D2A;
    --orange-soft: #FF8A4C;
    --ink: #0B1524;
    --ink-2: #111E33;
    --paper: #F4F7FB;
    --muted: #8AA0B8;
    --border: rgba(255, 255, 255, 0.08);
    --card: rgba(255, 255, 255, 0.04);
    --card-hi: rgba(255, 255, 255, 0.07);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--ink);
    color: #E6EEF9;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ========== Background layer ========== */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1000px 700px at 80% -10%, rgba(0, 119, 200, 0.25), transparent 60%),
        radial-gradient(900px 600px at -10% 20%, rgba(231, 93, 42, 0.12), transparent 60%),
        linear-gradient(180deg, #06111F 0%, #0A1628 50%, #06111F 100%);
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    will-change: transform;
}

.blob-1 { width: 500px; height: 500px; background: var(--blue); top: 10%; left: -150px; animation: float 18s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: var(--orange); top: 55%; right: -100px; animation: float 22s ease-in-out infinite reverse; }
.blob-3 { width: 600px; height: 600px; background: var(--navy); bottom: 5%; left: 40%; animation: float 30s ease-in-out infinite; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.08); }
    66% { transform: translate(-50px, 50px) scale(0.95); }
}

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}

/* ========== Floating particles ========== */
.particles {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: -1;
}
.particle {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--blue-bright);
    border-radius: 50%;
    opacity: 0.35;
    box-shadow: 0 0 10px var(--blue-bright);
    animation: drift linear infinite;
}
.particle.hex {
    width: 14px; height: 14px;
    background: transparent;
    border: 1px solid rgba(34, 167, 240, 0.4);
    box-shadow: none;
    transform: rotate(30deg);
    border-radius: 3px;
}
@keyframes drift {
    0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
    10%  { opacity: 0.4; }
    90%  { opacity: 0.3; }
    100% { transform: translateY(-110vh) rotate(180deg); opacity: 0; }
}

/* ========== Header ========== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(6, 17, 31, 0.75);
    backdrop-filter: saturate(160%) blur(16px);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 14px 26px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.brand {
    display: inline-flex;
    align-items: center;
    justify-self: start;
}
.brand-logo {
    height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 119, 200, 0.25));
}
.brand-logo-sm { height: 30px; }

.nav-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    grid-column: 2;
}
.nav-spacer { grid-column: 3; justify-self: end; }
.nav-link {
    padding: 7px 12px;
    border-radius: 999px;
    color: #B8C7DB;
    font-size: 13.5px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.nav-link:hover { color: white; background: rgba(255, 255, 255, 0.05); }
.nav-link.active {
    color: white;
    background: rgba(0, 119, 200, 0.18);
    box-shadow: inset 0 0 0 1px rgba(34, 167, 240, 0.3);
}
.nav-link.nav-cta {
    color: white;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
    padding: 7px 18px;
    font-weight: 600;
    box-shadow: 0 6px 16px -6px rgba(34, 167, 240, 0.6);
}
.nav-link.nav-cta:hover {
    background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    grid-column: 3;
    justify-self: end;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: white;
    border-radius: 2px;
    transition: transform 0.25s;
}

.nav-progress {
    height: 2px;
    background: linear-gradient(90deg, var(--blue-bright), var(--orange));
    width: 0%;
    transition: width 0.1s linear;
}

/* ========== Sections ========== */
main { padding-top: 64px; }

.section {
    position: relative;
    padding: 110px 26px;
    max-width: 1300px;
    margin: 0 auto;
}
.section.dark-band {
    max-width: none;
    padding-left: calc(50vw - 650px + 26px);
    padding-right: calc(50vw - 650px + 26px);
    background: linear-gradient(180deg, rgba(0, 31, 61, 0.5), rgba(0, 31, 61, 0.15));
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    text-align: center;
    margin-bottom: 64px;
    max-width: 820px;
    margin-left: auto; margin-right: auto;
}
.section-tag {
    display: inline-block;
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.section-head h2 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.1;
    margin: 0;
    font-weight: 800;
    background: linear-gradient(135deg, #FFFFFF 0%, #A7C7E7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.head-rule {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-bright), var(--orange));
    border-radius: 3px;
    margin: 18px auto 0;
}
.section-lede {
    margin-top: 22px;
    font-size: 17px;
    color: #AEBED3;
    line-height: 1.6;
}

/* ========== Hero ========== */
.hero {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; }
.badge-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.badge {
    display: inline-block;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(0, 119, 200, 0.2);
    color: #CDE5F8;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 1px solid rgba(34, 167, 240, 0.3);
}
.badge-outline {
    background: transparent;
    border-color: rgba(231, 93, 42, 0.4);
    color: #FFC2A3;
}
.hero-title { margin: 0; }
.title-line {
    display: block;
    font-size: clamp(54px, 9vw, 120px);
    font-weight: 900;
    line-height: 0.95;
    background: linear-gradient(135deg, #FFFFFF 0%, #59B3ED 70%, #E75D2A 140%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
    text-shadow: 0 8px 40px rgba(0, 119, 200, 0.35);
    animation: title-in 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.title-sub {
    display: block;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 500;
    color: #C6D5E8;
    margin-top: 20px;
    letter-spacing: 0.3px;
    animation: title-in 1.1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes title-in {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: none; }
}
.hero-credits {
    margin-top: 28px;
    color: #B6C7DB;
    font-size: 16px;
    animation: title-in 1.1s 0.3s both;
}
.credit-sep { margin: 0 10px; color: var(--orange); }
.hero-ctas {
    margin-top: 42px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: title-in 1.1s 0.45s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
    color: white;
    box-shadow: 0 12px 30px -10px rgba(34, 167, 240, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(34, 167, 240, 0.8); }
.btn-ghost {
    border-color: rgba(255, 255, 255, 0.18);
    color: white;
    background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.scroll-cue {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: title-in 1.1s 0.7s both;
}
.mouse {
    width: 24px; height: 38px;
    border: 2px solid var(--muted);
    border-radius: 14px;
    position: relative;
}
.mouse i {
    position: absolute; left: 50%; top: 8px;
    transform: translateX(-50%);
    width: 3px; height: 6px;
    background: var(--muted);
    border-radius: 3px;
    animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 10px); opacity: 0.2; }
}

.hero-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.orbit {
    position: absolute;
    top: 50%; left: 50%;
    border: 1px dashed rgba(34, 167, 240, 0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.orbit-1 { width: 380px; height: 380px; animation: spin 30s linear infinite; }
.orbit-2 { width: 620px; height: 620px; animation: spin 50s linear infinite reverse; }
.orbit-3 { width: 900px; height: 900px; animation: spin 80s linear infinite; }
.orbit span {
    position: absolute;
    top: -5px; left: 50%;
    width: 10px; height: 10px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--orange);
    transform: translateX(-50%);
}
.orbit-2 span { background: var(--blue-bright); box-shadow: 0 0 20px var(--blue-bright); }
.orbit-3 span { background: #FFF; box-shadow: 0 0 20px #FFF; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.flag-glyph {
    position: absolute;
    top: 12%; right: 8%;
    opacity: 0.08;
    animation: flag-wave 8s ease-in-out infinite;
}
@keyframes flag-wave {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(3deg); }
}

/* ========== Marquee animation (shared) ========== */
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========== Grids / Cards ========== */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 167, 240, 0.12), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 167, 240, 0.45);
    background: var(--card-hi);
}
.card:hover::before { opacity: 1; }
.card.glow {
    background: linear-gradient(180deg, rgba(0, 119, 200, 0.06), rgba(255, 255, 255, 0.03));
}
.card.tall { padding: 36px 32px; }
.card-num {
    font-size: 13px;
    color: var(--orange);
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 10px;
}
.card h3 { margin: 6px 0 12px; font-size: 20px; font-weight: 700; }
.card p { margin: 0; color: #B6C7DB; font-size: 15.5px; }
.card ul { margin: 6px 0 0; padding-left: 20px; color: #B6C7DB; }
.card ul li { margin: 6px 0; }

.icon-big {
    width: 64px; height: 64px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 119, 200, 0.25), rgba(231, 93, 42, 0.15));
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-bright);
    margin-bottom: 18px;
    box-shadow: inset 0 0 0 1px rgba(34, 167, 240, 0.25);
}

.sub-h {
    margin: 22px 0 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-bright);
}
.sub-h.warn { color: var(--orange-soft); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: #D1DDEB;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 12px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--blue-bright);
    border-bottom: 2px solid var(--blue-bright);
    transform: rotate(-45deg);
}
.warn-list { list-style: none; padding: 0; margin: 0; }
.warn-list li {
    padding: 6px 0 6px 28px;
    position: relative;
    color: #D1DDEB;
}
.warn-list li::before {
    content: "!";
    position: absolute;
    left: 4px; top: 6px;
    width: 16px; height: 16px;
    background: var(--orange);
    color: #111;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

/* ========== Problem list ========== */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
    display: grid;
    gap: 14px;
}
.problem-list li {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--orange);
    padding: 22px 26px;
    border-radius: var(--radius);
    transition: transform 0.25s, border-color 0.25s;
}
.problem-list li:hover { transform: translateX(6px); border-left-color: var(--blue-bright); }
.problem-list .bullet {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--orange);
    padding: 6px 10px;
    border: 1px solid rgba(231, 93, 42, 0.35);
    border-radius: 6px;
    flex-shrink: 0;
}
.problem-list h4 { margin: 0 0 4px; font-size: 17px; }
.problem-list p { margin: 0; color: #AEBED3; font-size: 14.5px; }

/* ========== Stakeholders ========== */
.stakeholder {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 28px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.stakeholder:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 167, 240, 0.4);
}
.stake-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 119, 200, 0.2), rgba(231, 93, 42, 0.15));
    color: var(--blue-bright);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.stakeholder h3 {
    color: var(--blue-bright);
    margin: 0 0 14px;
    font-size: 22px;
}
.stakeholder ul { list-style: none; padding: 0; margin: 0; }
.stakeholder ul li {
    padding: 6px 0;
    color: #D1DDEB;
    font-size: 16px;
}
.stakeholder ul li + li { border-top: 1px solid var(--border); }

/* ========== Split media rows ========== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.split:last-child { margin-bottom: 0; }
.split-reverse .split-text { order: 2; }
.split-reverse .split-media { order: 1; }

.split-text h3 {
    font-size: 28px;
    margin: 0 0 14px;
    color: white;
}
.split-text p {
    color: #B6C7DB;
    font-size: 16.5px;
    line-height: 1.7;
}

.pill-row { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 119, 200, 0.15);
    color: #CDE5F8;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(34, 167, 240, 0.25);
}

.shot {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.shot.tilt { perspective: 1200px; }
.shot.tilt:hover { transform: scale(1.02); }
.shot img { width: 100%; height: auto; display: block; }
.shot.wide { margin-top: 24px; max-width: 1000px; margin-left: auto; margin-right: auto; }

/* ========== Code blocks ========== */
.code-block {
    background: #07111F;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 14px;
}
.code-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: #0D1A2D;
    border-bottom: 1px solid var(--border);
}
.code-head .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #FF5F57; }
.dot.y { background: #FEBC2E; }
.dot.g { background: #28C840; }
.code-title {
    margin-left: auto;
    font-family: 'SF Mono', 'Menlo', monospace;
    font-size: 12px;
    color: var(--muted);
}
.code-block pre {
    margin: 0;
    padding: 20px 22px;
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 13.5px;
    color: #E6EEF9;
    line-height: 1.7;
    overflow-x: auto;
}
.code-block .k { color: #E75D2A; }
.code-block .c { color: #22A7F0; }
.code-block .s { color: #8EE8B7; }
.code-small pre { font-size: 12.5px; padding: 16px 18px; }

/* ========== LLM chips ========== */
.llm-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.llm-chip {
    padding: 10px 18px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 119, 200, 0.18), rgba(231, 93, 42, 0.12));
    border: 1px solid rgba(34, 167, 240, 0.3);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: white;
}
.llm-chip small { color: var(--muted); font-weight: 400; }

/* ========== Marquee (secondary) ========== */
.marquee {
    margin-top: 50px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}
.marquee-track {
    display: inline-flex;
    gap: 28px;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}
.marquee-track span {
    font-size: 18px;
    font-weight: 700;
    color: #A7C7E7;
}
.marquee-track span:nth-child(2n) { color: var(--orange); }

/* ========== Feature list ========== */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.feature-list li {
    padding: 16px 0 16px 32px;
    border-bottom: 1px dashed var(--border);
    color: #C6D5E8;
    position: relative;
}
.feature-list li::before {
    content: "▸";
    position: absolute;
    left: 0; top: 16px;
    color: var(--blue-bright);
    font-size: 18px;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list strong { color: white; }

/* ========== Parameterization ========== */
.param-row {
    margin-top: 70px;
    text-align: center;
}
.param-row h3 {
    font-size: 26px;
    margin: 0 0 10px;
    color: white;
}
.param-row p { color: #B6C7DB; max-width: 700px; margin: 0 auto 24px; }

/* ========== Admin screenshot ========== */
.admin-shot {
    max-width: 1100px;
    margin: 0 auto;
}
.browser-frame {
    background: #07111F;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(34, 167, 240, 0.12);
    transition: transform 0.4s;
}
.browser-frame:hover { transform: translateY(-6px); }
.browser-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 14px;
    background: #0D1A2D;
    border-bottom: 1px solid var(--border);
}
.browser-url {
    margin-left: 14px;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    font-family: 'SF Mono', monospace;
    font-size: 12px;
    color: var(--muted);
    flex: 1;
}
.browser-frame img { width: 100%; display: block; }

/* ========== Stats ========== */
.stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 28px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}
.stat:hover { transform: translateY(-5px); border-color: rgba(34, 167, 240, 0.45); }
.stat-num {
    font-size: 64px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #FFFFFF 0%, var(--blue-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -2px;
}
.stat-num span {
    display: inline-block;
    margin-left: 6px;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--orange);
    -webkit-text-fill-color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
}
.stat-label {
    margin-top: 12px;
    color: #AEBED3;
    font-size: 14.5px;
}

/* ========== Feedback block ========== */
.feedback {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.feedback-col {
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
}
.feedback-col.pos { border-left: 4px solid var(--blue-bright); }
.feedback-col.sug { border-left: 4px solid var(--orange); }
.feedback-col h3 { margin: 0 0 16px; color: white; }
.feedback-col ul { margin: 0; padding-left: 18px; }
.feedback-col li { margin: 10px 0; color: #C6D5E8; }
.status {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-left: 6px;
    vertical-align: middle;
}
.status.done    { background: rgba(70, 220, 130, 0.15); color: #6DE6A0; border: 1px solid rgba(70, 220, 130, 0.35); }
.status.partial { background: rgba(231, 93, 42, 0.18);  color: #FFB089; border: 1px solid rgba(231, 93, 42, 0.4); }

/* ========== Timeline (future work) ========== */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 28px;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 7px; top: 10px; bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, var(--blue-bright), var(--orange));
    border-radius: 2px;
}
.t-item {
    position: relative;
    padding: 14px 0 14px 24px;
    margin-bottom: 14px;
}
.t-dot {
    position: absolute;
    left: -28px; top: 22px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--blue-bright);
    box-shadow: 0 0 0 4px rgba(34, 167, 240, 0.18), 0 0 16px var(--blue-bright);
}
.t-item:nth-child(even) .t-dot { background: var(--orange); box-shadow: 0 0 0 4px rgba(231, 93, 42, 0.18), 0 0 16px var(--orange); }
.t-item h3 { margin: 0 0 6px; font-size: 19px; }
.t-item p { margin: 0; color: #B6C7DB; }

/* ========== Footer ========== */
.site-footer {
    border-top: 1px solid var(--border);
    background: rgba(3, 10, 20, 0.6);
    padding: 54px 26px 26px;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    align-items: center;
}
.foot-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.foot-credits { text-align: center; }
.foot-social { display: flex; gap: 10px; justify-content: flex-end; }
.social {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: #B6C7DB;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.social:hover {
    background: rgba(0, 119, 200, 0.25);
    color: white;
    transform: translateY(-3px);
}
.foot-copy {
    margin-top: 34px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    max-width: 1300px;
    margin-left: auto; margin-right: auto;
}
.muted { color: var(--muted); }
.small { font-size: 12px; }

p code, li code, .section-lede code, .feature-list code {
    font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
    font-size: 0.88em;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(34, 167, 240, 0.12);
    color: #B8DCF7;
    border: 1px solid rgba(34, 167, 240, 0.22);
}

/* ========== Reveal-on-scroll ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.in {
    opacity: 1;
    transform: none;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .nav-inner { grid-template-columns: auto 1fr auto; }
    .nav-links { display: none; position: fixed; top: 62px; left: 0; right: 0; flex-direction: column; background: rgba(6, 17, 31, 0.98); padding: 16px; border-bottom: 1px solid var(--border); grid-column: 1 / -1; }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-spacer { display: none; }
    .split { grid-template-columns: 1fr; gap: 30px; }
    .split-reverse .split-text, .split-reverse .split-media { order: unset; }
    .section.dark-band { padding-left: 26px; padding-right: 26px; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .foot-social { justify-content: center; }
    .foot-brand { align-items: center; }
}
@media (max-width: 700px) {
    .section { padding: 70px 20px; }
    .feedback { grid-template-columns: 1fr; }
    .ticker-item { font-size: 16px; }
    .title-line { letter-spacing: -1px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
