/* ═══════════════════════════════════════
   DISASTER MASTER — style.css
   ═══════════════════════════════════════ */

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

:root {
    --orange:   #f05a1a;
    --orange-2: #ff8c42;
    --red:      #d63031;
    --blue:     #2b7fff;
    --storm:    #7c5cbf;
    --dark:     #050505; 
    --dark-2:   #0f0f0f;
    --dark-3:   #181818;
    --gray:     #777;
    --gray-2:   #999;
    --light:    #f9f9f9;
    --font-d:   'Bebas Neue', sans-serif;
    --font-b:   'DM Sans', sans-serif;
    --font-m:   'Space Mono', monospace;
}

html { scroll-behavior: smooth; }

/* GLOBALLY INCREASED BASE FONT SIZE TO 17px */
body {
    background: var(--dark);
    color: var(--light);
    font-family: var(--font-b);
    font-size: 17px; 
    line-height: 1.7;
    overflow-x: hidden;
    cursor: auto; 
}

/* ── NOISE ── */
.noise {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    opacity: .028;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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: 180px;
}

/* ── CURSOR GLOW ── */
.cursor-glow {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(240,90,26,0.1) 0%, rgba(240,90,26,0) 60%);
    position: fixed; 
    pointer-events: none; 
    z-index: 1; 
    left: 0; top: 0; 
    will-change: transform;
}

/* ── HELPERS ── */
.section-label {
    font-family: var(--font-m);
    font-size: 13px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--orange);
    display: block;
    margin-bottom: .9rem;
}

/* NO-WRAP UTILITY (Only applies on desktop to prevent breaking mobile layouts) */
@media (min-width: 820px) {
    .no-wrap {
        white-space: nowrap;
    }
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block;
    background: var(--orange);
    color: #080808;
    font-family: var(--font-m);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .9rem 2rem;
    border-radius: 4px;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover {
    background: var(--orange-2);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(240,90,26,.4);
}
.btn-primary.large { font-size: 15px; padding: 1.1rem 2.6rem; }

.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--light);
    font-family: var(--font-m);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: .9rem 2rem;
    border: 1px solid rgba(240,237,230,.2);
    border-radius: 4px;
    transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--light); }

.btn-with-icon, .nav-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-icon { width: 20px; height: 20px; object-fit: contain; }
.btn-primary .btn-icon, .nav-cta .btn-icon { filter: invert(1); }

/* AAA Hover Glow on Cards */
.aaa-card {
    position: relative;
    overflow: hidden;
    transition: background .3s, transform .3s, border-color .3s;
}
.aaa-card::before {
    content: "";
    position: absolute;
    top: var(--mouse-y, -500px);
    left: var(--mouse-x, -500px);
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240,90,26,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
    z-index: 0;
}
.aaa-card:hover::before { opacity: 1; }
.aaa-card > * { position: relative; z-index: 1; }

/* ── CUSTOM ICONS ── */
.custom-icon {
    width: 36px;
    height: 36px;
    display: block;
    filter: invert(1) brightness(100); 
    opacity: 0.9;
}

/* ═══════════════
   NAV
   ═══════════════ */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    background: rgba(8,8,8,.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .3s;
}
#nav.scrolled { background: rgba(8,8,8,.97); }

.nav-inner {
    max-width: 1280px;
    margin: auto;
    padding: 0 2rem;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: var(--font-d);
    font-size: 1.45rem;
    letter-spacing: .06em;
    color: var(--light);
    text-decoration: none;
    flex-shrink: 0;
}
.logo span { color: var(--orange); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
}
.nav-links a:not(.nav-cta) {
    font-family: var(--font-m);
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-2);
    text-decoration: none;
    transition: color .2s;
}
.nav-links a:hover { color: var(--light); }

