:root {
    --bg-dark: #08080a;
    --accent-cyan: #00e5ff;
    --accent-blue: #3b82f6;
    --accent-cyan-glow: rgba(0, 229, 255, 0.15);
    --accent-blue-glow: rgba(59, 130, 246, 0.15);
    --text-light: #f4f4f6;
    --text-muted: #9ca3af;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --in-oklab: ;
}

@supports (linear-gradient(in oklab, white, black)) {
    :root {
        --in-oklab: in oklab;
    }
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ── 1. CINEMATIC OVERLAYS & TEXTURES ───────────────────────────────── */

/* Moving SVG Film Grain */
.film-grain {
    position: fixed;
    top: -50px;
    left: -50px;
    width: calc(100vw + 100px);
    height: calc(100vh + 100px);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    z-index: 9999;
    pointer-events: none;
    animation: grainFlicker 0.12s steps(2) infinite;
}

@keyframes grainFlicker {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-8px, 12px) rotate(90deg); }
    100% { transform: translate(12px, -4px) rotate(180deg); }
}

/* Background Cyber Grid */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.05) 100%);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0.05) 100%);
}

.background-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 90vh;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Cinematic Scanline Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.2) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 6px 100%;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.35;
}

/* ── 2. NASA HUD & TELEMETRY MODULES ────────────────────────────────── */
.hud-telemetry-panel {
    border: 1px dashed rgba(0, 229, 255, 0.2);
    background: rgba(10, 10, 12, 0.7);
    border-radius: 4px;
    padding: 0.8rem 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.03);
}

/* HUD L-Shaped Corners */
.hud-corner {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--accent-cyan);
    pointer-events: none;
}
.hud-corner.tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.hud-corner.tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.hud-corner.bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.hud-corner.br { bottom: -2px; right: -2px; border-left: none; border-top: none; }

/* ── 3. SCROLL-DRIVEN & INTERACTION EFFECTS ─────────────────────────── */

.scroll-fade-out {
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.scroll-slide-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.97);
    filter: blur(6px);
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.scroll-slide-reveal.in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* ── 4. NAVIGATION ────────────────────────────────────────────────── */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(8, 8, 10, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.08);
}

.nav-brand {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand span {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.btn-portal {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 0.6rem 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.05);
}

.btn-portal:hover {
    background: var(--accent-cyan-glow);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.25);
    text-shadow: 0 0 5px #fff;
    transform: translateY(-1px);
}

/* ── 5. SECTIONS BASE ──────────────────────────────────────────────── */
section {
    min-height: 100vh;
    padding: 8rem 3rem 4rem 3rem;
    display: flex;
    align-items: center;
    position: relative;
}

/* ── 6. HERO SECTION ────────────────────────────────────────────────── */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--accent-cyan-glow);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    background: linear-gradient(135deg var(--in-oklab), #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

.btn-primary {
    background: var(--accent-cyan);
    color: #000;
    border: 1px solid var(--accent-cyan);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Hologram Area */
.hologram-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, rgba(0, 0, 0, 0) 70%);
}

#holoCanvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Hologram Overlay Annotations */
.hologram-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

.blueprint-tag {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid rgba(0, 229, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transform: translate(-50%, -50%);
}

.blueprint-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
}

