/* ═══════════════════════════════════════════════════════════════════════════
   SafeStop Documentation & Marketing Site
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --navy: #0f172a;
  --slate: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --green: #16a34a;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --red: #ef4444;
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { font-family: var(--font); color: var(--slate); line-height: 1.6; background: #fff; }

/* ── Navigation ──────────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled { border-bottom-color: var(--gray-200); box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; padding: 12px 24px; gap: 12px; }
.nav-logo { font-size: 20px; font-weight: 800; color: var(--navy); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--gray-500); font-size: 13px; font-weight: 500; padding: 6px 10px; border-radius: 6px; transition: all 0.15s; }
.nav-links a:hover { color: var(--navy); background: var(--gray-100); }
.nav-cta { background: var(--amber) !important; color: #fff !important; font-weight: 700 !important; padding: 6px 16px !important; }
.nav-cta:hover { background: var(--amber-dark) !important; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--navy); cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 12px; border-bottom: 1px solid var(--gray-200); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 16px; }
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-block; padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.2s; border: 2px solid transparent; font-family: var(--font); }
.btn-primary { background: var(--amber); color: #fff; }
.btn-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--gray-200); }
.btn-outline:hover { border-color: var(--navy); }
.section-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.section-dark .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-ghost { background: transparent; color: var(--gray-500); }
.btn-ghost:hover { color: var(--navy); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 24px 80px; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); z-index: 0; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(245,158,11,0.12) 0%, transparent 70%); }
.hero-content { position: relative; z-index: 10; max-width: 800px; text-align: center; }

/* ── Road Effect v2 (elevated highway with windshield) ───────────────────── */
.road-v2 {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1; overflow: hidden; cursor: pointer;
  opacity: 0.5;
}
.rv2-shroud {
  position: absolute; top: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, #000 0%, #000 5%, transparent 35%);
  z-index: 10; pointer-events: none;
}
.rv2-viewport {
  position: absolute; bottom: 10%; width: 100%; height: 100%;
  perspective: 250px; display: flex; justify-content: center;
}
.rv2-plane {
  position: absolute; bottom: 0; width: 100%; height: 150%;
  transform: rotateX(72deg); transform-origin: bottom;
  display: flex; justify-content: center;
}
.rv2-line {
  position: absolute; bottom: 0; height: 800%; opacity: 0.25;
}
.rv2-yellow {
  width: 50px;
  background: repeating-linear-gradient(to top, #ffd700 0%, #ffd700 150px, transparent 150px, transparent 300px);
  clip-path: polygon(45% 0%, 55% 0%, 100% 100%, 0% 100%);
  animation: rv2-drive 0.8s linear infinite;
}
.rv2-shoulder { width: 10px; background: #fff; }
.rv2-left { left: 10%; }
.rv2-right { right: 10%; }
.rv2-streak {
  position: absolute; width: 20px; height: 150px;
  background: #fff; opacity: 0.08; bottom: 0;
}
.rv2-s1 { left: 5%; animation: rv2-streak 2.1s linear infinite; }
.rv2-s2 { right: 5%; animation: rv2-streak 1.8s linear infinite 0.4s; }
.rv2-s3 { left: -5%; animation: rv2-streak 3.5s linear infinite 1.2s; }
.rv2-s4 { right: -5%; animation: rv2-streak 2.7s linear infinite 0.8s; }
.rv2-dust {
  position: absolute; width: 100%; height: 100%;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 300px 300px; opacity: 0.1;
  animation: rv2-drive 1.6s linear infinite;
}
/* Windshield blur transition — covers bottom portion over the road */
.rv2-windshield {
  position: absolute; top: 50%; left: 0; right: 0; bottom: 0; z-index: 2;
  backdrop-filter: blur(10px) brightness(0.5) saturate(0.4);
  -webkit-backdrop-filter: blur(10px) brightness(0.5);
  background: rgba(15, 15, 25, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 15%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%);
}
/* Speed toggle */
.road-v2.fast .rv2-yellow { animation-duration: 0.25s; }
.road-v2.fast .rv2-dust { animation-duration: 0.4s; opacity: 0.3; }
.road-v2.fast .rv2-streak { animation-duration: 0.5s !important; opacity: 0.2; }
.road-v2.fast .rv2-line { opacity: 0.4; }

@keyframes rv2-drive { 0% { transform: translateY(0); } 100% { transform: translateY(300px); } }
@keyframes rv2-streak { 0% { transform: translateY(-2000px); opacity: 0; } 20% { opacity: 0.1; } 100% { transform: translateY(2000px); opacity: 0; } }

/* ── Stencil "Launching Soon" — Hero Split Layout ───────────────────────── */
.hero-split {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 24px;
}

.hero-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-split-right {
  flex-shrink: 0;
}

.stencil-block {
  position: relative;
  transform: rotate(4deg);
  pointer-events: none;
  user-select: none;
  width: 320px;
}

.stencil-line {
  font-family: 'Impact', 'Arial Black', 'Helvetica Neue', sans-serif;
  text-transform: uppercase;
  line-height: 1.1;
  color: #f59e0b;
  text-align: center;
  position: relative;
  text-shadow: 0 2px 12px rgba(245, 158, 11, 0.25);
}

.stencil-line-1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: 6px;
  padding: 10px 20px;
  border: 3px solid rgba(245, 158, 11, 0.6);
  border-radius: 3px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(6px);
  margin-bottom: 8px;
}

.stencil-line-2 {
  font-size: clamp(12px, 1.6vw, 16px);
  font-weight: 700;
  letter-spacing: 6px;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
}

/* Pilot callout strip */
.pilot-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  padding: 10px 20px;
  margin: 20px auto 24px;
  max-width: 680px;
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
}
.pilot-icon { font-size: 22px; flex-shrink: 0; }

