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

:root {
    --bg: #050508;
    --bg-card: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #f0f0f2;
    --text-sec: #b0b0be;
    --text-dim: #7a7a8e;
    --accent: #e63226;
    --accent2: #ff4136;
    --magenta: #c2185b;
    --orange: #ff6d3a;
    --indigo: #6366f1;
    --cyan: #06b6d4;
    --green: #22c55e;
    --font: 'Sora', sans-serif;
    --mono: 'JetBrains Mono', monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);

    --text-xs:   clamp(0.6rem, 0.55rem + 0.25vw, 0.75rem);
    --text-sm:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-base: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-lg:   clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    --text-xl:   clamp(1.25rem, 1rem + 1vw, 1.75rem);
    --text-2xl:  clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
    --text-3xl:  clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
    --text-hero: clamp(6rem, 4rem + 10vw, 14rem);

    --space-xs:  clamp(8px, 1vw, 12px);
    --space-sm:  clamp(16px, 2vw, 24px);
    --space-md:  clamp(32px, 4vw, 48px);
    --space-lg:  clamp(48px, 6vw, 80px);
    --space-xl:  clamp(80px, 10vw, 140px);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ═══ PAGE ENTER FADE ═══ */
.page-curtain {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 10000; pointer-events: none;
    animation: curtainLift 1s ease 0.2s forwards;
}
@keyframes curtainLift { to { opacity: 0; } }

/* ═══ GRAIN ═══ */
.grain {
    position: fixed; inset: 0; z-index: 9999;
    pointer-events: none; opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 128px 128px;
    animation: grainShift 0.5s steps(4) infinite;
}
@keyframes grainShift {
    0% { transform: translate(0,0); }
    25% { transform: translate(-2px,2px); }
    50% { transform: translate(2px,-2px); }
    75% { transform: translate(-2px,-2px); }
    100% { transform: translate(2px,2px); }
}

/* ═══ CURSOR GLOW ═══ */
.cursor-glow {
    position: fixed;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,50,38,0.04) 0%, transparent 70%);
    pointer-events: none; z-index: 1;
    transform: translate(-50%, -50%);
    will-change: transform;
}

/* ═══ BACKGROUND ═══ */
.bg-canvas {
    position: fixed; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
}
.bg-gradient {
    position: absolute; inset: -50%;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(198,24,60,0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(230,50,38,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 70% 50% at 60% 80%, rgba(255,109,58,0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(100,20,40,0.04) 0%, transparent 70%);
    animation: bgShift 25s ease-in-out infinite alternate;
    will-change: transform;
    transition: background 1.5s ease;
}
@keyframes bgShift {
    0% { transform: translate(0,0) rotate(0deg) scale(1); }
    33% { transform: translate(3%,-2%) rotate(1deg) scale(1.02); }
    66% { transform: translate(-2%,3%) rotate(-0.5deg) scale(0.98); }
    100% { transform: translate(1%,-1%) rotate(0.5deg) scale(1.01); }
}
.bg-mesh {
    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 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
    transform: perspective(600px) rotateX(5deg);
    transform-origin: center 60%;
    will-change: transform;
}

/* ═══ SCROLL SPOTLIGHT ═══ */
.scroll-spotlight {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 1;
    opacity: 0.5;
    transition: background 0.8s ease;
}

/* ═══════════════════════════════════
     FLOATING NAV - Scroll Progress Bar
     ═══════════════════════════════════ */
.floating-nav {
    position: fixed;
    top: 28px; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.floating-nav.visible {
    opacity: 1;
    pointer-events: auto;
}
.nav-pill {
    padding: 16px 28px;
    background: rgba(5,5,8,0.6);
    backdrop-filter: blur(30px) saturate(1.4);
    -webkit-backdrop-filter: blur(30px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 40px;
    width: 320px;
}
.nav-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
}
.nav-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    border-radius: 2px;
    background: var(--accent);
    width: 0%;
    transition: width 0.15s linear, background-color 0.6s ease, box-shadow 0.6s ease;
}
.nav-fill.complete {
    background: var(--green);
    box-shadow: 0 0 12px rgba(34,197,94,0.3);
}
.nav-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.1);
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}
.nav-marker.passed {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 6px rgba(230,50,38,0.3);
}
.nav-marker.complete {
    background: var(--green) !important;
    border-color: var(--green) !important;
    box-shadow: 0 0 6px rgba(34,197,94,0.3) !important;
}
.nav-marker-label {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 0.45rem;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    text-transform: uppercase;
}
.nav-marker:hover .nav-marker-label { opacity: 1; }

.nav-wordmark {
    position: fixed;
    top: 32px; left: 40px;
    z-index: 100;
    font-weight: 700; font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.nav-wordmark.visible { opacity: 1; }

/* ═══ MAIN ═══ */
main { position: relative; z-index: 2; }

/* ═══ SECTIONS ═══ */
.section { position: relative; }

/* ═══ SECTION DIVIDERS ═══ */
.section-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230,50,38,0.12), transparent);
    position: relative;
}
.section-divider::after {
    content: '';
    position: absolute;
    top: -15px; left: 0; right: 0; bottom: -15px;
    background: linear-gradient(90deg, transparent, rgba(230,50,38,0.03), transparent);
    filter: blur(10px);
}