.blueprint-tag:hover {
    background: var(--accent-cyan-glow);
    border-color: var(--accent-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* Tooltip definitions */
.blueprint-tag .tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 230px;
    background: rgba(8, 8, 10, 0.95);
    border: 1px solid var(--accent-cyan);
    padding: 0.75rem;
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.4;
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.blueprint-tag:hover .tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tag-engine { top: 25%; left: 20%; }
.tag-ledger { top: 15%; left: 70%; }
.tag-voice { top: 75%; left: 15%; }
.tag-risk { top: 80%; left: 75%; }

/* ── 7. STORY OF TRADER PAIN & STORY ────────────────────────────────── */
.story-section {
    background: linear-gradient(to bottom var(--in-oklab), rgba(8, 8, 10, 0) 0%, rgba(10, 10, 15, 0.9) 30%, rgba(10, 10, 15, 0.9) 70%, rgba(8, 8, 10, 0) 100%);
    border-top: 1px solid rgba(0, 229, 255, 0.05);
    border-bottom: 1px solid rgba(0, 229, 255, 0.05);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.story-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.story-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg var(--in-oklab), #ffffff 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-intro {
    font-size: 1.15rem;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.story-log {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 16, 0.5);
    border-radius: 8px;
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.story-log::before {
    content: "RAW SYSTEM TRANSCRIPT // DEC 2026";
    display: block;
    font-size: 0.7rem;
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    padding-bottom: 0.5rem;
    letter-spacing: 2px;
}

.log-entry {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.log-entry:last-child {
    margin-bottom: 0;
}

.log-speaker {
    color: var(--text-light);
    font-weight: bold;
}

.log-speaker.siberius {
    color: var(--accent-cyan);
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.story-paragraph {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.story-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.highlight-card {
    border-left: 2px solid var(--accent-cyan);
    padding-left: 1.25rem;
}

.highlight-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.highlight-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── 8. SECTION: SELF-DEVELOPMENT (THE TRUE CRUCIBLE) ────────────────── */
.journey-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.journey-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 5rem;
    width: 100%;
    margin-bottom: 4rem;
}

.journey-philosophy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.journey-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.journey-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.journey-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.journey-card {
    background: rgba(12, 12, 16, 0.35);
    border: 1px dashed rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 6px;
    position: relative;
}

.journey-card-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: block;
}

.journey-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.journey-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── 9. ROLLING FILM ENGINE GALLERY ────────────────────────────────── */
.gallery-section {
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    letter-spacing: 5px;
    text-transform: uppercase;
}

.gallery-title {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 0.5rem;
    letter-spacing: -1.5px;
}

.film-marquee {
    display: flex;
    gap: 2.5rem;
    width: 100%;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) rgba(255,255,255,0.02);
}

.film-cell {
    flex: 0 0 450px;
    background: #000;
    border: 12px solid #0d0d0f;
    border-top-width: 24px;
    border-bottom-width: 24px;
    border-radius: 2px;
    position: relative;
    scroll-snap-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

/* Film Spills / Perforations Look */
.film-cell::before {
    content: "■ ■ ■ ■ ■ ■ ■ ■ ■ ■";
    position: absolute;
    top: -20px;
    left: 10px;
    right: 10px;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.12);
    letter-spacing: 35px;
    font-family: var(--font-mono);
}

.film-cell::after {
    content: "■ ■ ■ ■ ■ ■ ■ ■ ■ ■";
    position: absolute;
    bottom: -20px;
    left: 10px;
    right: 10px;
    font-size: 0.55rem;
    color: rgba(255,255,255,0.12);
    letter-spacing: 35px;
    font-family: var(--font-mono);
}

.film-image-container {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

.film-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.15) saturate(0.9);
    transition: transform 0.8s ease;
}

.film-cell:hover .film-image {
    transform: scale(1.05);
}

.film-overlay-calibration {
    position: absolute;
    top: 10px;
    left: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(0, 229, 255, 0.7);
    background: rgba(0,0,0,0.5);
    padding: 0.2rem 0.4rem;
    pointer-events: none;
}

.film-timecode {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0,0,0,0.5);
    padding: 0.2rem 0.4rem;
    pointer-events: none;
}

.film-caption {
    padding: 1.5rem;
    background: #0d0d0f;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.film-caption-num {
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
    display: block;
}

.film-caption-text {
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── 10. ARCHITECTURE SECTION ───────────────────────────────────────── */
.arch-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.arch-header {
    text-align: center;
    margin-bottom: 5rem;
}

.arch-subtitle {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent-cyan);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.arch-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.arch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.arch-card {
    background: rgba(12, 12, 16, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.arch-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg var(--in-oklab), var(--accent-cyan) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.arch-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    background: rgba(12, 12, 16, 0.7);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.arch-card:hover::before {
    opacity: 1;
}

.arch-icon {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
}

.arch-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.arch-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── 11. FOOTER ────────────────────────────────────────────────────── */
.home-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    text-align: center;
    background: #060608;
    position: relative;
    z-index: 10;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* ── 12. BLUEPRINT BACKGROUND OVERLAYS ────────────────────────────── */
.blueprint-background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1.5;
    pointer-events: none;
    overflow: hidden;
}

.blueprint-vector {
    position: absolute;
    border: 1px dashed rgba(0, 229, 255, 0.04);
    pointer-events: none;
}

.blueprint-axis-x {
    width: 100%;
    height: 1px;
    left: 0;
    top: 35%;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.05);
}

.blueprint-axis-y {
    width: 1px;
    height: 100%;
    top: 0;
    left: 15%;
    border-right: 1px dashed rgba(0, 229, 255, 0.05);
}

.blueprint-circle-large {
    width: 600px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.05);
    top: 10%;
    left: -180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-circle-large::before {
    content: "";
    width: 80%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.015);
}

.blueprint-circle-medium {
    width: 400px;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed rgba(59, 130, 246, 0.05);
    bottom: -150px;
    right: -150px;
}

.blueprint-watermark {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-cyan);
    opacity: 0.15;
    letter-spacing: 3px;
    white-space: nowrap;
    text-transform: uppercase;
}