.nav-cta {
    background: var(--orange) !important;
    color: var(--dark) !important;
    padding: .45rem 1.2rem !important;
    border-radius: 3px;
    font-family: var(--font-m);
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}
.nav-cta:hover { background: var(--orange-2) !important; color: var(--dark) !important; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255,255,255,.08);
    font-family: var(--font-m);
    font-size: 13px;
    color: var(--gray);
}
.lang-btn {
    background: none; border: none;
    color: var(--gray); cursor: pointer;
    font-family: var(--font-m); font-size: 13px;
    transition: color .2s;
}
.lang-btn.active { color: var(--orange); font-weight: 700; }
.lang-btn:hover  { color: var(--light); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
}

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 1rem 2rem;
    gap: 1rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    font-family: var(--font-m);
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray-2);
    text-decoration: none;
}

/* ═══════════════
   HERO
   ═══════════════ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -5%;
    z-index: 0;
    transition: transform 0.1s linear;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .35;
    filter: saturate(.6) contrast(1.2);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(8,8,8,.5) 0%, rgba(8,8,8,.75) 60%, var(--dark) 100%);
}
.scan-lines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.08) 3px, rgba(0,0,0,.08) 4px);
    pointer-events: none;
}

.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0;
    animation: particleDrift var(--dur, 8s) var(--delay, 0s) infinite;
    box-shadow: 0 0 5px var(--orange);
}
@keyframes particleDrift {
    0%   { opacity: 0; transform: translateY(100vh) translateX(0) scale(0.5); }
    10%  { opacity: .8; transform: translateY(80vh) translateX(10px) scale(1); }
    90%  { opacity: .2; transform: translateY(10vh) translateX(var(--dx, 40px)) scale(1.5); }
    100% { opacity: 0; transform: translateY(-10vh) translateX(calc(var(--dx, 40px) + 20px)) scale(0.5); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1.5rem;
    animation: heroIn .8s cubic-bezier(.16,1,.3,1) .1s both;
}
@keyframes heroIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-m);
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(240,90,26,.08);
    border: 1px solid rgba(240,90,26,.2);
    padding: .4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.8rem;
}
.dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.dot.pulse { animation: pulse 2s infinite; }
@keyframes pulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(240,90,26,.5); }
    50%      { box-shadow: 0 0 0 8px rgba(240,90,26,0); }
}

.hero-title {
    font-family: var(--font-d);
    font-size: clamp(5.5rem, 18vw, 14rem);
    line-height: .86;
    letter-spacing: -.01em;
    margin-bottom: 1rem;
}
.tl { display: block; }
.tl.accent { color: var(--orange); text-shadow: 0 0 100px rgba(240,90,26,.4); }

.hero-tagline {
    font-family: var(--font-d);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: .08em;
    color: var(--light);
    margin-bottom: .5rem;
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(240,237,230,.5);
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-m);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(240,237,230,.3);
}
.scroll-line {
    width: 1px; height: 36px;
    background: linear-gradient(to bottom, rgba(240,237,230,.3), transparent);
    animation: scrollFade 2s ease-in-out infinite;
}
@keyframes scrollFade { 50% { opacity: .8; } }

/* ═══════════════
   STATS / PROBLEM
   ═══════════════ */
.stats-section { padding: 7rem 2rem; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.04); }

/* WIDENED & FLEX-CENTERED TO ALLOW NO-WRAP TO FIT */
.section-intro { 
    width: 100%; 
    max-width: 1000px; 
    margin: 0 auto 4.5rem; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.section-intro h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; letter-spacing: .02em; margin-bottom: 1rem; }
.section-intro p { color: var(--gray-2); font-size: 1.05rem; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; max-width: 1100px; margin: 0 auto 5rem; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); }
.stat-card { background: var(--dark-2); padding: 3rem 2.5rem; opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s); }
.stat-card.visible { opacity: 1; transform: translateY(0); }
.stat-num { font-family: var(--font-d); font-size: clamp(4rem, 8vw, 6.5rem); line-height: 1; color: var(--orange); letter-spacing: -.02em; margin-bottom: .5rem; }
.k { font-size: .5em; color: var(--orange-2); }
.stat-bar { width: 2rem; height: 3px; background: var(--orange); margin-bottom: 1rem; border-radius: 2px; }
.stat-card p { font-size: 1rem; color: var(--gray-2); line-height: 1.5; }

