/* ═══════════════════════════════════════════════════════════════════════
   NextAILabs — style.css
   Theme: Deep Obsidian · Neon Cyan · Electric Violet · Glassmorphism
════════════════════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  --bg-0:       #07070d;
  --bg-1:       #0a0a12;
  --bg-2:       #0d0d1a;
  --bg-3:       #111128;
  --cyan:       #00e5ff;
  --cyan-dim:   rgba(0, 229, 255, 0.15);
  --cyan-glow:  0 0 40px rgba(0, 229, 255, 0.25);
  --violet:     #8b5cf6;
  --violet-dim: rgba(139, 92, 246, 0.15);
  --violet-glow:0 0 40px rgba(139, 92, 246, 0.25);
  --green:      #22d3a0;
  --text-1:     #f0f4ff;
  --text-2:     #94a3b8;
  --text-3:     #475569;
  --glass-bg:   rgba(255, 255, 255, 0.03);
  --glass-bd:   rgba(255, 255, 255, 0.07);
  --glass-blur: blur(20px);
  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-w:      1200px;
}

/* ─── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'calt' 1, 'liga' 1, 'kern' 1;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ─── SCROLLBAR ──────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 3px; }

/* ─── SELECTION ──────────────────────────────────────────────────────── */
::selection { background: var(--cyan-dim); color: var(--cyan); }

/* ─── FOCUS ──────────────────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ─── UTILITIES ──────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.gradient-text {
  background: linear-gradient(90deg, var(--cyan) 0%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #00b8d9 100%);
  color: var(--bg-0);
  box-shadow: var(--cyan-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 60px rgba(0, 229, 255, 0.4); }
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  border: 1.5px solid var(--glass-bd);
  color: var(--text-1);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.btn-ghost {
  color: var(--text-2);
  background: transparent;
}
.btn-ghost:hover { color: var(--text-1); }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTION HEADERS ────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--glass-bd);
  background: var(--glass-bg);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────────── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes pulse-ring { 0%{transform:scale(1);opacity:1} 100%{transform:scale(2.5);opacity:0} }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes stream-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes badge-glow {
  0%,100% { box-shadow: 0 0 8px rgba(0,229,255,0.3); }
  50%     { box-shadow: 0 0 24px rgba(0,229,255,0.7); }
}
.animate-fade-up { animation: fade-in-up 0.7s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ─── PULSE DOT ──────────────────────────────────────────────────────── */
.pulse-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-ring 1.8s ease-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-bd);
}
.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.logo-accent { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text-1); background: var(--glass-bg); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}
.hero-orb--cyan {
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: float 8s ease-in-out infinite;
}
.hero-orb--violet {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation: float 10s ease-in-out infinite reverse;
}
.hero-grid {
  inset: 0;
  position: absolute;
  background-image:
    linear-gradient(rgba(0,229,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 30%, transparent 80%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0,229,255,0.3);
  background: rgba(0,229,255,0.06);
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: badge-glow 3s ease-in-out infinite;
  cursor: pointer;
  transition: var(--transition);
}
.hero-badge:hover { background: rgba(0,229,255,0.12); }
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-1);
  font-optical-sizing: auto;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 1.5rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-xl);
  max-width: 720px;
  margin: 0 auto;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
.stat-unit {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--cyan);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 0.25rem;
  text-align: center;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: var(--glass-bd);
  flex-shrink: 0;
}

/* Visualizer */
.visualizer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin: 2.5rem auto 0;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.visualizer-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--glass-bd);
}
.wave-canvas {
  width: 100%;
  height: 160px;
  display: block;
}
.visualizer-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--glass-bd);
}
.viz-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,229,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.viz-btn:hover { background: rgba(0,229,255,0.25); }
.viz-agent-name {
  font-size: 0.82rem;
  color: var(--text-2);
  font-family: var(--font-mono);
  flex: 1;
}
.viz-timer {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════════════════════════════════════ */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--glass-bd);
  border-bottom: 1px solid var(--glass-bd);
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  text-align: center;
}
.trust-label {
  font-size: 0.8rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.trust-sectors {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-2);
}
.trust-dot { color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════════════
   USE CASES / PRODUCTS
════════════════════════════════════════════════════════════════════════ */
.use-cases { background: var(--bg-1); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.product-card--wide {
  grid-column: 1 / -1;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}
.product-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,229,255,0.2);
  box-shadow: var(--cyan-glow);
}
.product-card--featured { border-color: rgba(139,92,246,0.3); }
.product-card--featured:hover { border-color: rgba(139,92,246,0.6); box-shadow: var(--violet-glow); }
.card-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
  pointer-events: none;
}
.card-glow--cyan  { background: var(--cyan); }
.card-glow--violet{ background: var(--violet); }
.card-glow--mixed { background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.featured-badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: var(--violet);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.card-icon--cyan  { background: var(--cyan-dim); }
.card-icon--violet{ background: var(--violet-dim); }
.card-icon--mixed { background: linear-gradient(135deg, var(--cyan-dim), var(--violet-dim)); }
.card-tag {
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}
.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-1);
  font-optical-sizing: auto;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  letter-spacing: -0.005em;
}
.card-features {
  display: flex; flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}
