/* Global Reset & Base */
:root {
    --bg-deep: #000104; 
    --gold: #dcb360;    
    --gold-dim: rgba(220, 179, 96, 0.3);
    --gold-glow: rgba(220, 179, 96, 0.7);
    --highlight: #00bfff; 
    --text-main: #f0f3fa;
    --text-muted: #959caa;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    --font-code: 'Space Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body { background-color: var(--bg-deep); color: var(--text-main); font-family: var(--font-body); font-weight: 300; line-height: 1.8; overflow: hidden; }

/* Custom Cursor */
#custom-cursor { position: fixed; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 9999999; }
#custom-cursor-glow { position: fixed; width: 40px; height: 40px; border: 1px solid var(--gold-dim); border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; z-index: 9999998; transition: width 0.3s, height 0.3s, border-color 0.3s; }
#custom-cursor-glow.hovering { width: 60px; height: 60px; border-color: var(--gold); background: rgba(220, 179, 96, 0.05); }

/* Backgrounds */
#spaceCanvas, #pythonCanvas, #burstCanvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; pointer-events: none; }
#spaceCanvas { z-index: -4; background: radial-gradient(circle at center, #02040c 0%, #000002 100%); }
#pythonCanvas { z-index: -3; }
#burstCanvas { z-index: 5000; } 

/* Typography */
h1, h2, h3, h4, .logo-letter { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.3; margin-bottom: 2rem; color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 1rem; color: #fff; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.text-gold { color: var(--gold); text-shadow: 0 0 15px var(--gold-dim); }
.kicker { font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; display: block; margin-bottom: 0.5rem; }

/* STATE 1: Splash */
#landing-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--bg-deep); z-index: 9000;
    display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 1.5s cubic-bezier(0.8, 0, 0.2, 1);
}
#logoCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 9001; pointer-events: none; }
.landing-hook { z-index: 9002; font-family: var(--font-heading); color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em; font-size: 1rem; margin-top: 15vw; padding: 1rem 2rem; border: 1px solid var(--gold-dim); border-radius: 2px; background: rgba(220, 179, 96, 0.02); box-shadow: 0 0 20px rgba(220, 179, 96, 0.1); transition: all 0.4s ease; animation: pulseHook 3s infinite; pointer-events: auto; }
.landing-hook:hover { background: var(--gold-dim); color: #fff; box-shadow: 0 0 40px var(--gold-glow); }
@keyframes pulseHook { 0%, 100% { transform: scale(1); border-color: var(--gold-dim); } 50% { transform: scale(1.05); border-color: var(--gold); } }

/* STATE 2: Main Context (Snap) */
#main-content {
    opacity: 1; pointer-events: auto; height: 100vh; width: 100vw; overflow-y: scroll; scroll-snap-type: y mandatory; scroll-behavior: smooth;
    transition: opacity 2s ease-in-out; position: absolute; top: 0; left: 0; z-index: 100;
}
#main-content.visible { opacity: 1; pointer-events: auto; overflow-y: scroll; }
.snap-section { height: 100vh; width: 100vw; scroll-snap-align: start; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.container { width: 100%; max-width: 1400px; padding: 0 5%; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; z-index: 10; position: relative;}

/* Global Navigation */
.navbar {
    position: fixed; top: 0; left: 0; width: 100vw; padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000;
    background: rgba(4, 6, 12, 0.4); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid rgba(0, 191, 255, 0.1); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5); transform: translateY(-100%); transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}
.navbar.slide-in { transform: translateY(0); }
.logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { height: 40px; width: auto; object-fit: contain; } /* Image Logo Styling */
.logo-letter { font-size: 2.2rem; color: var(--gold); text-shadow: 0 0 20px var(--gold-glow); } /* Fallback */
.logo-text { font-size: 1.1rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; } /* Fallback */

.nav-links { display: flex; gap: 3rem; }
.nav-item { position: relative; color: var(--text-main); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.5rem 0; }
.nav-item:hover { color: var(--highlight); }
.nav-neural-node { position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 0px; height: 1px; background: var(--highlight); transition: all 0.3s ease; box-shadow: 0 0 10px var(--highlight); opacity: 0; }
.nav-neural-node::after { content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--highlight); box-shadow: 0 0 10px var(--highlight); opacity: 0; transition: opacity 0.3s; }
.nav-item:hover .nav-neural-node, .nav-item:hover .nav-neural-node::after { width: 100%; opacity: 1; }