.blueprint-watermark.left {
    top: 40%;
    left: -100px;
    transform: rotate(-90deg);
    will-change: transform;
    opacity: 0.38; /* Brightened for readability */
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.15);
}

.blueprint-watermark.right {
    top: 60%;
    right: -120px;
    transform: rotate(90deg);
    will-change: transform;
}

.blueprint-watermark.top {
    top: 2rem;
    left: 35%;
}

/* ── 13. ASSEMBLY FORMATION SECTION ───────────────────────────────── */
.assembly-section {
    background: radial-gradient(circle at right, rgba(0, 229, 255, 0.02) 0%, rgba(8, 8, 10, 0) 60%);
    border-bottom: 1px solid rgba(0, 229, 255, 0.05);
}

.assembly-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.assembly-tag {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.assembly-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    background: linear-gradient(135deg var(--in-oklab), #ffffff 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.assembly-hud-controls {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.75);
    border-radius: 4px;
    padding: 2rem;
    position: relative;
    margin-top: 2rem;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.02);
}

.assembly-status-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.75rem;
}

.hud-label {
    color: var(--text-muted);
}

.hud-value {
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.assembly-slider-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.slider-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
    display: flex;
    justify-content: space-between;
}

/* HUD Custom Range Slider */
.hud-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-cyan);
    border-radius: 2px;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-cyan);
    transition: transform 0.1s ease;
}

.hud-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Assembly Viewport */
.assembly-viewport {
    width: 100%;
    aspect-ratio: 1.1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#assemblyCanvas {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.assembly-hud-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(0, 229, 255, 0.1);
    pointer-events: none;
    z-index: 2;
}

.assembly-calib-grid {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(0, 229, 255, 0.03);
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.005) 1px, transparent 1px);
    background-size: 20px 20px;
}



/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta {
        justify-content: center;
    }
    .hologram-viewport {
        max-width: 450px;
        margin: 0 auto;
    }
    .story-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .journey-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .arch-grid {
        grid-template-columns: 1fr;
    }
    .film-marquee {
        gap: 1.5rem;
    }
    .film-cell {
        flex: 0 0 320px;
    }
    .assembly-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 1rem 1.5rem;
    }
    section {
        padding: 6rem 1.5rem 3rem 1.5rem;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .story-title {
        font-size: 2.2rem;
    }
    .journey-title {
        font-size: 2.2rem;
    }
    .journey-cards {
        grid-template-columns: 1fr;
    }
}