.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; max-width: 1100px; margin: 0 auto; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.04); }
.problem-card { background: var(--dark-2); padding: 2.5rem; }
.problem-card h3 { font-family: var(--font-d); font-size: 1.6rem; letter-spacing: .03em; margin-bottom: .75rem; }
.problem-card p { font-size: 1rem; color: var(--gray-2); line-height: 1.65; }

/* ═══════════════
   VALIDATION (ANIMATED DONUT CHARTS)
   ═══════════════ */
.validation-section { padding: 6rem 2rem; border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); }

.val-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.val-inner h2 { font-family: var(--font-d); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: .02em; margin-bottom: 4rem; }
.val-stats { display: flex; align-items: center; justify-content: center; gap: 4rem; flex-wrap: wrap; margin-bottom: 4.5rem; }

/* Donut Chart CSS */
.donut-wrapper { position: relative; width: 220px; display: flex; flex-direction: column; align-items: center; }
.donut-chart { display: block; width: 140px; height: 140px; margin-bottom: 1rem; overflow: visible; }
.donut-bg { fill: none; stroke: rgba(255, 255, 255, 0.05); stroke-width: 2.5; }
.donut-fill { fill: none; stroke: var(--orange); stroke-width: 2.5; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(240,90,26,0.6)); transition: stroke-dasharray 2s cubic-bezier(0.16, 1, 0.3, 1); }
.donut-content { position: absolute; top: 70px; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.donut-content .val-num { font-family: var(--font-d); font-size: 3.5rem; line-height: 1; color: var(--light); letter-spacing: -.02em; }
.donut-content span { font-size: .5em; color: var(--orange); }
.donut-wrapper p { font-size: 1.05rem; color: var(--gray-2); max-width: 220px; margin: 0; line-height: 1.5; }
.val-divider { width: 1px; height: 100px; background: rgba(255,255,255,.08); flex-shrink: 0; }

.expert-validation-block { border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 2.5rem; text-align: left; background: var(--dark-3); position: relative; }
.expert-validation-block h3 { font-family: var(--font-d); font-size: 1.6rem; color: var(--orange); margin-bottom: 1rem; letter-spacing: 0.02em; }
.expert-validation-block p { font-size: 1.1rem; color: var(--light); line-height: 1.7; }

/* ═══════════════
   SOLUTION
   ═══════════════ */
.solution-section { padding: 7rem 2rem; max-width: 1280px; margin: 0 auto; }
.solution-intro { 
    width: 100%; 
    max-width: 1000px;
    margin: 0 auto 5rem; 
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
}
.solution-intro h2 { font-family: var(--font-d); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; letter-spacing: .02em; margin-bottom: 1rem; }
.solution-intro p { color: var(--gray-2); font-size: 1.05rem; }

.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); margin-bottom: 0; }
.pillar { background: var(--dark-2); padding: 2.5rem; }
.pillar-num { font-family: var(--font-m); font-size: 12px; letter-spacing: .2em; color: var(--orange); margin-bottom: .75rem; }
.pillar h3 { font-family: var(--font-d); font-size: 1.7rem; letter-spacing: .03em; margin-bottom: .75rem; }
.pillar p { font-size: 1rem; color: var(--gray-2); line-height: 1.65; }

.screenshot-strip { display: flex; gap: 1px; background: rgba(255,255,255,.04); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); overflow: hidden; margin: 0 -2rem; }
.ss-slide { flex: 1; min-height: 280px; position: relative; background: var(--dark-3); overflow: hidden; display: flex; align-items: flex-end; }
.ss-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: opacity .4s, transform .5s; }
.ss-slide:hover img { opacity: .9; transform: scale(1.04); }
.ss-label { position: relative; z-index: 2; width: 100%; padding: .7rem 1.2rem; background: linear-gradient(to top, rgba(8,8,8,.95), transparent); font-family: var(--font-d); font-size: 1.5rem; letter-spacing: .04em; }

