/* SwiftPikup marketing — aligned with preview mockup, refined type scale */
:root {
  --sp-bg: #020408;
  --sp-surface: #0d1520;
  --sp-surface-2: #111827;
  --sp-border: rgba(255, 255, 255, 0.06);
  --sp-text: #f0f4f8;
  --sp-muted: #64748b;
  --sp-blue: #0ea5e9;
  --sp-cyan: #06d6e8;
  --sp-purple: #8b5cf6;
  --sp-glow: rgba(6, 214, 232, 0.2);
  --sp-font: "Outfit", system-ui, sans-serif;
  --sp-display: "Syne", "Outfit", system-ui, sans-serif;
  --sp-mono: "DM Mono", ui-monospace, monospace;
  --sp-radius: 14px;
  --sp-nav-h: 64px;
  --sp-text-sm: 0.8125rem;
  --sp-text-base: 0.9375rem;
  --sp-text-lg: 1.0625rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sp-marketing {
  margin: 0;
  font-family: var(--sp-font);
  font-weight: 400;
  font-size: var(--sp-text-base);
  background: var(--sp-bg);
  color: var(--sp-text);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.sp-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sp-cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 480px;
  height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sp-glow) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.4;
  transition: transform 0.15s ease-out;
}

.sp-container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Nav */
.sp-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--sp-nav-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(2, 4, 8, 0.92) 0%, rgba(2, 4, 8, 0.4) 100%);
  backdrop-filter: blur(12px);
  transition: background 0.3s, border-color 0.3s;
}
.sp-nav.is-scrolled {
  background: rgba(2, 4, 8, 0.9);
  border-color: var(--sp-border);
}
.sp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--sp-nav-h);
  padding: 0 0.25rem;
}
.sp-nav .sp-container {
  width: min(1180px, 94vw);
}
.sp-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--sp-text);
}
.sp-logo__text {
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
  position: relative;
  top: -3px;
}
.sp-logo__mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-cyan));
  box-shadow: 0 0 18px rgba(6, 214, 232, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
}
.sp-logo__img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: contain;
  flex-shrink: 0;
}
.sp-nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.sp-nav__links a:not(.sp-btn) {
  color: var(--sp-muted);
  text-decoration: none;
  font-size: var(--sp-text-sm);
  font-weight: 400;
  transition: color 0.2s;
}
.sp-nav__links a:not(.sp-btn):hover { color: var(--sp-text); }
.sp-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.sp-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sp-text);
}

/* Buttons */
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  border-radius: 8px;
  font-family: var(--sp-font);
  font-weight: 600;
  font-size: var(--sp-text-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn--primary {
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-cyan));
  color: #020408;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.28);
}
.sp-btn--glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--sp-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}
.sp-btn--ghost {
  background: transparent;
  color: var(--sp-text);
  border: 1px solid var(--sp-border);
  font-weight: 500;
}
.sp-btn--lg { padding: 0.65rem 1.35rem; font-size: var(--sp-text-base); border-radius: 10px; }
.sp-btn--sm { padding: 0.4rem 0.85rem; font-size: 0.75rem; }

