/* ═══════════════════════════════════════════════════════════
   ALPHA LATTICE ORIGIN — AURORA NOCTURNE
   Premium tech-noir with aurora glows, glassmorphism & gold accents
   ═══════════════════════════════════════════════════════════ */

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

:root {
  /* ─── Base (midnight navy, not flat black) ─── */
  --bg-deep:    #04060d;
  --bg:         #0a0e1a;
  --bg-elev:    #0e1426;
  --bg-elev2:   #141b30;
  --bg-card:    rgba(20, 28, 50, 0.45);
  --bg-card-h:  rgba(28, 38, 68, 0.62);

  /* ─── Ink ─── */
  --ink:        #ffffff;
  --ink-2:      #e9edf6;
  --ink-3:      #b4bdd1;
  --ink-4:      #8590ab;
  --ink-5:      rgba(255,255,255,0.42);
  --ink-6:      rgba(255,255,255,0.22);

  /* ─── Lines / dividers ─── */
  --line:       rgba(255,255,255,0.08);
  --line-2:     rgba(255,255,255,0.14);
  --line-3:     rgba(255,255,255,0.22);

  /* ─── Brand accents ─── */
  --cyan:       #00d4ff;
  --cyan-soft:  #6ee0ff;
  --cyan-deep:  #0099cc;
  --violet:     #7c5cff;
  --violet-soft:#a896ff;
  --pink:       #ff5cb8;
  --gold:       #d4b572;
  --gold-soft:  #f0d89b;

  /* ─── Aurora orb tones ─── */
  --aurora-cyan:    rgba(0, 212, 255, 0.32);
  --aurora-violet:  rgba(124, 92, 255, 0.30);
  --aurora-pink:    rgba(255, 92, 184, 0.16);

  /* ─── Gradients ─── */
  --grad-title:     linear-gradient(120deg, #ffffff 0%, #d6e8ff 30%, #6ee0ff 55%, #a896ff 80%, #f0d89b 100%);
  --grad-accent:    linear-gradient(120deg, #00d4ff 0%, #7c5cff 100%);
  --grad-accent-2:  linear-gradient(120deg, #6ee0ff 0%, #a896ff 100%);
  --grad-gold:      linear-gradient(135deg, #f0d89b 0%, #d4b572 50%, #b89455 100%);
  --grad-line:      linear-gradient(90deg, transparent 0%, rgba(0,212,255,0.6) 30%, rgba(124,92,255,0.6) 70%, transparent 100%);
  --grad-card-bd:   linear-gradient(135deg, rgba(0,212,255,0.45) 0%, rgba(124,92,255,0.35) 50%, rgba(255,255,255,0.06) 100%);

  /* ─── Glass ─── */
  --glass-bd:    rgba(255,255,255,0.10);
  --glass-bd-h:  rgba(0,212,255,0.32);

  /* ─── Layout ─── */
  --nav-h:    76px;
  --r:        14px;
  --r-md:     10px;
  --r-sm:     6px;
  --r-xs:     4px;

  /* ─── Shadows ─── */
  --shadow-card:    0 8px 32px rgba(0,0,0,0.45), 0 1px 0 rgba(255,255,255,0.04) inset;
  --shadow-card-h:  0 18px 56px rgba(0,180,255,0.18), 0 0 0 1px rgba(0,212,255,0.18), 0 1px 0 rgba(255,255,255,0.06) inset;
  --shadow-glow:    0 0 60px rgba(0,212,255,0.25);
  --shadow-glow-v:  0 0 60px rgba(124,92,255,0.22);
}

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  position: relative;
}

/* Subtle gradient depth on body itself */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(124,92,255,0.06) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 50%, var(--bg-deep) 100%);
}

@media (hover: none) { body { cursor: auto; } }

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }
.mono { font-family: 'Space Mono', monospace; }

/* ═══════════════════════════════════════════════════════════
   AURORA AMBIENT BACKGROUND
   ═══════════════════════════════════════════════════════════ */
.aurora-bg {
  position: fixed; inset: 0; z-index: -2;
  pointer-events: none; overflow: hidden;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.85;
  will-change: transform;
  --py: 0px; /* updated by JS scroll parallax */
}
.aurora-orb-1 {
  width: 720px; height: 720px;
  top: -180px; left: -160px;
  background: radial-gradient(circle, var(--aurora-cyan) 0%, transparent 70%);
  animation: orbFloat1 22s ease-in-out infinite;
}
.aurora-orb-2 {
  width: 680px; height: 680px;
  top: 38%; right: -200px;
  background: radial-gradient(circle, var(--aurora-violet) 0%, transparent 70%);
  animation: orbFloat2 26s ease-in-out infinite;
}
.aurora-orb-3 {
  width: 600px; height: 600px;
  bottom: -160px; left: 28%;
  background: radial-gradient(circle, var(--aurora-pink) 0%, transparent 70%);
  animation: orbFloat3 30s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate3d(0, var(--py), 0) scale(1); }
  50%     { transform: translate3d(60px, calc(80px + var(--py)), 0) scale(1.08); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate3d(0, var(--py), 0) scale(1); }
  50%     { transform: translate3d(-50px, calc(-70px + var(--py)), 0) scale(1.1); }
}
@keyframes orbFloat3 {
  0%,100% { transform: translate3d(0, var(--py), 0) scale(1); }
  50%     { transform: translate3d(80px, calc(-40px + var(--py)), 0) scale(1.06); }
}

.aurora-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 100%);
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════ */
.cursor {
  width: 38px; height: 38px;
  border: 1px solid rgba(0,212,255,0.55);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 24px rgba(0,212,255,0.35), inset 0 0 12px rgba(0,212,255,0.15);
  transition: transform 0.18s ease, opacity 0.2s ease, border-color 0.2s ease;
  transform: translate(-50%,-50%);
}
.cursor-dot {
  width: 5px; height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px var(--cyan);
  transform: translate(-50%,-50%);
  transition: transform 0.05s ease;
}
.cursor.hover {
  transform: translate(-50%,-50%) scale(1.7);
  border-color: var(--violet-soft);
  box-shadow: 0 0 32px rgba(124,92,255,0.45);
}

@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px;
  border-radius: 999px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: none; white-space: nowrap;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s ease, color 0.3s, background 0.3s;
}