/* ═══════════════
   SCENARIOS
   ═══════════════ */
.scenarios-section { padding: 7rem 2rem; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.04); }
.scenarios-header { 
    width: 100%; 
    max-width: 1000px;
    margin: 0 auto 4.5rem; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.scenarios-header h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: .02em; margin-bottom: 1rem; }
.scenarios-header p { color: var(--gray-2); font-size: 1.05rem; }

.scenarios-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1px; max-width: 1200px; margin: 0 auto; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); }
.sc-card { background: var(--dark-2); overflow: hidden; }
.sc-card.sc-full { grid-column: 1 / -1; }

.sc-header { display: flex; align-items: center; gap: 1rem; padding: 1.8rem 2rem 1.4rem; border-bottom: 1px solid rgba(255,255,255,.05); }
.earthquake-h { border-top: 3px solid var(--orange); }
.fire-h { border-top: 3px solid var(--red); }
.flood-h { border-top: 3px solid var(--blue); }
.storm-h { border-top: 3px solid var(--storm); }

.sc-tag { font-family: var(--font-m); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray-2); margin-bottom: .2rem; }
.sc-header h3 { font-family: var(--font-d); font-size: 1.9rem; letter-spacing: .04em; line-height: 1; }

.sc-levels { padding: 1.5rem 2rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.sc-level { display: flex; gap: 1rem; align-items: flex-start; }

.sc-lnum { font-family: var(--font-m); font-size: 12px; font-weight: 700; padding: .3rem .5rem; border-radius: 3px; flex-shrink: 0; margin-top: .1rem; }
.earthquake-lnum { background: rgba(240,90,26,.15); color: var(--orange); }
.fire-lnum { background: rgba(214,48,49,.15); color: var(--red); }
.flood-lnum { background: rgba(43,127,255,.15); color: var(--blue); }
.storm-lnum { background: rgba(124,92,191,.15); color: var(--storm); }

.sc-level strong { display: block; font-family: var(--font-d); font-size: 1.2rem; letter-spacing: .03em; margin-bottom: .3rem; }
.sc-level p { font-size: .95rem; color: var(--gray-2); line-height: 1.6; }

/* ═══════════════
   HOW IT WORKS
   ═══════════════ */
.how-section { padding: 7rem 2rem; border-top: 1px solid rgba(255,255,255,.04); }
.how-inner { max-width: 1200px; margin: 0 auto; }
.how-inner > h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: .02em; margin-bottom: 4rem; }

.modules-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); margin-bottom: 3rem; }
.module { background: var(--dark-2); padding: 2.2rem; }
.mod-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.mod-num { font-family: var(--font-m); font-size: 14px; color: var(--orange); font-weight: bold; }
.module h3 { font-family: var(--font-d); font-size: 1.45rem; letter-spacing: .03em; margin-bottom: .6rem; }
.module p { font-size: 1rem; color: var(--gray-2); line-height: 1.65; }

/* Controls */
.controls-section { background: var(--dark-3); border: 1px solid rgba(255,255,255,.07); border-radius: 8px; padding: 2.5rem 3rem; }
.controls-section h3 { font-family: var(--font-d); font-size: 1.7rem; letter-spacing: .04em; margin-bottom: 2rem; text-align: center; }
.controls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.ctrl { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; font-size: .95rem; color: var(--gray-2); background: rgba(0,0,0,0.3); padding: 1.5rem; border: 1px solid rgba(255,255,255,0.03); border-radius: 4px; }
.wasd-row { display: flex; gap: 6px; justify-content: center; }
.key-symbol { font-family: var(--font-m); font-size: 14px; background: var(--dark); border: 1px solid rgba(255,255,255,.15); padding: .3rem .7rem; border-radius: 4px; flex-shrink: 0; color: var(--orange); letter-spacing: .05em; box-shadow: 0 2px 0 rgba(255,255,255,0.05); }
.mouse-symbol { border-color: rgba(240,90,26,0.2); }
.large-key, .space-key, .interaction-key { padding: .3rem 1.2rem; }
.key-label { font-weight: 600; margin-top: 0.5rem; font-size: 1rem; }

