:root {
  --bg: #f7f5f2;
  --bg-2: #eef2f6;
  --bg-3: #e6ecf4;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --border: rgba(16, 24, 40, 0.12);
  --text: #0b1220;
  --muted: #516074;
  --primary: #1aa37a;
  --secondary: #1a6be2;
  --accent: #f4a23a;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
  --header-bg: rgba(248, 249, 252, 0.8);
  --header-bg-solid: rgba(248, 249, 252, 0.96);
  --chip-bg: rgba(255, 255, 255, 0.92);
  --chip-border: rgba(16, 24, 40, 0.12);
  --screen-bg: rgba(248, 249, 252, 0.96);
  --frame-bg: rgba(248, 249, 252, 0.96);
  --progress-bg: rgba(12, 20, 38, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --font-display: "Sora", "Space Grotesk", "Outfit", "Segoe UI", sans-serif;
  --font-heading: "Fraunces", "Sora", "Space Grotesk", "Outfit", serif;
}

html[data-theme="dark"] {
  --bg: #0a0f1d;
  --bg-2: #0f1629;
  --bg-3: #141c33;
  --surface: rgba(12, 18, 32, 0.82);
  --surface-strong: rgba(18, 26, 46, 0.95);
  --border: rgba(255, 255, 255, 0.12);
  --text: #edf2ff;
  --muted: #a1aec5;
  --primary: #34c7a5;
  --secondary: #3a8bff;
  --accent: #f5a524;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
  --header-bg: rgba(10, 15, 29, 0.8);
  --header-bg-solid: rgba(10, 15, 29, 0.96);
  --chip-bg: rgba(12, 16, 30, 0.82);
  --chip-border: rgba(255, 255, 255, 0.14);
  --screen-bg: rgba(10, 14, 24, 0.9);
  --frame-bg: rgba(10, 14, 24, 0.9);
  --progress-bg: rgba(255, 255, 255, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  color: var(--text);
  background:
    radial-gradient(1200px circle at 10% -10%, rgba(26, 163, 122, 0.18), transparent 55%),
    radial-gradient(1000px circle at 110% 10%, rgba(26, 107, 226, 0.18), transparent 55%),
    radial-gradient(900px circle at 50% 110%, rgba(244, 162, 58, 0.18), transparent 60%),
    linear-gradient(120deg, var(--bg), var(--bg-2), var(--bg-3));
  background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%;
  animation: gradientShift 22s ease infinite;
  min-height: 100vh;
  overflow-x: hidden;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(1200px circle at 10% -10%, rgba(52, 199, 165, 0.14), transparent 55%),
    radial-gradient(1000px circle at 110% 10%, rgba(58, 139, 255, 0.18), transparent 55%),
    radial-gradient(900px circle at 50% 110%, rgba(245, 165, 36, 0.14), transparent 60%),
    linear-gradient(120deg, var(--bg), var(--bg-2), var(--bg-3));
  background-size: 100% 100%, 100% 100%, 100% 100%, 200% 200%;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  z-index: 0;
}

.orb {
  position: fixed;
  border-radius: 50%;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  filter: blur(4px);
  animation: orbFloat 16s ease-in-out infinite, orbDrift 22s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(26, 107, 226, 0.35), rgba(26, 107, 226, 0));
}

.orb-2 {
  width: 280px;
  height: 280px;
  bottom: -140px;
  left: -60px;
  background: radial-gradient(circle, rgba(26, 163, 122, 0.35), rgba(26, 163, 122, 0));
  animation-delay: 3s;
}

.orb-3 {
  width: 220px;
  height: 220px;
  top: 35%;
  left: 60%;
  background: radial-gradient(circle, rgba(244, 162, 58, 0.25), rgba(244, 162, 58, 0));
  animation-delay: 6s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.site-header.scrolled {
  background: var(--header-bg-solid);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.2);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.nav-links a,
.footer-links a,
.contact-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a {
  position: relative;
  padding: 6px 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: -6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: scaleX(0.4);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-links a:hover,
.footer-links a:hover,
.contact-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #f6f7fb;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 14px 30px rgba(31, 122, 236, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(31, 122, 236, 0.22);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 72px 24px 36px;
}

.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.1vw + 1rem, 3.8rem);
  line-height: 1.02;
  margin: 20px 0;
}