.btn-gold-solid { display: inline-block; padding: 1rem 2.5rem; font-family: var(--font-heading); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; font-size: 0.9rem; transition: all 0.4s ease; border-radius: 1px; background: var(--gold); color: #000; font-weight: 600; box-shadow: 0 0 25px var(--gold-dim); border: 1px solid var(--gold); cursor: none;}
.btn-gold-solid:hover { background: #fff; border-color: #fff; box-shadow: 0 0 35px rgba(255,255,255,0.5); }
.btn-white-solid { display: inline-block; padding: 1.2rem 3rem; font-family: var(--font-heading); letter-spacing: 0.15em; text-transform: uppercase; text-decoration: none; font-size: 0.9rem; transition: all 0.4s ease; border-radius: 40px; background: #fff; color: #000; font-weight: 800; box-shadow: 0 0 30px rgba(255,255,255,0.2); border: 1px solid #fff; cursor: none;}
.btn-white-solid:hover { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 40px var(--gold-glow); }

/* Hero */
.hero { text-align: center; }
.word-rotator { overflow: hidden; vertical-align: top; display: inline-block; position: relative; min-width: 400px; height: 1.2em; text-align: left;}
.hook-summary { font-size: 1.1rem; color: var(--text-muted); margin: 0 auto 3rem; max-width: 800px; line-height: 2; }

/* Team Section */
.team-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin-top: 2rem; }
.team-card { position: relative; width: 340px; background: rgba(7, 9, 15, 0.8); backdrop-filter: blur(25px); border: 1px solid rgba(255, 255, 255, 0.05); padding: 3rem 2rem; border-radius: 2px; transition: all 0.5s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.7); display: flex; flex-direction: column; align-items: center; text-align: center; }
.team-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.team-card .role { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 1.5rem; min-height: 2.4em; }
.team-card .desc { color: var(--text-muted); font-size: 0.85rem; flex-grow: 1; margin-bottom: 2rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; justify-content: center; align-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-dim); color: var(--gold); text-decoration: none; font-family: var(--font-heading); transition: all 0.3s; background: rgba(0,0,0,0.5); }
.social-links a:hover { background: var(--gold); color: #000; box-shadow: 0 0 20px var(--gold-glow); }
.binary-shimmer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='20' font-family='monospace' font-size='10' fill='rgba(0,191,255,0.1)'%3E01 10 00 11%3C/text%3E%3Ctext x='10' y='50' font-family='monospace' font-size='10' fill='rgba(0,191,255,0.1)'%3E11 01 01 10%3C/text%3E%3Ctext x='10' y='80' font-family='monospace' font-size='10' fill='rgba(0,191,255,0.1)'%3E00 11 10 01%3C/text%3E%3C/svg%3E"); background-size: 150px; transition: opacity 0.5s; mix-blend-mode: screen; }
.team-card:hover .binary-shimmer { opacity: 1; animation: binaryScroll 10s linear infinite; }
.team-card:hover { border-color: rgba(220, 179, 96, 0.4); box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 40px rgba(220, 179, 96, 0.15); transform: translateY(-10px); }

/* FlowstateKosmos Redesign */
#flowstatekosmos { position: relative; width: 100%; min-height: 125vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15vh; padding-bottom: 10vh; overflow: visible; z-index: 2;}
.kosmos-layout { display: flex; width: 100%; max-width: 1400px; justify-content: space-between; align-items: center; margin-top: 2rem; position: relative; z-index: 5; }

/* KOSMOS SIDEBAR */
.kosmos-sidebar {
    width: 320px;
    list-style: none;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 10;

    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
}
.kosmos-sidebar li { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.3s ease; position: relative; padding-left: 1rem; border-left: 2px solid transparent; }
.kosmos-sidebar li:hover, .kosmos-sidebar li.active { color: var(--gold); border-left: 2px solid var(--gold); text-shadow: 0 0 10px rgba(220,179,96,0.5); background: rgba(220,179,96,0.05); }
.special-glow.active { border-color: var(--highlight) !important; color: var(--highlight) !important; background: rgba(0, 191, 255, 0.05) !important; text-shadow: 0 0 10px rgba(0,191,255,0.6) !important;}

.solar-system { position: relative; width: 700px; height: 700px; display: flex; justify-content: center; align-items: center; transform: scale(calc(min(55vh, 45vw)/800)); flex-shrink: 0;}
.solar-system:hover .orbit, .solar-system:hover .planet-counter-spin { animation-play-state: paused; }
.solar-system.modal-open .orbit, .solar-system.modal-open .planet-counter-spin { animation-play-state: paused !important; }

.central-hub { position: absolute; width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--gold) 40%, #1a0a00 90%); box-shadow: 0 0 60px var(--gold-glow), inset -10px -10px 40px rgba(0,0,0,0.8); display: flex; justify-content: center; align-items: center; z-index: 10; padding: 20px; }
.hub-core { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; color: #fff; text-shadow: 0 0 15px rgba(0,0,0,0.9); }
.hub-rings { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotateX(60deg); width: 140px; height: 140px; border: 1px solid rgba(220, 179, 96, 0.3); border-radius: 50%; box-shadow: 0 0 30px rgba(220,179,96,0.1); }

.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px dashed rgba(255,255,255,0.03); border-radius: 50%; animation: spin linear infinite; pointer-events: none; }
.orbit-1 { width: 250px; height: 250px; animation-duration: 30s; z-index: 9;}
.orbit-2 { width: 450px; height: 450px; animation-duration: 50s; z-index: 8;}
.orbit-3 { width: 680px; height: 680px; animation-duration: 80s; z-index: 7;}
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.planet-anchor { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform: rotate(var(--initial-angle)); }
.planet-counter-spin { position: absolute; top: -35px; left: 50%; margin-left: -35px; width: 70px; height: 70px; animation: anti-spin linear infinite; pointer-events: none;}
.orbit-1 .planet-counter-spin { animation-duration: 30s; }
.orbit-2 .planet-counter-spin { animation-duration: 50s; }
.orbit-3 .planet-counter-spin { animation-duration: 80s; }
@keyframes anti-spin { 0% { transform: rotate(calc(var(--initial-angle) * -1)); } 100% { transform: rotate(calc((var(--initial-angle) * -1) - 360deg)); } }

.planet { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; background: radial-gradient(circle at 30% 30%, #17364d, #020610 70%); box-shadow: inset -15px -15px 25px rgba(0,0,0,0.95), 0 0 25px rgba(0,191,255,0.15); transition: transform 0.4s cubic-bezier(0.3,1.2,0.3,1), border 0.3s, box-shadow 0.3s; cursor: none !important; pointer-events: auto; }
.planet:hover, .planet.active { transform: scale(1.6); box-shadow: inset -10px -10px 20px rgba(0,0,0,0.9), 0 0 60px rgba(0,191,255,0.8); z-index: 50; border: 1px solid var(--highlight); }
.planet-full.active { border-color: var(--gold); box-shadow: 0 0 80px rgba(220,179,96,0.6); transform: scale(1.4); }

.planet-icon { font-size: 1.2rem; filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); pointer-events: none; }
.planet-label { position: absolute; bottom: -35px; white-space: nowrap; background: rgba(0,0,0,0.9); padding: 5px 12px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.15); font-size: 0.75rem; letter-spacing: 0.15em; font-family: var(--font-heading); color: var(--gold); opacity: 0; transition: opacity 0.3s; pointer-events: none; text-transform: uppercase; }
.planet:hover .planet-label, .planet.active .planet-label { opacity: 1; }

/* --- Cinematic Comet Tail Roadmap --- */
.comet-tail { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 8px; height: 100%; border-radius: 8px; background: linear-gradient(180deg, transparent 0%, var(--highlight) 10%, #fff 20%, var(--gold) 50%, var(--highlight) 80%, transparent 100%); box-shadow: 0 0 30px #fff, 0 0 80px var(--gold), 0 0 120px var(--highlight); z-index: 1; opacity: 0.9; }

.cinematic-step { position: relative; z-index: 2; height: 100vh; display: flex; align-items: center; justify-content: center; opacity: 0; filter: blur(20px); transform: scale(0.9); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; will-change: opacity, transform, filter; }
.cinematic-step.cinematic-active { opacity: 1; filter: blur(0); transform: scale(1); pointer-events: auto; }

.cinematic-layout { display: flex; align-items: center; justify-content: space-between; max-width: 1400px; width: 100%; }
.cinematic-empty, .cinematic-content { width: 42%; }
.cinematic-content { background: rgba(4, 6, 12, 0.95); backdrop-filter: blur(30px); padding: 4rem; border: 1px solid rgba(220, 179, 96, 0.5); border-radius: 8px; box-shadow: 0 40px 100px rgba(0,0,0,0.9), inset 0 0 30px rgba(220,179,96,0.1); }
.cinematic-layout.left-align .cinematic-content { text-align: right; }
.cinematic-content .kicker { margin-bottom: 1rem; }
.cinematic-content h2 { font-size: 2.5rem; margin-bottom: 2rem; color: #fff; }
.cinematic-content .step-title { font-size: 1.8rem; color: var(--gold); margin-bottom: 2rem; letter-spacing: 0.15em; text-transform: uppercase; }

.cinematic-content ul { list-style: none; }
.cinematic-content li { margin-bottom: 1.2rem; font-size: 1.15rem; color: var(--text-muted); position: relative; padding-left: 2rem; line-height: 1.6;}
.cinematic-layout.left-align .cinematic-content li { padding-left: 0; padding-right: 2rem; }
.cinematic-content li::before { content: "►"; color: var(--highlight); position: absolute; left: 0; font-size: 0.9rem; top: 4px;}
.cinematic-layout.left-align .cinematic-content li::before { left: auto; right: 0; content: "◄"; }

.cinematic-layout.center-align { flex-direction: column; justify-content: center; text-align: center; }
.timeline-finish-block { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: rgba(0,0,0,0.8); padding: 4rem; border-radius: 12px; border: 1px solid var(--gold); box-shadow: 0 0 100px rgba(220,179,96,0.3); }
.epic-boom { font-size: clamp(3rem, 6vw, 7rem); text-shadow: 0 0 60px var(--gold-glow), 0 0 20px #fff; animation: pulseBoom 2s infinite; margin-bottom: 1.5rem; font-family: var(--font-heading); color: var(--gold); font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }

.binary-circle { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--gold); background: #02040c; box-shadow: 0 0 50px rgba(220,179,96,0.5), inset 0 0 30px rgba(0,0,0,0.9); display: flex; justify-content: center; align-items: center; font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--gold); z-index: 10;}
.binary-circle:hover { border-color: var(--highlight); box-shadow: 0 0 60px var(--highlight), inset 0 0 40px var(--highlight); color: transparent; background: rgba(0,0,0,0.9); transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.binary-circle::before { content: "010101"; position: absolute; top: 20%; left: 10%; width: 80%; height: 60%; font-family: var(--font-code); font-size: 0.8rem; color: var(--highlight); opacity: 0; word-break: break-all; pointer-events: none; transition: opacity 0.2s; text-align: center; line-height: 1.2; }
.binary-circle:hover::before { opacity: 1; animation: binaryMatrix 0.1s infinite; }
@keyframes pulseBoom { 0%,100% { transform: scale(1); } 50% { transform: scale(1.02); text-shadow: 0 0 60px #fff; } }

/* Contact Section (NEW) */
.contact-section { justify-content: center; }
.contact-card { text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 800px; margin: 0 auto; padding: 4rem;}
.contact-lead { font-size: 1.3rem; margin-bottom: 3rem; line-height: 1.8; }
.contact-checkmarks { list-style: none; display: flex; justify-content: center; gap: 3rem; margin-bottom: 4rem; flex-wrap: wrap;}
.contact-checkmarks li { font-size: 1.1rem; color: #fff; display: flex; align-items: center; gap: 0.5rem; font-weight: 500;}
.contact-checkmarks .icon { color: var(--highlight); font-weight: bold; font-size: 1.2rem; }

/* Scramble Text Effect */
.binary-hover-text-target { position: relative; display: inline-block; cursor: crosshair !important; transition: color 0.3s; }
.binary-hover-text-target:hover { color: var(--highlight); text-shadow: 0 0 30px var(--highlight); }


/* Footer */
.footer-section { padding: 0 !important; }
.footer { width: 100%; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 0 10%; background: linear-gradient(to top, rgba(4, 6, 12, 0.9), transparent); border-top: 1px solid rgba(0, 191, 255, 0.1); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-bottom: 2rem; margin-top: auto;}
.social-icons { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.icon-link { font-family: var(--font-heading); font-size: 1.2rem; text-decoration: none; color: var(--gold); background: rgba(220, 179, 96, 0.05); width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; border: 1px solid var(--gold-dim); transition: all 0.3s; }
.icon-link:hover { background: var(--gold); color: #000; box-shadow: 0 0 20px var(--gold-glow); transform: rotate(10deg); }
.footer-services ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-services a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.1em; transition: color 0.3s; }
.footer-services a:hover { color: var(--highlight); }
.legal-links-col { display: flex; flex-direction: column; gap: 1rem; }
.legal-links-col a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.legal-links-col a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; align-items: center; }
.footer-copy { text-align: center; padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.05); letter-spacing: 0.25em; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; margin-bottom: 5vh;}

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.85); z-index: 999999 !important; justify-content: center; align-items: center; backdrop-filter: blur(15px); pointer-events: auto; }
.glass { background: rgba(10, 11, 16, 0.95); border: 1px solid rgba(0, 191, 255, 0.4); padding: 4rem; max-width: 700px; width: 90%; color: #fff; position: relative; box-shadow: 0 0 80px rgba(0,0,0,0.9), inset 0 0 40px rgba(0,191,255,0.1); border-radius: 4px; z-index: 1000000; }
.close { position: absolute; top: 1.5rem; right: 2rem; font-size: 2.5rem; color: var(--text-muted); transition: color 0.3s; }
.close:hover { color: #fff; }
.service-modal h2 { margin-bottom: 0.5rem; font-size: 2rem; }
.modal-desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; }
.modal-benefits { background: rgba(0,0,0,0.4); padding: 2rem; border-left: 2px solid var(--highlight); }
.modal-benefits ul { list-style: none; }
.modal-benefits li { margin-bottom: 1rem; position: relative; padding-left: 1.5rem; letter-spacing: 0.05em; font-size: 0.95rem; }
.modal-benefits li::before { content: '►'; position: absolute; left: 0; color: var(--highlight); font-size: 0.8rem; top: 4px; }

/* Utilities */
.reveal { opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; }
.fade-in.active { animation: fadeInAnim 1.5s forwards; animation-delay: 0.2s; }
@keyframes fadeInAnim { to { opacity: 1; } }
.roadmap-boom h3 { font-size: clamp(2rem, 4vw, 3rem); font-family: var(--font-heading); background: linear-gradient(90deg, var(--sky-blue), #fff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Reveal Defaults */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; }
.fade-in.active { animation: fadeInAnim 1.5s forwards; animation-delay: 0.2s; }
@keyframes fadeInAnim { to { opacity: 1; } }

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1100;
    position: relative;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   TOUCH DEVICES – hide custom cursor
   ============================================= */
@media (pointer: coarse) {
    #custom-cursor, #custom-cursor-glow { display: none !important; }
    * { cursor: auto !important; }
    .planet { cursor: pointer !important; }
    .kosmos-sidebar li { cursor: pointer !important; }
    a, button, .landing-hook, .btn-gold-solid, .btn-white-solid { cursor: pointer !important; }
}

/* =============================================
   TABLET & SMALL DESKTOP (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
    /* Navigation */
    .hamburger { display: flex; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100vw; height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        background: rgba(0, 1, 4, 0.97);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        z-index: 1050;
    }
    .nav-links.open { display: flex; }
    .nav-item { font-size: 1.2rem; letter-spacing: 0.2em; }

    /* Kosmos Section */
    .kosmos-layout { flex-direction: column; align-items: center; gap: 2rem; }
    .kosmos-sidebar { width: 100%; max-width: 600px; order: 1; }
    .solar-system { order: 2; transform: scale(calc(min(40vh, 40vw) / 800)); margin: -5rem 0; }

    /* Roadmap */
    .cinematic-layout { flex-direction: column !important; gap: 2rem; justify-content: center !important; }
    .cinematic-empty { display: none !important; }
    .cinematic-content { width: 90% !important; text-align: left !important; padding: 2.5rem !important; }
    .cinematic-layout.left-align .cinematic-content { text-align: left !important; }
    .cinematic-layout.left-align .cinematic-content li { padding-left: 2rem; padding-right: 0; }
    .cinematic-layout.left-align .cinematic-content li::before { left: 0; right: auto; content: "►"; }
    .binary-circle { width: 80px; height: 80px; font-size: 2rem; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* =============================================
   MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {
    /* Global */
    .snap-section { min-height: 100vh; height: auto; scroll-snap-align: start; }
    .container { padding: 0 6%; }

    /* Hero */
    h1 { font-size: clamp(1.5rem, 6vw, 2.5rem); margin-bottom: 1.5rem; }
    h2 { font-size: clamp(1.3rem, 5vw, 2rem); }
    .word-rotator { min-width: 200px; }
    .hook-summary { font-size: 0.95rem !important; max-width: 100% !important; line-height: 1.7 !important; }
    .hero-cta .btn-gold-solid { padding: 0.8rem 1.8rem; font-size: 0.8rem; }

    /* Flowstatekosmos */
    #flowstatekosmos { min-height: auto; padding-top: 10vh; padding-bottom: 5vh; height: auto; }
    .kosmos-sidebar { width: 100%; max-width: 100%; padding: 1.2rem; gap: 1rem; }
    .kosmos-sidebar li { font-size: 0.95rem; }
    .solar-system { transform: scale(0.5); margin: -10rem 0 -8rem; }
    .cinematic-step { filter: blur(5px); transition: all 0.6s ease-out; }
    .section-header { margin-bottom: 2rem; }
    #flowstatekosmos .section-header .kicker { font-size: 0.75rem; text-shadow: 0 0 15px #000, 0 0 30px #000; }
    #flowstatekosmos .section-header h2 { font-size: 1.4rem !important; text-shadow: 0 0 15px #000, 0 0 30px #000; }

    /* Roadmap */
    .cinematic-content { padding: 1.8rem !important; }
    .cinematic-content h2 { font-size: 1.6rem !important; margin-bottom: 1.2rem !important; }
    .cinematic-content .step-title { font-size: 1.2rem; margin-bottom: 1.2rem; }
    .cinematic-content li { font-size: 1rem; margin-bottom: 0.8rem; }
    .binary-circle { width: 60px; height: 60px; font-size: 1.5rem; border-width: 3px; }
    .epic-boom { font-size: clamp(1.8rem, 8vw, 3.5rem); }
    .timeline-finish-block { padding: 2.5rem 1.5rem; }

    /* Team */
    .team-section { height: auto; min-height: 100vh; }
    .team-grid { gap: 1rem; }
    .team-card { width: 100%; max-width: 400px; padding: 1.2rem 1rem; }
    .team-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
    .team-card .role { font-size: 0.6rem; margin-bottom: 0.8rem; min-height: auto; }
    .team-card .desc { font-size: 0.75rem; margin-bottom: 1rem; }
    .social-links a { width: 32px; height: 32px; font-size: 0.8rem; }

    /* Contact */
    .contact-card { padding: 2rem 1.5rem; }
    .contact-lead { font-size: 1.05rem; margin-bottom: 2rem; }
    .contact-checkmarks { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .contact-checkmarks li { font-size: 1rem; }
    .btn-white-solid { padding: 1rem 2rem; font-size: 0.8rem; }
    .contact-section .section-header h2 { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }

    /* Footer */
    .footer { padding: 0 6%; height: auto; min-height: 100vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-copy { font-size: 0.7rem; letter-spacing: 0.15em; padding: 2rem 0; }
    .footer-bottom { padding-top: 1.5rem; }

    /* Modal */
    .glass { padding: 2rem 1.5rem; width: 95%; max-width: 95%; }
    .service-modal h2 { font-size: 1.4rem; }
    .modal-desc { font-size: 0.95rem; }
    .modal-benefits { padding: 1.2rem; }
    .modal-benefits li { font-size: 0.85rem; }

    /* Comet tail hidden on mobile for cleaner look */
    .comet-tail { opacity: 0.4; width: 4px; }
}

/* =============================================
   SMALL PHONES (≤ 480px)
   ============================================= */
@media (max-width: 480px) {
    h1 { font-size: clamp(1.2rem, 7vw, 1.8rem); }
    .word-rotator { min-width: 150px; font-size: 0.9em; }
    .hook-summary { font-size: 0.85rem !important; }
    .navbar { padding: 1rem 4%; }
    .nav-logo-img { height: 30px; }
    .kosmos-sidebar li { font-size: 0.85rem; padding-left: 0.8rem; }
    .solar-system { transform: scale(0.4); margin: -12rem 0 -10rem; }
    .team-card { padding: 1rem 0.8rem; }
    .team-card h3 { font-size: 1rem; }
    .team-card .desc { font-size: 0.7rem; }
    .cinematic-content { padding: 1.2rem !important; }
    .cinematic-content .step-title { font-size: 1rem; }
    .cinematic-content li { font-size: 0.9rem; }
    .contact-section .section-header h2 { font-size: 1.3rem !important; }
    .contact-lead { font-size: 0.95rem; }
    .epic-boom { font-size: clamp(1.3rem, 9vw, 2.5rem); }
    .timeline-finish-block p { font-size: 1rem !important; letter-spacing: 0.08em !important; }
    .team-card .desc { font-size: 0.8rem; }
    .footer-copy { font-size: 0.65rem; }
}