/* ═══ SCROLL REVEAL ═══ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

.word-reveal span {
    display: inline-block;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.word-reveal.visible span { opacity: 1; transform: translateY(0); }

/* Gradient text on per-span basis for word-reveal titles */
.word-reveal.sec-title span,
.word-reveal.next-title span {
    background: linear-gradient(180deg, #ffffff 20%, #666666 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════
     HERO
     ═══════════════════════════════════ */
.hero {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    height: 100vh; height: 100dvh;
    text-align: center; padding: 0 48px;
    position: relative; overflow: hidden;
}

/* ═══ HERO VENUE BLUEPRINT ═══ */
.venue-backdrop {
    position: absolute; inset: -30%;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
    transform: perspective(1400px) rotateX(55deg) rotateZ(-15deg);
    transform-origin: center 60%;
    animation: blueprintDrift 30s ease-in-out infinite alternate;
}
@keyframes blueprintDrift {
    0% { transform: perspective(1400px) rotateX(55deg) rotateZ(-15deg) translateY(0); }
    50% { transform: perspective(1400px) rotateX(53deg) rotateZ(-13deg) translateY(-12px); }
    100% { transform: perspective(1400px) rotateX(57deg) rotateZ(-17deg) translateY(8px); }
}
.venue-blueprint {
    width: 160%; height: 160%;
    overflow: visible;
}
.bp-cam {
    animation: bpCamPulse 3s ease-in-out infinite;
}
@keyframes bpCamPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 0.85; }
}
.bp-cam-glow {
    animation: bpCamPulse 3s ease-in-out infinite;
}

/* Individual venue orbits - each drifts on its own path */
.venue-orbit-0 {
    animation: venueOrbit0 18s ease-in-out infinite alternate;
}
.venue-orbit-1 {
    animation: venueOrbit1 22s ease-in-out infinite alternate;
}
.venue-orbit-2 {
    animation: venueOrbit2 20s ease-in-out infinite alternate;
}
.venue-orbit-3 {
    animation: venueOrbit3 24s ease-in-out infinite alternate;
}
@keyframes venueOrbit0 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(8px, -5px); }
    66% { transform: translate(-4px, 6px); }
    100% { transform: translate(5px, 3px); }
}
@keyframes venueOrbit1 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-6px, 7px); }
    66% { transform: translate(5px, -3px); }
    100% { transform: translate(-3px, -6px); }
}
@keyframes venueOrbit2 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(7px, 4px); }
    66% { transform: translate(-6px, -5px); }
    100% { transform: translate(-2px, 7px); }
}
@keyframes venueOrbit3 {
    0% { transform: translate(0, 0); }
    33% { transform: translate(-5px, -6px); }
    66% { transform: translate(4px, 5px); }
    100% { transform: translate(6px, -4px); }
}
.ring-glow {
    position: absolute; width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230,50,38,0.06) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: ringPulse 4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes ringPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}
.particles-container { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
    position: absolute; width: 2px; height: 2px;
    border-radius: 50%; background: rgba(230,50,38,0.3);
    animation: particleRise linear infinite;
}
@keyframes particleRise {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-400px) translateX(var(--drift)); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; }
.hero-tag {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.3em; color: var(--accent2);
    text-transform: uppercase; margin-bottom: 28px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero-title {
    font-size: var(--text-hero);
    font-weight: 700; letter-spacing: -0.04em;
    line-height: 0.82; margin-bottom: 32px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.7s forwards;
    position: relative;
}
.hero-title .title-main {
    background: linear-gradient(180deg, #ffffff 20%, #555555 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; display: inline-block;
}
.hero-title::after {
    content: 'SOAR';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.12) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.12) 55%, transparent 60%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; background-size: 200% 100%;
    animation: lightSweep 5s ease-in-out 2s infinite;
}
@keyframes lightSweep {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}
.hero-sub {
    font-size: var(--text-lg); font-weight: 300; color: var(--text-sec);
    max-width: 520px; line-height: 1.8;
    margin: 0 auto 52px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}
