/* =============================================
   AURBIT — Dual-Zone Design System
   Light ↑ ≈≈ Halocline ≈≈ ↓ Dark
   ============================================= */

:root {
  /* Dark luxury palette */
  --bg: #060c18;
  --bg2: #0a1225;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(0, 212, 255, 0.15);
  --cyan: #00d4ff;
  --violet: #7c3aed;
  --pink: #e040fb;
  --text: #e2eeff;
  --text-muted: #7a92b8;
  --nav-height: 78px;
  --glow: 0 0 30px rgba(0, 212, 255, 0.25);
  --glow-strong: 0 0 60px rgba(0, 212, 255, 0.4);

  /* Light original palette */
  --light-bg: #eaf2ff;
  --light-blue: #2563eb;
  --light-blue-dark: #1e3a8a;
  --light-blue-mid: #1e40af;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  /* No background color — each zone sets its own */
  background: var(--bg);
}

/* ── PARTICLE CANVAS (fixed, below everything) ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* =============================================
   NAVIGATION — morphs light → dark on scroll
   ============================================= */
#main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: var(--nav-height);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

/* Light state */
#main-nav.nav-light {
  background: white;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid transparent;
}

/* Dark state */
#main-nav.nav-dark {
  background: rgba(6, 12, 24, 0.85);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid transparent;
}

/* Logo pieces */
.nav-logo-light {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.4s ease;
}
.nav-logo-img { width: 110px; height: 50px; }
.nav-wordmark-light {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--light-blue-dark);
}

.nav-logo-dark {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  left: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.logo-text {
  font-family: '', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--cyan), #fff 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: 4px;
  padding: 2px 6px;
  opacity: 0.8;
}

/* Nav dark → swap logos */
#main-nav.nav-dark .nav-logo-light { opacity: 0; pointer-events: none; }
#main-nav.nav-dark .nav-logo-dark { opacity: 1; pointer-events: auto; }

/* Nav links */
#main-nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0; padding: 0;
}

.nav-light #nav-links li a {
  text-decoration: none;
  color: var(--light-blue-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 8px 12px;
  display: block;
  transition: color 0.2s;
}
.nav-light #nav-links li a:hover { color: var(--light-blue); border-bottom: 2px solid var(--light-blue); }

.nav-dark #nav-links li a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  padding: 8px 12px;
  transition: all 0.25s;
}
.nav-dark #nav-links li a:hover { color: var(--text); background: var(--surface); }

.nav-dark .nav-contact-link {
  background: linear-gradient(135deg, var(--cyan), var(--violet)) !important;
  color: white !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }


/* =============================================
   ☀️  LIGHT ZONE  —  original design
   ============================================= */
.light-zone {
  position: relative;
  z-index: 2;
  background: var(--light-bg);
  color: var(--light-blue-dark);
}

/* Animated diagonal grid */
.light-grid-anim {
  position: absolute !important;
  inset: 0;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(37, 99, 235, 0.25) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(37, 99, 235, 0.25) 1px, transparent 1px);
  animation: moveGrid 20s linear infinite;
  pointer-events: none;
  z-index: 0 !important;
}

@keyframes moveGrid {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 60px 60px, 60px 60px; }
}

.light-zone section,
.light-zone h1,
.light-zone h2,
.light-zone p,
.light-zone div:not(.light-grid-anim) {
  position: relative;
  z-index: 1;
}

/* Original hero */
.hero-light {
  text-align: center;
  padding: calc(var(--nav-height) + 80px) 20px 100px;
}
.hero-light h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 6vw, 52px);
  color: var(--light-blue-dark);
  margin-bottom: 25px;
  line-height: 1.2;
}
.hero-light p {
  max-width: 650px;
  margin: 0 auto 35px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--light-blue-mid);
  font-family: 'Inter', sans-serif;
}

/* Original light button */
.btn-light-primary {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--light-blue);
  color: white;
  transition: all 0.3s ease;
}
.btn-light-primary:hover {
  background: var(--light-blue-dark);
  transform: translateY(-3px);
}

