/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Logo colors */
  --primary:        #1B2252;   /* logo navy */
  --primary-dark:   #111840;   /* deeper navy */
  --primary-light:  #3949AB;   /* indigo accent */
  --primary-pale:   #E8EAF6;   /* very light indigo tint */
  --primary-glow:   rgba(27, 34, 82, 0.14);
  --accent:         #2A7A5E;   /* logo teal */
  --accent-light:   #3DAA80;
  --accent-pale:    #E0F2EE;

  /* Light theme surfaces */
  --bg:          #FFFFFF;
  --bg-2:        #F5F7FA;
  --bg-3:        #EDF0F7;
  --surface:     rgba(27, 34, 82, 0.04);
  --surface-hover: rgba(27, 34, 82, 0.07);
  --border:      rgba(27, 34, 82, 0.10);
  --border-hover: rgba(27, 34, 82, 0.28);

  /* Typography */
  --text:   #1a2150;
  --text-2: #4a5580;
  --text-3: #8892b0;

  /* Dark sections (hero / cta / footer) */
  --dark-bg:     #141935;
  --dark-bg-2:   #1B2252;
  --dark-surface: rgba(255,255,255,0.07);
  --dark-border:  rgba(255,255,255,0.12);
  --dark-text:    #f0f2fa;
  --dark-text-2:  #b0bad8;

  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(27,34,82,0.10);
  --shadow-lg: 0 12px 48px rgba(27,34,82,0.16);
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ─── RESET & BASE ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-snap-type: y proximity; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.hide-sm { display: initial; }
section[id] { scroll-margin-top: 80px; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--primary-light) 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease-in-out infinite;
}
/* gradient-text on dark backgrounds */
.dark-section .gradient-text {
  background: linear-gradient(135deg, #9FA8DA 0%, #80CBC4 60%, #9FA8DA 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.dark-section .section-label { color: #9FA8DA; }
.dark-section .section-label::before { background: var(--accent-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  line-height: 1.75;
}
.dark-section .section-sub { color: var(--dark-text-2); }

.section-header { text-align: center; margin-bottom: 68px; }
.section-header .section-label { justify-content: center; }
.section-header .section-sub  { margin: 0 auto; }

.body-text { font-size: 1.05rem; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.body-text strong { color: var(--text); }

/* ─── BUTTONS ───────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 50px;
  border: none; cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(27,34,82,0.22); }
.btn-primary.btn-large { padding: 17px 40px; font-size: 1.05rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--dark-text-2);
  font-size: 0.95rem; font-weight: 500;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.btn-watch {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 26px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}
.btn-watch:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}
.btn-watch-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #FF0000;
  font-size: 0.6rem;
  padding-left: 2px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(255,0,0,0.45);
}

/* ─── REVEAL ANIMATIONS ─────────────────────────────────────────────────── */
.reveal, .reveal-slow, .reveal-right {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-slow { transition-duration: 1s; transition-delay: 0.1s; }
.reveal-right { transform: translateX(28px); }
.reveal.visible, .reveal-slow.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ─── NAVBAR ────────────────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
#navbar::after {
  content: ''; display: block;
  height: 1px; background: transparent;
  transition: background 0.35s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(27,34,82,0.08), 0 4px 24px rgba(27,34,82,0.05);
}
#navbar.scrolled::after {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  opacity: 0.3;
}

/* Not scrolled (over dark hero) */
#navbar:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.78); }
#navbar:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.10); }
#navbar:not(.scrolled) .nav-logo span { color: #fff; }
#navbar:not(.scrolled) .nav-divider { background: rgba(255,255,255,0.18); }
#navbar:not(.scrolled) .nav-group-pill { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.20); color: rgba(255,255,255,0.60); }
#navbar:not(.scrolled) .hamburger span { background: #fff; }

/* Scrolled - dark */
#navbar.scrolled .nav-links a { color: var(--text-2); }
#navbar.scrolled .nav-links a:hover { color: var(--primary); background: var(--primary-pale); }
#navbar.scrolled .nav-logo span { color: var(--primary); }
#navbar.scrolled .nav-divider { background: var(--border); }
#navbar.scrolled .hamburger span { background: var(--primary); }

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.nav-logo-ring {
  width: 34px; height: 34px; border-radius: 10px; overflow: hidden;
  background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.nav-logo-ring img { width: 28px; height: 28px; object-fit: contain; }
.nav-logo:hover .nav-logo-ring { background: rgba(255,255,255,0.22); }

.nav-divider {
  width: 1px; height: 22px; flex-shrink: 0;
  transition: background 0.35s;
}

.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  padding: 6px 12px; border-radius: 8px;
  transition: var(--transition);
}

.nav-cta {
  display: inline-flex; align-items: center;
  padding: 8px 20px;
  background: var(--primary); color: #fff;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 50px;
  transition: var(--transition); flex-shrink: 0;
  box-shadow: 0 2px 12px var(--primary-glow);
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,34,82,0.25); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto;
}
.hamburger span { display: block; width: 22px; height: 2px; border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(20px);
  padding: 16px 24px 24px; border-top: 1px solid var(--border);
}
.mobile-menu a {
  padding: 12px 0; font-size: 1rem; font-weight: 500;
  color: var(--text-2); border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ─── HERO (dark navy) ──────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(140deg, #141935 0%, #1B2252 50%, #1e2d60 100%);
  color: var(--dark-text);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(42,122,94,0.30) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(57,73,171,0.35) 0%, transparent 70%);
  top: 25%; right: 0; animation-delay: 2.5s;
}
.glow-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(42,122,94,0.25) 0%, transparent 70%);
  bottom: 10%; left: 40%; animation-delay: 5s;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 40px;
  width: 100%; max-width: 1280px; margin: 0 auto;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; flex: 1 1 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(42,122,94,0.18); border: 1px solid rgba(42,122,94,0.35);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 500; color: #80CBC4; margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; background: var(--accent-light); border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-light);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 24px;
  color: #fff;
}
/* Override gradient-text for hero */
.hero-title .gradient-text {
  background: linear-gradient(135deg, #80CBC4 0%, var(--accent-light) 50%, #80CBC4 100%);
  background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero-sub { font-size: 1.15rem; color: var(--dark-text-2); line-height: 1.7; margin-bottom: 40px; }
.hero-buttons { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ─── Hero phones - devices.css overrides ─────────────────────── */
.hero-phones {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; gap: 0;
  flex-shrink: 0;
}
.phone-wrap { position: relative; }
.phone-wrap.phone-left  { transform: rotate(-8deg) translateX(20px); z-index: 1; opacity: 0.93; }
.phone-wrap.phone-right { transform: rotate(5deg) translateY(-10px); z-index: 2; }

/* Zoom scales the device AND its layout footprint */
.phone-wrap .device {
  zoom: 0.46;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  animation: phoneFloat 4s ease-in-out infinite;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}
.phone-wrap.phone-right .device { animation-delay: 0.7s; }

/* Screen image fills frame */
.device-screen {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: top;
  transform: translateZ(0);
  backface-visibility: hidden;
  image-rendering: high-quality;
  image-rendering: -webkit-optimize-contrast;
}

@keyframes phoneFloat {
  0%,100% { transform: translateY(0px) translateZ(0); }
  50%      { transform: translateY(-12px) translateZ(0); }
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  letter-spacing: 0.12em; text-transform: uppercase;
  animation: scrollHintFade 3s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.35);
  border-bottom: 2px solid rgba(255,255,255,0.35);
  transform: rotate(45deg);
}
@keyframes scrollHintFade {
  0%,100% { opacity: 0.5; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.9; transform: translateX(-50%) translateY(6px); }
}

/* ─── STATS ─────────────────────────────────────────────────────────────── */
#stats {
  padding: 72px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  text-align: center; padding: 32px 20px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.stat-icon { font-size: 1.8rem; margin-bottom: 12px; }
.stat-value { display: inline; font-size: 2.8rem; font-weight: 800; color: var(--primary); }
.stat-suffix { display: inline; font-size: 1.4rem; font-weight: 700; color: var(--accent); }
.stat-desc { font-size: 0.85rem; color: var(--text-3); margin-top: 6px; }

/* ─── ABOUT ─────────────────────────────────────────────────────────────── */
#about { padding: 110px 0; background: var(--bg); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill {
  padding: 5px 14px;
  background: var(--primary-pale); border: 1px solid rgba(27,34,82,0.18);
  border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  color: var(--primary); transition: var(--transition);
}
.pill:hover { background: var(--primary); color: #fff; }

.about-visual { display: flex; flex-direction: column; gap: 0; }
.problem-card, .solution-card {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid;
  transition: var(--transition);
}
.problem-card  { background: #FFF5F5; border-color: #FECACA; }
.solution-card { background: var(--accent-pale); border-color: rgba(42,122,94,0.22); }
.problem-card:hover  { box-shadow: 0 6px 24px rgba(220,38,38,0.10); }
.solution-card:hover { box-shadow: 0 6px 24px rgba(5,150,105,0.10); }

.pc-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.problem-card  .pc-icon { background: #fee2e2; }
.solution-card .pc-icon { background: #d1fae5; }

.pc-text strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: 3px; color: var(--text); }
.pc-text p { font-size: 0.88rem; color: var(--text-2); margin: 0; line-height: 1.5; }

.arrow-divider { text-align: center; color: var(--text-3); padding: 6px 0; }

/* ─── FEATURES (Apple-style sticky scroll) ─────────────────────────────── */
#features { padding-top: 110px; background: var(--bg); }
#features .section-header { padding-bottom: 40px; }

.feat-root {
  position: relative;
  height: calc(7 * 100vh);
}

.feat-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 2;
}

/* Snap markers — one per panel; force the browser to stop at each boundary
   so a macOS trackpad flick can't skip past multiple panels at once. */
.feat-snap {
  position: absolute; left: 0; right: 0;
  height: 100vh;
  pointer-events: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Progress dots - inside sticky container */
.feat-dots {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 20;
  pointer-events: none;
}
.feat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: var(--transition); padding: 0; pointer-events: auto;
}
.feat-dot.active { background: var(--primary); transform: scale(1.5); }
.feat-dot:hover  { background: var(--primary-light); }

/* Panels - absolutely stacked, toggled by JS */
.feat-panel {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 70px 0;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.feat-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fp-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; width: 100%;
}
.fp-inner.fp-reverse { direction: rtl; }
.fp-inner.fp-reverse > * { direction: ltr; }

.fp-text {
  padding: 32px 36px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.fp-text:hover { border-color: var(--border-hover); background: var(--bg); box-shadow: var(--shadow); }

.fp-num {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.fp-title {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem); font-weight: 900;
  line-height: 1.06; letter-spacing: -0.04em; color: var(--primary); margin-bottom: 18px;
}
.fp-desc {
  font-size: 1rem; color: var(--text); font-weight: 500; line-height: 1.82;
  max-width: 460px; margin-bottom: 22px; word-break: break-word;
}
.fp-desc code {
  font-family: 'Courier New', monospace; font-size: 0.88em; font-weight: 600;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: 5px; padding: 1px 6px; color: var(--primary);
}
.fp-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.fp-chips span {
  padding: 4px 13px;
  background: var(--primary-pale); border: 1px solid rgba(27,34,82,0.14);
  border-radius: 50px; font-size: 0.73rem; font-weight: 700; color: var(--primary);
}
.fp-vis { display: flex; justify-content: center; align-items: center; }

/* ── Visual: Map ── */
.vis-map {
  width: 420px; height: 370px;
  background: linear-gradient(135deg, #E8EEF8 0%, #EEF2FF 100%);
  border-radius: 24px; position: relative; overflow: hidden;
  box-shadow: 0 20px 60px rgba(27,34,82,0.13), 0 0 0 1px rgba(27,34,82,0.07);
}
.vm-road { position: absolute; background: rgba(27,34,82,0.07); }
.vm-road-h { left:0; right:0; top:50%; height:26px; transform:translateY(-50%); }
.vm-road-v { top:0; bottom:0; left:50%; width:26px; transform:translateX(-50%); }
.vm-zone {
  position: absolute; display: grid; gap: 6px; padding: 10px;
  background: rgba(255,255,255,0.65); border-radius: 12px; backdrop-filter: blur(4px);
}
.zone-a { top:22px; left:22px; grid-template-columns: repeat(3,1fr); }
.zone-b { bottom:22px; right:22px; grid-template-columns: repeat(3,1fr); }
.vm-spot { width:34px; height:16px; border-radius:4px; }
.vm-spot.free  { background: rgba(42,122,94,0.7); }
.vm-spot.taken { background: rgba(239,68,68,0.5); }
.vm-pin {
  position:absolute; top:75px; left:90px; width:30px;
  transform: translate(-50%, -100%);
  transform-origin: bottom center;
  filter: drop-shadow(0 4px 8px rgba(27,34,82,0.35));
  animation: pinBounce 2.2s ease-in-out infinite;
}
.vm-pin svg { width:100%; height:auto; }
@keyframes pinBounce {
  0%,100% { transform: translate(-50%, -100%); }
  50%     { transform: translate(-50%, calc(-100% - 7px)); }
}
.vm-route { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.vm-popup {
  position:absolute; top:26px; right:24px;
  background:white; border-radius:12px; padding:11px 15px;
  box-shadow: 0 8px 24px rgba(27,34,82,0.14); border:1px solid rgba(27,34,82,0.07);
  animation: popupFloat 3s ease-in-out infinite;
}
.vmp-title { font-size:0.72rem; font-weight:700; color:var(--primary); margin-bottom:3px; }
.vmp-count { font-size:0.68rem; color:var(--text-2); margin-bottom:6px; }
.vmp-free  { color:var(--accent); font-weight:700; }
.vmp-taken { color:#EF4444; font-weight:700; }
.vmp-badge {
  font-size:0.65rem; font-weight:600; color:var(--accent);
  background:var(--accent-pale); padding:2px 8px; border-radius:50px; display:inline-block;
}
@keyframes popupFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.vis-live-badge {
  position:absolute; bottom:14px; left:14px;
  display:flex; align-items:center; gap:7px;
  background:rgba(27,34,82,0.82); backdrop-filter:blur(8px);
  color:white; font-size:0.7rem; font-weight:600;
  padding:6px 12px; border-radius:50px;
}
.vis-live-dot {
  width:7px; height:7px; background:#4ADE80; border-radius:50%;
  animation: dotPulse 2s infinite;
}

/* ── Visual: AI Camera ── */
.vis-camera { width:440px; height:370px; display:flex; align-items:center; justify-content:center; }
.vc-frame {
  width:100%; height:100%; background:#0F1117; border-radius:18px;
  border:1.5px solid #2A7A5E; position:relative; overflow:hidden;
  box-shadow: 0 0 0 1px rgba(42,122,94,0.18), 0 24px 60px rgba(0,0,0,0.45), inset 0 0 60px rgba(42,122,94,0.04);
}
.vc-scanline {
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, rgba(42,122,94,0.8), transparent);
  z-index:10; animation: scanMove 3s linear infinite;
}
@keyframes scanMove { 0%{top:0;opacity:1} 100%{top:100%;opacity:0.3} }
.vc-parking-row { display:flex; gap:8px; padding:18px 16px 0; }
.vc-car-spot { flex:1; height:108px; position:relative; background:rgba(255,255,255,0.03); border-radius:6px; overflow:visible; }
.vc-car {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  width:54%; height:68%;
  background:linear-gradient(to bottom, #3a3f5c, #252840); border-radius:6px 6px 3px 3px;
}
.vc-car::before {
  content:''; position:absolute; top:12%; left:14%; right:14%; height:28%;
  background:rgba(100,160,220,0.45); border-radius:3px;
}
.vc-bbox {
  position:absolute; inset:4px; border:2px solid #EF4444; border-radius:4px;
  animation: bboxPulse 2.5s ease-in-out infinite;
}
.vc-bbox-free { border-color:#4ADE80; }
.vc-label {
  position:absolute; top:-13px; left:0;
  background:#EF4444; color:white; font-size:0.58rem; font-weight:700;
  padding:1px 5px; border-radius:3px; white-space:nowrap;
}
.vc-label-free { background:#4ADE80; color:#111; }
@keyframes bboxPulse { 0%,100%{opacity:1} 50%{opacity:0.65} }
.vc-car-spot.empty-spot .vc-car { display:none; }
.vc-hud {
  position:absolute; font-size:0.58rem; font-weight:700;
  font-family:'Courier New',monospace; letter-spacing:0.04em;
}
.vc-hud-tr { top:8px;  right:12px; color:rgba(42,122,94,0.85); }
.vc-hud-bl2 { bottom:26px; left:12px; color:rgba(42,122,94,0.9); }
.vc-hud-bl { bottom:8px; left:12px;  color:rgba(159,168,218,0.7); }
.vc-hud-br { bottom:8px; right:12px; color:rgba(74,222,128,0.85); }
.vc-corner { position:absolute; width:18px; height:18px; }
.vc-c-tl { top:0;    left:0;    border-top:2px solid #2A7A5E; border-left:2px solid #2A7A5E; }
.vc-c-tr { top:0;    right:0;   border-top:2px solid #2A7A5E; border-right:2px solid #2A7A5E; }
.vc-c-bl { bottom:0; left:0;    border-bottom:2px solid #2A7A5E; border-left:2px solid #2A7A5E; }
.vc-c-br { bottom:0; right:0;   border-bottom:2px solid #2A7A5E; border-right:2px solid #2A7A5E; }

/* ── Visual: Event Alerts ── */
.vis-alerts {
  width: 420px; max-width: 100%;
  background: linear-gradient(160deg, #ffffff 0%, #f7f9fc 100%);
  border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 20px 60px rgba(27,34,82,0.10), 0 0 0 1px rgba(27,34,82,0.04);
  padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.va-header {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 4px 8px; border-bottom: 1px dashed rgba(27,34,82,0.12);
}
.va-h-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: dotPulse 2s ease-in-out infinite;
}
.va-h-title {
  font-size: 0.78rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.01em;
}
.va-h-count {
  margin-left: auto;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3);
  background: var(--bg-3); padding: 3px 9px; border-radius: 50px;
}

.va-card {
  display: flex; align-items: stretch;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  transition: var(--transition);
  animation: vaCardSlide 0.6s ease-out backwards;
}
.va-card:nth-of-type(2) { animation-delay: 0.15s; }
.va-card:nth-of-type(3) { animation-delay: 0.30s; }
.va-card:hover {
  transform: translateX(2px);
  border-color: var(--bd);
  box-shadow: 0 4px 14px rgba(27,34,82,0.06);
}
@keyframes vaCardSlide {
  from { opacity: 0; transform: translateX(-12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.va-card-bar { width: 4px; flex-shrink: 0; background: var(--bd); }
.va-card-body { flex: 1; padding: 8px 12px 9px; min-width: 0; }
.va-card-row { display: flex; align-items: center; gap: 8px; margin-bottom: 3px; }
.va-sev-tag {
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px; border-radius: 4px;
  color: #fff; background: var(--bd);
}
.va-card-time {
  margin-left: auto;
  font-size: 0.6rem; font-weight: 600; color: var(--text-3);
  letter-spacing: 0.02em;
}
.va-card-title {
  font-size: 0.82rem; font-weight: 700; color: var(--primary);
  line-height: 1.25; margin-bottom: 2px;
}
.va-card-sub {
  font-size: 0.68rem; color: var(--text-2); font-weight: 500; line-height: 1.4;
}

.va-sev-high { --bd: #EF4444; }
.va-sev-med  { --bd: #F59E0B; }
.va-sev-low  { --bd: #60A5FA; }

.va-footer {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 4px 0; margin-top: 2px;
  border-top: 1px dashed rgba(27,34,82,0.10);
  font-size: 0.65rem; color: var(--text-3); font-weight: 500;
}
.va-foot-mono {
  width: 22px; height: 22px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Courier New', monospace;
  font-size: 0.62rem; font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4285F4, #1B6BD9);
  border-radius: 6px;
}

/* ── Visual: Token Economy ── */
.vis-token {
  width:380px; height:370px; position:relative;
  display:flex; flex-direction:column; align-items:center;
  justify-content:space-between; padding:16px 0;
}
.vt-coin-wrap { position:relative; display:flex; align-items:center; justify-content:center; width:120px; height:120px; }
.vt-coin {
  width:100px; height:100px; border-radius:50%;
  background:linear-gradient(135deg, #B8860B 0%, #FFD700 40%, #FFA500 70%, #B8860B 100%);
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 8px 32px rgba(255,215,0,0.45), inset 0 -4px 12px rgba(0,0,0,0.2);
  animation: coinRock 4s ease-in-out infinite; z-index:2;
}
@keyframes coinRock {
  0%,100%{transform:rotateY(0deg)  scale(1);   box-shadow:0 8px 32px rgba(255,215,0,0.4);}
  50%     {transform:rotateY(22deg) scale(1.04);box-shadow:0 12px 48px rgba(255,215,0,0.65);}
}
.vt-orbit { position:absolute; inset:0; animation: orbitRotate 6s linear infinite; }
@keyframes orbitRotate { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.vt-orbit-dot {
  position:absolute; width:8px; height:8px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 8px var(--accent);
}
.vt-orbit-dot:nth-child(1) { top:0;   left:50%; transform:translateX(-50%); }
.vt-orbit-dot:nth-child(2) { top:50%; right:0;  transform:translateY(-50%); }
.vt-orbit-dot:nth-child(3) { bottom:0;left:50%; transform:translateX(-50%); }
.vt-feed { display:flex; flex-direction:column; gap:7px; width:100%; }
.vt-tx {
  display:flex; align-items:center; gap:10px; padding:10px 13px;
  background:var(--bg-2); border:1px solid var(--border); border-radius:12px; transition:var(--transition);
}
.vt-tx:hover { border-color:var(--border-hover); background:var(--bg); }
.vt-tx-icon { font-size:0.95rem; width:26px; text-align:center; flex-shrink:0; }
.earn-icon { color:var(--accent); font-size:1rem; font-weight:900; }
.vt-tx-info { flex:1; min-width:0; }
.vt-tx-title { font-size:0.78rem; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vt-tx-sub   { font-size:0.67rem; color:var(--text-3); }
.vt-tx-amount { font-size:0.82rem; font-weight:800; flex-shrink:0; }
.vt-tx-amount.earn  { color:var(--accent); }
.vt-tx-amount.spend { color:#EF4444; }
.vt-balance {
  background:linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius:14px; padding:14px 20px; width:100%;
  display:flex; align-items:center; justify-content:space-between;
}
.vt-bal-label { font-size:0.72rem; font-weight:600; color:rgba(255,255,255,0.65); }
.vt-bal-value { font-size:1.4rem; font-weight:900; color:#fff; }
.vt-bal-value span { font-size:0.8rem; opacity:0.75; margin-left:2px; }

/* ── Visual: Crowd Report ── */
.vis-report { position:relative; display:flex; align-items:center; justify-content:center; width:280px; }
.vr-phone {
  width:220px; background:#1a1a2e; border-radius:44px;
  border:6px solid #22253a; box-shadow:0 32px 80px rgba(0,0,0,0.45); overflow:hidden; position:relative;
}
.vr-notch {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:60px; height:16px; background:#0a0a14; border-radius:0 0 12px 12px; z-index:5;
}
.vr-screen {
  background:#0f1117; padding:24px 14px 14px;
  min-height:430px; display:flex; flex-direction:column; gap:10px; align-items:center;
}
.vr-viewfinder {
  width:100%; height:180px; border-radius:10px;
  background:rgba(42,122,94,0.07); position:relative; overflow:hidden;
}
.vr-corner { position:absolute; width:20px; height:20px; }
.vr-c-tl { top:5px; left:5px;   border-top:3px solid #2A7A5E; border-left:3px solid #2A7A5E; }
.vr-c-tr { top:5px; right:5px;  border-top:3px solid #2A7A5E; border-right:3px solid #2A7A5E; }
.vr-c-bl { bottom:5px; left:5px;  border-bottom:3px solid #2A7A5E; border-left:3px solid #2A7A5E; }
.vr-c-br { bottom:5px; right:5px; border-bottom:3px solid #2A7A5E; border-right:3px solid #2A7A5E; }
.vr-car-silhouette {
  position:absolute; bottom:16%; left:50%; transform:translateX(-50%);
  width:50%; height:32%; background:rgba(255,255,255,0.07); border-radius:5px 5px 2px 2px;
}
.vr-scan-line {
  position:absolute; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,rgba(42,122,94,0.8),transparent);
  animation: scanMove 2.8s linear infinite;
}
.vr-status {
  display:flex; align-items:center; gap:7px; width:100%;
  font-size:0.66rem; font-weight:600; color:rgba(255,255,255,0.65);
  background:rgba(42,122,94,0.1); border-radius:8px; padding:7px 9px;
}
.vr-status-dot {
  width:6px; height:6px; background:#4ADE80; border-radius:50%;
  animation:dotPulse 1.5s infinite; flex-shrink:0;
}
.vr-result {
  width:100%; background:rgba(42,122,94,0.14); border:1px solid rgba(42,122,94,0.32);
  border-radius:10px; padding:11px; text-align:center;
}
.vr-result-icon { font-size:1.4rem; margin-bottom:3px; }
.vr-result-text { font-size:0.72rem; font-weight:700; color:#4ADE80; }
.vr-result-sub  { font-size:0.62rem; color:rgba(255,255,255,0.45); margin-top:2px; }
.vr-shutter {
  width:50px; height:50px; border-radius:50%;
  border:3px solid rgba(255,255,255,0.25);
  display:flex; align-items:center; justify-content:center; margin-top:auto;
}
.vr-shutter-inner { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.88); }
.vr-gps-badge {
  position:absolute; bottom:-22px; left:50%; transform:translateX(-50%);
  display:flex; align-items:center; gap:6px;
  background:var(--bg); border:1px solid var(--border); border-radius:50px;
  padding:6px 13px; white-space:nowrap; font-size:0.68rem; font-weight:600; color:var(--text-2);
  box-shadow:var(--shadow);
}

/* ── Visual: Provider API ── */
.vis-api { width:360px; height:360px; position:relative; }
.va-hub {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:80px; height:80px; border-radius:50%;
  background:var(--primary-pale); border:2px solid rgba(27,34,82,0.18);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  z-index:5; box-shadow:0 8px 24px rgba(27,34,82,0.14);
}
.va-hub img { width:28px; height:28px; object-fit:contain; }
.va-hub span { font-size:0.58rem; font-weight:800; color:var(--primary); }
.va-node {
  position:absolute; width:70px; transform:translate(-50%,-50%);
  display:flex; flex-direction:column; align-items:center; gap:4px;
  background:var(--bg); border:1px solid var(--border); border-radius:14px; padding:10px 8px;
  box-shadow:var(--shadow); z-index:4; transition:var(--transition);
}
.va-node:hover { border-color:var(--border-hover); transform:translate(-50%,-58%); box-shadow:var(--shadow-lg); }
.va-n1 { top:22%; left:17%; }
.va-n2 { top:22%; left:83%; }
.va-n3 { top:50%; left:8%;  }
.va-n4 { top:78%; left:25%; }
.va-n5 { top:78%; left:75%; }
.va-node-icon { font-size:1.1rem; }
.va-node span { font-size:0.6rem; font-weight:700; color:var(--text); text-align:center; }
.va-node-status { font-size:0.56rem; font-weight:700; padding:2px 6px; border-radius:50px; }
.va-node-status.active  { background:var(--accent-pale); color:var(--accent); }
.va-node-status.pending { background:#FEF3C7; color:#92400E; }
.va-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.va-flow-dot {
  position:absolute; width:6px; height:6px; border-radius:50%;
  background:var(--accent); box-shadow:0 0 6px var(--accent);
  top:var(--fy); left:var(--fx);
  animation: flowToCenter 2.8s var(--td) ease-in-out infinite;
}
@keyframes flowToCenter {
  0%  { transform:translate(0,0) scale(1); opacity:1; }
  100%{ transform:translate(calc(180px - var(--fx)), calc(180px - var(--fy))) scale(0); opacity:0; }
}

/* ── Visual: Platforms ── */
.vis-platforms { display:flex; gap:18px; align-items:flex-end; position:relative; padding-bottom:38px; }
.vp-phone { width:150px; border-radius:36px; overflow:hidden; position:relative; box-shadow:0 24px 60px rgba(0,0,0,0.28); }
.vp-ios { background:#1a1a2e; border:5px solid #22253a; transform:rotate(-4deg) translateY(-18px); }
.vp-android { background:#1a1a2e; border:5px solid #22253a; transform:rotate(3deg); }
.vp-notch {
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:55px; height:16px; background:#0a0a14; border-radius:0 0 12px 12px; z-index:5;
}
.vp-screen img { width:100%; height:270px; object-fit:cover; object-position:top; display:block; }
.vp-home-btn { width:38px; height:5px; background:rgba(255,255,255,0.2); border-radius:3px; margin:7px auto 5px; }
.vp-label {
  display:flex; align-items:center; justify-content:center; gap:5px; padding:7px;
  font-size:0.67rem; font-weight:700; color:rgba(255,255,255,0.65); background:rgba(255,255,255,0.04);
}
.vp-kmp-badge {
  position:absolute; bottom:0; left:50%; transform:translateX(-50%);
  display:flex; align-items:center; gap:7px;
  background:var(--bg); border:1px solid var(--border); border-radius:50px;
  padding:7px 14px; white-space:nowrap; font-size:0.7rem; font-weight:700; color:var(--primary);
  box-shadow:var(--shadow);
}


/* Legacy bento (kept for no-break safety) */
.bento-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.bento-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-card:hover::before { opacity: 1; }
.bento-large { grid-column: span 2; }
.bento-wide  { grid-column: span 3; }
.bento-icon { font-size: 2.2rem; margin-bottom: 14px; }
.bento-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.bento-card p  { font-size: 0.88rem; color: var(--text-2); line-height: 1.72; }
.bento-tag {
  display: inline-block; margin-top: 14px; padding: 3px 12px;
  background: var(--primary-pale); border: 1px solid rgba(27,34,82,0.2);
  border-radius: 50px; font-size: 0.72rem; font-weight: 700;
  color: var(--primary);
}
.provider-logos { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.provider-chip {
  display: flex; align-items: center; padding: 5px 12px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--text-2);
}
.prov-dot {
  width: 7px; height: 7px; background: var(--accent);
  border-radius: 50%; display: inline-block; margin-right: 6px;
  box-shadow: 0 0 5px var(--accent);
}
.provider-chip.add-more .prov-dot { display: none; }
.platform-badges { display: flex; gap: 8px; margin-top: 16px; }
.platform-badge { padding: 5px 14px; border-radius: 8px; font-size: 0.78rem; font-weight: 700; }
.platform-badge.ios     { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.platform-badge.android { background: var(--accent-pale); color: var(--accent); border: 1px solid rgba(42,122,94,0.3); }
.platform-badge.web     { background: var(--primary-pale); color: var(--primary); border: 1px solid rgba(27,34,82,0.2); }

/* ─── HOW IT WORKS ──────────────────────────────────────────────────────── */
#how { padding: 110px 0; background: var(--bg); }
.steps-timeline {
  position: relative; max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 0;
}
.timeline-line {
  position: absolute; left: 36px; top: 60px; bottom: 60px; width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(27,34,82,0.08));
}
.step { display: flex; align-items: flex-start; gap: 28px; padding: 28px 0; }
.step-number {
  flex-shrink: 0; width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 2px solid var(--primary); border-radius: 50%;
  font-size: 0.875rem; font-weight: 800; color: var(--primary);
  z-index: 1; box-shadow: 0 0 0 6px var(--bg), var(--shadow);
  transition: var(--transition);
}
.step:hover .step-number { background: var(--primary); color: #fff; box-shadow: 0 0 0 6px var(--bg), 0 0 24px var(--primary-glow); }
.step-content {
  flex: 1; padding: 24px 28px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition);
}
.step:hover .step-content { border-color: var(--border-hover); background: var(--bg); box-shadow: var(--shadow); }
.step-icon { font-size: 1.75rem; margin-bottom: 10px; }
.step-content h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 7px; color: var(--primary); }
.step-content p  { font-size: 0.88rem; color: var(--text); font-weight: 500; line-height: 1.75; }
.step-content strong { color: var(--text); font-weight: 700; }

/* ─── MOBILE SHOWCASE (slider) ───────────────────────────────────────────── */
/* No overflow:hidden — keeps fixed road/car visible through the section */
#showcase { padding: 60px 0 110px; background: var(--bg); }

.showcase-stage {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 320px) minmax(0, 1fr) 56px;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 0;
}

.sc-phone-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 560px;
}
.sc-phone-glow { display: none; }

/* Custom phone frame — matches exact iPhone screenshot aspect ratio (9:19.5) */
.sc-phone-mock {
  position: relative; z-index: 1;
  width: 248px;
  background: #1C1C1E;
  border-radius: 50px;
  padding: 14px 12px;
  box-shadow:
    0 0 0 1px #3a3a3c,
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 40px 80px rgba(17,24,64,0.55),
    0 12px 32px rgba(0,0,0,0.35);
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.6));
}
.sc-mock-island {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.sc-mock-screen {
  border-radius: 38px;
  overflow: hidden;
  /* exact ratio: iPhone screenshots are 393 × 852 px = 9:19.54 */
  aspect-ratio: 393 / 852;
  position: relative;
  background: #000;
}
.sc-slide {
  position: absolute; inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 500ms ease, transform 700ms ease;
  pointer-events: none;
}
.sc-slide.is-active {
  opacity: 1; transform: scale(1);
}

/* Right-side info card */
.sc-info {
  position: relative;
  display: flex; flex-direction: column;
  gap: 28px;
  min-height: 420px;
}
.sc-track {
  position: relative;
  min-height: 320px;
}
.sc-card {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(16px);
  transition: opacity 500ms ease, transform 600ms ease;
  pointer-events: none;
}
.sc-card.is-active {
  opacity: 1; transform: translateY(0);
  pointer-events: auto;
}
.sc-num {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-pale);
  margin-bottom: 18px;
}
.sc-icon {
  font-size: 2.2rem; margin-bottom: 14px; line-height: 1;
}
.sc-title {
  font-size: 1.85rem; font-weight: 800; color: var(--primary);
  line-height: 1.2; margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.sc-desc {
  font-size: 1rem; color: var(--text); font-weight: 500;
  line-height: 1.7; margin-bottom: 22px;
  max-width: 520px;
}
.sc-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.sc-chips span {
  font-size: 0.78rem; font-weight: 600;
  color: var(--primary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}

/* Controls */
.sc-controls {
  display: flex; align-items: center; gap: 20px;
  margin-top: auto;
}
.sc-dots {
  display: flex; gap: 10px;
}
.sc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-hover, #cbd1e0);
  border: none; cursor: pointer; padding: 0;
  transition: var(--transition);
}
.sc-dot:hover { transform: scale(1.2); }
.sc-dot.is-active {
  background: var(--primary);
  width: 28px; border-radius: 5px;
}
.sc-progress {
  flex: 1; height: 3px; background: var(--bg-3);
  border-radius: 999px; overflow: hidden;
}
.sc-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  transition: width 80ms linear;
}

.sc-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  color: var(--primary); font-size: 1.6rem; font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 3;
  line-height: 1; padding: 0 0 4px 0;
}
.sc-arrow:hover {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}
.sc-prev { justify-self: start; }
.sc-next { justify-self: end; padding: 0 0 4px 2px; }

/* Tablet — phone top, info below */
@media (max-width: 1024px) {
  .showcase-stage {
    grid-template-columns: 48px 1fr 48px;
    grid-template-rows: auto auto;
    grid-template-areas:
      "prev phone next"
      "info info  info";
    gap: 28px 20px;
  }
  .sc-prev { grid-area: prev; align-self: center; }
  .sc-next { grid-area: next; align-self: center; }
  .sc-phone-wrap { grid-area: phone; min-height: auto; }
  .sc-info {
    grid-area: info;
    text-align: center; align-items: center;
    min-height: 0;
  }
  .sc-track { min-height: 300px; width: 100%; }
  .sc-card { position: absolute; inset: 0; }
  .sc-chips { justify-content: center; gap: 6px; }
  .sc-chips span { font-size: 0.72rem; padding: 5px 10px; }
  .sc-desc { margin-left: auto; margin-right: auto; max-width: 540px; }
  .sc-controls { justify-content: center; width: 100%; max-width: 380px; }
  .sc-title { font-size: 1.55rem; }
  .sc-num { margin-bottom: 12px; }
  .sc-icon { font-size: 1.8rem; margin-bottom: 10px; }
}

/* Mobile */
@media (max-width: 640px) {
  #showcase { padding: 60px 0 80px; }
  .showcase-stage {
    grid-template-columns: 36px 1fr 36px;
    gap: 16px 12px;
  }
  .sc-phone-mock { width: 168px; border-radius: 36px; padding: 11px 9px; }
  .sc-mock-island { width: 62px; height: 19px; top: 15px; }
  .sc-mock-screen { border-radius: 28px; }
  .sc-phone-wrap { min-height: auto; }
  .sc-title { font-size: 1.2rem; }
  .sc-desc  { font-size: 0.85rem; line-height: 1.6; }
  .sc-track { min-height: 280px; }
  .sc-arrow { width: 34px; height: 34px; font-size: 1.1rem; }
  .sc-chips span { font-size: 0.68rem; padding: 4px 9px; }
  .sc-icon { font-size: 1.5rem; }
}

/* ─── ARCHITECTURE (tier diagram) ────────────────────────────────────────── */
#arch { padding: 110px 0; background: var(--bg-2); }

/* ── Architecture Diagram (hub-and-spoke) ── */
.arch-hub {
  position: relative;
  max-width: 1280px; margin: 48px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;
  grid-template-areas:
    ".    clients   ."
    "edge core      external"
    ".    data      .";
  gap: 56px 170px;
  align-items: stretch;
}

.hub-clients  { grid-area: clients; }
.hub-edge     { grid-area: edge; }
.hub-core     { grid-area: core; }
.hub-external { grid-area: external; }
.hub-data     { grid-area: data; }

/* Decorative dashed connectors from each outer tier toward the core.
   Anchored via grid gap widths so they always reach the core's edge,
   regardless of how the grid resizes. Sit behind the spoke labels. */
.hub-clients::before, .hub-data::before {
  content: ''; position: absolute;
  left: 50%; width: 0; height: 56px;  /* row gap */
  border-left: 2px dashed rgba(27,34,82,0.22);
  transform: translateX(-50%);
  pointer-events: none; z-index: 0;
}
.hub-clients::before { top: 100%; }
.hub-data::before    { bottom: 100%; }

.hub-edge::before, .hub-external::before {
  content: ''; position: absolute;
  top: 50%; height: 0; width: 170px;  /* col gap */
  border-top: 2px dashed rgba(27,34,82,0.22);
  transform: translateY(-50%);
  pointer-events: none; z-index: 0;
}
.hub-edge::before     { left: 100%; }
.hub-external::before { right: 100%; }

.hub-tier {
  position: relative; z-index: 1;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
  border-top: 3px solid var(--cc);
  transition: var(--transition);
}
.hub-tier:hover { border-color: var(--cc); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }

.hub-tier-head {
  display: flex; align-items: center; gap: 8px;
}
.hub-tier-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--cc); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.hub-tier-label {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--text-3);
}
.hub-chip {
  margin-left: auto;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(245,158,11,0.12); color: #b45309;
  border: 1px solid rgba(245,158,11,0.35);
  padding: 2px 8px; border-radius: 50px;
}

.hub-tier-nodes {
  display: flex; flex-direction: column; gap: 8px;
}

.hub-node {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.hub-node:hover { background: var(--bg); border-color: var(--cc); transform: translateY(-1px); }
.hub-node > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.hub-node-name {
  font-size: 0.82rem; font-weight: 700; color: var(--primary);
  line-height: 1.25;
}
.hub-node-sub {
  font-size: 0.68rem; color: var(--text-3); font-weight: 500; line-height: 1.4;
}

.hub-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  padding: 5px;
  box-sizing: border-box;
  background: color-mix(in srgb, var(--cc) 9%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--cc) 22%, transparent);
  border-radius: 8px;
  object-fit: contain;
  transition: var(--transition);
}
.hub-node:hover .hub-icon,
.hub-core-list li:hover .hub-icon {
  background: color-mix(in srgb, var(--cc) 16%, var(--bg));
  border-color: color-mix(in srgb, var(--cc) 38%, transparent);
}
/* Core list items use the core green for their icon backdrop */
.hub-core-list li .hub-icon {
  --cc: #10b981;
}

/* Central core card */
.hub-core {
  position: relative; z-index: 1;
  background: linear-gradient(160deg, #ffffff 0%, #f7fafc 100%);
  border: 1.5px solid var(--cc);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(16,185,129,0.10), 0 0 0 4px rgba(16,185,129,0.06);
  display: flex; flex-direction: column; gap: 14px;
}
.hub-core-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 12px; border-bottom: 1px dashed rgba(16,185,129,0.25);
}
.hub-core-logo { width: 32px; height: 32px; border-radius: 8px; }
.hub-core-head > div { display: flex; flex-direction: column; gap: 2px; }
.hub-core-title {
  font-size: 0.95rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.01em;
}
.hub-core-sub {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.hub-core-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 6px;
}
.hub-core-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 10px;
  background: rgba(16,185,129,0.04);
  border: 1px solid rgba(16,185,129,0.10);
  border-radius: var(--radius);
}
.hub-core-list li > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }

/* Spoke labels (text floating off each tier) */
.hub-spoke {
  position: absolute;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-3);
  background: var(--bg); padding: 3px 9px; border-radius: 50px;
  border: 1px solid var(--border); white-space: nowrap;
  z-index: 1;  /* above the connector line */
}
/* Centered at the midpoint of the relevant grid gap (col gap = 170px, row gap = 56px). */
.hub-spoke-down  { left: 50%;  top: 100%;    transform: translate(-50%, -50%); margin-top: 28px; }
.hub-spoke-up    { left: 50%;  bottom: 100%; transform: translate(-50%,  50%); margin-bottom: 28px; }
.hub-spoke-right { left: 100%; top: 50%;     transform: translate(-50%, -50%); margin-left: 85px; }
.hub-spoke-left  { right: 100%; top: 50%;    transform: translate( 50%, -50%); margin-right: 85px; }

/* ─── TECH - CATEGORIES ─────────────────────────────────────────────────── */
#tech { padding: 110px 0; background: var(--bg); }

.tech-cats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin-bottom: 60px;
}
.tech-cat-card {
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px 16px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.tech-cat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0; opacity: 0;
  transition: var(--transition); pointer-events: none;
}
.tech-cat-card.cat-mobile::before  { background: linear-gradient(90deg, #7F52FF, #9FA8DA); }
.tech-cat-card.cat-backend::before { background: linear-gradient(90deg, #2A7A5E, #3DAA80); }
.tech-cat-card.cat-ai::before      { background: linear-gradient(90deg, #EE4C2C, #FF8A50); }
.tech-cat-card.cat-infra::before   { background: linear-gradient(90deg, #2496ED, #1B2252); }
.tech-cat-card.cat-web::before     { background: linear-gradient(90deg, #61DAFB, #3178C6); }
.tech-cat-card:hover { border-color: var(--border-hover); background: var(--bg); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tech-cat-card:hover::before { opacity: 1; }

.tech-cat-header {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.tech-cat-emoji { font-size: 1.1rem; }
.tech-cat-header h4 { font-size: 0.86rem; font-weight: 700; color: var(--primary); }

.tech-cat-items { display: flex; flex-direction: column; gap: 7px; }
.tech-cat-item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 9px; border-radius: 9px;
  background: transparent; transition: var(--transition); cursor: default;
}
.tech-cat-item:hover { background: var(--surface); }
.tech-cat-item img { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; border-radius: 4px; }
.tech-cat-item span { font-size: 0.78rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.tci-text-logo {
  width: 22px; height: 22px; border-radius: 5px;
  background: var(--lc, #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 800; color: #fff; flex-shrink: 0; letter-spacing: -0.5px;
}

/* ─── TECH - MARQUEE ────────────────────────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden; max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; gap: 12px; width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mq-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; font-size: 0.85rem; font-weight: 600;
  color: var(--text-2); flex-shrink: 0; white-space: nowrap;
  transition: var(--transition); cursor: default;
}
.mq-chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); transform: translateY(-2px); box-shadow: var(--shadow); }
.mq-logo { width: 26px; height: 26px; object-fit: contain; border-radius: 5px; flex-shrink: 0; }
.mq-logo-text {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--lc, #555);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px; font-weight: 800; color: #fff; flex-shrink: 0; letter-spacing: -0.5px;
}

/* ─── TEAM ───────────────────────────────────────────────────────────────── */
#team { padding: 110px 0; background: var(--bg-2); }
.team-grid { display: grid; gap: 20px; max-width: 960px; margin: 0 auto; }
.team-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px 24px;
  text-align: center; transition: var(--transition); position: relative; overflow: hidden;
}
.team-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,34,82,0.04) 0%, transparent 60%);
  opacity: 0; transition: var(--transition); pointer-events: none;
}
.team-card:hover { border-color: var(--border-hover); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card:hover::before { opacity: 1; }

.team-avatar {
  --av-hue: 230deg;
  width: 88px; height: 88px; border-radius: 50%;
  background: conic-gradient(
    hsl(var(--av-hue), 55%, 40%) 0deg,
    hsl(var(--av-hue), 75%, 58%) 180deg,
    hsl(var(--av-hue), 55%, 40%) 360deg
  );
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(27,34,82,0.20); padding: 3px; flex-shrink: 0;
}
.avatar-inner {
  width: 82px; height: 82px; border-radius: 50%; background: var(--bg);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; font-weight: 800; color: hsl(var(--av-hue, 230deg), 60%, 40%);
}
.avatar-inner img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; color: var(--primary); }
.team-role { font-size: 0.8rem; color: var(--accent); font-weight: 600; margin-bottom: 14px; line-height: 1.4; }

.team-linkedin {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px;
  background: #EFF6FF; border: 1px solid #BFDBFE;
  border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  color: #1D4ED8; transition: var(--transition); cursor: pointer;
  position: relative; z-index: 2;
}
.team-linkedin:hover { background: #1D4ED8; color: #fff; border-color: #1D4ED8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(29,78,216,0.25); }
.team-linkedin svg { width: 13px; height: 13px; fill: currentColor; flex-shrink: 0; }

/* Advisor card */
.team-card.advisor-card {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 28px;
  text-align: left; padding: 32px 36px;
  background: linear-gradient(135deg, var(--primary-pale) 0%, var(--bg) 100%);
  border-color: rgba(27,34,82,0.18);
}
.advisor-card .advisor-body { flex: 1; }
.advisor-badge {
  display: inline-block; padding: 3px 12px;
  background: var(--primary); border-radius: 50px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff; margin-bottom: 10px;
}
.advisor-card h4 { font-size: 1.15rem; }
.advisor-card .team-role { color: var(--accent); font-size: 0.88rem; margin-bottom: 12px; }
.advisor-card .team-linkedin { margin-top: 4px; }

.team-members-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.team-members-row .team-card:nth-child(1) { grid-column: 1 / 3; }
.team-members-row .team-card:nth-child(2) { grid-column: 3 / 5; }
.team-members-row .team-card:nth-child(3) { grid-column: 5 / 7; }
.team-members-row .team-card:nth-child(4) { grid-column: 2 / 4; }
.team-members-row .team-card:nth-child(5) { grid-column: 4 / 6; }

/* ─── CTA (dark navy) ─────────────────────────────────────────────────────── */
#cta {
  padding: 110px 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--dark-text);
}
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(42,122,94,0.25) 0%, transparent 70%);
  filter: blur(50px); pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 14px; color: #fff;
}
.cta-inner p { font-size: 1.05rem; color: var(--dark-text-2); margin-bottom: 36px; }

/* ─── PARKING SCENE ──────────────────────────────────────────────────────── */
#parkingScene {
  position: relative; overflow: hidden;
  background: #0d0f1a; height: 130px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.ps-road {
  height: 34px; background: #14161f;
  display: flex; align-items: center; justify-content: center;
}
.ps-road-line {
  height: 2px; width: 70%;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 210, 0, 0.45) 0px, rgba(255, 210, 0, 0.45) 28px,
    transparent 28px, transparent 56px
  );
}
.ps-lot {
  display: flex; justify-content: center;
  height: 96px; background: #0f1117;
}
.ps-spot {
  width: 88px; height: 100%; flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.ps-spot:first-child { border-left: 1px solid rgba(255,255,255,0.07); }
.ps-spot-empty { background: rgba(42,122,94,0.05); }
.ps-car-arrival {
  opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transform: rotate(180deg);
  filter: drop-shadow(0 4px 10px rgba(27,34,82,0.5));
}
.ps-car-s {
  width: 22px; height: 40px;
  background: var(--c, #3949AB); border-radius: 5px 5px 3px 3px;
  position: relative; opacity: 0.75;
}
.ps-car-s::before {
  content: ''; position: absolute;
  top: 5px; left: 3px; right: 3px; height: 9px;
  background: rgba(255,255,255,0.25); border-radius: 2px;
}
.ps-car-s::after {
  content: ''; position: absolute;
  bottom: 6px; left: 3px; right: 3px; height: 7px;
  background: rgba(255,255,255,0.15); border-radius: 2px;
}

/* ─── ROAD SVG OVERLAY ───────────────────────────────────────────────────── */
#roadSvg {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 0;
}
#roadSvg .road-glow {
  fill: none;
  stroke: rgba(42,122,94,0.10);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#roadSvg .road-surface {
  fill: none;
  stroke: rgba(18,24,72,0.09);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#roadSvg .road-dashes {
  fill: none;
  stroke: rgba(255,218,50,0.25);
  stroke-width: 0.7;
  stroke-linecap: round;
  stroke-dasharray: 2.5 2;
}

/* ─── DRIVING CAR ─────────────────────────────────────────────────────────── */
#drivingCar {
  position: fixed;
  top: 0; left: 0;
  width: 32px; height: 56px;
  z-index: 1;
  pointer-events: none;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 8px 22px rgba(27,34,82,0.55)) drop-shadow(0 2px 7px rgba(0,0,0,0.40));
  will-change: transform;
}
.car-beam {
  position: absolute;
  width: 8px;
  height: 34px;
  top: -34px;
  background: linear-gradient(to top, rgba(255,240,120,0.28), rgba(255,240,120,0.06), transparent);
  border-radius: 4px 4px 0 0;
  animation: beamPulse 2.4s ease-in-out infinite;
}
.car-beam-l { left: 5px; transform: rotate(-9deg); transform-origin: bottom center; }
.car-beam-r { right: 5px; transform: rotate(9deg); transform-origin: bottom center; animation-delay: 0.4s; }
@keyframes beamPulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.45; }
}

/* ─── FOOTER (dark navy) ─────────────────────────────────────────────────── */
footer {
  background: var(--dark-bg); color: var(--dark-text);
  padding: 0;
}
.footer-top-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent) 40%, var(--primary-light) 70%, var(--accent));
  background-size: 200%;
  animation: gradientShift 6s linear infinite;
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-brand-mini { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 28px; border-radius: 6px; flex-shrink: 0; }
.footer-name { font-size: 0.95rem; font-weight: 700; color: #fff; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.28); margin-left: 6px; }
.footer-nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.845rem; color: rgba(255,255,255,0.50); transition: var(--transition); }
.footer-nav a:hover { color: #fff; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */

/* ── 1100px: tech grid 5→3 ── */
@media (max-width: 1100px) {
  .tech-cats-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── 1024px: team + stats ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-members-row { grid-template-columns: repeat(4, 1fr); }
  .team-members-row .team-card:nth-child(1) { grid-column: 1 / 3; }
  .team-members-row .team-card:nth-child(2) { grid-column: 3 / 5; }
  .team-members-row .team-card:nth-child(3) { grid-column: 1 / 3; }
  .team-members-row .team-card:nth-child(4) { grid-column: 3 / 5; }
  .team-members-row .team-card:nth-child(5) { grid-column: 2 / 4; }
}

/* ── 900px: features sticky → stacked ── */
@media (max-width: 900px) {
  .feat-root { height: auto; }
  .feat-sticky { position: relative; height: auto; }
  .feat-panel {
    position: relative; inset: auto;
    opacity: 1 !important; transform: none !important;
    pointer-events: auto; padding: 40px 0; display: flex;
  }
  .fp-inner { grid-template-columns: 1fr; gap: 28px; }
  .fp-inner.fp-reverse { direction: ltr; }
  .feat-dots { display: none; }
  .fp-title { font-size: 2rem; }
  .fp-text { padding: 24px 22px; order: 1; }
  .fp-desc { max-width: 100%; }
  .fp-vis { width: 100%; display: flex; justify-content: center; order: 2; }
  .vis-map, .vis-camera, .vis-token, .vis-report, .vis-api, .vis-platforms {
    zoom: 0.8;
  }
  .vis-alerts { zoom: 0.85; }
}

/* ── 768px: tablet / mobile ── */
@media (max-width: 768px) {
  /* road + car: web-only */
  #roadSvg, #drivingCar { display: none; }

  .hide-sm { display: none; }

  /* section vertical rhythm */
  #stats  { padding: 48px 0; }
  #about, #how, #arch, #tech, #team, #cta { padding: 72px 0; }
  #features { padding-top: 72px; }
  .section-header { margin-bottom: 44px; }
  .container { padding: 0 20px; }

  /* navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* hero */
  #hero { flex-direction: column; padding: 96px 20px 56px; text-align: center; }
  .hero-inner { flex-direction: column; gap: 32px; align-items: center; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: 2.8rem; }
  .hero-sub { font-size: 1rem; }
  .hero-buttons { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .hero-phones { margin-top: 8px; justify-content: center; }
  .phone-wrap .device { zoom: 0.36; }

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

  /* about */
  .about-split { grid-template-columns: 1fr; gap: 36px; }
  .problem-card, .solution-card { padding: 18px 18px; }

  /* how it works */
  .timeline-line { display: none; }
  .step { flex-direction: column; gap: 12px; padding: 18px 0; }
  .step-number { width: 56px; height: 56px; font-size: 0.8rem; box-shadow: none; }
  .step-content { padding: 18px 18px; }

  /* arch */
  .arch-hub {
    grid-template-columns: 1fr;
    grid-template-areas:
      "clients"
      "edge"
      "core"
      "external"
      "data";
    gap: 16px;
    margin-top: 32px;
  }
  .hub-clients::before, .hub-data::before,
  .hub-edge::before, .hub-external::before { display: none; }
  .hub-spoke {
    position: static;
    transform: none;
    align-self: center;
    margin: 4px auto 0;
  }

  /* tech */
  .tech-cats-grid { grid-template-columns: repeat(2, 1fr); }

  /* team */
  .team-members-row { grid-template-columns: 1fr 1fr; }
  .team-members-row .team-card:nth-child(n) { grid-column: auto; }
  .team-card.advisor-card { flex-direction: column; text-align: center; padding: 28px 20px; gap: 16px; }
  .advisor-card .advisor-body { text-align: center; }

  /* footer */
  .footer-row { flex-direction: column; gap: 10px; text-align: center; }
  .footer-nav { justify-content: center; gap: 14px; flex-wrap: wrap; }
}

/* ── 480px: small mobile ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* hero */
  .hero-title { font-size: 2.1rem; }
  .hero-sub { font-size: 0.92rem; }
  .phone-wrap .device { zoom: 0.30; }
  .phone-wrap.phone-left { transform: rotate(-5deg) translateX(10px); }

  /* typography */
  .section-title { font-size: 1.85rem; }
  .section-sub { font-size: 0.95rem; }

  /* stats */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card { padding: 22px 14px; }
  .stat-value { font-size: 2.2rem; }

  /* about */
  .about-pills { gap: 6px; }

  /* features */
  .fp-title { font-size: 1.75rem; }
  .fp-text { padding: 16px 14px; }
  .fp-desc { font-size: 0.92rem; }
  .vis-map, .vis-camera, .vis-token, .vis-report, .vis-api, .vis-platforms {
    zoom: 0.65;
  }
  .vis-alerts { zoom: 0.72; }

  /* arch: tighten node padding on small mobile */
  .hub-tier, .hub-core { padding: 14px 14px; }
  .hub-node { padding: 8px 10px; }
  .hub-core-list li { padding: 7px 9px; }
  .hub-icon { width: 30px; height: 30px; padding: 4px; }

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

  /* team */
  .team-members-row { grid-template-columns: 1fr; }
  .team-members-row .team-card:nth-child(n) { grid-column: 1; }

  /* cta */
  .btn-primary.btn-large { padding: 14px 28px; font-size: 0.95rem; }
}