.hero-metrics {
    display: flex; gap: 1px;
    border-radius: 16px; overflow: hidden;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 1.2s forwards;
}
.metric {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
    padding: 28px 44px; text-align: center;
    border: 1px solid var(--border); transition: all 0.4s ease;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.metric:first-child { border-radius: 16px 0 0 16px; }
.metric:last-child { border-radius: 0 16px 16px 0; }
.metric:hover { background: rgba(230,50,38,0.05); border-color: rgba(230,50,38,0.15); }
.metric-val {
    font-family: var(--mono); font-size: 1.6rem; font-weight: 700;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-sec) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.metric-label {
    font-size: var(--text-xs); color: var(--text-dim);
    letter-spacing: 0.15em; text-transform: uppercase; margin-top: 6px;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ═══ HERO SPORT BADGES ═══ */
.hero-sports {
    display: flex; gap: 12px; justify-content: center;
    margin-bottom: 36px;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 1.0s forwards;
}
.hero-sport {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--text-sec);
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    cursor: default;
    transition: all 0.35s ease;
}
.hero-sport:hover, .hero-sport.active {
    color: rgba(230,50,38,0.9);
    border-color: rgba(230,50,38,0.35);
    background: rgba(230,50,38,0.06);
}

/* Venue highlight/dim on badge hover */
.venue-group {
    transition: opacity 0.4s ease, filter 0.4s ease;
}
.venue-backdrop.has-focus .venue-group {
    opacity: 0.15;
    filter: blur(1px);
}
.venue-backdrop.has-focus .venue-group.venue-highlight {
    opacity: 1;
    filter: none;
}

.scroll-indicator {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column;
    align-items: center; gap: 8px; z-index: 2;
    opacity: 0; animation: fadeUp 0.8s var(--ease) 1.6s forwards;
}
.scroll-line {
    width: 1px; height: 48px;
    background: linear-gradient(180deg, rgba(230,50,38,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ═══════════════════════════════════
     SECTION HEADERS - Tight & Linked
     ═══════════════════════════════════ */
.sec-head { margin-bottom: var(--space-md); }
.sec-tag {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.3em; color: var(--accent2);
    text-transform: uppercase; margin-bottom: 12px;
    display: flex; align-items: center; gap: 12px;
}
.sec-tag::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.sec-title {
    font-size: var(--text-3xl);
    font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 20%, #666666 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sec-desc {
    font-size: var(--text-base); font-weight: 300;
    color: var(--text-sec); max-width: 640px; line-height: 1.85;
}

/* ═══════════════════════════════════
     SYSTEM - STICKY SCROLL
     ═══════════════════════════════════ */
.system-intro {
    padding: var(--space-lg) 48px var(--space-md);
    max-width: 1200px; margin: 0 auto;
}
.sticky-container { position: relative; height: 400vh; }
.sticky-panel {
    position: sticky; top: 0; height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 clamp(24px, 5vw, 80px);
    gap: 60px; overflow: hidden;
}
.sticky-panel::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    opacity: 0.06;
    left: 30%; top: 50%; transform: translate(-50%, -50%);
    filter: blur(120px);
    transition: background 0.8s ease;
    pointer-events: none;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}
.sticky-visual {
    display: flex; align-items: center; justify-content: center;
    position: relative;
    min-height: 520px;
}

/* Pillar visual switching */
.pillar-visual {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    pointer-events: none;
}
.pillar-visual.active {
    opacity: 1; transform: scale(1);
    pointer-events: auto;
}
.visual-svg { width: 100%; max-width: 880px; height: auto; }

.array-ring { fill: none; stroke: rgba(230,50,38,0.12); stroke-width: 1; }
.array-fov {
    stroke: rgba(230,50,38,0.06); stroke-width: 0.5;
    fill: rgba(230,50,38,0.015);
    transition: all 0.4s ease; pointer-events: none;
}
.array-fov.highlight { stroke: rgba(230,50,38,0.25); fill: rgba(230,50,38,0.04); }
.cam-node { fill: rgba(230,50,38,0.5); transition: all 0.3s ease; cursor: pointer; }
.cam-node:hover, .cam-node.highlight {
    fill: var(--accent); filter: drop-shadow(0 0 6px rgba(230,50,38,0.6));
}
.cam-pair-line {
    stroke: rgba(255,255,255,0); stroke-width: 0.8;
    stroke-dasharray: 4 3; transition: stroke 0.4s ease; pointer-events: none;
}
.cam-pair-line.highlight { stroke: rgba(230,50,38,0.35); }
.cam-label {
    font-family: var(--mono); font-size: 7px;
    fill: var(--text-dim); text-anchor: middle;
    pointer-events: none; transition: fill 0.3s ease;
}
.cam-label.highlight { fill: var(--text); }
.array-center-label {
    font-family: var(--mono); font-size: 8px;
    fill: var(--text-dim); text-anchor: middle; letter-spacing: 0.15em;
}
.array-center-ring {
    fill: none; stroke: rgba(255,255,255,0.05);
    stroke-width: 0.5; stroke-dasharray: 3 3;
    transition: stroke 0.3s ease;
}
.array-center-ring.flash { stroke: rgba(230,50,38,0.35); stroke-width: 1; }
.array-center-label { transition: fill 0.3s ease; }
.array-center-label.flash { fill: var(--accent); }

/* Coverage sweep animation */
.array-fov.active { stroke: rgba(230,50,38,0.2); fill: rgba(230,50,38,0.07); }
.cam-node.active { fill: var(--accent); filter: drop-shadow(0 0 6px rgba(230,50,38,0.6)); }
.cam-pair-line.active { stroke: rgba(230,50,38,0.3); }
.cam-label.active { fill: var(--accent); }
.coverage-ring {
    fill: none; stroke: rgba(230,50,38,0.2); stroke-width: 1.5;
    stroke-linecap: round; transition: stroke-dashoffset 0.6s ease;
}
.coverage-ring.complete {
    stroke: rgba(230,50,38,0.5); stroke-width: 2;
    transition: stroke 0.2s, stroke-width 0.2s;
}
.coverage-pulse {
    fill: none; stroke: rgba(230,50,38,0.4); stroke-width: 1.5; opacity: 0;
}

.sticky-content { position: relative; height: 360px; }
.pillar-slide {
    position: absolute; inset: 0;
    opacity: 0; transform: translateY(25px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    pointer-events: none;
    display: flex; flex-direction: column; justify-content: center;
}
.pillar-slide.active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.pillar-tag {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.2em; color: var(--text-dim);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 10px;
}
.pillar-tag-dot {
    width: 6px; height: 6px; border-radius: 50%;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.pillar-heading {
    font-size: var(--text-2xl);
    font-weight: 600; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 12px;
}
.pillar-desc {
    font-size: var(--text-base); font-weight: 300;
    color: var(--text-sec); line-height: 1.8;
    max-width: 480px; margin-bottom: 24px;
}
.pillar-metrics {
    display: flex; gap: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.pillar-m-val { font-family: var(--mono); font-size: 1.15rem; font-weight: 700; }
.pillar-m-label {
    font-size: var(--text-xs); color: var(--text-dim);
    letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px;
}

.pillar-progress {
    position: absolute;
    left: 40px; top: 50%; transform: translateY(-50%);
    width: 2px; height: 180px;
    background: rgba(255,255,255,0.06); border-radius: 1px;
}
.pillar-progress-fill {
    width: 100%; border-radius: 1px;
    transition: height 0.4s var(--ease), background 0.4s ease, box-shadow 0.4s ease;
    background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.pillar-progress-dots {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    justify-content: space-between; align-items: center;
}
.pillar-progress-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.1); transition: all 0.4s ease;
}
.pillar-progress-dot.active {
    background: var(--accent); box-shadow: 0 0 8px var(--accent);
}

/* ═══════════════════════════════════
     ANALYTICS - Player Intelligence
     ═══════════════════════════════════ */
.analytics-page {
    padding: var(--space-lg) 48px;
    max-width: 1200px; margin: 0 auto;
}
/* Section accent override */
#analytics .sec-tag { color: var(--cyan); }
#analytics .sec-tag::before { background: var(--cyan); }

/* Showcase layout: cards left, visual right */
.analytics-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}
.analytics-visual { order: 2; }
.analytics-cards { order: 1; }

/* Canvas visualization */
.analytics-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(6,182,212,0.08);
    background: rgba(6,182,212,0.02);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.analytics-visual.active {
    opacity: 1;
    transform: scale(1);
}
.analytics-canvas {
    display: block;
    width: 100%; height: 100%;
    position: absolute; inset: 0;
}

/* Cards - stacked vertically on the right */
.analytics-cards {
    display: flex; flex-direction: column;
    gap: 16px;
}
.analytics-card {
    padding: 24px 28px;
    background: rgba(10,10,15,0.8);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    position: relative; overflow: hidden;
    cursor: default;
}
.analytics-card::after {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 0 2px 2px 0;
    background: var(--cyan);
    opacity: 0; transition: opacity 0.4s ease;
}
.analytics-card:hover,
.analytics-card.card-active {
    border-color: rgba(6,182,212,0.18);
    background: rgba(6,182,212,0.04);
}
.analytics-card:hover::after,
.analytics-card.card-active::after { opacity: 1; }
.analytics-card:nth-child(2)::after { background: #e63226; }
.analytics-card:nth-child(3)::after { background: #0891b2; }
.analytics-card:nth-child(4)::after { background: #6366f1; }
.analytics-card:nth-child(2):hover,
.analytics-card:nth-child(2).card-active { border-color: rgba(230,50,38,0.18); background: rgba(230,50,38,0.04); }
.analytics-card:nth-child(3):hover,
.analytics-card:nth-child(3).card-active { border-color: rgba(8,145,178,0.18); background: rgba(8,145,178,0.04); }
.analytics-card:nth-child(4):hover,
.analytics-card:nth-child(4).card-active { border-color: rgba(99,102,241,0.18); background: rgba(99,102,241,0.04); }

/* Card head - title + metric side by side */
.analytics-card-head {
    display: flex; justify-content: space-between;
    align-items: center; gap: 16px;
    margin-bottom: 8px;
}
.analytics-card-title {
    font-size: var(--text-base); font-weight: 600;
    letter-spacing: -0.01em;
}
.analytics-card-metric {
    display: flex; align-items: baseline; gap: 6px;
    flex-shrink: 0;
}
.analytics-m-val {
    font-family: var(--mono); font-size: 1.1rem; font-weight: 700;
    color: var(--cyan);
}
.analytics-card:nth-child(2) .analytics-m-val { color: #e63226; }
.analytics-card:nth-child(3) .analytics-m-val { color: #0891b2; }
.analytics-card:nth-child(4) .analytics-m-val { color: #6366f1; }
.analytics-m-label {
    font-family: var(--mono); font-size: var(--text-xs);
    color: var(--text-dim); letter-spacing: 0.08em;
    text-transform: uppercase;
}
.analytics-card-desc {
    font-size: var(--text-sm); font-weight: 300;
    color: var(--text-sec); line-height: 1.75;
}

/* ═══════════════════════════════════
     BROADCAST FEED
     ═══════════════════════════════════ */
.broadcast-page {
    padding: var(--space-lg) 48px;
    max-width: 1200px; margin: 0 auto;
}
#broadcast .sec-tag { color: var(--indigo); }
#broadcast .sec-tag::before { background: var(--indigo); }

.broadcast-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

/* ── Viewport (canvas + HUD overlay) ── */
.broadcast-viewport {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(99,102,241,0.12);
    background: rgba(5,5,12,0.95);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.broadcast-viewport.active {
    opacity: 1; transform: scale(1);
}
.broadcast-canvas {
    display: block;
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    touch-action: pan-y;
}

/* HUD overlay */
.viewport-hud {
    position: absolute; inset: 0;
    pointer-events: none;
    z-index: 2;
}
.viewport-hud > div {
    position: absolute;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
}
.hud-tl { top: 14px; left: 16px; }
.hud-tr { top: 14px; right: 16px; text-align: right; }
.hud-bl { bottom: 14px; left: 16px; }
.hud-br { bottom: 14px; right: 16px; text-align: right; }
.hud-label {
    display: block;
    color: rgba(99,102,241,0.6);
    font-weight: 500;
}
.hud-value {
    display: block;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}
.hud-live {
    color: var(--green);
    text-shadow: 0 0 8px rgba(34,197,94,0.4);
}

/* Crosshair */
.hud-crosshair {
    position: absolute;
    top: 50%; left: 50%;
    width: 48px; height: 48px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 50%;
}
.hud-crosshair::before,
.hud-crosshair::after {
    content: ''; position: absolute;
    background: rgba(99,102,241,0.15);
}
.hud-crosshair::before {
    width: 1px; height: 14px;
    left: 50%; top: -8px;
    transform: translateX(-50%);
}
.hud-crosshair::after {
    width: 14px; height: 1px;
    top: 50%; left: -8px;
    transform: translateY(-50%);
}

/* REC indicator */
.viewport-rec {
    position: absolute; top: 14px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 9px; font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    display: flex; align-items: center; gap: 6px;
    z-index: 2;
    animation: recBlink 2s ease-in-out infinite;
}
.rec-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
}
@keyframes recBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Broadcast cards ── */
.broadcast-cards {
    display: flex; flex-direction: column;
    gap: 14px;
}
.broadcast-card {
    display: flex; gap: 18px;
    align-items: flex-start;
    padding: 22px 24px;
    background: rgba(10,10,18,0.8);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 14px;
    backdrop-filter: blur(20px);
    transition: all 0.5s var(--ease);
    cursor: default;
    position: relative; overflow: hidden;
}
.broadcast-card::after {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 0 2px 2px 0;
    background: var(--indigo);
    opacity: 0; transition: opacity 0.4s ease;
}
.broadcast-card:hover,
.broadcast-card.card-active {
    border-color: rgba(99,102,241,0.2);
    background: rgba(99,102,241,0.04);
}
.broadcast-card:hover::after,
.broadcast-card.card-active::after { opacity: 1; }

.broadcast-card-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    color: var(--indigo);
    opacity: 0.7;
    transition: opacity 0.4s ease;
}
.broadcast-card:hover .broadcast-card-icon,
.broadcast-card.card-active .broadcast-card-icon { opacity: 1; }

.broadcast-card-title {
    font-size: var(--text-base); font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
}
.broadcast-card-desc {
    font-size: var(--text-sm); font-weight: 300;
    color: var(--text-sec); line-height: 1.7;
}

/* ═══════════════════════════════════
     PRODUCTION - Future of Production
     ═══════════════════════════════════ */
.production-page {
    padding: var(--space-lg) 48px;
    max-width: 1200px; margin: 0 auto;
}
#production .sec-tag { color: var(--green); }
#production .sec-tag::before { background: var(--green); }

/* Canvas visual */
.production-visual-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 520px;
    margin-bottom: var(--space-md);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(34,197,94,0.08);
    background: rgba(34,197,94,0.015);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.production-visual-wrap.active {
    opacity: 1; transform: scale(1);
}
.production-canvas {
    display: block;
    width: 100%; height: 100%;
    position: absolute; inset: 0;
    touch-action: pan-y;
}
.production-label {
    position: absolute;
    bottom: 16px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--mono);
    font-size: 10px; font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    transition: opacity 0.6s ease;
    pointer-events: none;
    white-space: nowrap;
}

/* Two columns: gain + change */
.production-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.production-col-head {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.production-col-icon {
    width: 28px; height: 28px;
    flex-shrink: 0;
}
.gain-icon { color: var(--green); }
.change-icon { color: var(--orange); }
.production-col-title {
    font-size: var(--text-base); font-weight: 600;
    letter-spacing: -0.01em;
}

.production-item {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 12px 0;
    font-size: var(--text-sm); font-weight: 300;
    color: var(--text-sec);
    line-height: 1.7;
    border-bottom: 1px solid rgba(255,255,255,0.025);
}
.production-item:last-child { border-bottom: none; }

.production-check {
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--green);
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    margin-top: 2px;
}
.production-arrow {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange);
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    margin-top: 2px;
}

/* ═══════════════════════════════════
     PIPELINE
     ═══════════════════════════════════ */
.pipeline-page {
    padding: var(--space-lg) 48px;
    max-width: 1100px; margin: 0 auto;
}
.pipeline-beam {
    position: relative; height: 3px;
    background: rgba(255,255,255,0.04);
    border-radius: 2px; margin: var(--space-sm) 0 var(--space-md);
    overflow: hidden;
}
.pipeline-beam::after {
    content: ''; position: absolute;
    width: 30%; height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--orange), transparent);
    animation: beamFlow 3s ease-in-out infinite;
    box-shadow: 0 0 20px var(--accent), 0 0 40px rgba(230,50,38,0.3);
}
@keyframes beamFlow { 0% { left: -30%; } 100% { left: 100%; } }

.pipeline-beam-labels {
    display: flex; justify-content: space-between;
    margin-top: -28px; margin-bottom: var(--space-md);
}
.beam-label {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.15em; color: var(--text-dim);
    text-transform: uppercase; position: relative;
}
.beam-label::before {
    content: ''; position: absolute;
    top: -20px; left: 50%; transform: translateX(-50%);
    width: 6px; height: 6px; border-radius: 50%;
    border: 1px solid var(--accent); background: var(--bg);
}
.pipeline-steps { display: flex; flex-direction: column; }
.pip-step {
    display: grid; grid-template-columns: 100px 1fr;
    gap: 40px; padding: 28px 0; position: relative;
}
.pip-step:not(:last-child)::after {
    content: ''; position: absolute;
    left: 15px; top: 64px; bottom: -4px; width: 1px;
    background: linear-gradient(180deg, var(--accent), transparent);
    opacity: 0.3; transition: opacity 0.6s ease;
}
.pip-step.pulse-active:not(:last-child)::after { opacity: 1; }
.pip-marker {
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 10px; padding-top: 4px;
}
.pip-dot {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid rgba(230,50,38,0.2);
    background: rgba(230,50,38,0.03);
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 2; transition: all 0.5s var(--ease);
}
.pip-dot-inner {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 10px var(--accent);
    transition: all 0.5s var(--ease); opacity: 0.5;
}
.pip-step.pulse-active .pip-dot {
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(230,50,38,0.2);
    background: rgba(230,50,38,0.08);
}
.pip-step.pulse-active .pip-dot-inner {
    transform: scale(1.4); opacity: 1;
    box-shadow: 0 0 16px var(--accent);
}
.pip-num {
    font-family: var(--mono); font-size: 0.55rem;
    color: var(--text-dim); letter-spacing: 0.1em;
}
.pip-h {
    font-size: var(--text-xl); font-weight: 600;
    margin-bottom: 8px; letter-spacing: -0.01em;
}
.pip-desc {
    font-size: var(--text-base); font-weight: 300;
    color: var(--text-sec); line-height: 1.8; max-width: 540px;
}
.pip-callout {
    margin-top: 12px; padding: 14px 18px;
    background: rgba(255,255,255,0.02);
    border-left: 2px solid var(--accent);
    border-radius: 0 10px 10px 0;
    font-size: var(--text-sm); color: var(--text-sec);
    line-height: 1.7; max-width: 540px;
}
.pip-callout strong { color: var(--text); font-weight: 500; }

/* Latency Clock */
.latency-clock {
    margin-top: var(--space-md); padding: 28px 32px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border); border-radius: 16px;
    position: relative; overflow: hidden;
}
.latency-header {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 20px;
    flex-wrap: nowrap; gap: 12px;
}
.latency-title {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.2em; color: var(--text-dim); text-transform: uppercase;
    white-space: nowrap;
}
.latency-total {
    font-family: var(--mono); font-size: 1.4rem;
    font-weight: 700; color: var(--text);
    transition: color 0.4s var(--ease), text-shadow 0.4s var(--ease);
    flex-shrink: 0; text-align: right;
}
.latency-total.climax {
    color: var(--green);
    text-shadow: 0 0 20px rgba(34,197,94,0.3);
}
.latency-total .ms-unit {
    font-size: 0.7rem; font-weight: 400;
    color: var(--text-dim); margin-left: 2px;
}
.latency-stages {
    display: flex; gap: 2px;
    height: 32px; border-radius: 8px;
    overflow: hidden; margin-bottom: 12px;
}
.latency-bar-seg {
    height: 100%; position: relative;
    display: flex; align-items: center; justify-content: center;
    border-radius: 2px; cursor: default;
    transform-origin: left;
    transition: transform 0.8s var(--ease), opacity 0.3s ease, filter 0.3s ease;
}
.latency-bar-seg:hover { filter: brightness(1.3); }
.latency-bar-seg .seg-time {
    font-family: var(--mono); font-size: 0.55rem;
    color: rgba(255,255,255,0.7); white-space: nowrap;
    opacity: 0; transition: opacity 0.3s ease;
}
.latency-bar-seg:hover .seg-time { opacity: 1; }
.latency-labels { display: flex; gap: 2px; }
.latency-label-item {
    font-family: var(--mono); font-size: 0.5rem;
    color: var(--text-dim); text-align: center; letter-spacing: 0.05em;
}
.latency-pulse {
    position: absolute; top: 0; left: 0;
    width: 4px; height: 100%;
    background: rgba(255,255,255,0.4);
    border-radius: 2px; filter: blur(1px);
    animation: latencyPulseMove 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes latencyPulseMove {
    0% { left: 0; opacity: 0; }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { left: calc(100% - 4px); opacity: 0; }
}

/* Latency - Live Mode */
.latency-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.5rem;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-left: 12px;
    opacity: 0;
    transition: opacity 0.6s ease;
    vertical-align: middle;
}
.latency-live-badge.active { opacity: 1; }
.live-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 0.4; box-shadow: 0 0 4px var(--accent); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--accent); }
}
.latency-traveler {
    position: absolute;
    top: -4px; bottom: -4px;
    width: 3px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    z-index: 10;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255,255,255,0.6), 0 0 20px rgba(255,255,255,0.2);
    pointer-events: none;
    transition: left 0.05s linear;
}
.latency-bar-seg.stage-active {
    opacity: 1 !important;
    filter: brightness(1.5) saturate(1.2) !important;
}
.latency-bar-seg.stage-active .seg-time { opacity: 1; }
.latency-bar-seg.stage-passed {
    opacity: 0.75 !important;
    filter: brightness(1) !important;
}
.latency-bar-seg.stage-pending {
    opacity: 0.35 !important;
    filter: brightness(0.65) !important;
}
.latency-frame-counter {
    text-align: center;
    margin-top: 16px;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
}
.frame-num {
    color: var(--text-sec);
    font-weight: 600;
}