/* ── 15. VFX DIGITAL GLITCH EFFECTS ────────────────────────────────── */
.hud-loader-overlay.loader-glitch {
    filter: hue-rotate(85deg) saturate(2.4) contrast(1.15);
    animation: loaderVibe 0.12s infinite alternate;
}

.hud-loader-overlay.loader-glitch::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 245, 255, 0.04);
    pointer-events: none;
    z-index: 9999;
}

@keyframes loaderVibe {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    100% { transform: translate(-1px, -1px) rotate(0.2deg); }
}

/* ── 16. DOSSIER & SYSTEM COMPARISON MATRIX ─────────────────────────── */
.dossier-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

.dossier-header-panel {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

.dossier-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-blue);
    letter-spacing: 5px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.dossier-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg var(--in-oklab), #ffffff 50%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dossier-meta-row {
    display: flex;
    gap: 3rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dossier-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 6rem;
    width: 100%;
    margin-bottom: 6rem;
}

.dossier-story-flow {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.dossier-phase {
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    padding-left: 2rem;
    position: relative;
}

.dossier-phase::before {
    content: "";
    position: absolute;
    top: 0;
    left: -5px;
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-blue);
}

.dossier-phase-num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.dossier-phase-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.dossier-phase-desc {
    color: var(--text-muted);
    font-size: 1.0rem;
    line-height: 1.7;
}

/* Dossier Sidebar */
.dossier-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dossier-hud-box {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.4);
    border-radius: 6px;
    padding: 2rem;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.dossier-hud-box-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    letter-spacing: 2px;
}

.dossier-hud-box-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.dossier-hud-box-metric {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

/* Specification Comparison Matrix */
.comparison-table-container {
    width: 100%;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 12, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-top: 4rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    letter-spacing: 2px;
}

.comparison-table td {
    padding: 1.2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
    color: var(--text-light);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td.feature-name {
    font-family: var(--font-mono);
    font-weight: bold;
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.comparison-table td.siberius-col {
    color: var(--text-light);
    font-weight: 600;
}

/* Status Indicator Dots */
.status-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--accent-cyan);
}

.status-dot.warning {
    background: #ff8c00;
    box-shadow: 0 0 10px #ff8c00;
}

.status-dot.inactive {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.status-text.active { color: var(--accent-cyan); }
.status-text.warning { color: #ff8c00; }
.status-text.inactive { color: #ef4444; }

/* Sticky Hologram Container Styles */
.sticky-holo-container {
    position: sticky;
    top: 7rem;
    height: 380px;
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 229, 255, 0.08);
    background: rgba(10, 10, 12, 0.45);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

#competitionHoloCanvas {
    width: 100%;
    height: 320px;
    display: block;
}

.holo-telemetry-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-cyan);
    letter-spacing: 2px;
    padding: 0.6rem;
    border-top: 1px solid rgba(0, 229, 255, 0.08);
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}

/* Responsive tweaks for comparison */
@media (max-width: 1024px) {
    .dossier-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .sticky-holo-container {
        position: relative;
        top: 0;
        height: 300px;
    }
    #competitionHoloCanvas {
        height: 250px;
    }
}

/* ── 15. ACCESS PROTOCOL MODAL ──────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 4, 6, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 90%;
    max-width: 480px;
    background: rgba(10, 10, 14, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 229, 255, 0.15);
    border-radius: 4px;
    padding: 2.5rem 2rem;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--accent-cyan);
}

.modal-subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-orange);
    letter-spacing: 0.15em;
    margin-bottom: 0.3rem;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.modal-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.modal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: rgba(255, 76, 0, 0.1);
    color: var(--accent-orange);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 76, 0, 0.2);
    margin-bottom: 2rem;
}

.status-dot.pulsing {
    width: 6px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-orange);
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.form-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 0.8rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-radius: 3px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.15);
}

.waitlist-success-msg {
    border: 1px solid rgba(0, 245, 255, 0.2);
    background: rgba(0, 245, 255, 0.05);
    color: var(--accent-cyan);
    padding: 1rem;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 1rem;
}


