:root {
  --bg: #0d1117;
  --surface: #161b22;
  --border: #21262d;
  --fg: #e6edf3;
  --fg-muted: #8b949e;
  --accent: #00d4aa;
  --accent-dim: rgba(0, 212, 170, 0.12);
  --amber: #f59e0b;
  --green: #00d4aa;
  --yellow: #fbbf24;
  --red: #f87171;
  --blue: #60a5fa;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

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

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 400;
}

/* ── HERO ── */
.hero {
  padding: 140px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 28px;
  max-width: 700px;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent) 0%, #00a884 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 52px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  width: fit-content;
}
.stat {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat:first-child { padding-left: 28px; }
.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.stat-div {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ── REALTIME ── */
.realtime {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.realtime-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.realtime-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}
.realtime-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 20px;
}
.realtime-body {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}
.tracker-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.tracker-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tracker-dot-row {
  display: flex;
  gap: 5px;
}
.tracker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.tracker-dot.green { background: #3fb950; }
.tracker-dot.yellow { background: #d29922; }
.tracker-dot.red { background: #f85149; }
.tracker-title {
  font-size: 13px;
  color: var(--fg-muted);
  font-weight: 500;
}
.tracker-row {
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 0.8fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.tracker-row:last-child { border-bottom: none; }
.tracker-id {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 600;
}
.tracker-route {
  color: var(--fg);
  font-weight: 500;
}
.tracker-eta {
  color: var(--fg-muted);
  font-size: 12px;
  text-align: right;
}
.tracker-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  width: fit-content;
}
.tracker-status.in-transit { background: rgba(96, 165, 250, 0.15); color: var(--blue); }
.tracker-status.loaded { background: var(--accent-dim); color: var(--accent); }
.tracker-status.pending { background: rgba(248, 113, 113, 0.12); color: var(--red); }
.tracker-status.delivered { background: rgba(63, 185, 80, 0.12); color: #3fb950; }

/* ── FEATURES ── */
.features {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.features-header {
  margin-bottom: 52px;
}
.features-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 16px;
}
.features-sub {
  font-size: 16px;
  color: var(--fg-muted);
  max-width: 500px;
  line-height: 1.65;
}
.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(--bg);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: var(--surface); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-body {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── ROUTES ── */
.routes {
  padding: 80px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.routes-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.routes-headline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 20px;
}
.routes-body {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.routes-pill {
  display: inline-flex;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 100px;
  padding: 8px 18px;
}
.pill-label {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
}
.routes-diagram {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
}
.node-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}
.node {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  min-width: 100px;
  flex-shrink: 0;
}
.node-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 3px;
}
.node-desc {
  display: block;
  font-size: 11px;
  color: var(--fg-muted);
}
.node-arrow {
  color: var(--fg-muted);
  flex-shrink: 0;
  padding: 0 4px;
}

/* ── PROOF ── */
.proof {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.proof-inner {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 40px;
}
.proof-metric {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.proof-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
}
.proof-label {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.proof-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  flex-shrink: 0;
}
.proof-quote {
  font-size: 16px;
  color: var(--fg-muted);
  font-style: italic;
  line-height: 1.7;
}
.proof-attribution {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
  font-style: normal;
  margin-top: 10px;
  font-weight: 500;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.closing-body {
  font-size: 17px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.footer-tagline {
  font-size: 12px;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 12px;
  color: var(--fg-muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { padding: 120px 20px 72px; }
  .hero-headline { font-size: 44px; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat { padding: 16px 20px; }
  .stat-div { width: 100%; height: 1px; }

  .realtime { grid-template-columns: 1fr; gap: 36px; padding: 60px 20px; }
  .tracker-row { grid-template-columns: 1fr 1fr; }

  .features { padding: 60px 20px; }
  .features-grid { grid-template-columns: 1fr; }

  .routes-inner { grid-template-columns: 1fr; gap: 36px; }
  .node-row { flex-wrap: wrap; gap: 12px; }
  .node-arrow { display: none; }

  .proof-inner { flex-direction: column; }
  .proof-divider { width: 100%; height: 1px; }
  .proof-metric { padding: 20px; }

  .closing { padding: 72px 20px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}