/* ═══════════════
   AAA ANIMATED GALLERY 
   ═══════════════ */
.gallery-section {
    padding: 6rem 0 8rem 0;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.04);
    overflow: hidden;
    position: relative;
}
.gallery-section::before, .gallery-section::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 15%;
    z-index: 5;
    pointer-events: none;
}
.gallery-section::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.gallery-section::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }

.gallery-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 2rem;
}
.gallery-header h2 {
    font-family: var(--font-d);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    letter-spacing: .02em;
}

.gallery-track {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: rotate(-3deg) scale(1.05);
    width: 100vw;
}

.gallery-row {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scrollGallery 35s linear infinite;
}
.gallery-row.reverse {
    animation-direction: reverse;
    animation-duration: 40s;
}
.gallery-row:hover {
    animation-play-state: paused;
}

.gallery-img-wrap {
    width: 400px;
    height: 220px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    cursor: pointer;
    background: var(--dark-3);
}
.gallery-img-wrap:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(240,90,26,0.3);
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s, transform 0.5s, filter 0.4s;
    filter: grayscale(40%) contrast(1.1);
}
.gallery-img-wrap:hover img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.08);
}

@keyframes scrollGallery {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); } 
}

/* ═══════════════
   TECH
   ═══════════════ */
.tech-section { padding: 5rem 2rem; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.04); text-align: center; }
.tech-row { display: flex; align-items: center; justify-content: center; gap: 3.5rem; flex-wrap: wrap; margin-top: 2rem; }
.tech-item { text-align: center; display: flex; flex-direction: column; align-items: center;}
.tech-logo { width: 48px; height: 48px; margin-bottom: 1rem; object-fit: contain; }
.tech-name { font-family: var(--font-d); font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: .05em; }
.tech-desc { font-family: var(--font-m); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-top: .2rem; }

/* ═══════════════
   FUTURE
   ═══════════════ */
.future-section { padding: 7rem 2rem; border-top: 1px solid rgba(255,255,255,.04); }
.future-inner { max-width: 1200px; margin: 0 auto; }
.future-inner > h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: .02em; margin-bottom: 1rem; }
.future-inner > p { color: var(--gray-2); margin-bottom: 3.5rem; font-size: 1.05rem; }

.future-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.05); }
.future-card { background: var(--dark-2); padding: 2.5rem; position: relative; }
.future-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(to right, var(--orange), transparent); opacity: 0; transition: opacity .3s; }
.future-card:hover::before { opacity: 1; }
.future-card h3 { font-family: var(--font-d); font-size: 1.6rem; letter-spacing: .03em; margin-bottom: .6rem; }
.future-card p { font-size: 1rem; color: var(--gray-2); line-height: 1.65; }

/* ═══════════════
   TEAM
   ═══════════════ */
.team-section { padding: 7rem 2rem; background: var(--dark-2); border-top: 1px solid rgba(255,255,255,.04); text-align: center; }
.team-section > h2 { font-family: var(--font-d); font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: .02em; margin-bottom: 1rem; }
.team-intro { color: var(--gray-2); max-width: 600px; margin: 0 auto 3.5rem; font-size: 1.05rem; }

.team-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; margin-bottom: 4rem; }
.team-card { max-width: 240px; }
.team-photo { width: 130px; height: 130px; border-radius: 50%; border: 2px solid rgba(240,90,26,.3); margin: 0 auto 1.25rem; overflow: hidden; position: relative; background: var(--dark-3); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-d); font-size: 2.2rem; color: rgba(240,90,26,.3); }
.team-photo:not(.no-photo) .team-initials { display: none; }
.team-photo.no-photo img { display: none; }