.btn-primary {
  background: var(--grad-accent);
  color: #04060d;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 28px rgba(0,212,255,0.32), 0 0 0 1px rgba(0,212,255,0.4) inset;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: var(--grad-accent);
  filter: blur(14px);
  opacity: 0.45;
  z-index: -1;
  transition: opacity 0.3s, filter 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(0,212,255,0.5), 0 0 0 1px rgba(255,255,255,0.25) inset;
}
.btn-primary:hover::before { opacity: 0.75; filter: blur(20px); }

.btn-ghost {
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.06);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,212,255,0.18);
}

.btn-large { padding: 18px 56px; font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 500; height: var(--nav-h);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10, 14, 26, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(0,212,255,0.08), 0 8px 32px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h); max-width: 1200px; margin: 0 auto; padding: 0 32px;
}

.nav-actions {
  display: flex; align-items: center; gap: 22px;
}

/* ─── Language Switcher (single button + dropdown) ─── */
.lang-switch {
  position: relative;
  display: flex; align-items: center;
}

.lang-current {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 999px;
  padding: 6px 10px 6px 7px;
  cursor: none;
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease, color 0.2s ease, box-shadow 0.25s ease;
}
.lang-current:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.1);
  box-shadow: 0 0 14px rgba(0,212,255,0.22);
}
.lang-current[aria-expanded="true"] {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.12);
  box-shadow: 0 0 16px rgba(0,212,255,0.32);
}

/* Flag inside the trigger button */
.lang-current .flag,
.lang-opt .flag {
  width: 22px; height: 16px; display: inline-block;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.lang-current .flag svg,
.lang-opt .flag svg { width: 100%; height: 100%; display: block; }

/* Show only the active flag in the trigger */
.lang-switch[data-lang-current="en"] .lang-current .flag-es,
.lang-switch[data-lang-current="es"] .lang-current .flag-en {
  display: none;
}

.lang-chevron {
  width: 9px; height: 6px;
  color: var(--ink-3);
  transition: transform 0.25s ease, color 0.2s ease;
  margin-left: 1px;
}
.lang-current:hover .lang-chevron,
.lang-current[aria-expanded="true"] .lang-chevron {
  color: var(--cyan-soft);
}
.lang-current[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

/* Dropdown panel */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  list-style: none;
  margin: 0; padding: 6px;
  background: rgba(15,21,40,0.96);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: 10px;
  box-shadow:
    0 16px 48px rgba(0,0,0,0.55),
    0 0 24px rgba(0,212,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.05);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
          backdrop-filter: blur(20px) saturate(160%);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
  z-index: 600;
}
.lang-dropdown.open {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}

.lang-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px;
  min-height: 44px;
  border-radius: 6px;
  cursor: none;
  color: var(--ink-3);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: background 0.15s ease, color 0.15s ease;
  -webkit-user-select: none; user-select: none;
}
.lang-opt:hover {
  background: rgba(0,212,255,0.08);
  color: var(--ink);
}
.lang-opt.selected {
  background: rgba(0,212,255,0.06);
  color: var(--ink);
}
.lang-opt.selected::after {
  content: '◈';
  margin-left: auto;
  color: var(--cyan);
  font-size: 0.7rem;
  filter: drop-shadow(0 0 4px var(--cyan));
}
.lang-opt-name {
  font-weight: 500;
}

.nav-logo { display: flex; align-items: center; gap: 10px; cursor: none; }
.nav-logo-img {
  height: 32px; width: auto; display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(0,212,255,0.5));
}
.logo-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.18em; color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); transition: color 0.2s;
  cursor: none; position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--grad-accent);
  transition: width 0.3s ease;
}
.nav-links a:not(.nav-cta):hover { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  border: 1px solid rgba(0,212,255,0.4) !important;
  padding: 9px 22px;
  border-radius: 999px;
  color: var(--ink) !important;
  background: rgba(0,212,255,0.06);
  transition: all 0.3s !important;
}
.nav-cta:hover {
  background: var(--grad-accent) !important;
  color: #04060d !important;
  border-color: transparent !important;
  box-shadow: 0 0 24px rgba(0,212,255,0.4);
}

.hamburger {
  display: none; flex-direction: column; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--ink); transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(10,14,26,0.96);
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border-top: 1px solid var(--line); padding: 20px 32px 28px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  display: block; padding: 14px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.mobile-link:last-child { border: none; }
.mobile-link:hover { color: var(--ink); }
.mobile-cta { margin-top: 16px; color: var(--ink) !important; text-align: center; }

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

.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(0,212,255,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 100% 0%, rgba(124,92,255,0.14) 0%, transparent 55%),
    linear-gradient(170deg, rgba(4,6,13,0.74) 0%, rgba(10,14,26,0.50) 45%, rgba(4,6,13,0.85) 100%);
}

.hero-scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    0deg, transparent, transparent 2px,
    rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px
  );
  opacity: 0.5;
}

/* Soft top + bottom edge glow */
.hero::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--grad-line); z-index: 3; opacity: 0.4;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--grad-line); z-index: 3; opacity: 0.4;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 960px;
  padding: 0 32px; padding-top: var(--nav-h);
  display: flex; flex-direction: column; align-items: center; gap: 0;
}

.hero-trust {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--cyan-soft); margin-bottom: 32px;
  border: 1px solid rgba(0,212,255,0.3);
  padding: 8px 20px; border-radius: 999px;
  background: rgba(0,212,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(0,212,255,0.12) inset, 0 0 24px rgba(0,212,255,0.18);
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: statusBlink 1.8s ease-in-out infinite;
}
@keyframes statusBlink {
  0%,100% { opacity: 1; } 50% { opacity: 0.25; }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5.2vw, 4.8rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.025em;
  color: var(--ink); margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(0,212,255,0.1);
}
.title-accent {
  background: var(--grad-title);
  background-size: 200% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0,212,255,0.25));
  animation: shimmer 8s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { background-position: 0% 50%; }
  50%     { background-position: 100% 50%; }
}

.hero-sub {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--ink-3); line-height: 1.7; margin-bottom: 28px;
}
.br-desktop { display: block; }