/* ═══════════════════════════════════
     BUILD - ARCHITECTURE CARDS
     ═══════════════════════════════════ */
.invest-page {
    padding: var(--space-lg) 48px;
    max-width: 960px; margin: 0 auto;
}
.build-cards {
    display: flex; flex-direction: column;
    gap: 16px; margin-bottom: var(--space-md);
}
.build-card {
    padding: 1px; border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    transition: all 0.5s var(--ease);
}
.build-card:hover {
    background: linear-gradient(135deg, rgba(230,50,38,0.15), rgba(255,255,255,0.04));
}
.build-card-inner {
    display: grid; grid-template-columns: 1fr auto;
    align-items: center;
    padding: 32px 40px;
    background: rgba(10,10,15,0.8);
    backdrop-filter: blur(20px);
    border-radius: 19px;
    position: relative; overflow: hidden;
}
.build-card-inner::before {
    content: ''; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px; border-radius: 0 2px 2px 0;
    opacity: 0; transition: opacity 0.4s ease;
}
.build-card:hover .build-card-inner::before { opacity: 1; }
.build-card:nth-child(1) .build-card-inner::before { background: var(--accent); }
.build-card:nth-child(2) .build-card-inner::before { background: var(--magenta); }
.build-card:nth-child(3) .build-card-inner::before { background: var(--orange); }
.build-card:nth-child(4) .build-card-inner::before { background: var(--green); }
.build-card-label { font-size: 1.05rem; font-weight: 500; }
.build-card-sub {
    font-size: var(--text-sm); color: var(--text-dim);
    margin-top: 5px; font-weight: 300;
}
.build-card-val {
    font-family: var(--mono); font-size: var(--text-xl);
    font-weight: 700; text-align: right; white-space: nowrap;
}
.build-total {
    text-align: center;
    padding: var(--space-md);
    position: relative; border-radius: 24px;
    border: 1px solid rgba(34,197,94,0.12);
    overflow: hidden;
}
.build-total::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(34,197,94,0.04), rgba(34,197,94,0.02), transparent);
    pointer-events: none;
}
.build-total-label {
    font-size: var(--text-lg); font-weight: 500;
    position: relative; margin-bottom: 8px;
}
.build-total-val {
    font-family: var(--mono);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700; position: relative;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin: 16px 0;
}
.build-total-sub {
    font-size: var(--text-sm); color: var(--text-sec);
    font-weight: 300; position: relative;
}