.card-features li {
  display: flex; align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-2);
}
.card-stat {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 1.25rem;
}
.stat-highlight { font-size: 1.5rem; font-weight: 800; color: var(--cyan); }
.stat-highlight--violet { color: var(--violet); }
.card-cta {
  display: inline-flex; align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap var(--transition);
}
.card-cta:hover { gap: 0.7rem; }
.card-cta--violet { color: var(--violet); }

/* Wide card layout */
.product-card--wide .card-content { flex: 1; }
.product-card--wide .card-right { flex: 1; }
.product-card--wide .card-icon { margin-bottom: 0; margin-right: 0; }

/* ═══════════════════════════════════════════════════════════════════════
   LAB DASHBOARD
════════════════════════════════════════════════════════════════════════ */
.lab-section { background: var(--bg-0); }
.lab-dashboard {
  border-radius: var(--radius-xl);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.06);
}
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1rem 1.5rem;
  background: rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--glass-bd);
  flex-wrap: wrap;
  gap: 1rem;
}
.dash-metric {
  display: flex; flex-direction: column;
  gap: 0.15rem;
  padding: 0 1.5rem;
  border-right: 1px solid var(--glass-bd);
}
.dash-metric:first-child { padding-left: 0; }
.dash-metric__label { font-size: 0.7rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.dash-metric__value { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--text-2); }
.dash-metric__value--cyan  { color: var(--cyan); }
.dash-metric__value--green { color: var(--green); }
.dash-metric__value--violet{ color: var(--violet); }
.dash-live-badge {
  margin-left: auto;
  display: flex; align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
}
.node-canvas {
  display: block;
  width: 100%;
  height: 340px;
  background: transparent;
}
.dash-stream {
  border-top: 1px solid var(--glass-bd);
  padding: 0.875rem 1.5rem;
  overflow: hidden;
}
.stream-header {
  display: flex; align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.stream-items {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: stream-scroll 20s linear infinite;
}
.stream-item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-3);
  flex-shrink: 0;
}
.stream-item--cyan   { color: var(--cyan); }
.stream-item--violet { color: var(--violet); }
.stream-item--green  { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════════════
   TECH HIGHLIGHTS
════════════════════════════════════════════════════════════════════════ */
.tech-section { background: var(--bg-2); }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.tech-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  transition: transform var(--transition), border-color var(--transition);
}
.tech-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,0.15);
}
.tech-icon {
  width: 68px; height: 68px;
  border-radius: var(--radius-md);
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  border: 1px solid var(--glass-bd);
}
.tech-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  font-optical-sizing: auto;
}
.tech-desc {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.tech-mono {
  display: flex; align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-bd);
}
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
}
.mono-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   HOW IT WORKS
════════════════════════════════════════════════════════════════════════ */
.how-section { background: var(--bg-1); }
.how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}
.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  font-optical-sizing: auto;
}
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.6rem;
}
.step-content p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.65;
}
.how-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-dim), var(--violet-dim));
  flex-shrink: 0;
  margin-top: 1.5rem;  /* align with number baseline */
  border-radius: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════
   INTEGRATIONS
════════════════════════════════════════════════════════════════════════ */
.integrations-section { background: var(--bg-0); }
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.integration-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
}
.integration-tile:hover {
  border-color: rgba(0,229,255,0.2);
  color: var(--text-1);
  background: var(--cyan-dim);
}
.integration-tile--more {
  background: linear-gradient(135deg, var(--cyan-dim), var(--violet-dim));
  border-color: rgba(139,92,246,0.3);
  color: var(--text-1);
}

/* ═══════════════════════════════════════════════════════════════════════
   INDIA SECTION
════════════════════════════════════════════════════════════════════════ */
.india-section { background: var(--bg-2); }
.india-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.india-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.india-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.india-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
.india-list strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-1);
}
.india-list p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
}
.india-visual {
  display: flex;
  justify-content: center;
}
.india-map-svg {
  max-width: 340px;
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(0,229,255,0.12));
}

/* ═══════════════════════════════════════════════════════════════════════
   DEMO SECTION
════════════════════════════════════════════════════════════════════════ */
.demo-section { background: var(--bg-1); }
.demo-inner {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem);
  border-radius: var(--radius-xl);
  background: var(--bg-3);
  border: 1px solid var(--glass-bd);
  overflow: hidden;
  text-align: center;
}
.demo-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}
.demo-orb--cyan   { width: 500px; height: 500px; background: var(--cyan); top: -200px; left: -200px; }
.demo-orb--violet { width: 400px; height: 400px; background: var(--violet); bottom: -150px; right: -150px; }
.demo-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.demo-form { text-align: left; margin-top: 0.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); }
.form-input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--glass-bd);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,229,255,0.1); }
.form-input::placeholder { color: var(--text-3); }
.form-select { appearance: none; cursor: pointer; }
.form-privacy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--bg-0);
  border-top: 1px solid var(--glass-bd);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}