.hero-values {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 44px;
}
.hero-values span {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-4);
}
.val-dot { color: var(--cyan) !important; opacity: 0.7; }

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.hero-urgency {
  font-family: 'Space Mono', monospace;
  font-size: 0.66rem; letter-spacing: 0.1em;
  color: var(--gold-soft); opacity: 0.55;
  margin-top: 24px;
  text-align: center; line-height: 1.6;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span {
  font-family: 'Space Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.2em; color: var(--ink-5); text-transform: uppercase;
}
.scroll-track {
  width: 1px; height: 56px; background: var(--line-2);
  position: relative; overflow: hidden;
}
.scroll-thumb {
  width: 100%; height: 40%;
  background: linear-gradient(180deg, transparent, var(--cyan));
  position: absolute; top: 0;
  animation: scrollDown 2s ease-in-out infinite;
  will-change: transform;
  filter: drop-shadow(0 0 6px var(--cyan));
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(350%); }
}

/* ═══════════════════════════════════════════════════════════
   TICKER
   ═══════════════════════════════════════════════════════════ */
.ticker-wrap {
  background: linear-gradient(90deg, var(--bg-elev) 0%, var(--bg) 50%, var(--bg-elev) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 18px 0;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg-elev), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(270deg, var(--bg-elev), transparent); }

.ticker-inner { overflow: hidden; }
.ticker-track {
  display: flex; gap: 48px; white-space: nowrap; width: max-content;
  animation: ticker 30s linear infinite;
}
.ticker-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3);
}
.ticker-track .sep {
  color: var(--cyan); opacity: 0.7;
  filter: drop-shadow(0 0 6px var(--cyan));
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════════
   SECTION LABELS & TITLES
   ═══════════════════════════════════════════════════════════ */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 16px;
  position: relative;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  display: inline-block;
}
.section-header { margin-bottom: 56px; }
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.025em;
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   CORE INFRASTRUCTURE (THE LATTICE)
   ═══════════════════════════════════════════════════════════ */
.infra-section {
  padding: 140px 0;
  background: transparent;
  position: relative;
}

.infra-lead {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 500; color: var(--ink-2);
  max-width: 700px; line-height: 1.4;
  margin-bottom: 80px; letter-spacing: -0.01em;
}

.infra-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.infra-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
}
.infra-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: var(--grad-card-bd);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.infra-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-accent);
  opacity: 0; transition: opacity 0.4s;
}
.infra-card:hover {
  background: var(--bg-card-h);
  border-color: transparent;
  box-shadow: var(--shadow-card-h);
}
.infra-card:hover::before { opacity: 1; }
.infra-card:hover::after  { opacity: 1; }

.infra-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.18em;
  color: var(--cyan-soft); text-transform: uppercase;
  opacity: 0.85;
}
.infra-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em;
  color: var(--ink);
}
.infra-card p {
  font-size: 0.95rem; color: var(--ink-3); line-height: 1.75;
}
.card-arrow {
  font-size: 1.4rem; color: var(--ink-5);
  margin-top: auto;
  transition: all 0.3s;
  background: var(--grad-accent);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
}
.infra-card:hover .card-arrow {
  opacity: 1; transform: translateX(8px);
}

/* ═══════════════════════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════════════════════ */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(90deg, transparent, rgba(15,21,40,0.5), transparent);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.stats-section::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--grad-line);
}
.stats-section::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--grad-line);
}

.stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
}
.stat {
  flex: 1; min-width: 180px;
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; padding: 24px;
}
.stat-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.03em;
  background: var(--grad-title);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0,212,255,0.18));
}
.stat-desc {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
}
.stat-div {
  width: 1px; height: 60px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  flex-shrink: 0; opacity: 0.4;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services-section {
  padding: 140px 0;
  background: transparent;
  position: relative;
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Card ── */
.srv-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r);
  padding: 0;
  cursor: none; text-align: left;
  font-family: inherit; color: var(--ink);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.35s ease, border-color 0.35s ease, box-shadow 0.4s ease;
}
.srv-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: var(--grad-card-bd);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s ease;
  pointer-events: none;
}
.srv-card:hover {
  background: var(--bg-card-h);
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-card-h);
}
.srv-card:hover::before { opacity: 1; }
.srv-card.active {
  background: var(--bg-card-h);
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(0,212,255,0.32), 0 14px 40px rgba(0,212,255,0.18);
}
.srv-card.active::before { opacity: 1; }

/* ── Top row ── */
.srv-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 24px 24px 0;
}
.srv-icon-wrap {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,212,255,0.2); border-radius: 10px;
  background: rgba(0,212,255,0.06);
  color: var(--cyan-soft);
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.srv-icon-wrap svg { width: 18px; height: 18px; }
.srv-card:hover .srv-icon-wrap,
.srv-card.active .srv-icon-wrap {
  border-color: rgba(0,212,255,0.55);
  background: rgba(0,212,255,0.12);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}
.srv-deco {
  color: rgba(0,212,255,0.18); line-height: 0; flex-shrink: 0;
  transition: color 0.35s;
}
.srv-deco svg { height: 32px; width: auto; }
.srv-card:hover .srv-deco  { color: rgba(124,92,255,0.45); }
.srv-card.active .srv-deco { color: rgba(0,212,255,0.55); }

/* ── Body ── */
.srv-body { padding: 18px 24px 0; flex: 1; }
.srv-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.98rem; font-weight: 600;
  letter-spacing: -0.01em; color: var(--ink);
  margin-bottom: 6px;
}
.srv-micro {
  font-size: 0.8rem; color: var(--ink-3);
  line-height: 1.55; font-weight: 400;
}

/* ── Foot ── */
.srv-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px 20px;
}
.srv-num {
  font-size: 0.62rem; letter-spacing: 0.16em; color: var(--ink-5);
}
.srv-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid rgba(0,212,255,0.3); border-radius: 50%;
  font-size: 0.9rem; line-height: 1; color: var(--cyan-soft);
  font-family: 'Inter', sans-serif; font-weight: 300;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.srv-card:hover .srv-toggle { border-color: rgba(0,212,255,0.55); color: var(--ink); }
.srv-card.active .srv-toggle {
  transform: rotate(45deg);
  border-color: var(--cyan); color: var(--ink);
  background: rgba(0,212,255,0.08);
  box-shadow: 0 0 12px rgba(0,212,255,0.4);
}

/* ── Panel ── */
.srv-panel {
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.55s cubic-bezier(0.16,1,0.3,1), opacity 0.38s ease;
}
.srv-panel.open { max-height: 240px; opacity: 1; }
.srv-grid .srv-panel { grid-column: 1 / -1; }

