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

:root {
  --bg: #0F0F0F;
  --surface: #181818;
  --surface-2: #222222;
  --border: #2a2a2a;
  --fg: #F5F4EF;
  --fg-2: #888888;
  --accent: #BFFF00;
  --accent-dim: rgba(191, 255, 0, 0.12);
  --red: #FF4444;
  --red-dim: rgba(255, 68, 68, 0.12);
  --red-border: rgba(255, 68, 68, 0.30);
  --urgent-bg: #1a0a0a;
  --urgent-surface: #240d0d;
  --amber: #FFB800;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

::selection { background: var(--accent); color: var(--bg); }

/* ===== LAYOUT ===== */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 64px;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 13px;
  color: var(--fg-2);
  letter-spacing: 0.02em;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-dim);
  border: 1px solid rgba(191, 255, 0, 0.25);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

.headline-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-lede {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.65;
  max-width: 480px;
}

/* ===== DISPATCH CONSOLE ===== */
.dispatch-console {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.console-dots span:first-child { background: #FF5F57; }
.console-dots span:nth-child(2) { background: #FFBD2E; }
.console-dots span:nth-child(3) { background: #28CA41; }

.console-title {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-2);
}

.console-status {
  font-size: 11px;
  color: var(--accent);
  font-weight: 500;
}

.console-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.call-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  transition: all 0.2s ease;
}

.call-emergency {
  border-color: rgba(191, 255, 0, 0.4);
  background: rgba(191, 255, 0, 0.04);
}

.call-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.call-indicator {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.call-indicator--low { background: var(--fg-2); }

.call-time {
  font-size: 11px;
  color: var(--fg-2);
  font-family: var(--font-display);
}

.call-badge {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--bg);
}

.call-badge--med { background: var(--amber); color: var(--bg); }
.call-badge--low { background: #333; color: var(--fg-2); }

.call-address {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}

.call-type {
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 8px;
}

.call-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.call-customer {
  font-size: 11px;
  color: var(--fg-2);
}

.call-score {
  font-size: 11px;
  color: var(--fg-2);
}

.call-score strong {
  color: var(--accent);
  font-weight: 700;
}

.tech-slot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--fg-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
}

.tech-slot.filled {
  color: var(--accent);
  border-color: rgba(191,255,0,0.2);
  background: var(--accent-dim);
}

.console-footer {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}

.stat-pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  border-right: 1px solid var(--border);
}

.stat-pair:last-child { border-right: none; }

.stat-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
}

.stat-val.lime { color: var(--accent); }

.stat-label {
  font-size: 10px;
  color: var(--fg-2);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 20px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  margin-top: 80px;
  font-size: 14px;
  color: var(--fg-2);
}

.hero-proof strong { color: var(--accent); font-weight: 700; }

.proof-source {
  font-size: 11px;
  color: #555;
  margin-left: 4px;
}

/* ===== PROBLEM ===== */
.problem { padding: 100px 0; border-top: 1px solid var(--border); }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.problem-item {
  background: var(--surface);
  padding: 36px;
}

.problem-icon {
  margin-bottom: 20px;
}

.problem-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.problem-item p {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.steps-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.step-connector {
  width: 40px;
  height: 2px;
  background: var(--border);
  align-self: center;
  flex-shrink: 0;
  margin: 0 -4px;
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: -5px;
  width: 8px;
  height: 12px;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transform: rotate(45deg);
}

.step-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 16px;
}

.step-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.step-body p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--surface);
  padding: 36px;
}

.feature-svg {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.65;
}

/* ===== OUTCOMES ===== */
.outcomes {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.outcomes-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.outcomes-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  margin-bottom: 20px;
}

.outcomes-body {
  font-size: 15px;
  color: var(--fg-2);
  line-height: 1.7;
}

.outcomes-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.outcome-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.outcome-val {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.outcome-desc {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ===== CLOSING ===== */
.closing { padding: 100px 0; border-top: 1px solid var(--border); }

.closing-inner { text-align: center; }

.closing-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto 28px;
}

.closing-tagline {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--fg-2);
  margin-top: 8px;
  margin-left: 34px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-2);
  max-width: 280px;
  text-align: right;
  line-height: 1.5;
}

.footer-bottom {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 40px 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { order: -1; }
  .problem-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .outcomes-inner { grid-template-columns: 1fr; gap: 48px; }
  .steps-track { flex-direction: column; }
  .step-connector { display: none; }
}

@media (max-width: 600px) {
  .section-inner { padding: 0 20px; }
  .hero-inner { padding: 0 20px; }
  .footer-inner { flex-direction: column; padding: 0 20px; }
  .footer-tagline { text-align: left; }
  .features-grid { grid-template-columns: 1fr; }
  .navbar { padding: 16px 20px; }
  .nav-tagline { display: none; }
  .hero-proof { flex-wrap: wrap; text-align: center; }
  .section-heading { font-size: 26px; }
}