.footer-logo { margin-bottom: 1rem; }
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--cyan); color: var(--cyan); background: var(--cyan-dim); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-1); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col li a { font-size: 0.88rem; color: var(--text-2); transition: color var(--transition); }
.footer-col li a:hover { color: var(--cyan); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--glass-bd);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

/* ─── FOOTER PHONE ───────────────────────────────────────────────────── */
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cyan);
  transition: opacity var(--transition);
}
.footer-phone:hover { opacity: 0.8; }

/* ═══════════════════════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Products — single column */
  .products-grid { grid-template-columns: 1fr; }
  .product-card--wide {
    flex-direction: column;
    gap: 1.25rem;
  }
  .product-card--wide .card-icon { margin-bottom: 0.5rem; }

  /* Tech — 2 col */
  .tech-grid { grid-template-columns: 1fr 1fr; }

  /* India — hide map, single col */
  .india-inner { grid-template-columns: 1fr; }
  .india-visual { display: none; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  /* Dashboard — reduce canvas height */
  .node-canvas { height: 260px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 768px)
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ─ Section padding ─ */
  .section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

  /* ─ Navbar ─
     Keep the primary CTA visible always.
     Hamburger menu shows only nav links in a dropdown.
  ─ */
  .nav-container { position: relative; }
  .nav-links { display: none; }
  .nav-actions .btn-ghost { display: none; }
  /* btn-primary stays in navbar beside hamburger */

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(7, 7, 13, 0.97);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-bottom: 1px solid var(--glass-bd);
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 0.25rem;
    z-index: 999;
  }
  .nav-links.open li a {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-1);
  }
  .nav-links.open li a:active { background: var(--glass-bg); }
  .nav-toggle { display: flex; }

  /* ─ Hero ─ */
  .hero { padding-top: 5rem; padding-bottom: 2.5rem; }
  .hero-content { padding: 0 1rem; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    background: none;
    border: none;
    backdrop-filter: none;
    max-width: 100%;
  }
  .hero-stat {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-bd);
    border-radius: var(--radius-md);
  }
  .stat-number { font-size: 1.8rem; }
  .stat-unit   { font-size: 1.2rem; }
  .stat-divider { display: none; }

  /* Visualizer shrink on mobile */
  .visualizer-container { margin-top: 2rem; }
  .wave-canvas { height: 110px; }

  /* ─ Products ─ */
  .products-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* ─ Lab Dashboard ─ */
  .dash-topbar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    gap: 0;
    padding: 0.75rem 1rem;
    scrollbar-width: none;
  }
  .dash-topbar::-webkit-scrollbar { display: none; }
  .dash-metric {
    flex-shrink: 0;
    padding: 0 1rem;
  }
  .dash-live-badge { flex-shrink: 0; }
  .node-canvas { height: 220px; }

  /* ─ Tech ─ */
  .tech-grid { grid-template-columns: 1fr; }

  /* ─ How It Works ─ */
  .how-steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
  }
  .how-step { width: 100%; padding: 0; }
  .how-connector {
    width: 2px;
    height: 36px;
    background: linear-gradient(180deg, var(--cyan-dim), var(--violet-dim));
    margin: 0 auto;
  }

  /* ─ Form ─ */
  .form-row { grid-template-columns: 1fr; }

  /* ─ Footer ─ */
  .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.4rem; }

  /* ─ Demo CTA ─ */
  .demo-inner { padding: 2rem 1.25rem; }
  .demo-orb { display: none; }

  /* ─ Trust bar ─ */
  .trust-sectors { gap: 0.5rem; }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 480px)
════════════════════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* Hero CTA buttons full-width */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }

  /* Hero stats 2-col grid remains but with lesser padding */
  .hero-stats { gap: 0.5rem; }
  .hero-stat { padding: 0.85rem 0.5rem; }

  /* Section tag smaller */
  .section-tag { font-size: 0.72rem; }

  /* Integrations 2-col */
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer nav 2-col tighter */
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  /* Product card padding reduction */
  .product-card { padding: 1.5rem; }

  /* Tech card padding reduction */
  .tech-card { padding: 1.5rem; }

  /* Node canvas small screen */
  .node-canvas { height: 180px; }

  /* Visualizer controls word-wrap */
  .viz-agent-name { font-size: 0.72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .stream-items { animation: none; }
  .hero-orb, .demo-orb { animation: none !important; }
}