.srv-panel-inner {
  background: var(--bg-card-h);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: var(--r);
  padding: 24px 30px 22px;
  display: flex; flex-direction: column; gap: 12px;
  box-shadow: 0 8px 28px rgba(0,212,255,0.1);
  position: relative; overflow: hidden;
}
.srv-panel-inner::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-line); opacity: 0.7;
}
.srv-panel-header {
  display: flex; justify-content: space-between; align-items: center;
}
.srv-panel-label {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan);
}
.srv-panel-close {
  background: none; border: none; color: var(--ink-5);
  font-size: 0.8rem; cursor: none; padding: 4px 6px; line-height: 1;
  transition: color 0.2s, transform 0.2s;
}
.srv-panel-close:hover { color: var(--ink); transform: rotate(90deg); }
.srv-panel-text {
  font-size: 0.92rem; font-weight: 300;
  color: var(--ink-2); line-height: 1.8;
}
.srv-panel-foot { display: flex; }
.srv-panel-cta {
  font-size: 0.72rem; padding: 10px 20px; letter-spacing: 0.1em;
}

.srv-hint {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-5);
  text-align: center; margin-top: 18px;
}

/* ═══════════════════════════════════════════════════════════
   VISION
   ═══════════════════════════════════════════════════════════ */
.vision-section {
  padding: 160px 0;
  background: transparent;
  position: relative; overflow: hidden;
  --mx: 50%; --my: 50%;
}
.vision-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at var(--mx) var(--my), black 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 60% at var(--mx) var(--my), black 0%, transparent 70%);
  transition: -webkit-mask-position 0.4s ease, mask-position 0.4s ease;
}
.vision-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: 50%; left: var(--mx);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  transition: top 0.5s ease, left 0.5s ease;
}

.vision-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  position: relative; z-index: 1;
}

.vision-left .section-label { display: inline-flex; }
.vision-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.025em;
  color: var(--ink);
}

.vision-text {
  font-size: 0.98rem; font-weight: 300;
  color: var(--ink-3); line-height: 1.85;
  margin-bottom: 22px;
}
.vision-right { display: flex; flex-direction: column; }

.vision-tag {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--line);
  position: relative;
}
.vision-tag::before {
  content: '';
  position: absolute; top: -1px; left: 0; width: 64px; height: 1px;
  background: var(--grad-accent);
}
.vision-tag .mono {
  font-size: 0.78rem; color: var(--gold-soft); letter-spacing: 0.04em;
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════════
   INTELLIGENCE PROTOCOL
   ═══════════════════════════════════════════════════════════ */
.intel-section {
  padding: 140px 0;
  background: transparent;
  position: relative;
}

.intel-steps {
  display: flex; align-items: stretch; gap: 16px;
  margin-top: 72px;
}
.intel-step {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 18px;
  padding: 32px 28px;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r);
  position: relative; overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.4s ease;
}
.intel-step::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-accent);
  opacity: 0.3; transition: opacity 0.4s;
}
.intel-step:hover {
  background: var(--bg-card-h);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-h);
}
.intel-step:hover::before { opacity: 1; }

.step-num {
  font-size: 0.78rem; letter-spacing: 0.2em;
  color: var(--cyan); opacity: 0.9;
  font-weight: 700;
}
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 12px;
  color: var(--ink);
}
.step-body p { font-size: 0.92rem; color: var(--ink-3); line-height: 1.75; }

.intel-connector {
  display: flex; align-items: center; flex-shrink: 0;
  width: 16px;
}
.intel-connector::before {
  content: '◈';
  display: block;
  width: 100%; text-align: center;
  font-size: 0.6rem; color: var(--cyan); opacity: 0.6;
  filter: drop-shadow(0 0 6px var(--cyan));
}

/* ═══════════════════════════════════════════════════════════
   ACCESS (CTA)
   ═══════════════════════════════════════════════════════════ */
.access-section {
  padding: 180px 0;
  background: transparent;
  position: relative; overflow: hidden;
  text-align: center;
}
.access-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 900px; height: 900px; border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 60% 40%, rgba(124,92,255,0.14) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  animation: accessPulse 8s ease-in-out infinite;
}
@keyframes accessPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.85; }
  50%     { transform: translate(-50%,-50%) scale(1.08); opacity: 1; }
}

.access-inner {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.access-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 24px; margin-top: 16px;
}
.access-sub {
  font-size: 1.05rem; font-weight: 300; color: var(--ink-3);
  max-width: 540px; line-height: 1.75; margin-bottom: 48px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT BLOCKS
   ═══════════════════════════════════════════════════════════ */
.contact-blocks {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.contact-block {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid var(--glass-bd);
  border-radius: 14px;
  padding: 18px 26px;
  min-width: 260px;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.contact-block::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit; padding: 1px;
  background: var(--grad-card-bd);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.contact-block:hover {
  background: var(--bg-card-h);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,212,255,0.18);
}
.contact-block:hover::before { opacity: 1; }

.contact-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,212,255,0.25);
  border-radius: 10px;
  background: rgba(0,212,255,0.06);
  color: var(--cyan-soft);
  transition: all 0.3s;
}
.contact-icon svg { width: 17px; height: 17px; }
.contact-block:hover .contact-icon {
  border-color: rgba(0,212,255,0.6);
  background: rgba(0,212,255,0.14);
  color: var(--ink);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}

.contact-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.contact-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-4);
}
.contact-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.92rem; font-weight: 500;
  color: var(--ink); letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: linear-gradient(180deg, transparent 0%, var(--bg-deep) 100%);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: var(--grad-line); opacity: 0.6;
}

.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
  gap: 40px; flex-wrap: wrap;
}
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; max-width: 380px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-img {
  height: 22px; width: auto; display: block;
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0,212,255,0.4));
  opacity: 0.85;
}
.footer-desc {
  font-size: 0.82rem; font-weight: 300;
  color: var(--ink-4); line-height: 1.7;
}
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact-link {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.06em;
  color: var(--ink-3); transition: color 0.2s;
}
.footer-contact-link:hover { color: var(--cyan); text-shadow: 0 0 8px rgba(0,212,255,0.4); }

