:root {
  --bg: #061527;
  --panel: rgba(255,255,255,0.08);
  --panel-strong: rgba(255,255,255,0.13);
  --text: #ffffff;
  --muted: #a9bed6;
  --cyan: #6bdce8;
  --blue: #0b63ce;
  --danger: #ff7a7a;
  --green: #65e6a8;
  --line: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(107,220,232,0.18), transparent 35%),
    linear-gradient(135deg, #04101f, #09244a 55%, #061527);
  color: var(--text);
}

.mobile-top { display: none; }

.app {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  border-right: 1px solid var(--line);
  padding: 28px;
  background: rgba(2, 10, 20, 0.76);
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 40px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.brand h1 { font-size: 18px; margin: 0; }
.brand p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }

nav { display: grid; gap: 10px; }
nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 13px 14px;
  border-radius: 14px;
  transition: 0.25s ease;
}
nav a.active, nav a:hover {
  background: var(--panel-strong);
  color: var(--text);
}

.side-card {
  margin-top: 40px;
  padding: 18px;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.side-card span, .eyebrow {
  color: var(--cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.side-card strong { display: block; margin-top: 8px; }
.side-card p { color: var(--muted); line-height: 1.5; }

.main { padding: 30px; }

.reveal {
  animation: revealUp 0.85s ease both;
}

@keyframes revealUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero {
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.3fr 360px;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04));
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0,0,0,0.28);
}

.hero h2 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.95;
  margin: 16px 0;
  max-width: 900px;
  letter-spacing: -0.05em;
}

.hero p {
  color: #c7ddf5;
  font-size: 18px;
  max-width: 720px;
}

button, .whatsapp {
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  background: var(--cyan);
  color: #04101f;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.25s ease;
}
button:hover, .whatsapp:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
button.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
button.mini {
  padding: 10px 14px;
  font-size: 12px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.live-card {
  border-radius: 30px;
  background: rgba(4, 16, 31, 0.72);
  border: 1px solid var(--line);
  padding: 26px;
  min-height: 260px;
}
.live-card h3 { font-size: 34px; margin-bottom: 6px; }
.live-card p { color: #c7ddf5; }
.live-card strong { font-size: 48px; display: block; margin: 10px 0; }
.live-card small { color: var(--muted); }
.pulse {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(101,230,168,0.7);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 18px rgba(101,230,168,0); }
  100% { box-shadow: 0 0 0 0 rgba(101,230,168,0); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 24px 0;
}
.stats article, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}
.stats span, .stats small { color: var(--muted); display: block; }
.stats strong { font-size: 42px; display: block; margin: 10px 0; }
.danger { color: var(--danger); }

.grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 20px;
  margin-bottom: 20px;
}
.panel-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.panel h3 { margin: 8px 0 0; font-size: 26px; }

.google-map-shell {
  height: 460px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: rgba(2,10,20,0.65);
  border: 1px solid var(--line);
}
.google-map-shell iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.95) contrast(1.05) brightness(0.75);
}
.google-map-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,16,31,0.45), rgba(107,220,232,0.08));
  pointer-events: none;
}

.route-line {
  position: absolute;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.85;
  border-radius: 999px;
  z-index: 2;
  animation: routeGlow 2.4s infinite ease-in-out;
}
.route-a { width: 45%; left: 24%; top: 42%; transform: rotate(-18deg); }
.route-b { width: 35%; left: 45%; top: 62%; transform: rotate(24deg); }
@keyframes routeGlow {
  50% { opacity: 0.35; filter: blur(1px); }
}

.moving-rider {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: 999px;
  background: rgba(107,220,232,0.96);
  color: #04101f;
  font-weight: 900;
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}
.moving-rider span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #04101f;
  color: var(--cyan);
}
.moving-rider small { white-space: nowrap; font-size: 11px; }
.moving-rider.delayed { background: var(--danger); }

.rider-a { animation: moveA 8s infinite alternate ease-in-out; }
.rider-b { animation: moveB 7s infinite alternate ease-in-out; }
.rider-c { animation: moveC 9s infinite alternate ease-in-out; }

@keyframes moveA {
  from { left: 18%; top: 28%; }
  to { left: 62%; top: 48%; }
}
@keyframes moveB {
  from { left: 50%; top: 18%; }
  to { left: 72%; top: 68%; }
}
@keyframes moveC {
  from { left: 25%; top: 70%; }
  to { left: 42%; top: 52%; }
}

.map-label {
  position: absolute;
  z-index: 3;
  padding: 7px 10px;
  border-radius: 999px;
  color: white;
  background: rgba(4,16,31,0.78);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
}
.label-ikeja { left: 18%; top: 18%; }
.label-yaba { left: 43%; top: 45%; }
.label-lekki { right: 12%; bottom: 18%; }
.label-vi { right: 20%; top: 38%; }

.insight-list { display: grid; gap: 14px; }
.insight-list div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.06);
}
.insight-list strong { color: var(--text); }

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}
th { color: var(--muted); font-size: 13px; }
.badge {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(107,220,232,0.16);
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
}
.badge.Delayed { color: var(--danger); background: rgba(255,122,122,0.14); }
.badge.Delivered { color: var(--green); background: rgba(101,230,168,0.14); }

.bottom-grid { grid-template-columns: 0.9fr 1.1fr; }
.tracking-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 24px 0;
}
.tracking-line span {
  height: 7px;
  border-radius: 99px;
  background: rgba(255,255,255,0.16);
}
.tracking-line span.active { background: var(--cyan); }
ul { padding-left: 18px; line-height: 1.9; color: var(--muted); }
ul strong { color: var(--text); }

.investor p { color: var(--muted); line-height: 1.7; font-size: 17px; }
.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.mini-metrics div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
}
.mini-metrics strong { display: block; font-size: 26px; }
.mini-metrics span { color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
  .mobile-top {
    display: flex;
    gap: 12px;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 12px 14px;
    background: rgba(2,10,20,0.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .mobile-top span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
  }
  .app { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .hero, .grid, .bottom-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .google-map-shell { height: 390px; }
}

@media (max-width: 560px) {
  .main { padding: 14px; }
  .hero { padding: 22px; border-radius: 24px; }
  .stats { grid-template-columns: 1fr; }
  .hero h2 { font-size: 40px; }
  .live-card strong { font-size: 38px; }
  .moving-rider small { display: none; }
  .mini-metrics { grid-template-columns: 1fr; }
}

.demo-flow {
  display: grid;
  gap: 16px;
}

.demo-step {
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}

.demo-step.highlight {
  background: rgba(107,220,232,0.12);
  border: 1px solid rgba(107,220,232,0.4);
}

.demo-step h4 {
  margin-bottom: 8px;
}

.conversion-box {
  display: grid;
  gap: 18px;
}

.conversion-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.app,
.main,
.hero,
.panel,
.stats,
.grid,
.bottom-grid {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 560px) {
  .main {
    padding: 12px;
  }

  .hero {
    width: 100%;
    min-height: auto;
    display: block;
    padding: 22px;
    border-radius: 22px;
  }

  .hero h2 {
    font-size: 42px;
    line-height: 0.95;
    letter-spacing: -0.06em;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.45;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-actions button,
  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .live-card {
    margin-top: 22px;
    width: 100%;
    min-height: auto;
  }

  .mobile-top {
    overflow: hidden;
  }

  .mobile-top strong,
  .mobile-top span {
    white-space: normal;
  }
}