/* Hero */
.sp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--sp-nav-h) + 3rem) 0 4rem;
  overflow: hidden;
  background: #020408;
}
.sp-hero--split {
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(420px, 1.12fr);
  gap: 12px;
  align-items: stretch;
  padding: 0;
  min-height: 100vh;
}
.sp-hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--sp-nav-h) + 1.25rem) 1.25rem 2.5rem 3rem;
}
.sp-hero__inner { max-width: 520px; width: 100%; }
.sp-hero__right {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #020408 0%, transparent 10%), #020408;
  overflow: hidden;
  isolation: isolate;
}
.sp-hero__right::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, #020408, transparent);
  z-index: 2;
  pointer-events: none;
}
#sp-truck-canvas-3d {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: min(72vh, 640px);
  margin: auto;
}
.sp-hero__truck-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sp-muted);
  white-space: nowrap;
  opacity: 0.85;
}
.sp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(14, 165, 233, 0.1);
  color: var(--sp-cyan);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.sp-hero-badge__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06d6e8;
  animation: sp-badge-pulse 2s ease-in-out infinite;
}
@keyframes sp-badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}
.sp-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 2rem;
  border: 1px solid var(--sp-border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--sp-border);
  backdrop-filter: blur(16px);
}
.sp-stat-card {
  padding: 1rem 1.1rem;
  background: rgba(13, 21, 32, 0.75);
}
.sp-stat-card__label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--sp-muted);
  margin-bottom: 0.3rem;
}
.sp-stat-card__value {
  font-family: var(--sp-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.sp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#sp-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.sp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}
.sp-hero__content { position: relative; z-index: 2; }
.sp-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-cyan);
  margin: 0 0 0.65rem;
}
.sp-hero__title {
  font-family: var(--sp-display);
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 1rem;
  max-width: 14ch;
}
.sp-hero--split .sp-hero__title {
  max-width: none;
  background: linear-gradient(135deg, #ffffff 0%, #a0c4d8 52%, var(--sp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sp-hero--split .sp-gradient-text {
  background: linear-gradient(135deg, #e8f4fc 0%, var(--sp-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
.sp-gradient-text {
  background: linear-gradient(135deg, #fff 20%, var(--sp-cyan) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sp-hero__sub {
  font-size: var(--sp-text-lg);
  font-weight: 300;
  color: var(--sp-muted);
  max-width: 34rem;
  line-height: 1.65;
  margin: 0 0 1.5rem;
}
.sp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.sp-hero__cta .sp-btn--primary {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: var(--sp-text-base);
}
.sp-hero__cta .sp-btn--glass {
  padding: 0.6rem 1.25rem;
  border-radius: 10px;
  font-size: var(--sp-text-base);
}
.sp-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.sp-stat {
  padding: 1.25rem;
  border-radius: var(--sp-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sp-border);
  backdrop-filter: blur(8px);
}
.sp-stat__value {
  font-family: var(--sp-display);
  font-size: 1.75rem;
  font-weight: 700;
  display: block;
}
.sp-stat__suffix { font-size: 1.25rem; color: var(--sp-cyan); }
.sp-stat__label {
  font-size: 0.8rem;
  color: var(--sp-muted);
  margin-top: 0.25rem;
  display: block;
}

/* Sections */
.sp-section {
  padding: 5rem 0;
  position: relative;
}
.sp-section--alt {
  background: linear-gradient(180deg, transparent, rgba(13, 21, 32, 0.55), transparent);
}
.sp-section__head { margin-bottom: 2.25rem; max-width: 560px; }
.sp-section__head--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 620px; }
.sp-section h2 {
  font-family: var(--sp-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.sp-lead {
  color: var(--sp-muted);
  font-size: var(--sp-text-base);
  font-weight: 300;
  line-height: 1.65;
  margin: 0;
}
.sp-lead--center { margin: 0 auto; max-width: 480px; }

.sp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.sp-split--reverse .sp-terminal { order: -1; }

/* Flow */
.sp-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}
.sp-flow__node {
  flex: 1 1 200px;
  max-width: 240px;
  padding: 1.5rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
}
.sp-flow__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-purple));
  margin-bottom: 1rem;
}
.sp-flow__node h3 { margin: 0 0 0.4rem; font-size: 0.9rem; font-weight: 700; font-family: var(--sp-display); }
.sp-flow__node p { margin: 0; font-size: 0.8rem; color: var(--sp-muted); line-height: 1.55; }
.sp-flow__line {
  position: relative;
  width: 40px;
  align-self: center;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  border-radius: 2px;
}
.sp-flow__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, var(--sp-cyan), var(--sp-purple));
  animation: sp-flow-pulse 2s ease-in-out infinite;
}
.sp-flow__node.is-active {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.12);
}
@keyframes sp-flow-pulse {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}

/* Dashboard mock */
.sp-dashboard {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.sp-dashboard__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sp-border);
  font-size: 0.75rem;
  color: var(--sp-muted);
}
.sp-dashboard__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sp-border);
}
.sp-dashboard__bar em { margin-left: auto; font-style: normal; }
.sp-dashboard__map {
  height: 200px;
  background:
    radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.2), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(167, 139, 250, 0.15), transparent 45%),
    var(--sp-surface-2);
}
.sp-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--sp-border);
}
.sp-dashboard__cards > div {
  padding: 1rem;
  background: var(--sp-surface);
  text-align: center;
}
.sp-dashboard__cards strong {
  display: block;
  font-family: var(--sp-mono);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sp-cyan);
}
.sp-dashboard__cards span { font-size: 0.65rem; color: var(--sp-muted); }