/* Original section title */
.section-title-light {
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
  color: var(--light-blue-dark);
}

/* Image slider section */
.image-section-light {
  padding: 60px 20px;
}

/* Slider (shared by both zones - works for light too) */
.slider-container-light {
  position: relative;
  width: 900px;
  max-width: 95%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(30, 64, 175, 0.2);
}

.slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.slider img {
  width: 100%;
  flex: 0 0 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px;
}

/* Slider buttons — adapt to zone */
.light-zone .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--light-blue);
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 22px;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.light-zone .slider-btn:hover { background: var(--light-blue-dark); }
.slider-btn.left { left: 15px; }
.slider-btn.right { right: 15px; }

/* Indicators */
.slider-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.light-zone .slider-indicators .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}
.light-zone .slider-indicators .dot.active { background: var(--light-blue); }

/* Original why section */
.why-light {
  padding: 60px 20px 100px;
}
.card-light {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(30, 64, 175, 0.15);
}
.card-light p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--light-blue-mid);
  font-family: 'Inter', sans-serif;
}


/* =============================================
   🌊  HALOCLINE ZONE  —  the mixing boundary
   ============================================= */
.halocline-zone {
  position: relative;
  z-index: 3;           /* sits above the dark bg canvas */
  height: 420px;
  overflow: hidden;
  pointer-events: none;
}

/* Light blue fades downward */
.halo-fade-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(
    to bottom,
    var(--light-bg) 0%,
    rgba(180, 214, 255, 0.7) 40%,
    rgba(100, 160, 255, 0.3) 70%,
    transparent 100%
  );
  z-index: 2;
}

/* Dark rises upward */
.halo-fade-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 55%;
  background: linear-gradient(
    to top,
    var(--bg) 0%,
    rgba(6, 12, 24, 0.9) 40%,
    rgba(6, 20, 50, 0.5) 70%,
    transparent 100%
  );
  z-index: 2;
}

/* The mixing interface layer */
.halo-interface {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Wave canvas */
#halo-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* THE SHIMMER LINE — the actual halocline boundary */
.halo-shimmer-line { display: none; /* removed — looks like a flat line */
  position: absolute;
  top: 50%;
  left: -10%;
  right: -10%;
  height: 2px;
  z-index: 5;
  transform: translateY(-50%);
  overflow: visible;
}

.halo-shimmer-glow {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 212, 255, 0.4) 10%,
    rgba(0, 212, 255, 0.9) 30%,
    white 50%,
    rgba(0, 212, 255, 0.9) 70%,
    rgba(0, 212, 255, 0.4) 90%,
    transparent 100%
  );
  animation: shimmerSweep 4s ease-in-out infinite;
  box-shadow:
    0 0 8px rgba(0, 212, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.5),
    0 0 50px rgba(0, 212, 255, 0.2);
  border-radius: 2px;
}

@keyframes shimmerSweep {
  0%   { transform: scaleX(1) translateX(0); opacity: 0.7; }
  25%  { opacity: 1; }
  50%  { transform: scaleX(1.02) translateX(1%); opacity: 0.85; }
  75%  { opacity: 1; }
  100% { transform: scaleX(1) translateX(0); opacity: 0.7; }
}

/* Undulating wave effect on the shimmer line itself */
.halo-shimmer-line { display: none; /* removed — looks like a flat line */
  animation: waveFloat 6s ease-in-out infinite;
}

@keyframes waveFloat {
  0%   { top: 48%; }
  25%  { top: 51%; }
  50%  { top: 49.5%; }
  75%  { top: 50.5%; }
  100% { top: 48%; }
}

/* Floating micro-particles in the mixing zone */
.halo-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.hp {
  position: absolute;
  border-radius: 50%;
  background: var(--cyan);
  animation: hpFloat linear infinite;
  opacity: 0;
}