/* ═══════════════════════════════════
     CTA / NEXT STEPS
     ═══════════════════════════════════ */
.next-page {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: var(--space-xl) 48px var(--space-lg);
    position: relative;
}
.next-page::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(230,50,38,0.05) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%,-50%);
    pointer-events: none;
}
.next-tag {
    font-family: var(--mono); font-size: var(--text-xs);
    letter-spacing: 0.3em; color: var(--accent2);
    text-transform: uppercase; margin-bottom: 16px;
}
.next-title {
    font-size: var(--text-3xl);
    font-weight: 700; letter-spacing: -0.04em;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 20%, #666666 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.next-desc {
    font-size: var(--text-base); font-weight: 300;
    color: var(--text-sec); max-width: 480px;
    line-height: 1.85; margin-bottom: var(--space-md);
}
.timeline {
    display: flex; align-items: flex-start;
    position: relative;
    max-width: 900px; width: 100%;
    margin-bottom: var(--space-md);
}
.timeline::before {
    content: ''; position: absolute;
    top: 15px; left: 12%; right: 12%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230,50,38,0.25), transparent);
}
.timeline-step { flex: 1; text-align: center; padding: 0 12px; }
.timeline-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--accent); margin: 11px auto 20px;
    box-shadow: 0 0 12px rgba(230,50,38,0.35); position: relative;
}
.timeline-num {
    font-family: var(--mono); font-size: var(--text-xs);
    color: var(--accent); letter-spacing: 0.2em; margin-bottom: 4px;
}
.timeline-h { font-size: var(--text-base); font-weight: 600; margin-bottom: 8px; }
.timeline-p {
    font-size: var(--text-sm); color: var(--text-dim);
    line-height: 1.65; font-weight: 300;
}