/* Terminal */
.sp-terminal {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  overflow: hidden;
  background: #0a0c10;
}
.sp-terminal__head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--sp-surface-2);
  font-size: 0.75rem;
}
.sp-terminal__head span { width: 10px; height: 10px; border-radius: 50%; background: #444; }
.sp-terminal__head code { margin-left: 8px; color: var(--sp-muted); }
.sp-terminal__body {
  margin: 0;
  padding: 1.25rem;
  font-size: 0.8rem;
  line-height: 1.7;
  color: #a8b0c4;
  overflow-x: auto;
}
.tok-key { color: var(--sp-cyan); }
.tok-str { color: #86efac; }
.tok-comment { color: #6b7280; }

.sp-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.sp-checklist li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--sp-muted);
  font-size: var(--sp-text-sm);
}
.sp-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-cyan);
  box-shadow: 0 0 12px var(--sp-glow);
}
.sp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}
.sp-pills span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid var(--sp-border);
  color: var(--sp-muted);
}

/* Logistics scene — truck, receive & drop blocks */
.sp-logistics-section { padding-top: 4rem; }
.sp-logistics {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(200px, 2fr) minmax(140px, 1fr);
  gap: 1rem;
  align-items: stretch;
  min-height: 320px;
}
.sp-hub {
  padding: 1.25rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.sp-hub--pickup.is-active,
.sp-logistics.is-loading .sp-hub--pickup {
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12);
}
.sp-logistics.is-dropping .sp-hub--drop {
  border-color: rgba(167, 139, 250, 0.45);
  box-shadow: 0 0 40px rgba(167, 139, 250, 0.12);
}
.sp-hub__badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--sp-cyan), var(--sp-blue));
  margin-bottom: 0.75rem;
}
.sp-hub h3 { margin: 0 0 0.25rem; font-size: 1rem; }
.sp-hub p { margin: 0 0 1rem; font-size: 0.8rem; color: var(--sp-muted); }
.sp-hub__dock {
  flex: 1;
  min-height: 120px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed var(--sp-border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
}
.sp-packages {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  align-content: flex-end;
  width: 100%;
}
.sp-package {
  width: 28px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(145deg, #c4a574, #8b6914);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(12px) scale(0.6);
  transition: opacity 0.35s, transform 0.35s;
}
.sp-package.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sp-package--ghost {
  opacity: 0.15;
  transform: scale(0.85);
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--sp-border);
  box-shadow: none;
}
.sp-package--ghost.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: linear-gradient(145deg, #c4a574, #8b6914);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}
.sp-logistics__lane {
  position: relative;
  min-height: 200px;
  border-radius: var(--sp-radius);
  background: linear-gradient(180deg, rgba(18, 21, 31, 0.8), rgba(5, 5, 8, 0.9));
  border: 1px solid var(--sp-border);
  overflow: hidden;
}
#sp-logistics-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}
.sp-logistics__road {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 62%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  z-index: 1;
}
.sp-logistics__status {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-cyan);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
}
.sp-logistics.is-transit .sp-logistics__status {
  animation: sp-status-pulse 1.2s ease-in-out infinite;
}
@keyframes sp-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
}

/* Nigeria network map (canvas) */
.sp-map-container {
  position: relative;
  height: 520px;
  border-radius: 24px;
  border: 1px solid var(--sp-border);
  background: var(--sp-surface);
  overflow: hidden;
}
#sp-nigeria-map-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.sp-map-overlay {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sp-map-stat {
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: rgba(10, 15, 26, 0.88);
  border: 1px solid var(--sp-border);
  backdrop-filter: blur(16px);
}
.sp-map-stat__label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-muted);
}
.sp-map-stat__val {
  font-family: var(--sp-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--sp-cyan);
}
.sp-map-stat__val--live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}
.sp-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  animation: sp-badge-pulse 1.5s ease-in-out infinite;
}

/* World map — routes with arrows (legacy SVG) */
.sp-world-map {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  background: linear-gradient(165deg, #0a0e18 0%, #050508 100%);
  padding: 1.5rem;
  overflow: hidden;
}
.sp-world-map__svg {
  width: 100%;
  height: auto;
  display: block;
}
.sp-world-map__land path {
  transition: fill 0.3s;
}
.sp-world-map__route {
  stroke-linecap: round;
  opacity: 0.85;
}
.sp-world-map__dot {
  fill: var(--sp-cyan);
  filter: url(#sp-glow-filter);
}
.sp-world-map__node.is-hub .sp-world-map__dot {
  fill: #fff;
  stroke: var(--sp-cyan);
  stroke-width: 3;
}
.sp-world-map__pulse {
  fill: none;
  stroke: var(--sp-cyan);
  stroke-width: 1.5;
  opacity: 0.6;
  animation: sp-hub-ring 2s ease-out infinite;
}
@keyframes sp-hub-ring {
  0% { r: 10; opacity: 0.7; }
  100% { r: 28; opacity: 0; }
}
.sp-world-map__label {
  fill: var(--sp-muted);
  font-size: 11px;
  font-family: var(--sp-font);
  font-weight: 500;
}
.sp-world-map__node.is-hub .sp-world-map__label {
  fill: var(--sp-cyan);
  font-weight: 600;
  font-size: 12px;
}
.sp-world-map__caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--sp-muted);
}
@keyframes sp-route-draw {
  to { stroke-dashoffset: 0; }
}