.hp1  { width:3px;  height:3px;  left:8%;   animation-duration:8s;  animation-delay:0s;   top:60%; }
.hp2  { width:2px;  height:2px;  left:18%;  animation-duration:11s; animation-delay:1s;   top:55%; }
.hp3  { width:4px;  height:4px;  left:28%;  animation-duration:9s;  animation-delay:2s;   top:65%; }
.hp4  { width:2px;  height:2px;  left:38%;  animation-duration:13s; animation-delay:0.5s; top:50%; }
.hp5  { width:3px;  height:3px;  left:48%;  animation-duration:7s;  animation-delay:3s;   top:58%; background: #fff; }
.hp6  { width:2px;  height:2px;  left:58%;  animation-duration:10s; animation-delay:1.5s; top:62%; }
.hp7  { width:3px;  height:3px;  left:68%;  animation-duration:12s; animation-delay:0.8s; top:45%; background: var(--violet); }
.hp8  { width:2px;  height:2px;  left:78%;  animation-duration:8s;  animation-delay:2.5s; top:55%; }
.hp9  { width:4px;  height:4px;  left:88%;  animation-duration:9s;  animation-delay:1.2s; top:68%; }
.hp10 { width:2px;  height:2px;  left:55%;  animation-duration:14s; animation-delay:0.3s; top:42%; background: rgba(37, 99, 235, 0.8); }

@keyframes hpFloat {
  0%   { transform: translateY(0)   translateX(0);   opacity: 0; }
  10%  { opacity: 0.7; }
  50%  { transform: translateY(-60px) translateX(15px); opacity: 0.9; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-120px) translateX(-5px); opacity: 0; }
}

/* Label text at the boundary */
.halo-label-wrap {
  position: relative;
  z-index: 6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(20px);
}

.halo-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.7);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.halo-title-text {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(180,220,255,0.9), rgba(0,212,255,0.9), rgba(180,220,255,0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

/* Refraction blur — simulates light bending at the halocline */
.halo-interface::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 0; right: 0;
  height: 80px;
  backdrop-filter: blur(4px) brightness(1.05);
  -webkit-backdrop-filter: blur(4px) brightness(1.05);
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5) 30%, rgba(0,0,0,0.5) 70%, transparent);
}


/* =============================================
   🌑  DARK ZONE  —  luxury design
   ============================================= */
.dark-zone {
  position: relative;
  z-index: 1;
  /* canvas shows through since no background set here */
}

.dark-zone section,
.dark-zone footer,
.dark-zone .marquee-section {
  position: relative;
  z-index: 1;
}

/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink), var(--cyan));
  background-size: 200% 100%;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  padding: 14px 0;
}
.marquee-track span {
  padding: 0 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.65);
  font-family: 'DM Sans', sans-serif;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STATS ── */
.stats-section {
  padding: 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1100px;
  margin: auto;
}
.stat-item {
  padding: 50px 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--surface); }
.stat-number {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-family: 'DM Sans', sans-serif;
}

/* ── SECTION GLOBALS (dark zone) ── */
.dark-zone section { padding: 100px 20px; color: var(--text); }
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  display: block;
  font-family: 'DM Sans', sans-serif;
}
.section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
  font-family: 'DM Sans', sans-serif;
}
.section-header { margin-bottom: 70px; }
.section-header.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── FEATURES ── */
.features-section { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: auto;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,212,255,0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.35);
  box-shadow: var(--glow), 0 20px 60px rgba(0,0,0,0.4);
  background: var(--surface-hover);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.15), rgba(124,58,237,0.15));
  border: 1px solid rgba(0,212,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
}
.feature-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 12px;
}
.feature-card p { font-size: 15px; line-height: 1.7; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }

/* ── SPLIT SECTION ── */
.split-section { background: var(--bg); }
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-visual { position: relative; }
.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  position: relative;
}
.tech-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  border-radius: 20px 20px 0 0;
}
.tech-spec-list { margin-top: 24px; }
.tech-spec {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.tech-spec:last-child { border-bottom: none; }
.tech-spec-label { font-size: 14px; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.tech-spec-value { font-family: 'Rajdhani', sans-serif; font-size: 16px; font-weight: 600; color: var(--cyan); }
.corner-glow {
  position: absolute; bottom: -30px; right: -30px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(0,212,255,0.2), transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.benefit-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; gap: 18px; align-items: flex-start; }
.benefit-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cyan); margin-top: 6px; flex-shrink: 0;
  box-shadow: 0 0 10px var(--cyan);
}
.benefit-item h4 { font-family: 'Rajdhani', sans-serif; font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.benefit-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; font-family: 'DM Sans', sans-serif; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  transition: all 0.3s ease; cursor: pointer; border: none; position: relative; overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  color: white;
  box-shadow: 0 4px 24px rgba(0,212,255,0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(0,212,255,0.5); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border); backdrop-filter: blur(10px);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.05); transform: translateY(-3px); }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 60px 40px;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto 50px;
}
.footer-brand .logo-text { font-size: 22px; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: var(--text-muted); max-width: 280px; font-family: 'DM Sans', sans-serif; }
.footer-col h4 { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; font-family: 'DM Sans', sans-serif; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { text-decoration: none; color: var(--text-muted); font-size: 14px; transition: color 0.25s; font-family: 'DM Sans', sans-serif; }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1100px; margin: auto;
}
.footer-bottom p { font-size: 13px; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }
.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.stagger > *.visible { opacity: 1; transform: translateY(0); }

/* ── OTHER PAGES (non-home) ── */
.page-dark {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Hero for sub-pages */
.hero-sub {
  text-align: center;
  padding: calc(var(--nav-height) + 80px) 20px 80px;
  position: relative;
}
.hero-sub .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 28px;
  font-family: 'DM Sans', sans-serif;
}
.hero-sub .hero-eyebrow::before, .hero-sub .hero-eyebrow::after {
  content: ''; width: 40px; height: 1px; background: var(--cyan); opacity: 0.6;
}
.hero-sub h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(52px, 8vw, 90px); font-weight: 700; line-height: 0.95; margin-bottom: 24px;
}
.hero-sub h1 .line-white { display: block; color: var(--text); }
.hero-sub h1 .line-gradient {
  display: block;
  background: linear-gradient(135deg, var(--cyan), var(--violet) 60%, var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub p { max-width: 560px; margin: 0 auto; font-size: 17px; line-height: 1.75; color: var(--text-muted); font-family: 'DM Sans', sans-serif; }

/* Orbs for sub-pages */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.15; pointer-events: none; }
.orb-1 { width:500px;height:500px;background:var(--violet);top:0;left:-10%;animation:drift 12s ease-in-out infinite alternate; }
.orb-2 { width:400px;height:400px;background:var(--cyan);top:10%;right:-5%;animation:drift 15s ease-in-out infinite alternate-reverse; }
.orb-3 { width:300px;height:300px;background:var(--pink);bottom:0;left:30%;animation:drift 18s ease-in-out infinite alternate; }
@keyframes drift { 0%{transform:translate(0,0)scale(1)}100%{transform:translate(30px,-40px)scale(1.1)} }

/* Roadmap, prebuilts, about, contact styles */
.roadmap-section, .prebuilts-section, .features-section-sub { background: var(--bg); }
.prebuilts-section { background: var(--bg2); }

.roadmap-grid, .prebuilts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px; margin: auto;
}

