.hero {
  position: relative;
  background: radial-gradient(120% 90% at 85% -10%, #25252b 0%, #151518 55%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: .6;
}

.hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .22), transparent 65%);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 84px 32px 96px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hero-copy { flex: 1 1 440px; min-width: 320px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 7px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .2);
}

.hero h1 {
  font-size: clamp(38px, 5.2vw, 62px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.04;
  margin: 24px 0 0;
  min-height: 1.9em;
}

.hero-headline-text {
  display: inline-block;
  animation: fadeUp .55s ease both;
}

.hero p.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
  margin: 22px 0 0;
  max-width: 490px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 44px;
  flex-wrap: wrap;
}

/* ---- live map mockup card ---- */
.hero-map-wrap { flex: 0 1 480px; min-width: 320px; display: flex; justify-content: center; }

.map-card {
  position: relative;
  background: #fff;
  border-radius: 26px;
  padding: 16px;
  box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .05);
  width: 472px;
  max-width: 100%;
  animation: floaty 7s ease-in-out infinite;
}

.map-card-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 14px;
}
.map-card-dots { display: flex; align-items: center; gap: 8px; }
.map-card-dots span { width: 9px; height: 9px; border-radius: 50%; }
.map-card-title { margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--ink); }

.map-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-bg);
  padding: 4px 9px;
  border-radius: 100px;
}
.map-live-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.map-surface {
  position: relative;
  width: 440px;
  max-width: 100%;
  height: 296px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #EDF1EE, #E4E9E5);
  background-image: radial-gradient(rgba(0, 0, 0, .045) 1px, transparent 1px);
  background-size: 22px 22px;
}

.road-a { position: absolute; left: -30px; top: 190px; width: 540px; height: 30px; background: #F7FAF8; transform: rotate(-9deg); border-radius: 8px; }
.road-b { position: absolute; left: 120px; top: -40px; width: 34px; height: 420px; background: #F7FAF8; transform: rotate(14deg); border-radius: 8px; }
.road-c { position: absolute; left: 300px; top: -30px; width: 28px; height: 380px; background: #F2F5F3; transform: rotate(-6deg); border-radius: 8px; }

.route-dash {
  stroke-dasharray: 1 11;
  animation: dash 1.4s linear infinite;
}

.bus-marker {
  position: absolute;
  width: 36px;
  height: 36px;
  offset-path: path('M40 250 C 110 210 118 150 200 150 C 282 150 300 88 402 66');
  offset-rotate: 0deg;
  animation: busmove 8s ease-in-out infinite alternate;
}
.bus-marker-pin {
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  background: var(--accent);
  box-shadow: 0 8px 16px rgba(var(--accent-rgb), .55);
  animation: pulse 2.4s infinite;
}
.bus-marker-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink); }

.map-chip {
  position: absolute;
  background: #fff;
  padding: 7px 11px;
  border-radius: 11px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 7px;
}
.map-chip-eta { left: 44px; top: 196px; }
.map-chip-status {
  right: 14px;
  top: 78px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .28);
}
.map-chip-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #3ddc84; }

.map-footer-stats {
  display: flex;
  justify-content: space-between;
  padding: 16px 10px 6px;
}
.map-footer-stats .divider { width: 1px; background: #eee; }
.map-footer-stats .value { font-size: 18px; font-weight: 800; color: var(--ink); }
.map-footer-stats .value.green { color: var(--green); }
.map-footer-stats .label { font-size: 11.5px; color: var(--text-faint); font-weight: 600; }