/* Map (legacy pins — unused) */
.sp-map-wrap {
  border-radius: var(--sp-radius);
  border: 1px solid var(--sp-border);
  padding: 2rem;
  background: var(--sp-surface);
}
.sp-map {
  position: relative;
  height: 320px;
  border-radius: 12px;
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.08), transparent 70%),
    linear-gradient(160deg, #0f1219, #050508);
}
.sp-map__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.15);
  border: 1px solid rgba(34, 211, 238, 0.4);
  color: var(--sp-cyan);
  animation: sp-pulse 2.5s ease-in-out infinite;
}
.sp-map__pin:nth-child(2) { animation-delay: 0.4s; }
.sp-map__pin:nth-child(3) { animation-delay: 0.8s; }
.sp-map__pin:nth-child(4) { animation-delay: 1.2s; }
.sp-map__pin:nth-child(5) { animation-delay: 1.6s; }
@keyframes sp-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0); }
}

/* Cards grid */
.sp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.sp-card {
  padding: 1.5rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  transition: border-color 0.2s, transform 0.2s;
}
.sp-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  transform: translateY(-4px);
}
.sp-card h3 { margin: 0 0 0.4rem; font-size: 0.95rem; font-family: var(--sp-display); font-weight: 700; }
.sp-card p { margin: 0; color: var(--sp-muted); font-size: 0.82rem; line-height: 1.55; }

/* Reviews */
.sp-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.sp-review {
  margin: 0;
  padding: 1.75rem;
  border-radius: var(--sp-radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--sp-border);
}
.sp-review p { margin: 0 0 0.85rem; font-size: 0.88rem; line-height: 1.6; color: var(--sp-muted); }
.sp-review footer strong { font-size: 0.85rem; color: var(--sp-cyan); }

/* Driver */
.sp-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.sp-benefit {
  padding: 1rem;
  border-radius: 12px;
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
}
.sp-benefit strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: var(--sp-display);
  font-size: 0.88rem;
  font-weight: 700;
}
.sp-benefit span { font-size: 0.78rem; color: var(--sp-muted); }
.sp-rider-card {
  position: relative;
  min-height: 280px;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  padding: 2rem;
  display: flex;
  align-items: flex-end;
}
.sp-rider-card__glow {
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(circle, var(--sp-glow), transparent 70%);
  filter: blur(40px);
}
.sp-rider-card__stats {
  position: relative;
  display: grid;
  gap: 1rem;
  width: 100%;
}
.sp-rider-card__stats div {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--sp-border);
}
.sp-rider-card__stats span { color: var(--sp-muted); font-size: 0.85rem; }
.sp-rider-card__stats strong {
  color: var(--sp-cyan);
  font-family: var(--sp-display);
  font-size: 1.1rem;
  font-weight: 700;
}

/* CTA band */
.sp-cta-band {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(167, 139, 250, 0.1));
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
}
.sp-cta-band__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.sp-cta-band h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}
.sp-cta-band p {
  font-size: var(--sp-text-base);
  color: var(--sp-muted);
  font-weight: 300;
  max-width: 28rem;
}
.sp-store-row { display: flex; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }
.sp-store {
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: #fff;
  color: #020408;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}
.sp-phones {
  position: relative;
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sp-phone {
  width: 140px;
  height: 260px;
  border-radius: 28px;
  border: 3px solid #333;
  background: linear-gradient(180deg, #1a1d28, #0a0c10);
  position: absolute;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.sp-phone--back { transform: rotate(-8deg) translateX(-40px); opacity: 0.7; }
.sp-phone--front { transform: rotate(6deg) translateX(40px); border-color: var(--sp-cyan); }

/* Footer */
.sp-footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--sp-border);
}
.sp-footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.sp-footer h4 {
  font-family: var(--sp-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sp-muted);
  margin: 0 0 0.85rem;
}
.sp-footer a {
  display: block;
  color: var(--sp-muted);
  text-decoration: none;
  font-size: var(--sp-text-sm);
  margin-bottom: 0.45rem;
}
.sp-footer a:hover { color: var(--sp-cyan); }
.sp-footer__tag { color: var(--sp-muted); font-size: var(--sp-text-sm); line-height: 1.6; max-width: 260px; }
.sp-footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--sp-border);
  font-size: 0.8rem;
  color: var(--sp-muted);
}