.cta-btn {
    font-family: var(--font); font-size: 0.88rem; font-weight: 500;
    letter-spacing: 0.06em; color: white;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    border: none; padding: 18px 56px; border-radius: 14px;
    cursor: pointer; transition: all 0.4s ease;
    position: relative; overflow: hidden;
    box-shadow: 0 4px 24px rgba(230,50,38,0.2);
    display: inline-block; text-decoration: none; text-align: center;
}
.cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(230,50,38,0.35); }
.cta-btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15));
    opacity: 0; transition: opacity 0.3s ease;
}
.cta-btn:hover::after { opacity: 1; }

.floating-cta {
    position: fixed; bottom: 32px; right: 32px;
    z-index: 100;
    opacity: 0; transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.floating-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.floating-cta .cta-btn { padding: 14px 36px; font-size: 0.8rem; border-radius: 12px; }

/* ═══ NAV WORDMARK CLICKABLE ═══ */
.nav-wordmark {
    text-decoration: none;
    color: rgba(255,255,255,0.35);
}
.nav-wordmark.visible {
    pointer-events: auto;
    cursor: pointer;
}
.nav-wordmark:hover {
    color: rgba(255,255,255,0.6);
    text-shadow: 0 0 20px rgba(230,50,38,0.3);
}

/* ═══ LIVE PIPELINE CANVAS ═══ */
.pipeline-page { position: relative; }
.pipeline-anim {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ═══ AMBIENT SCROLL PARTICLES ═══ */
.ambient-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* ═══ MAGNETIC TILT CARDS ═══ */
.build-card {
    perspective: 800px;
}
.build-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, background 0.5s ease, backdrop-filter 0.5s ease;
}
.build-card .card-shine {
    position: absolute; inset: 0;
    border-radius: 19px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}
.build-card:hover .card-shine {
    opacity: 1;
}

/* ═══ SVG CONNECTION LINES ═══ */
.svg-conn-lines {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: visible;
}
.svg-conn-path {
    fill: none;
    stroke: rgba(230,50,38,0.1);
    stroke-width: 1;
    stroke-linecap: round;
}

/* ═══ SCROLL VELOCITY ═══ */
body.scroll-fast .grain {
    opacity: 0.05;
    transition: opacity 0.2s ease;
}
body.scroll-fast .section-divider {
    height: 2px;
    box-shadow: 0 0 30px rgba(230,50,38,0.15);
}
body.scroll-fast .bg-mesh {
    opacity: 0.6;
}

/* ═══════════════════════════════════
     RESPONSIVE
     ═══════════════════════════════════ */
@media (max-width: 1024px) {
    .analytics-showcase { grid-template-columns: 1fr; }
    .analytics-visual { min-height: 380px; }
    .broadcast-showcase { grid-template-columns: 1fr; }
    .broadcast-viewport { aspect-ratio: 16 / 9; }
    .production-columns { grid-template-columns: 1fr; gap: 40px; }
    .sticky-panel {
        grid-template-columns: 1fr; gap: 40px;
        padding: 0 clamp(20px, 4vw, 48px);
    }
    .sticky-visual { display: none; }
    .pillar-progress { display: none; }
    .hero-metrics { flex-wrap: wrap; justify-content: center; }
    .timeline { flex-wrap: wrap; justify-content: center; gap: 24px; }
    .timeline::before { display: none; }
    .timeline-step { flex: 0 0 45%; }
}

@media (max-width: 768px) {
    .floating-nav {
        top: 0; left: 0; right: 0;
        transform: none;
        border-radius: 0;
    }
    .nav-pill {
        width: 100%; border-radius: 0;
        padding: 12px 20px;
        background: rgba(5,5,8,0.85);
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }
    .nav-marker { width: 9px; height: 9px; }
    .nav-marker-label { display: none; }
    .nav-wordmark { display: none; }

    .hero { padding: 0 20px; justify-content: flex-start; padding-top: 12vh; }
    .venue-blueprint { width: 500px; height: 500px; }
    .hero-sports { flex-wrap: wrap; gap: 8px; }
    .hero-sport { font-size: 0.55rem; padding: 5px 12px; }
    .hero-metrics { flex-wrap: wrap; gap: 8px; border-radius: 12px; }
    .metric {
        padding: 18px 24px; flex: 1 1 calc(50% - 4px);
        border-radius: 12px !important;
    }
    .metric-val { font-size: 1.3rem; }

    .system-intro, .analytics-page, .broadcast-page, .production-page, .pipeline-page, .invest-page { padding: var(--space-md) 20px; }
    .production-columns { grid-template-columns: 1fr; gap: 28px; }
    .production-visual-wrap { aspect-ratio: 4 / 3; max-height: 400px; }
    .broadcast-showcase { grid-template-columns: 1fr; gap: 28px; }
    .broadcast-card { padding: 18px 20px; }
    .analytics-showcase { grid-template-columns: 1fr; gap: 32px; }
    .analytics-visual { min-height: 360px; }
    .analytics-card { padding: 20px; }
    .analytics-card-head { flex-wrap: wrap; gap: 8px; }

    .sticky-container { height: auto !important; }
    .sticky-panel {
        position: relative !important; height: auto !important;
        grid-template-columns: 1fr !important; padding: 0 20px !important;
    }
    .sticky-visual { display: none !important; }
    .pillar-progress { display: none !important; }
    .pillar-slide {
        position: relative !important;
        opacity: 1 !important; transform: none !important;
        margin-bottom: var(--space-md); height: auto;
    }
    .sticky-content { height: auto; }

    .pip-step { grid-template-columns: 50px 1fr; gap: 16px; padding: 24px 0; }
    .pip-step:not(:last-child)::after { left: 14px; top: 60px; }
    .pip-dot { width: 28px; height: 28px; }

    .latency-clock { padding: 20px; }
    .latency-total { font-size: 1.1rem; }
    .latency-bar-seg .seg-time { font-size: 0.45rem; opacity: 1; }
    .latency-label-item { font-size: 0.4rem; }

    .build-card-inner {
        grid-template-columns: 1fr; gap: 12px; padding: 24px 20px;
    }
    .build-card-val { text-align: left; }

    .next-page { padding: var(--space-md) 20px; }
    .svg-conn-lines { display: none !important; }
    main { overflow: hidden; }
    .timeline-step { flex: 0 0 100%; }

    .cta-btn {
        padding: 16px 44px; font-size: 0.82rem;
        width: 100%; max-width: 340px;
        min-height: 48px;
    }

    .floating-cta { display: none !important; }
    #mainCta { opacity: 1 !important; transform: none !important; }

    /* HUD on mobile */
    .viewport-hud > div { font-size: 7px; }
    .hud-tl { top: 8px; left: 10px; }
    .hud-tr { top: 8px; right: 10px; }
    .hud-bl { bottom: 8px; left: 10px; }
    .hud-br { bottom: 8px; right: 10px; }
    .hud-crosshair { width: 32px; height: 32px; }
    .production-label { font-size: 8px; bottom: 10px; }

    .broadcast-visual-wrap { max-height: 380px; }

    .cursor-glow { display: none; }
    .particle:nth-child(n+16) { display: none; }
    .scroll-indicator { bottom: 24px; }
    .scroll-line { height: 32px; }
}

@media (max-width: 390px) {
    .metric { padding: 14px 18px; }
    .metric-val { font-size: 1.1rem; }
    .build-card-inner { padding: 24px 20px; }
    .production-visual-wrap { max-height: 320px; }
    .broadcast-visual-wrap { max-height: 300px; }
    .analytics-visual { min-height: 280px; }
    .hero-sport { font-size: 0.5rem; padding: 4px 10px; }
    .viewport-hud > div { font-size: 6px; }
    .hud-crosshair { display: none; }
}

@supports (padding: env(safe-area-inset-bottom)) {
    .hero, .system-intro, .analytics-page, .broadcast-page, .production-page, .pipeline-page, .invest-page, .next-page {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.2s !important;
    }
    .reveal, .reveal-scale, .word-reveal span {
        opacity: 1 !important; transform: none !important;
    }
    .sticky-container { height: auto !important; }
    .sticky-panel { position: relative !important; height: auto !important; }
    .pillar-slide {
        position: relative !important;
        opacity: 1 !important; transform: none !important;
    }
}

@media (hover: none) {
    .build-card:active {
        background: linear-gradient(135deg, rgba(230,50,38,0.12), rgba(255,255,255,0.04));
    }
    .nav-marker { width: 12px; height: 12px; }
    .nav-marker::after {
        content: ''; position: absolute;
        top: 50%; left: 50%;
        width: 44px; height: 44px;
        transform: translate(-50%, -50%);
    }
    .pip-dot, .timeline-dot { min-width: 44px; min-height: 44px; }
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