.hero-copy p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.pill {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(26, 163, 122, 0.14);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  border: 1px solid rgba(26, 163, 122, 0.35);
}

.hero-actions {
  margin: 28px 0 20px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-store {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-store .store-pill {
  min-width: 190px;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.hero-store .store-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.hero-store .store-title {
  font-size: 14px;
}

.btn {
  padding: 14px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #f6f7fb;
  box-shadow: 0 18px 40px rgba(31, 122, 236, 0.2);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(12, 20, 38, 0.15);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 14px;
  margin-top: 22px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-stats .stat {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 162, 58, 0.22), rgba(244, 162, 58, 0));
  right: -40px;
  top: 20px;
  filter: blur(6px);
  animation: flameGlow 6s ease-in-out infinite;
}

.hero-device {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 9 / 18;
  display: grid;
  place-items: center;
}

.hero-ornaments {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flame-badge {
  position: absolute;
  top: -18px;
  right: -18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 12px;
  color: var(--muted);
}

.flame-badge .flame {
  width: 42px;
  height: 42px;
  margin: 0;
  filter: drop-shadow(0 0 12px rgba(245, 140, 42, 0.35));
}

.energy-line {
  position: absolute;
  left: -60px;
  top: 42%;
  width: 140px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 191, 148, 0.25), rgba(31, 122, 236, 0.25));
  overflow: hidden;
  border: 1px solid rgba(31, 122, 236, 0.2);
}

.energy-line span {
  position: absolute;
  top: -3px;
  left: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(244, 162, 58, 0.5);
  animation: energyFlow 3.2s ease-in-out infinite;
}

.mini-cylinder {
  position: absolute;
  bottom: -18px;
  right: -16px;
  display: grid;
  justify-items: center;
  gap: 6px;
}

.cylinder.mini {
  width: 52px;
  height: 118px;
  border-radius: 26px;
}

.mini-label {
  font-size: 11px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
}

.screen-shot {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  object-fit: contain;
  background: var(--screen-bg);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.screen-shot.swap {
  opacity: 0.2;
}

.screen-shot.main {
  z-index: 3;
  animation: floatMain 8s ease-in-out infinite;
}

.screen-shot.mid {
  width: 86%;
  z-index: 2;
  opacity: 0.9;
  animation: floatMid 9s ease-in-out infinite;
}

.screen-shot.back {
  width: 80%;
  z-index: 1;
  opacity: 0.75;
  animation: floatBack 10s ease-in-out infinite;
}

.hero-chips {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  width: min(280px, 78vw);
}

.chip-card {
  padding: 10px 14px;
  border-radius: 16px;
  background: var(--chip-bg);
  border: 1px solid var(--chip-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  backdrop-filter: blur(10px);
  animation: chipFloat 9s ease-in-out infinite;
}

.chip-card strong {
  color: var(--text);
  font-size: 14px;
}

.chip-card.accent {
  background: linear-gradient(120deg, rgba(31, 191, 148, 0.18), rgba(31, 122, 236, 0.18));
  border-color: rgba(31, 191, 148, 0.5);
}

.chip-card.glow {
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
}

.chip-card:nth-child(2) {
  animation-delay: 1.5s;
}

.chip-card:nth-child(3) {
  animation-delay: 3s;
}

.phone-card {
  width: min(380px, 90vw);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(160deg, rgba(31, 191, 148, 0.16), var(--surface-strong));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.phone-card::after {
  content: "";
  position: absolute;
  inset: -50% 0 auto 0;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateY(-100px);
  animation: shimmer 6s linear infinite;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(31, 191, 148, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

.phone-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.glass-panel {
  background: var(--surface);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.glass-panel.compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glass-panel button {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  color: var(--text);
}

.progress {
  margin-top: 10px;
  height: 6px;
  border-radius: 999px;
  background: var(--progress-bg);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 70%;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  animation: progress 3s ease-in-out infinite;
}

.meta {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.meta strong {
  color: var(--text);
}

.flame {
  width: 90px;
  height: 90px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 50% 30%, #fff7d4 0%, #f8c663 35%, #f58b2a 65%, transparent 70%);
  filter: drop-shadow(0 0 18px rgba(245, 140, 42, 0.5));
  margin: 0 auto 10px;
  animation: flame 1.4s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  background: var(--surface-strong);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}

.floating-card.top {
  top: -20px;
  right: -10px;
}

.floating-card.bottom {
  bottom: -30px;
  left: -20px;
  animation-delay: 1.5s;
}

.how-section {
  padding-top: 80px;
}

.how-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
}

.how-steps {
  display: grid;
  gap: 12px;
}

.step-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-btn span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(31, 122, 236, 0.12);
  color: var(--secondary);
  font-weight: 700;
}

.step-btn.active {
  border-color: rgba(31, 191, 148, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.how-preview {
  background: var(--surface-strong);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.preview-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--frame-bg);
  min-height: 320px;
}

.preview-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.preview-image.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.preview-copy h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.preview-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.tracking-demo {
  padding-top: 70px;
}

.tracking-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}

.tracking-panel {
  background: var(--surface-strong);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tracking-panel h3 {
  font-size: 1.4rem;
}

.tracking-pill {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(31, 122, 236, 0.12);
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid rgba(31, 122, 236, 0.35);
}

.tracking-stats {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.tracking-stats small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.tracking-stats strong {
  font-size: 18px;
}

.tracking-status {
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

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

.map-card {
  background: linear-gradient(160deg, rgba(31, 122, 236, 0.15), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.map-header strong {
  display: block;
  color: var(--text);
  font-size: 16px;
}

.map-status {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(31, 191, 148, 0.2);
  color: var(--primary);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.map-canvas {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(31, 191, 148, 0.22), transparent 60%),
    radial-gradient(circle at bottom left, rgba(31, 122, 236, 0.2), transparent 60%),
    rgba(250, 251, 255, 0.95);
  border: 1px solid var(--border);
  min-height: 200px;
  height: 220px;
}

.map-svg {
  width: 100%;
  height: 100%;
}

.map-route {
  fill: none;
  stroke: url(#routeGradient);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 4 12;
  opacity: 0.9;
  animation: routeFlow 8s linear infinite;
}

.map-point {
  fill: rgba(255, 255, 255, 0.8);
}

.map-point.destination {
  fill: #ffb454;
}

.map-point.depot {
  fill: #5eead4;
}

.map-rider {
  fill: var(--secondary);
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px rgba(31, 122, 236, 0.5));
  animation: riderPulse 2s ease-in-out infinite;
}

.map-label {
  position: absolute;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
}

.map-label.start {
  bottom: 14px;
  left: 14px;
}

.map-label.end {
  top: 14px;
  right: 14px;
}

.section {
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px circle at 0% 0%, rgba(31, 191, 148, 0.06), transparent 62%),
    radial-gradient(520px circle at 100% 100%, rgba(31, 122, 236, 0.06), transparent 62%),
    radial-gradient(420px circle at 50% 10%, rgba(244, 162, 58, 0.06), transparent 70%);
  opacity: 0.7;
  animation: sectionGlow 18s ease-in-out infinite;
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 2vw + 1rem, 3rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid,
.service-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature-card,
.service-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card::before,
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(31, 191, 148, 0.18), rgba(31, 122, 236, 0.18), transparent 70%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.feature-card:hover::before,
.service-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.feature-card > *,
.service-card > * {
  position: relative;
  z-index: 1;
}

.feature-card h3,
.service-card h3 {
  margin: 12px 0;
  font-size: 1.1rem;
}

.feature-card p,
.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.feature-badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(120deg, rgba(31, 122, 236, 0.18), rgba(31, 191, 148, 0.18));
  background-size: 200% 200%;
  color: var(--secondary);
  font-size: 12px;
  letter-spacing: 0.5px;
  animation: badgeShift 8s ease infinite;
}

.service-line {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  background-size: 200% 200%;
  margin-top: 18px;
  animation: badgeShift 8s ease infinite;
}

.metrics-grid {
  display: grid;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-flow: dense;
}

.metric-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(140deg, rgba(31, 191, 148, 0.2), rgba(31, 122, 236, 0.18), transparent 70%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
}

.metric-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  top: -60px;
  right: -60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 122, 236, 0.25), rgba(31, 122, 236, 0));
  z-index: 0;
  animation: cardFloat 12s ease-in-out infinite;
}

.metric-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.metric-card > * {
  position: relative;
  z-index: 1;
}

.metric-card:nth-child(2)::after {
  animation-delay: 1.5s;
}

.metric-card:nth-child(3)::after {
  animation-delay: 3s;
}

.metric-card:nth-child(4)::after {
  animation-delay: 4.5s;
}

.metric-value {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.metric-note {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.6;
}

.meter-card {
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .meter-card {
    grid-column: span 2;
  }
}

.meter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.meter-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.meter-sub {
  font-size: 0.85rem;
  color: var(--muted);
}

.meter-percent {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 191, 148, 0.16);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.cylinder {
  width: 72px;
  height: 160px;
  border-radius: 36px;
  background: var(--progress-bg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin: 4px auto 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cylinder::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cylinder-fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(180deg, rgba(58, 139, 255, 0.9), rgba(31, 191, 148, 0.95));
  animation: fillPulse 6s ease-in-out infinite;
}

.cylinder-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cylinder-bubbles span {
  position: absolute;
  bottom: 12px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  animation: bubbleRise 3s ease-in-out infinite;
}

.cylinder-bubbles span:nth-child(1) {
  margin-left: -16px;
  animation-delay: 0s;
  opacity: 0.8;
}

.cylinder-bubbles span:nth-child(2) {
  margin-left: -2px;
  animation-delay: 0.8s;
  opacity: 0.6;
  width: 4px;
  height: 4px;
}

.cylinder-bubbles span:nth-child(3) {
  margin-left: 12px;
  animation-delay: 1.6s;
  opacity: 0.7;
  width: 5px;
  height: 5px;
}

.meter-note {
  color: var(--muted);
  line-height: 1.6;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 18px;
  color: var(--secondary);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.cta-banner {
  padding: 70px 24px 90px;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(31, 191, 148, 0.95), rgba(31, 122, 236, 0.95));
  color: #f8fbff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-copy h2 {
  font-size: clamp(2rem, 2vw + 1rem, 2.8rem);
  margin-bottom: 10px;
}

.cta-copy p {
  color: rgba(248, 251, 255, 0.82);
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.cta-actions .store-pill {
  min-width: 200px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.cta-actions .store-pill.ios {
  background: rgba(12, 18, 34, 0.7);
}

.cta-actions .store-kicker {
  color: rgba(248, 251, 255, 0.8);
}

.app-section {
  display: grid;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.store-pill {
  border: none;
  background: var(--surface-strong);
  color: var(--text);
  border-radius: 18px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  cursor: pointer;
  min-height: 58px;
  min-width: 210px;
  text-decoration: none;
  appearance: none;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(15, 23, 42, 0.2);
}

.store-pill:active {
  transform: translateY(0);
}

.store-pill.android {
  background: linear-gradient(135deg, #1fbf94, #1f7aec);
  color: #f8fbff;
}

.store-pill.ios {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(31, 43, 70, 0.96));
  color: #f8fbff;
}

.store-pill .store-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
}

.store-pill svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.store-pill .store-copy {
  display: grid;
  gap: 3px;
  text-align: left;
}

.store-pill .store-kicker {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(248, 251, 255, 0.72);
}

.store-pill .store-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.app-carousel {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scroll-padding: 40px;
}

.shot-card {
  min-width: min(440px, 84vw);
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
  flex: 0 0 auto;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.shot-card.active {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(31, 191, 148, 0.6);
}

.shot-card img {
  width: 100%;
  height: clamp(320px, 56vh, 520px);
  border-radius: 18px;
  display: block;
  object-fit: contain;
  background: var(--screen-bg);
}

.shot-card figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.app-highlight {
  background: linear-gradient(135deg, rgba(31, 122, 236, 0.15), rgba(31, 191, 148, 0.18));
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.legal-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.legal-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}

.legal-card h3 {
  font-size: 1.1rem;
}

.legal-card p {
  color: var(--muted);
  line-height: 1.6;
}

.legal-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
}

.legal-page main {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  gap: 24px;
}

.legal-page .legal-page-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.legal-page .legal-page-card h1 {
  font-size: 2rem;
}

.legal-page .legal-page-card p {
  color: var(--muted);
  line-height: 1.7;
}

.ticker {
  display: grid;
  gap: 12px;
  font-weight: 600;
}

.contact-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card,
.contact-form {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  color: var(--text);
}

.alert {
  margin-top: 16px;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(243, 156, 45, 0.2);
  border: 1px solid rgba(243, 156, 45, 0.35);
  font-size: 14px;
}

.alert.success {
  background: rgba(31, 191, 148, 0.18);
  border-color: rgba(31, 191, 148, 0.3);
}

.footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  color: var(--muted);
}

.footer strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(6px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes shimmer {
  0% { transform: translateY(-100px); }
  100% { transform: translateY(400px); }
}

@keyframes progress {
  0%, 100% { width: 30%; }
  50% { width: 80%; }
}

@keyframes flame {
  0%, 100% { transform: scale(1) rotate(-2deg); }
  50% { transform: scale(1.08) rotate(2deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.6); opacity: 1; }
}

@keyframes routeFlow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -120; }
}

@keyframes riderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes floatMain {
  0%, 100% { transform: translateY(8px) rotate(-1deg); }
  50% { transform: translateY(-6px) rotate(1deg); }
}

@keyframes floatMid {
  0%, 100% { transform: translate(48px, -30px) rotate(3deg); }
  50% { transform: translate(52px, -40px) rotate(1deg); }
}

@keyframes floatBack {
  0%, 100% { transform: translate(-46px, 34px) rotate(-4deg); }
  50% { transform: translate(-52px, 22px) rotate(-2deg); }
}

@keyframes flameGlow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

@keyframes orbDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(18px); }
}

@keyframes sectionGlow {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-10px); opacity: 0.95; }
}

@keyframes badgeShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes energyFlow {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(110px); opacity: 0; }
}

@keyframes fillPulse {
  0%, 100% { height: 58%; }
  50% { height: 82%; }
}

@keyframes bubbleRise {
  0% { transform: translate(-50%, 0); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translate(-50%, -70px); opacity: 0; }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-stats {
    grid-template-columns: auto 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .hero-chips {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 18px;
  }

  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 60px;
  }

  .hero-device {
    width: min(240px, 76vw);
  }

  .hero-ornaments {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-store {
    flex-direction: column;
    align-items: stretch;
  }

  .app-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .store-pill {
    width: 100%;
    justify-content: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-frame {
    min-height: 280px;
  }

  .shot-card img {
    height: clamp(280px, 56vh, 440px);
  }
}

@media (max-width: 480px) {
  .hero-device {
    width: min(220px, 72vw);
  }

  .map-canvas {
    height: 200px;
  }
}