/* Reveal (GSAP sets opacity) */
[data-sp-reveal] { opacity: 0; transform: translateY(24px); }

.sp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--sp-cyan), var(--sp-purple));
  box-shadow: 0 0 12px var(--sp-glow);
  pointer-events: none;
}

.sp-page-hero {
  padding: calc(var(--sp-nav-h) + 4rem) 0 3rem;
}
.sp-page-hero--compact { padding-bottom: 2rem; }
.sp-track-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.sp-track-card {
  padding: 2rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.sp-track-card__label {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sp-muted);
}
.sp-track-form { display: grid; gap: 1rem; }
.sp-input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--sp-border);
  background: var(--sp-surface-2);
  color: var(--sp-text);
  font-size: 1rem;
  font-family: inherit;
}
.sp-input:focus {
  outline: none;
  border-color: var(--sp-cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}
.sp-btn--block { width: 100%; justify-content: center; }
.sp-track-card__help {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sp-border);
}
.sp-track-card__help h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.sp-track-card__help p { margin: 0; color: var(--sp-muted); font-size: 0.9rem; }

.sp-alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.sp-alert--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.sp-alert--success {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  color: var(--sp-cyan);
}

.sp-track-steps {
  display: grid;
  gap: 1rem;
}
.sp-track-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
}
.sp-track-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  background: linear-gradient(135deg, var(--sp-blue), var(--sp-purple));
}
.sp-track-step h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.sp-track-step p { margin: 0; color: var(--sp-muted); font-size: 0.9rem; }

.sp-container--narrow { width: min(720px, 92vw); }
.sp-history-head h1 { margin: 0.5rem 0; font-family: var(--sp-display); }
.sp-timeline-card {
  padding: 2rem;
  border-radius: var(--sp-radius);
  background: var(--sp-surface);
  border: 1px solid var(--sp-border);
}
.sp-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sp-timeline__item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 1.75rem;
  border-left: 2px solid var(--sp-border);
  margin-left: 0.5rem;
}
.sp-timeline__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.sp-timeline__dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sp-cyan);
  box-shadow: 0 0 16px var(--sp-glow);
}
.sp-timeline__body h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.sp-timeline__body p { margin: 0 0 0.5rem; color: var(--sp-muted); }
.sp-timeline__body time { font-size: 0.8rem; color: var(--sp-muted); }
.sp-muted { color: var(--sp-muted); }

[data-sp-tilt] { transform-style: preserve-3d; transition: transform 0.2s ease; }
.sp-dashboard__map.is-live {
  background-image:
    radial-gradient(circle at 30% 40%, rgba(34, 211, 238, 0.2), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(59, 130, 246, 0.15), transparent 40%),
    linear-gradient(180deg, #0a0e18, #12151f);
}

@media (max-width: 900px) {
  .sp-split, .sp-split--reverse, .sp-cta-band__inner { grid-template-columns: 1fr; }
  .sp-split--reverse .sp-terminal { order: 0; }
  .sp-flow__line { display: none; }
  .sp-footer__grid { grid-template-columns: 1fr 1fr; }
  .sp-nav__toggle { display: flex; }
  .sp-nav__links {
    display: none;
    position: absolute;
    top: var(--sp-nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(5, 5, 8, 0.98);
    border-bottom: 1px solid var(--sp-border);
  }
  .sp-nav__links.is-open { display: flex; }
  .sp-hero--split { grid-template-columns: 1fr; }
  .sp-hero__left { padding: calc(var(--sp-nav-h) + 0.75rem) 1.25rem 2rem; }
  .sp-hero__right { min-height: 50vw; order: -1; }
  .sp-stats-strip { grid-template-columns: 1fr 1fr; }
  .sp-logo__text { top: -2px; }
  .sp-map-container { height: 360px; }
  .sp-track-hero { grid-template-columns: 1fr; }
  .sp-logistics {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .sp-logistics__lane { min-height: 180px; order: 0; }
  .sp-hub--pickup { order: 1; }
  .sp-hub--drop { order: 2; }
}