.footer-nav { display: flex; gap: 36px; flex-wrap: wrap; }
.footer-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-4); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--ink); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px; flex-wrap: wrap;
}
.footer-bottom span {
  font-size: 0.76rem; color: var(--ink-5);
  font-family: 'Inter', sans-serif;
}
.footer-legal { display: flex; align-items: center; gap: 14px; }
.footer-legal a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--ink-5);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--ink-2); }
.footer-legal > span { color: var(--ink-6); font-size: 0.65rem; }
.footer-status {
  font-family: 'Space Mono', monospace;
  color: var(--cyan) !important;
  filter: drop-shadow(0 0 6px rgba(0,212,255,0.5));
}

/* ═══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(4,6,13,0.78);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }

.modal-card {
  position: relative;
  width: 100%; max-width: 480px;
  background: var(--bg-card-h);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
          backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: var(--r);
  padding: 48px 44px 40px;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.35s ease;
  opacity: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(0,212,255,0.18),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
.modal-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-line);
  border-radius: inherit;
}
.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute; top: 18px; right: 20px;
  background: none; border: none; cursor: none;
  color: var(--ink-5); font-size: 0.85rem;
  transition: color 0.2s, transform 0.2s;
  line-height: 1; padding: 4px;
}
.modal-close:hover { color: var(--ink); transform: rotate(90deg); }

.modal-header { margin-bottom: 32px; }
.modal-header .section-label { display: inline-flex; margin-bottom: 10px; }
.modal-sub {
  font-size: 0.92rem; font-weight: 300;
  color: var(--ink-3); line-height: 1.6;
}

/* ─── FORM FIELDS ─── */
.modal-form { display: flex; flex-direction: column; gap: 14px; }
.field-group { position: relative; }

.modal-form input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 400;
  color: var(--ink); outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.modal-form input::placeholder { color: var(--ink-5); }
.modal-form input:focus {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

/* ─── DROPDOWN ─── */
.field-dd-wrap { position: relative; }
.field-dd-btn {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-sm);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 400;
  color: var(--ink-5); text-align: left;
  cursor: none; outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.2s, box-shadow 0.25s ease;
}
.field-dd-btn.filled  { color: var(--ink); }
.field-dd-btn:focus,
.field-dd-btn[aria-expanded="true"] {
  border-color: rgba(0,212,255,0.5);
  background: rgba(0,212,255,0.04);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}

.field-dd-arrow {
  display: flex; align-items: center; flex-shrink: 0;
  color: var(--ink-5);
  transition: transform 0.25s ease;
}
.field-dd-arrow svg { width: 10px; height: 10px; }
.field-dd-btn[aria-expanded="true"] .field-dd-arrow { transform: rotate(180deg); }

.field-dd-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0;
  background: rgba(15,21,40,0.96);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: var(--r-sm);
  padding: 6px 0; list-style: none;
  z-index: 50;
  box-shadow: 0 16px 48px rgba(0,0,0,0.7), 0 0 24px rgba(0,212,255,0.12);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.16,1,0.3,1);
}
.field-dd-list.open { opacity: 1; pointer-events: all; transform: translateY(0); }

.field-dd-opt {
  padding: 12px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 400;
  color: var(--ink-3);
  cursor: none;
  transition: background 0.15s, color 0.15s;
  -webkit-user-select: none; user-select: none;
}
.field-dd-opt:hover {
  background: rgba(0,212,255,0.08);
  color: var(--ink);
}
.field-dd-opt.selected {
  background: rgba(0,212,255,0.06);
  color: var(--ink);
}

.field-group.error input,
.field-group.error .field-dd-btn { border-color: rgba(255,80,80,0.5); }

.modal-submit {
  width: 100%; justify-content: center;
  margin-top: 6px; padding: 16px;
  font-size: 0.88rem; border-radius: 999px;
  cursor: none;
}

.modal-disclaimer {
  text-align: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.1em;
  color: var(--gold-soft); opacity: 0.55;
  margin-top: 8px;
}
.modal-consent {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; line-height: 1.55;
  color: var(--ink-5);
  margin-top: 6px;
}
.modal-consent a {
  color: var(--cyan-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(0,212,255,0.3);
  transition: color 0.2s;
}
.modal-consent a:hover { color: var(--ink); }

.modal-success {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 16px;
  min-height: 200px;
}
.modal-success.visible { display: flex; }
.modal-form-wrap.hidden { display: none; }

.success-icon {
  font-size: 2.6rem;
  background: var(--grad-accent);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0,212,255,0.5));
  animation: successPulse 2s ease-in-out infinite;
}
@keyframes successPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: 0.7; transform: scale(1.08); }
}
.modal-success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.modal-success p { font-size: 0.92rem; color: var(--ink-3); }

/* ─── CONSENT CHECKBOX ─── */
.field-consent {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; padding: 2px 0;
}
.field-consent input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.field-consent-box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border: 1px solid var(--line-3);
  border-radius: 4px;
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  margin-top: 1px;
}
.field-consent-box::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0; transition: opacity 0.15s;
}
.field-consent input[type="checkbox"]:checked ~ .field-consent-box {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.08);
  box-shadow: 0 0 12px rgba(0,212,255,0.3);
}
.field-consent input[type="checkbox"]:checked ~ .field-consent-box::after {
  opacity: 1;
}
.field-consent-text {
  font-size: 0.78rem; font-weight: 300;
  color: var(--ink-5); line-height: 1.55;
}
.field-consent.error .field-consent-box { border-color: rgba(255,80,80,0.6); }
.field-consent.shake { animation: shake 0.35s ease; }