.team-card h3 { font-family: var(--font-d); font-size: 1.7rem; letter-spacing: .04em; margin-bottom: .5rem; }
.team-role { font-family: var(--font-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray-2); line-height: 1.6; }

.team-advisors { border-top: 1px solid rgba(255,255,255,.06); padding-top: 2.5rem; }
.team-advisors .section-label { margin-bottom: .75rem; }
.advisors-row { display: flex; justify-content: center; align-items: center; gap: 1rem; font-family: var(--font-d); font-size: 1.4rem; letter-spacing: .05em; margin-bottom: .5rem; flex-wrap: wrap; }
.adv-sep { color: var(--orange); }
.team-school { font-family: var(--font-m); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-top: .4rem; }

/* ═══════════════
   CTA
   ═══════════════ */
.cta-section { padding: 8rem 2rem; border-top: 1px solid rgba(255,255,255,.04); position: relative; overflow: hidden; }
.cta-section::before { content: 'SURVIVE'; position: absolute; font-family: var(--font-d); font-size: clamp(10rem, 20vw, 20rem); color: rgba(240,90,26,.03); top: 50%; left: 50%; transform: translate(-50%,-50%); letter-spacing: .1em; pointer-events: none; white-space: nowrap; }

/* WIDENED & FLEX-CENTERED TO ALLOW NO-WRAP TO FIT */
.cta-inner { 
    width: 100%; 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center; 
    position: relative; 
    z-index: 1; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}
.cta-inner h2 { font-family: var(--font-d); font-size: clamp(3.2rem, 8vw, 6.5rem); letter-spacing: .02em; line-height: .95; margin-bottom: 1rem; }
.cta-inner p { color: var(--gray-2); font-size: 1.05rem; margin-bottom: 2rem; }

.social-links { display: flex; justify-content: center; align-items: center; gap: .6rem; margin-top: 1.8rem; font-family: var(--font-m); font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray); }
.social-btn { display: flex; align-items: center; gap: 6px; color: var(--gray); text-decoration: none; transition: color .2s; }
.social-btn:hover { color: var(--orange); }

.cta-note { margin-top: 1.5rem; font-family: var(--font-m); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); }

/* ═══════════════
   FOOTER
   ═══════════════ */
footer { border-top: 1px solid rgba(255,255,255,.05); padding: 2.5rem 2rem; background: var(--dark-2); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-logo { font-family: var(--font-d); font-size: 1.2rem; letter-spacing: .06em; }
.footer-logo span { color: var(--orange); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: var(--font-m); font-size: 13px; letter-spacing: .15em; text-transform: uppercase; color: var(--gray); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--orange); }
footer p { font-family: var(--font-m); font-size: 13px; letter-spacing: .1em; color: rgba(240,237,230,.3); }

/* ═══════════════
   RESPONSIVE
   ═══════════════ */
@media (max-width: 820px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .screenshot-strip { flex-direction: column; margin: 0; }
    .ss-slide { min-height: 200px; }
    .hero-title { font-size: 5rem; }
    .val-divider { display: none; }
    .val-stats { gap: 2.5rem; }
    .footer-inner { text-align: center; flex-direction: column; align-items: center; }
    .footer-links { justify-content: center; }
    .team-grid { gap: 2.5rem; }
    .advisors-row { font-size: 1.1rem; }
    .sc-card.sc-full .sc-levels { display: block; }
    .aaa-card::before { display: none; }
    .gallery-img-wrap { width: 300px; height: 160px; }
    .gallery-track { transform: rotate(0) scale(1); }
}

@media (max-width: 500px) {
    .hero-eyebrow { font-size: 10px; }
    .hero-title { font-size: 4rem; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-ghost { width: 100%; text-align: center; justify-content: center; }
}