.roadmap-card, .prebuilt-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden;
  transition: all 0.35s ease;
}
.roadmap-card:hover, .prebuilt-card:hover {
  border-color: rgba(0,212,255,0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.roadmap-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px; margin-bottom: 24px;
  font-family: 'DM Sans', sans-serif;
}
.status-planning  { color:#7a92b8; background:rgba(122,146,184,0.1); border:1px solid rgba(122,146,184,0.2); }
.status-progress  { color:var(--cyan); background:rgba(0,212,255,0.08); border:1px solid rgba(0,212,255,0.2); }
.status-upcoming  { color:var(--pink); background:rgba(224,64,251,0.08); border:1px solid rgba(224,64,251,0.2); }
.status-dot { width:6px;height:6px;border-radius:50%;background:currentColor; }
.status-progress .status-dot { animation:blink 1.5s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.3} }

.roadmap-phase { font-size:11px;color:var(--text-muted);letter-spacing:2px;text-transform:uppercase;margin-bottom:10px;font-family:'DM Sans',sans-serif; }
.roadmap-card h3, .prebuilt-card h3 { font-family:'Rajdhani',sans-serif;font-size:26px;font-weight:700;color:var(--text);margin-bottom:12px; }
.roadmap-card p, .prebuilt-card p { font-size:14px;line-height:1.7;color:var(--text-muted);font-family:'DM Sans',sans-serif; }
.roadmap-features { margin-top:24px;display:flex;flex-direction:column;gap:10px; }
.roadmap-feature { display:flex;align-items:center;gap:10px;font-size:14px;color:var(--text-muted);font-family:'DM Sans',sans-serif; }
.roadmap-feature::before { content:'';width:16px;height:1px;background:var(--cyan);flex-shrink:0; }

.prebuilt-card.featured { border-color:rgba(0,212,255,0.4); background:linear-gradient(135deg,rgba(0,212,255,0.06),rgba(124,58,237,0.04)); }
.prebuilt-card.featured::before {
  content:'FEATURED'; position:absolute; top:20px;right:20px;
  font-size:10px;font-weight:700;letter-spacing:2px;color:var(--cyan);
  background:rgba(0,212,255,0.1);border:1px solid rgba(0,212,255,0.3);padding:3px 10px;border-radius:20px;
  font-family:'DM Sans',sans-serif;
}
.prebuilt-tier { font-size:11px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--text-muted);margin-bottom:8px;font-family:'DM Sans',sans-serif; }
.prebuilt-specs { display:flex;flex-direction:column;gap:12px; }
.spec-row { display:flex;align-items:center;gap:12px;font-size:14px;font-family:'DM Sans',sans-serif; }
.spec-key { color:var(--text-muted);min-width:60px; }
.spec-val { color:var(--text);font-weight:500; }
.prebuilt-price { margin-top:28px;padding-top:24px;border-top:1px solid var(--border);font-family:'Rajdhani',sans-serif;font-size:36px;font-weight:700;background:linear-gradient(135deg,var(--cyan),var(--violet));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text; }
.prebuilt-price .price-note { font-size:14px;font-weight:400;color:var(--text-muted);-webkit-text-fill-color:var(--text-muted);display:block;margin-top:4px;font-family:'DM Sans',sans-serif; }

/* About page */
.about-grid { display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start;max-width:1100px;margin:0 auto 100px;padding:0 20px; }
.about-text { display:flex;flex-direction:column;gap:24px; }
.about-text p { font-size:16px;line-height:1.8;color:var(--text-muted);font-family:'DM Sans',sans-serif; }
.about-text p strong { color:var(--text);font-weight:600; }
.mission-panel { background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:40px;position:sticky;top:calc(var(--nav-height)+24px); }
.mission-panel h3 { font-family:'Rajdhani',sans-serif;font-size:22px;font-weight:700;color:var(--text);margin-bottom:20px; }
.values-list { display:flex;flex-direction:column;gap:16px; }
.value-item { display:flex;align-items:center;gap:14px;font-size:15px;color:var(--text-muted);font-family:'DM Sans',sans-serif; }
.value-item::before { content:'';width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,var(--cyan),var(--violet));flex-shrink:0; }