/* ─── FIELD SHAKE ─── */
.field-group.error input,
.field-group.error select { border-color: rgba(255,80,80,0.5); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%,60% { transform: translateX(-5px); }
  40%,80% { transform: translateX(5px); }
}
.field-group.shake { animation: shake 0.35s ease; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .infra-grid { grid-template-columns: 1fr; gap: 14px; }
  .vision-inner { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { gap: 0; }
  .stat { min-width: 140px; }
  .intel-steps { flex-direction: column; gap: 14px; }
  .intel-connector { display: none; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-panel.open { max-height: 280px; }
  .aurora-orb { filter: blur(90px); opacity: 0.75; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 16px; gap: 10px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-actions { gap: 12px; }
  .nav-logo-img { height: 26px; width: 26px; }
  .logo-name { display: none; } /* free up space on small phones */

  /* Compact language pill on mobile */
  .lang-current {
    padding: 5px 10px 5px 7px;
    gap: 5px;
  }
  .lang-current .flag,
  .lang-opt .flag {
    width: 20px; height: 14px;
  }
  .lang-chevron { width: 8px; height: 5px; }

  /* Lang dropdown: ensure it fits the viewport */
  .lang-dropdown {
    right: 0;
    min-width: 150px;
    max-width: calc(100vw - 24px);
  }

  .hero-title { font-size: 2.1rem; }
  .hero-sub { font-size: 0.95rem; }
  .br-desktop { display: none; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-values { gap: 8px; }
  .stats-row { flex-wrap: wrap; }
  .stat-div { display: none; }
  .stat { flex: 0 0 50%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-brand-col { max-width: 100%; }
  .footer-nav { gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: 10px; }
  .srv-grid { grid-template-columns: 1fr; }
  .srv-panel.open { max-height: 320px; }
  .infra-section, .services-section, .intel-section { padding: 80px 0; }
  .vision-section, .access-section { padding: 100px 0; }

  /* Reduce intense edge glows on small viewports — they overlap and darken everything */
  .section-light {
    box-shadow:
      inset 0  40px 70px -35px rgba(0,180,255,0.22),
      inset 0 -40px 70px -35px rgba(0,180,255,0.22);
  }
  .section-navy {
    box-shadow:
      inset 0  40px 70px -35px rgba(0,212,255,0.22),
      inset 0 -40px 70px -35px rgba(0,212,255,0.22);
  }

  /* Section-light watermarks: dial down on mobile (less busy) */
  .section-light::before { opacity: 0.05; -webkit-mask-size: auto 90%; mask-size: auto 90%; }
  .section-light .container::before { display: none; }

  /* Section-navy watermarks similarly */
  .section-navy::before { opacity: 0.07; }
  .section-navy .container::before { display: none; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .aurora-orb, .access-glow, .title-accent { animation: none !important; }
  .reveal { transition-duration: 0.3s; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHT SECTIONS — AURORA LUMEN (luxury cream / ivory)
   ═══════════════════════════════════════════════════════════ */

:root {
  --light-bg-1:    #fbfaf6;
  --light-bg-2:    #f4f1ea;
  --light-bg-3:    #ecead9;
  --light-ink:     #0a0e1a;
  --light-ink-2:   #2a2f44;
  --light-ink-3:   #4a5167;
  --light-ink-4:   #6e7895;
  --light-ink-5:   rgba(10,14,26,0.40);
  --light-ink-6:   rgba(10,14,26,0.18);
  --light-line:    rgba(10,14,26,0.08);
  --light-line-2:  rgba(10,14,26,0.14);

  --grad-title-light:  linear-gradient(120deg, #0a0e1a 0%, #1a3a5e 28%, #0099cc 55%, #6c4ee0 78%, #b89455 100%);
  --grad-card-bd-light: linear-gradient(135deg, rgba(0,180,220,0.55) 0%, rgba(124,92,255,0.4) 50%, rgba(180,148,85,0.25) 100%);
}

/* ─── Section base (light) ─── */
.section-light {
  background: linear-gradient(180deg, var(--light-bg-1) 0%, var(--light-bg-2) 100%);
  color: var(--light-ink);
  position: relative;
  overflow: hidden;
}

/* Tech-blueprint watermark — futuristic luxury */
.section-light::before {
  content: '';
  position: absolute; inset: 0;
  background-color: var(--light-ink);
  -webkit-mask-image: url('assets/img/tech-bg.svg');
          mask-image: url('assets/img/tech-bg.svg');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 92% 50%;
          mask-position: 92% 50%;
  -webkit-mask-size: auto 115%;
          mask-size: auto 115%;
  opacity: 0.075;
  pointer-events: none;
  z-index: 0;
}

/* Optional logo accent on opposite side */
.section-light .container::before {
  content: '';
  position: absolute;
  top: 50%; left: -120px;
  transform: translateY(-50%);
  width: 220px; height: 220px;
  background-image: url('assets/img/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.04;
  filter: brightness(0) saturate(100%);
  pointer-events: none;
  z-index: 0;
}

/* Pastel ambient orbs (cyan + violet) inside light sections */
.section-light::after {
  content: '';
  position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,180,220,0.18) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(124,92,255,0.14) 0%, transparent 60%);
  filter: blur(90px);
  top: -180px; left: -200px;
  pointer-events: none;
  z-index: 0;
}

.section-light .container {
  position: relative; z-index: 2;
}

/* Lattice (Core Infrastructure): tech watermark right, logo left */
.section-light.infra-section::before {
  -webkit-mask-position: 95% 50%;
          mask-position: 95% 50%;
}

/* Services: tech watermark, vary position for variety */
.section-light.services-section::before {
  -webkit-mask-position: 5% 50%;
          mask-position: 5% 50%;
  -webkit-mask-size: auto 100%;
          mask-size: auto 100%;
}
.section-light.services-section .container::before {
  left: auto; right: -120px;
}

/* Intelligence Protocol: tech watermark center-bottom */
.section-light.intel-section::before {
  -webkit-mask-position: 50% 110%;
          mask-position: 50% 110%;
  -webkit-mask-size: auto 130%;
          mask-size: auto 130%;
  opacity: 0.06;
}
.section-light.intel-section .container::before { display: none; }

/* Intelligence: orb on the right */
.section-light.intel-section::after {
  top: 30%; left: auto; right: -200px;
  background:
    radial-gradient(circle at 50% 50%, rgba(124,92,255,0.16) 0%, transparent 60%);
}

/* ─── Light text colors ─── */
.section-light .section-title { color: var(--light-ink); }
.section-light .section-label { color: var(--cyan-deep); }
.section-light .section-label::before {
  background: var(--cyan-deep);
  box-shadow: 0 0 6px rgba(0,153,204,0.4);
}

.section-light .infra-lead {
  color: var(--light-ink-2);
}

/* Title accent gradient on light bg */
.section-light .title-accent {
  background: var(--grad-title-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0,153,204,0.18));
}

/* ─── Light cards (Lattice / Services / Intelligence) ─── */
.section-light .infra-card,
.section-light .srv-card,
.section-light .intel-step {
  background: rgba(255,255,255,0.78);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--light-line);
  box-shadow:
    0 10px 36px rgba(10,14,26,0.06),
    0 1px 0 rgba(255,255,255,0.9) inset,
    0 0 0 1px rgba(255,255,255,0.4);
}
.section-light .infra-card:hover,
.section-light .srv-card:hover,
.section-light .intel-step:hover {
  background: rgba(255,255,255,0.95);
  border-color: transparent;
  box-shadow:
    0 20px 56px rgba(0,180,220,0.18),
    0 0 0 1px rgba(0,180,220,0.22),
    0 1px 0 rgba(255,255,255,0.95) inset;
}
.section-light .srv-card.active {
  background: rgba(255,255,255,0.96);
  border-color: transparent;
  box-shadow:
    0 0 0 1px rgba(0,180,220,0.36),
    0 18px 50px rgba(0,180,220,0.20),
    0 1px 0 rgba(255,255,255,0.95) inset;
}

/* Gradient border on hover */
.section-light .infra-card::before,
.section-light .srv-card::before,
.section-light .contact-block::before {
  background: var(--grad-card-bd-light);
}

.section-light .infra-card::after {
  background: linear-gradient(90deg, var(--cyan-deep), var(--violet));
}

/* Card text */
.section-light .infra-card h3,
.section-light .srv-title,
.section-light .step-body h3,
.section-light .vision-title { color: var(--light-ink); }

.section-light .infra-card p,
.section-light .srv-micro,
.section-light .step-body p,
.section-light .vision-text { color: var(--light-ink-3); }

/* Numbers/labels inside cards */
.section-light .infra-num { color: var(--cyan-deep); opacity: 0.95; }
.section-light .srv-num   { color: var(--light-ink-5); }
.section-light .step-num  { color: var(--cyan-deep); opacity: 1; }

/* Card arrow */
.section-light .card-arrow {
  background: linear-gradient(120deg, var(--cyan-deep), var(--violet));
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Service icon wrap */
.section-light .srv-icon-wrap {
  border-color: rgba(0,153,204,0.28);
  background: rgba(0,212,255,0.08);
  color: var(--cyan-deep);
}
.section-light .srv-card:hover .srv-icon-wrap,
.section-light .srv-card.active .srv-icon-wrap {
  border-color: rgba(0,153,204,0.55);
  background: rgba(0,212,255,0.16);
  color: var(--cyan-deep);
  box-shadow: 0 0 18px rgba(0,180,220,0.28);
}
.section-light .srv-deco        { color: rgba(10,14,26,0.10); }
.section-light .srv-card:hover .srv-deco  { color: rgba(124,92,255,0.4); }
.section-light .srv-card.active .srv-deco { color: rgba(0,153,204,0.5); }

/* Service toggle */
.section-light .srv-toggle {
  border-color: rgba(0,153,204,0.32);
  color: var(--cyan-deep);
}
.section-light .srv-card:hover .srv-toggle {
  border-color: rgba(0,153,204,0.55);
  color: var(--cyan-deep);
}
.section-light .srv-card.active .srv-toggle {
  border-color: var(--cyan-deep);
  background: rgba(0,212,255,0.1);
  color: var(--cyan-deep);
  box-shadow: 0 0 12px rgba(0,180,220,0.32);
}

/* Service expanded panel */
.section-light .srv-panel-inner {
  background: rgba(255,255,255,0.92);
  border-color: rgba(0,153,204,0.28);
  box-shadow: 0 10px 30px rgba(0,180,220,0.12);
}
.section-light .srv-panel-text  { color: var(--light-ink-2); }
.section-light .srv-panel-close { color: var(--light-ink-5); }
.section-light .srv-panel-close:hover { color: var(--light-ink); }
.section-light .srv-panel-cta {
  background: var(--light-ink);
  color: #fff;
  border-color: var(--light-ink);
}
.section-light .srv-panel-cta:hover {
  background: transparent;
  color: var(--light-ink);
  border-color: var(--light-ink);
  box-shadow: 0 6px 20px rgba(10,14,26,0.12);
}

.section-light .srv-hint { color: var(--light-ink-5); }

/* ─── Stats on light ─── */
.section-light.stats-section {
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  background: linear-gradient(180deg, var(--light-bg-2) 0%, var(--light-bg-1) 100%);
}
.section-light.stats-section::before { z-index: 0; }
.section-light .stat-main {
  background: var(--grad-title-light);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(0,153,204,0.15));
}
.section-light .stat-desc { color: var(--light-ink-4); }
.section-light .stat-div {
  background: linear-gradient(180deg, transparent, rgba(0,153,204,0.4), transparent);
  opacity: 0.6;
}

/* Stats edge glow lines */
.section-light.stats-section::after {
  display: block;
  content: '';
  position: absolute;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,153,204,0.4), rgba(124,92,255,0.4), transparent);
  top: -1px; left: 0;
  border-radius: 0;
  filter: none;
  pointer-events: none;
}

/* ─── Vision (light) ─── */
.section-light.vision-section .vision-bg-grid {
  background-image:
    linear-gradient(rgba(10,14,26,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,14,26,0.05) 1px, transparent 1px);
}
.section-light.vision-section .vision-tag { border-top-color: var(--light-line); }
.section-light.vision-section .vision-tag::before {
  background: linear-gradient(90deg, var(--cyan-deep), var(--violet));
}
.section-light.vision-section .vision-tag .mono {
  color: #b89455;
  opacity: 1;
}

/* ─── Intelligence Protocol (light) ─── */
.section-light.intel-section .intel-step::before {
  background: linear-gradient(90deg, var(--cyan-deep), var(--violet));
  opacity: 0.5;
}
.section-light.intel-section .intel-step:hover::before { opacity: 1; }
.section-light.intel-section .intel-connector::before {
  color: var(--cyan-deep);
  filter: drop-shadow(0 0 4px rgba(0,180,220,0.4));
}

/* ─── Section dividers between dark/light transitions ─── */
.section-light + .section-light {
  border-top: 1px solid var(--light-line);
}

/* ─── EDGE GLOW: cyan/violet light diffusing across section seams ─── */
.section-light {
  box-shadow:
    inset 0  70px 110px -50px rgba(0,180,255,0.32),
    inset 0 -70px 110px -50px rgba(0,180,255,0.32),
    inset 0  130px 180px -100px rgba(124,92,255,0.22),
    inset 0 -130px 180px -100px rgba(124,92,255,0.22);
}

/* ═══════════════════════════════════════════════════════════
   NAVY SECTIONS — luxury midnight blue (between light and dark)
   ═══════════════════════════════════════════════════════════ */

:root {
  --navy-bg-1:   #0e1d3a;
  --navy-bg-2:   #142950;
  --navy-bg-3:   #1a3260;
  --navy-line:   rgba(0,212,255,0.12);
}

.section-navy {
  background:
    linear-gradient(160deg, var(--navy-bg-1) 0%, var(--navy-bg-2) 50%, var(--navy-bg-1) 100%);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  /* Cyan light bleeding outward at the navy↔light seam */
  box-shadow:
    inset 0  70px 110px -50px rgba(0,212,255,0.30),
    inset 0 -70px 110px -50px rgba(0,212,255,0.30),
    inset 0  130px 180px -100px rgba(124,92,255,0.22),
    inset 0 -130px 180px -100px rgba(124,92,255,0.22);
}

/* Top + bottom edge glow lines */
.section-navy::before {
  content: '';
  position: absolute; inset: 0;
  background-color: var(--cyan-soft);
  -webkit-mask-image: url('assets/img/tech-bg.svg');
          mask-image: url('assets/img/tech-bg.svg');
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: 95% 50%;
          mask-position: 95% 50%;
  -webkit-mask-size: auto 115%;
          mask-size: auto 115%;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}

/* Navy ambient orbs — more luminous than light sections */
.section-navy::after {
  content: '';
  position: absolute;
  width: 900px; height: 900px; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,212,255,0.22) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(124,92,255,0.18) 0%, transparent 60%);
  filter: blur(110px);
  top: -260px; left: -260px;
  pointer-events: none;
  z-index: 0;
}

.section-navy .container {
  position: relative; z-index: 2;
}

/* Logo accent on opposite corner */
.section-navy .container::before {
  content: '';
  position: absolute;
  top: 50%; left: -120px;
  transform: translateY(-50%);
  width: 220px; height: 220px;
  background-image: url('assets/img/logo.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.06;
  filter: brightness(0) invert(1);
  pointer-events: none;
  z-index: 0;
}

/* Top + bottom edge gradient lines */
.section-navy {
  position: relative;
}

/* Stats variant — short impactful navy strip */
.section-navy.stats-section {
  padding: 90px 0;
  background:
    linear-gradient(180deg, var(--navy-bg-2) 0%, var(--navy-bg-1) 100%);
}
.section-navy.stats-section::before {
  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
  -webkit-mask-size: auto 200%;
          mask-size: auto 200%;
  opacity: 0.08;
}
.section-navy.stats-section::after {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1200px; height: 600px; border-radius: 50%;
}
.section-navy.stats-section .container::before { display: none; }

/* Vision variant — calmer, deeper */
.section-navy.vision-section {
  padding: 160px 0;
}
.section-navy.vision-section::before {
  -webkit-mask-position: 8% 90%;
          mask-position: 8% 90%;
  -webkit-mask-size: auto 100%;
          mask-size: auto 100%;
  opacity: 0.09;
}
.section-navy.vision-section::after {
  top: auto; bottom: -260px; left: auto; right: -260px;
  background:
    radial-gradient(circle at 30% 30%, rgba(124,92,255,0.20) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(212,181,114,0.14) 0%, transparent 60%);
}
.section-navy.vision-section .container::before {
  left: auto; right: -140px;
  opacity: 0.05;
}

/* ─── Navy text ─── */
.section-navy .section-title { color: var(--ink); }
.section-navy .section-label { color: var(--cyan-soft); }
.section-navy .section-label::before {
  background: var(--cyan-soft);
  box-shadow: 0 0 8px var(--cyan);
}

.section-navy .infra-lead { color: var(--ink-2); }

/* Title accent: brilliant gradient on navy */
.section-navy .title-accent {
  background: var(--grad-title);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0,212,255,0.35));
}

/* ─── Stats on navy (matches dark stat-main style) ─── */
.section-navy .stat-main {
  background: var(--grad-title);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0,212,255,0.3));
}
.section-navy .stat-desc { color: var(--cyan-soft); opacity: 0.85; }
.section-navy .stat-div {
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.5), transparent);
  opacity: 0.7;
}