@media (max-width: 600px) {
  .hero-split {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .hero-split-left {
    align-items: center;
  }
  .stencil-block {
    width: 260px;
    transform: rotate(3deg);
  }
  .pilot-callout { flex-direction: column; text-align: center; }
}

/* ── Bus HUD Overlay ─────────────────────────────────────────────────────── */
.bus-hud {
  position: absolute; top: 65%; bottom: 0; left: 0; right: 0; z-index: 15;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px;
  pointer-events: none; opacity: 0.6;
}
.hud-left-stack {
  display: flex; flex-direction: row; gap: 12px; align-items: center;
}
.hud-right-stack {
  display: flex; flex-direction: row; gap: 12px; align-items: center;
}
.hud-gauges {
  display: flex; flex-direction: column; gap: 8px; width: 260px;
  background: rgba(15,23,42,0.7); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 16px 20px; backdrop-filter: blur(6px);
}
.hud-gauge { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.gauge-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em; text-transform: uppercase; width: 90px;
}
.gauge-value {
  font-size: 16px; font-weight: 800; color: #f59e0b;
  font-family: 'Courier New', monospace; width: 60px; text-align: right;
}
.gauge-bar {
  width: 100%; height: 4px; background: rgba(255,255,255,0.08);
  border-radius: 2px; overflow: hidden; margin-top: 2px;
}
.gauge-bar-green .gauge-fill { background: #22c55e; }
.gauge-fill {
  height: 100%; background: #f59e0b; border-radius: 2px;
  transition: width 1s ease;
}
.speed-fill { width: 58%; animation: hud-fluctuate-speed 4s ease-in-out infinite; }
.rpm-fill { width: 42%; animation: hud-fluctuate-rpm 3.5s ease-in-out infinite; }
.charge-fill { width: 87%; animation: hud-drain 20s linear infinite; }
.fuel-fill { width: 68%; animation: hud-drain-slow 30s linear infinite; }

.hud-indicators {
  display: flex; gap: 12px; margin-top: 6px; padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hud-indicator {
  font-size: 14px; opacity: 0.15; filter: grayscale(1);
}
.hud-indicator.hud-on { opacity: 0.7; filter: none; }
.hud-indicator.hud-warn { opacity: 0.9; filter: none; animation: hud-blink 1s ease-in-out infinite; }

/* Radio HUD */
.hud-radio {
  width: 260px; background: rgba(15,23,42,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(6px);
  pointer-events: auto; cursor: default;
  display: flex; flex-direction: column; gap: 8px;
}
.radio-screen {
  background: #0a1628; border: 1px solid rgba(245,158,11,0.2);
  border-radius: 6px; padding: 8px 10px; text-align: center;
  font-family: 'Courier New', monospace; font-size: 11px; font-weight: 700;
  color: #f59e0b; letter-spacing: 0.05em; min-height: 36px;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 0 8px rgba(245,158,11,0.4);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.radio-screen.playing { animation: radio-glow 2s ease-in-out infinite; }
@keyframes radio-glow {
  0%, 100% { border-color: rgba(245,158,11,0.2); }
  50% { border-color: rgba(245,158,11,0.5); }
}
.radio-controls {
  display: flex; justify-content: center; gap: 6px;
}
.radio-btn {
  width: 32px; height: 28px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px; background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.5);
  font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.radio-btn:hover { background: rgba(255,255,255,0.1); color: #f59e0b; }
.radio-btn:active { transform: scale(0.93); }
.radio-play.active { color: #22c55e; border-color: rgba(34,197,94,0.3); }
.radio-presets {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px;
}
.radio-preset {
  padding: 5px 0; border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.35);
  font-size: 10px; font-weight: 700; cursor: pointer; text-align: center;
  font-family: 'Courier New', monospace; transition: all 0.15s;
}
.radio-preset:hover { background: rgba(245,158,11,0.15); color: #f59e0b; }
.radio-preset.active {
  background: rgba(245,158,11,0.2); color: #f59e0b;
  border-color: rgba(245,158,11,0.4); box-shadow: 0 0 6px rgba(245,158,11,0.2);
}
.radio-volume {
  display: flex; align-items: center; gap: 6px;
}
.radio-vol-icon { font-size: 12px; opacity: 0.4; }
.radio-slider {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px;
  background: rgba(255,255,255,0.1); border-radius: 2px; outline: none;
  cursor: pointer;
}
.radio-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 12px; height: 12px;
  background: #f59e0b; border-radius: 50%; cursor: pointer;
  box-shadow: 0 0 4px rgba(245,158,11,0.4);
}
.radio-slider::-moz-range-thumb {
  width: 12px; height: 12px; border: none;
  background: #f59e0b; border-radius: 50%; cursor: pointer;
}
.radio-eq {
  display: flex; justify-content: center; gap: 3px; height: 18px;
  align-items: flex-end; opacity: 0;
  transition: opacity 0.3s;
}
.radio-eq.active { opacity: 1; }
.eq-bar {
  width: 4px; background: #f59e0b; border-radius: 1px;
  animation: eq-bounce 0.6s ease-in-out infinite alternate;
}
.eq-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.eq-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.eq-bar:nth-child(3) { height: 45%; animation-delay: 0.2s; }
.eq-bar:nth-child(4) { height: 80%; animation-delay: 0.05s; }
.eq-bar:nth-child(5) { height: 55%; animation-delay: 0.15s; }
.eq-bar:nth-child(6) { height: 70%; animation-delay: 0.25s; }
.eq-bar:nth-child(7) { height: 40%; animation-delay: 0.08s; }
.eq-bar:nth-child(8) { height: 65%; animation-delay: 0.18s; }
.eq-bar:nth-child(9) { height: 35%; animation-delay: 0.12s; }
@keyframes eq-bounce {
  0% { transform: scaleY(0.3); } 100% { transform: scaleY(1); }
}

/* CB / Dispatch Radio */
.hud-cb {
  width: 140px; background: rgba(15,23,42,0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(6px);
  pointer-events: auto; cursor: default;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
}
.cb-label {
  font-size: 9px; font-weight: 700; color: rgba(255,255,255,0.3);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.cb-screen {
  width: 100%; background: #0a1628; border: 1px solid rgba(34,197,94,0.2);
  border-radius: 5px; padding: 6px 8px; text-align: center;
  font-family: 'Courier New', monospace; font-size: 9px; font-weight: 700;
  color: #22c55e; letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(34,197,94,0.4);
  min-height: 28px; display: flex; align-items: center; justify-content: center;
}
.cb-screen.active { animation: cb-glow 0.5s ease-in-out infinite; }
@keyframes cb-glow {
  0%, 100% { border-color: rgba(34,197,94,0.2); }
  50% { border-color: rgba(34,197,94,0.6); }
}
.cb-ptt {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.1);
  background: radial-gradient(circle at 40% 35%, #374151, #1f2937);
  color: rgba(255,255,255,0.4); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; transition: all 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cb-ptt:hover { border-color: rgba(34,197,94,0.4); color: #22c55e; }
.cb-ptt:active, .cb-ptt.transmitting {
  transform: scale(0.92);
  background: radial-gradient(circle at 40% 35%, #1f4d2e, #1f2937);
  border-color: #22c55e; color: #22c55e;
  box-shadow: 0 0 12px rgba(34,197,94,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}
.cb-ptt-icon { font-size: 16px; line-height: 1; }
.cb-ptt-text { font-size: 8px; font-weight: 800; letter-spacing: 0.1em; }
.cb-channels {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 100%;
}
.cb-ch {
  padding: 4px 0; border: 1px solid rgba(255,255,255,0.06); border-radius: 4px;
  background: rgba(255,255,255,0.03); color: rgba(255,255,255,0.3);
  font-size: 8px; font-weight: 700; cursor: pointer; text-align: center;
  font-family: 'Courier New', monospace; transition: all 0.15s;
}
.cb-ch:hover { background: rgba(34,197,94,0.1); color: #22c55e; }
.cb-ch.active { background: rgba(34,197,94,0.15); color: #22c55e; border-color: rgba(34,197,94,0.3); }
.cb-indicator {
  display: flex; align-items: center; gap: 5px;
}
.cb-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #475569;
  transition: background 0.3s;
}
.cb-indicator.active .cb-dot { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.5); }
.cb-status {
  font-size: 8px; color: rgba(255,255,255,0.3); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}

/* GPS Route Map */
.hud-gps {
  width: 400px; background: rgba(15,23,42,0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 14px 18px; backdrop-filter: blur(6px);
}
.gps-label {
  font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px;
}
.gps-blink { color: #22c55e; animation: hud-blink 1.5s ease-in-out infinite; font-size: 8px; }
.gps-map { width: 100%; height: auto; }
.gps-route {
  stroke-dasharray: 400; stroke-dashoffset: 400;
  animation: gps-draw 6s ease-in-out infinite;
}
.gps-stop { opacity: 0; }
.gps-stop-1 { animation: gps-dot 6s ease-in-out infinite 0s; }
.gps-stop-2 { animation: gps-dot 6s ease-in-out infinite 1.2s; }
.gps-stop-3 { animation: gps-dot 6s ease-in-out infinite 2.4s; }
.gps-stop-4 { animation: gps-dot 6s ease-in-out infinite 3.6s; }
.gps-stop-5 { animation: gps-dot 6s ease-in-out infinite 4.8s; }
.gps-bus {
  animation: gps-bus-move 6s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(59,130,246,0.6));
}
.gps-info {
  display: flex; justify-content: space-between; margin-top: 8px;
  font-size: 11px; color: rgba(255,255,255,0.3); font-family: 'Courier New', monospace;
}

@keyframes hud-fluctuate-speed {
  0%, 100% { width: 58%; } 25% { width: 52%; } 50% { width: 63%; } 75% { width: 55%; }
}
@keyframes hud-fluctuate-rpm {
  0%, 100% { width: 42%; } 30% { width: 50%; } 60% { width: 38%; } 80% { width: 46%; }
}
@keyframes hud-drain { 0% { width: 87%; } 100% { width: 82%; } }
@keyframes hud-drain-slow { 0% { width: 68%; } 100% { width: 65%; } }
@keyframes hud-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }
@keyframes gps-draw {
  0% { stroke-dashoffset: 400; } 80% { stroke-dashoffset: 0; } 90%, 100% { stroke-dashoffset: 0; }
}
@keyframes gps-dot {
  0%, 5% { opacity: 0; transform: scale(0); } 10%, 85% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; }
}
@keyframes gps-bus-move {
  0% { cx: 10; cy: 100; }
  15% { cx: 70; cy: 88; }
  30% { cx: 100; cy: 60; }
  50% { cx: 155; cy: 40; }
  70% { cx: 210; cy: 25; }
  85%, 100% { cx: 270; cy: 15; }
}

@media (max-width: 768px) {
  .road-v2 { opacity: 0.25; }
  .rv2-windshield { display: none; }
  .bus-hud { display: none; }
  .hud-left-stack { display: none; }
}
.hero-badge { display: inline-block; background: rgba(245,158,11,0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); border-radius: 20px; padding: 4px 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.hero-accent { color: var(--amber); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 640px; margin: 0 auto 32px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 900; color: var(--amber); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: 80px 24px; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--navy); padding: 80px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; background: rgba(245,158,11,0.1); color: var(--amber-dark); border-radius: 20px; padding: 4px 14px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.section-header h2 { font-size: 32px; font-weight: 800; color: var(--navy); }
.section-sub { font-size: 16px; color: var(--gray-500); max-width: 600px; margin: 12px auto 0; }

/* ── Feature grid ────────────────────────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 14px; padding: 28px 24px; transition: all 0.2s; }
.feature-card:hover { border-color: var(--amber); box-shadow: 0 8px 24px rgba(245,158,11,0.08); transform: translateY(-2px); }
.feature-icon { font-size: 32px; margin-bottom: 14px; }
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.65; }
.badge-coming { display: inline-block; background: var(--purple); color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 10px; font-weight: 700; vertical-align: middle; margin-left: 4px; }

/* ── Guide steps ─────────────────────────────────────────────────────────── */
.guide-steps { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.guide-step { border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color 0.2s; }
.guide-step.open { border-color: var(--amber); }
.guide-step-header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; cursor: pointer; user-select: none; }
.guide-step-header:hover { background: var(--gray-50); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--amber); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 800; flex-shrink: 0; }
.guide-step.open .step-num { background: var(--navy); }
.step-title { flex: 1; }
.step-title h3 { font-size: 15px; font-weight: 700; color: var(--navy); }
.step-title p { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.step-chevron { font-size: 12px; color: var(--gray-400); transition: transform 0.2s; }
.guide-step.open .step-chevron { transform: rotate(180deg); }
.guide-step-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.guide-step.open .guide-step-body { max-height: 1200px; }
.step-content { padding: 0 20px 20px 70px; }
.step-content h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin: 16px 0 8px; }
.step-content ol, .step-content ul { padding-left: 20px; }
.step-content li { margin-bottom: 6px; font-size: 13px; color: var(--gray-700); }
.step-tip { background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 14px; margin-top: 12px; font-size: 12px; color: #92400e; }

/* ── Two-column layout ───────────────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.col-text h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.col-text h3:first-child { margin-top: 0; }
.col-text p, .col-text li { font-size: 14px; color: var(--gray-700); line-height: 1.7; }
.col-text ul { padding-left: 20px; }
.col-text li { margin-bottom: 6px; }
.col-text kbd { background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 4px; padding: 1px 5px; font-size: 12px; font-family: monospace; }

/* ── Visual cards ────────────────────────────────────────────────────────── */
.visual-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.section-alt .visual-card { background: #fff; }
.visual-header { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gray-100); }
.visual-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 10px; }
.check-list { list-style: none; padding: 0; }
.check-list li { font-size: 13px; color: var(--gray-700); padding: 3px 0; }

/* ── Tool list ───────────────────────────────────────────────────────────── */
.tool-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.tool-item { display: flex; gap: 12px; align-items: flex-start; }
.tool-icon { font-size: 20px; flex-shrink: 0; width: 32px; text-align: center; }
.tool-item div { font-size: 13px; color: var(--gray-700); line-height: 1.6; }

/* ── Workflow steps ──────────────────────────────────────────────────────── */
.workflow-steps { display: flex; flex-direction: column; align-items: center; gap: 0; }
.wf-step { display: flex; align-items: center; gap: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 8px; padding: 8px 16px; width: 100%; font-size: 13px; color: var(--gray-700); }
.wf-num { width: 24px; height: 24px; border-radius: 50%; background: var(--amber); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.wf-arrow { color: var(--gray-400); font-size: 16px; padding: 2px 0; }

/* ── Mini table ──────────────────────────────────────────────────────────── */
.mini-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.mini-table th { background: var(--navy); color: #fff; padding: 6px 10px; text-align: left; font-size: 11px; text-transform: uppercase; }
.mini-table td { padding: 6px 10px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700); }
.mini-table code { background: var(--gray-100); border-radius: 3px; padding: 1px 4px; font-size: 11px; }

/* ── Method cards ────────────────────────────────────────────────────────── */
.method-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0; }
@media (max-width: 600px) { .method-cards { grid-template-columns: 1fr; } }
.method-card { background: var(--gray-50); border-radius: 10px; padding: 14px; border: 1px solid var(--gray-200); }
.method-card h5 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.method-card p { font-size: 12px; color: var(--gray-500); line-height: 1.5; }

/* ── Indicator list ──────────────────────────────────────────────────────── */
.indicator-list { display: flex; flex-direction: column; gap: 10px; }
.indicator { font-size: 12px; color: var(--gray-700); display: flex; align-items: center; gap: 10px; }
.ind-badge { border-radius: 4px; padding: 2px 8px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.ind-red { background: #fef2f2; color: #dc2626; }
.ind-orange { background: #fff7ed; color: #f97316; }
.ind-blue { background: #dbeafe; color: #1d4ed8; }
.ind-gray { background: var(--gray-100); color: var(--gray-500); }

/* ── Run explainer ───────────────────────────────────────────────────────── */
.run-explainer { margin-bottom: 40px; }
.run-timeline { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; margin-bottom: 12px; }
.run-block { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; border-radius: 8px; padding: 14px 18px; min-width: 100px; }
.rb-label { font-size: 13px; font-weight: 700; }
.rb-time { font-size: 11px; opacity: 0.8; margin-top: 2px; }
.run-arrow { font-size: 20px; color: var(--gray-400); padding: 0 8px; }
.run-caption { text-align: center; font-size: 13px; color: var(--gray-400); font-style: italic; }

/* ── Builder mock ────────────────────────────────────────────────────────── */
.builder-mock { display: flex; gap: 6px; border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; min-height: 160px; }
.bm-col { padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.bm-left { width: 30%; background: var(--gray-50); border-right: 1px solid var(--gray-200); }
.bm-center { width: 40%; }
.bm-right { width: 30%; background: var(--gray-50); border-left: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: center; }
.bm-label { font-size: 9px; font-weight: 700; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.bm-item { font-size: 11px; color: var(--gray-700); padding: 4px 6px; background: #fff; border-radius: 4px; border: 1px solid var(--gray-200); }
.bm-section { font-size: 11px; color: var(--navy); padding: 8px; background: #fff; border-radius: 6px; border: 1px solid var(--gray-200); border-left: 3px solid; font-weight: 600; }
.bm-section small { font-weight: 400; color: var(--gray-500); }
.bm-connector { font-size: 10px; color: var(--gray-400); text-align: center; padding: 4px; }
.bm-map { font-size: 48px; color: var(--gray-200); }

/* ── Demo timeline ───────────────────────────────────────────────────────── */
.demo-timeline { display: flex; height: 24px; border-radius: 4px; overflow: hidden; border: 1px solid var(--gray-200); }
.dt-seg { display: flex; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; }
.dt-conn { background: var(--gray-100) !important; color: var(--gray-400) !important; font-size: 8px; }
.dt-labels { display: flex; justify-content: space-between; font-size: 9px; color: var(--gray-400); margin-top: 2px; }

/* ── Report grid ─────────────────────────────────────────────────────────── */
.report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.report-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px; transition: all 0.2s; }
.report-card:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(59,130,246,0.08); }
.report-icon { font-size: 28px; margin-bottom: 12px; }
.report-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.report-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; margin-bottom: 10px; }
.report-format { font-size: 10px; font-weight: 700; color: var(--blue); background: #eff6ff; border-radius: 4px; padding: 2px 8px; }

/* ── Simulation grid ─────────────────────────────────────────────────────── */
.sim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.sim-card { background: #fff; border: 1px solid var(--gray-200); border-radius: 12px; padding: 24px; border-left: 4px solid var(--purple); }
.sim-card h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.sim-card p { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── Vehicle mock ────────────────────────────────────────────────────────── */
.vehicle-mock { background: #fff; border: 1px solid var(--gray-200); border-radius: 10px; padding: 14px; font-size: 12px; }
.vm-row { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.vm-icon { font-size: 18px; }
.vm-id { color: var(--gray-400); font-size: 11px; margin-left: auto; }
.vm-meta { color: var(--gray-500); margin-bottom: 4px; }
.vm-battery { color: var(--green); font-weight: 600; margin-bottom: 6px; }
.vm-bottom { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--gray-100); }
.vm-status { font-size: 11px; }
.vm-route { font-size: 11px; color: var(--blue); margin-left: auto; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 6px; }
.faq-item { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--amber); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; font-weight: 600; color: var(--navy); }
.faq-chevron { font-size: 18px; color: var(--gray-400); transition: transform 0.2s; font-weight: 400; }
.faq-item.open .faq-chevron { transform: rotate(45deg); color: var(--amber); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s; padding: 0 18px; font-size: 13px; color: var(--gray-700); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 18px 16px; }

/* ── CTA ─────────────────────────────────────────────────────────────────── */
/* ── Pricing ──────────────────────────────────────────────────────────────── */
.pricing-gate { display: flex; justify-content: center; }
.pricing-gate-card {
  background: #fff; border-radius: 16px; padding: 40px 36px; max-width: 480px; width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08); text-align: center; border: 1px solid var(--gray-200);
}
.pricing-gate-icon { font-size: 40px; margin-bottom: 12px; }
.pricing-gate-card h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.pricing-gate-card > p { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; }
.pricing-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.pricing-input {
  width: 100%; padding: 10px 14px; border-radius: 8px; border: 1.5px solid var(--gray-200);
  font-size: 14px; font-family: var(--font); color: var(--navy); background: var(--gray-50);
  box-sizing: border-box;
}
.pricing-input:focus { outline: none; border-color: var(--amber); }
.pricing-gate-note { font-size: 11px; color: var(--gray-400); margin-top: 14px; line-height: 1.5; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 32px; } }
.pricing-card {
  background: #fff; border: 1.5px solid var(--gray-200); border-radius: 16px;
  padding: 28px 24px; display: flex; flex-direction: column; position: relative;
  transition: all 0.2s;
}
.pricing-card:hover { border-color: var(--amber); box-shadow: 0 8px 24px rgba(245,158,11,0.08); }
.pricing-featured { border-color: var(--amber); box-shadow: 0 8px 32px rgba(245,158,11,0.12); transform: scale(1.03); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 14px; border-radius: 12px; white-space: nowrap;
}
.pricing-tier { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.pricing-desc { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; min-height: 36px; }
.pricing-price { margin-bottom: 4px; }
.pricing-amount { font-size: 36px; font-weight: 900; color: var(--navy); }
.pricing-period { font-size: 14px; color: var(--gray-400); font-weight: 500; }
.pricing-per { font-size: 12px; color: var(--gray-500); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.pricing-features { list-style: none; padding: 0; margin: 0 0 20px; flex: 1; }
.pricing-features li { font-size: 13px; padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; line-height: 1.4; }
.pricing-features li::before { flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.pricing-features li.included { color: var(--gray-700); }
.pricing-features li.included::before { content: '\2705'; }
.pricing-features li.not-included { color: var(--gray-400); }
.pricing-features li.not-included::before { content: '\2014'; color: var(--gray-200); }
/* District Partner callout */
.pricing-partner {
  margin-bottom: 28px; background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  border-radius: 16px; overflow: hidden;
}
.pricing-partner-inner {
  display: flex; gap: 32px; padding: 32px;
}
@media (max-width: 800px) { .pricing-partner-inner { flex-direction: column; gap: 20px; } }
.pricing-partner-left { flex: 1; }
.pricing-partner-tag {
  display: inline-block; background: rgba(245,158,11,0.15); color: var(--amber);
  border-radius: 12px; padding: 4px 14px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px;
}
.pricing-partner-left h3 { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.pricing-partner-left p { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.7; }
.pricing-partner-left p strong { color: var(--amber); }
.pricing-partner-right { flex: 1; }
.pricing-partner-right .pricing-features li.included { color: rgba(255,255,255,0.85); }
.pricing-partner-right .pricing-features li.included::before { content: '\2705'; }

.pricing-footnotes {
  background: #fff; border: 1px solid var(--gray-200); border-radius: 12px;
  padding: 20px 24px; font-size: 13px; color: var(--gray-500); line-height: 1.7;
}
.pricing-footnotes p { margin-bottom: 8px; }
.pricing-footnotes p:last-child { margin-bottom: 0; }
.pricing-footnotes strong { color: var(--gray-700); }

.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* ── Screenshots ─────────────────────────────────────────────────────────── */
.hero-screenshot { margin-top: 40px; }
.screenshot-hero {
  width: 100%; max-width: 900px; border-radius: 12px;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.screenshot-row { margin-bottom: 32px; text-align: center; }
.screenshot-wide {
  width: 100%; max-width: 960px; border-radius: 10px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3));
}
.screenshot-pair {
  display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start;
  justify-content: center;
}
@media (max-width: 700px) { .screenshot-pair { flex-direction: column; align-items: center; } }
.screenshot-half {
  width: calc(50% - 8px); max-width: 480px; border-radius: 10px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3));
}
@media (max-width: 700px) { .screenshot-half { width: 100%; } }
.screenshot-card { margin-bottom: 16px; }
.screenshot-fit {
  width: 100%; border-radius: 10px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3));
}
.screenshot-vertical {
  width: 100%; max-width: 320px; border-radius: 10px;
  display: block; margin: 0 auto;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3));
}
.screenshot-vertical-small {
  width: 280px; flex-shrink: 0; border-radius: 10px;
  filter: drop-shadow(0 10px 28px rgba(0,0,0,0.3));
}
@media (max-width: 700px) { .screenshot-vertical-small { width: 100%; max-width: 300px; } }
.screenshot-caption-panel {
  flex: 1; padding: 20px 0; min-width: 200px;
}
.screenshot-caption-panel h3 {
  font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 12px;
}
.screenshot-caption-panel p {
  font-size: 14px; color: var(--gray-500); line-height: 1.7; margin-bottom: 10px;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  max-width: 900px; margin: 0 auto; align-items: start;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