/* Contact page */
.contact-section { min-height:100vh;display:flex;align-items:center;padding:calc(var(--nav-height)+60px) 20px 80px; }
.contact-grid { display:grid;grid-template-columns:1fr 1.4fr;gap:60px;max-width:1000px;margin:auto;align-items:start; }
.contact-info h1 { font-family:'Rajdhani',sans-serif;font-size:52px;font-weight:700;line-height:1;color:var(--text);margin-bottom:20px; }
.contact-info p { font-size:16px;line-height:1.7;color:var(--text-muted);margin-bottom:48px;font-family:'DM Sans',sans-serif; }
.contact-links { display:flex;flex-direction:column;gap:16px; }
.contact-link { display:flex;align-items:center;gap:16px;padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:14px;transition:all 0.25s;text-decoration:none; }
.contact-link:hover { border-color:var(--cyan);background:var(--surface-hover); }
.contact-link-icon { width:42px;height:42px;border-radius:10px;background:linear-gradient(135deg,rgba(0,212,255,0.15),rgba(124,58,237,0.15));border:1px solid rgba(0,212,255,0.2);display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0; }
.contact-link-text { font-size:14px;color:var(--text-muted);font-family:'DM Sans',sans-serif; }
.contact-link-label { font-weight:600;color:var(--text);font-size:15px;margin-bottom:2px;font-family:'DM Sans',sans-serif; }
.contact-form-panel { background:var(--surface);border:1px solid var(--border);border-radius:24px;padding:44px; }
.contact-form-panel h2 { font-family:'Rajdhani',sans-serif;font-size:24px;font-weight:700;color:var(--text);margin-bottom:32px; }
.form-group { margin-bottom:20px; }
.form-group label { display:block;font-size:13px;font-weight:500;color:var(--text-muted);letter-spacing:0.5px;margin-bottom:8px;font-family:'DM Sans',sans-serif; }
.form-group input, .form-group textarea, .form-group select { width:100%;background:rgba(255,255,255,0.03);border:1px solid var(--border);border-radius:12px;padding:14px 18px;color:var(--text);font-family:'DM Sans',sans-serif;font-size:15px;transition:all 0.25s;outline:none; }
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(122,146,184,0.5); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color:var(--cyan);background:rgba(0,212,255,0.04);box-shadow:0 0 0 3px rgba(0,212,255,0.08); }
.form-group textarea { resize:vertical;min-height:120px; }
.form-row { display:grid;grid-template-columns:1fr 1fr;gap:16px; }
.form-submit { width:100%;margin-top:8px;justify-content:center; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  #main-nav { padding: 0 24px; }
  #nav-links { display:none;flex-direction:column;position:absolute;top:var(--nav-height);left:0;right:0;background:var(--bg2);padding:20px;border-bottom:1px solid var(--border);gap:4px; }
  #nav-links.open { display:flex; }
  .nav-toggle { display:flex; }
  .nav-logo-dark { left: 24px; }

  .hero-light h1 { font-size: 38px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right:none;border-bottom:1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right:1px solid var(--border); }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction:column;gap:12px;text-align:center; }
  .form-row { grid-template-columns: 1fr; }
  footer { padding: 40px 24px 30px; }
  .halocline-zone { height: 280px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
}

/* =============================================
   VERTICAL TIMELINE  (technology dark zone)
   ============================================= */
.timeline-section {
  padding: 100px 20px;
  background: var(--bg);
}

.timeline-wrap {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* The spine */
.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    rgba(0, 212, 255, 0.8) 0%,
    rgba(124, 58, 237, 0.6) 50%,
    rgba(224, 64, 251, 0.3) 85%,
    transparent 100%
  );
}

.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
}

.timeline-item:last-child { margin-bottom: 0; }

/* Node on the spine */
.timeline-node {
  flex-shrink: 0;
  width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  position: relative;
}

.timeline-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--cyan);
  background: var(--bg);
  position: relative;
  z-index: 2;
  margin-top: 4px;
  transition: all 0.3s;
  flex-shrink: 0;
}

.timeline-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.5);
  animation: nodePulse 2.5s ease-in-out infinite;
}

.timeline-dot.future-near { border-color: var(--violet); }
.timeline-dot.future-far  { border-color: rgba(122, 146, 184, 0.5); background: transparent; }