/* ─── Vision on navy ─── */
.section-navy .vision-bg-grid {
  background-image:
    linear-gradient(rgba(0,212,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.05) 1px, transparent 1px);
}
.section-navy .vision-title { color: var(--ink); }
.section-navy .vision-text { color: var(--ink-3); }
.section-navy .vision-tag { border-top-color: rgba(0,212,255,0.18); }
.section-navy .vision-tag::before {
  background: var(--grad-accent);
}
.section-navy .vision-tag .mono {
  color: var(--gold-soft);
  opacity: 1;
}

/* ─── Mouse-follow glow on navy vision ─── */
.section-navy.vision-section::before {
  /* keep tech watermark, the glow is on its own layer below */
}
.section-navy.vision-section {
  --mx: 50%; --my: 50%;
}

/* Cleaner transitions */
.section-light + .section-navy,
.section-navy + .section-light {
  border-top: none;
}

/* ═══════════════════════════════════════════════════════════
   VISION TEAM IMAGE — image edges dissolve to transparent (revealing navy bg)
   ═══════════════════════════════════════════════════════════ */
.vision-image {
  position: relative;
  display: block;
  margin-top: 44px;
  margin-right: -40px;
  width: calc(100% + 40px);
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  z-index: 2;

  /* True alpha fade — pixels become transparent toward the edges */
  -webkit-mask-image: radial-gradient(ellipse 95% 92% at center, black 22%, transparent 100%);
          mask-image: radial-gradient(ellipse 95% 92% at center, black 22%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;

  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.vision-image:hover {
  transform: translateY(-3px) scale(1.01);
}

@media (max-width: 960px) {
  .vision-image {
    margin-right: 0;
    width: 100%;
  }
}
@media (max-width: 640px) {
  .vision-image {
    margin-top: 32px;
    aspect-ratio: 3 / 2; /* match the photo's natural ratio so nothing crops weird */
    /* Softer mask on mobile so the tiny image doesn't fade to nothing */
    -webkit-mask-image: radial-gradient(ellipse 100% 95% at center, black 35%, transparent 100%);
            mask-image: radial-gradient(ellipse 100% 95% at center, black 35%, transparent 100%);
  }
}