@keyframes nodePulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(0,212,255,0.15), 0 0 20px rgba(0,212,255,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(0,212,255,0.08), 0 0 35px rgba(0,212,255,0.7); }
}

.timeline-year {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.timeline-body {
  flex: 1;
  padding-top: 0;
}

.timeline-phase {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: 'DM Sans', sans-serif;
}

.timeline-body h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.1;
}

.timeline-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 16px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ttag {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'DM Sans', sans-serif;
}

.ttag-active  { background: rgba(0,212,255,0.1);  color: var(--cyan);     border: 1px solid rgba(0,212,255,0.25); }
.ttag-soon    { background: rgba(124,58,237,0.1); color: #a78bfa;          border: 1px solid rgba(124,58,237,0.25); }
.ttag-future  { background: rgba(122,146,184,0.08); color: var(--text-muted); border: 1px solid rgba(122,146,184,0.15); }

/* =============================================
   LIGHT ZONE — PREBUILT CARDS (tech page)
   ============================================= */
.prebuilts-light {
  padding: 80px 20px 100px;
}

.prebuilt-light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.prebuilt-light-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(30, 64, 175, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prebuilt-light-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--light-blue), #60a5fa);
}

.prebuilt-light-card.featured-light::before {
  background: linear-gradient(90deg, var(--light-blue-dark), var(--light-blue), #60a5fa);
}

.prebuilt-light-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(30, 64, 175, 0.2);
}

.prebuilt-light-tier {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.prebuilt-light-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--light-blue-dark);
  margin-bottom: 20px;
}

.spec-light {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  font-size: 14px;
}
.spec-light:last-of-type { border-bottom: none; }
.spec-light-key { color: #64748b; font-family: 'Inter', sans-serif; }
.spec-light-val { color: var(--light-blue-dark); font-weight: 600; font-family: 'Inter', sans-serif; }

.prebuilt-light-price {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(37, 99, 235, 0.12);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--light-blue);
}

.prebuilt-light-note {
  font-size: 13px;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  margin-top: 2px;
}

/* =============================================
   DARK ZONE VISION CARDS  (index, about)
   ============================================= */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.vision-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  transition: all 0.35s ease;
}
.vision-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0,212,255,0.3);
  box-shadow: var(--glow);
}

.vision-card-icon {
  font-size: 32px;
  margin-bottom: 20px;
  display: block;
}

.vision-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.vision-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
}

/* =============================================
   ABOUT — LIGHT ZONE  (current state)
   ============================================= */
.about-light-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

.about-light-intro {
  text-align: center;
  margin-bottom: 60px;
}

.about-light-intro h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--light-blue-dark);
  margin-bottom: 20px;
}

.about-light-intro p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--light-blue-mid);
  font-family: 'Inter', sans-serif;
}

.values-light-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.value-light-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(30, 64, 175, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.08);
}

.value-light-card .vl-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: rgba(37, 99, 235, 0.15);
  line-height: 1;
  margin-bottom: 10px;
}

.value-light-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--light-blue-dark);
  margin-bottom: 8px;
}

.value-light-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
  font-family: 'Inter', sans-serif;
}

/* =============================================
   CONTACT — FULL DARK MINIMAL
   ============================================= */
.contact-minimal {
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  z-index: 1;
}

.contact-minimal-hero {
  text-align: center;
  padding: calc(var(--nav-height) + 80px) 20px 60px;
}

.contact-minimal-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(44px, 7vw, 80px);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
}

.contact-minimal-hero p {
  font-size: 16px;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
}

/* =============================================
   HALOCLINE LABEL — per-page variant
   ============================================= */
.halo-label-wrap .halo-page-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(0, 212, 255, 0.5);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .timeline-wrap::before { left: 20px; }
  .timeline-node { width: 42px; }
  .timeline-item { gap: 24px; }
  .prebuilt-light-grid { grid-template-columns: 1fr; }
  .values-light-grid { grid-template-columns: 1fr 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .values-light-grid { grid-template-columns: 1fr; }
}
