:root {
  --indigo: #5b4bff;
  --indigo-2: #7c6cff;
  --navy: #111827;
  --green: #16a34a;
  --amber: #ffb547;
  --cloud: #f7f8fc;
  --white: #ffffff;
  --muted: #667085;
  --border: #e5e7eb;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body.site {
  font-family: Poppins, "DM Sans", sans-serif;
  background: var(--cloud);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.muted { color: var(--muted); }
.preloader {
  position: fixed; inset: 0; z-index: 80;
  display: grid; place-items: center; gap: 18px;
  background: #000;
  transition: opacity .45s var(--ease), visibility .45s;
}
.preloader img { height: 128px; width: auto; border-radius: 18px; }
.preloader-bar {
  width: 88px; height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-2));
  transform-origin: left;
  animation: loadbar .7s var(--ease) forwards;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loadbar { from { transform: scaleX(.15); } to { transform: scaleX(1); } }

.site-header {
  position: sticky; top: 0; z-index: 40;
  height: 88px;
  background: transparent;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 76px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 30px rgba(17,24,39,.05);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img {
  height: 64px; width: auto; object-fit: contain;
  background: #000; border-radius: 14px;
}
.site-header.is-scrolled .brand img { height: 52px; }
.desktop-nav { margin-left: auto; display: flex; gap: 26px; }
.desktop-nav a { color: var(--muted); font-weight: 600; font-size: 14px; }
.desktop-nav a:hover, .desktop-nav a[aria-current] { color: var(--navy); }
.header-cta { margin-left: 8px; }
.menu-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--navy); margin: 7px 10px; }
.mobile-nav {
  display: none; flex-direction: column; gap: 16px; padding: 20px 24px 28px;
  background: var(--white); border-bottom: 1px solid var(--border);
}
.mobile-nav a { font-weight: 600; }
.mobile-nav-logo { height: 72px; width: auto; margin-bottom: 8px; background: #000; border-radius: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid rgba(91,75,255,.35); outline-offset: 2px; }
.btn-primary { background: var(--indigo); color: #fff; box-shadow: 0 10px 24px rgba(91,75,255,.25); }
.btn-ghost { background: var(--white); border-color: var(--border); color: var(--navy); }

.hero {
  position: relative; padding: 36px 0 72px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: -10% -5% auto; height: 120%;
  background:
    radial-gradient(520px 320px at 82% 18%, rgba(91,75,255,.28), transparent 70%),
    radial-gradient(280px 180px at 12% 80%, rgba(22,163,74,.12), transparent 70%),
    radial-gradient(240px 160px at 70% 90%, rgba(255,181,71,.16), transparent 70%),
    linear-gradient(180deg, #eef0ff 0%, var(--cloud) 62%, #fff 100%);
  animation: drift 18s linear infinite alternate;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(17,24,39,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,24,39,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(#000, transparent 85%);
  pointer-events: none;
}
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-18px, 10px, 0); } }
.hero-layout {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-block; letter-spacing: .12em; font-size: 12px; font-weight: 600; color: var(--indigo);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.03em;
}
.hero h1 span {
  display: inline-block; opacity: 0; transform: translateY(18px);
  animation: wordIn .7s var(--ease) forwards;
}
.hero h1 span:nth-child(1) { animation-delay: .15s; }
.hero h1 span:nth-child(2) { animation-delay: .28s; }
.hero h1 span:nth-child(3) { animation-delay: .42s; }
.hero h1 span:nth-child(4) { animation-delay: .55s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin: 0 0 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.phone-board {
  border-radius: 28px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(17,24,39,.16);
  transform: translateY(24px) rotate(1.4deg); opacity: 0;
  animation: mockIn .9s .35s var(--ease) forwards;
}
@keyframes mockIn { to { opacity: 1; transform: translateY(0) rotate(0); } }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: 14px;
  padding: 10px 12px; font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(17,24,39,.1);
  animation: floaty 4.5s var(--ease) infinite;
}
.float-card.a { top: 8%; left: -8%; }
.float-card.b { top: 42%; right: -6%; animation-delay: .6s; }
.float-card.c { bottom: 10%; left: 6%; animation-delay: 1.1s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.dot.g { background: var(--green); } .dot.i { background: var(--indigo); } .dot.a { background: var(--amber); }

.trust { padding: 8px 0 64px; }
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.trust-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px;
  font-weight: 600; font-size: 14px;
}
.section { padding: 72px 0; }
.section h2, .page-hero h1 {
  font-size: clamp(28px, 4vw, 44px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px;
}
.section-lead { color: var(--muted); max-width: 560px; margin: 0 0 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-2)); opacity: .25;
}
.step { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; position: relative; }
.num { font-size: 42px; font-weight: 700; color: var(--indigo); line-height: 1; margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.request-card, .chat-card, .track-card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 22px;
  box-shadow: 0 16px 40px rgba(17,24,39,.06);
}
label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 0 4px; }
.fake-input { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; font-weight: 500; }
.vendor-mini { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.dark {
  background: linear-gradient(160deg, #111827, #1e1b4b 55%, #312e81);
  color: #fff; border-radius: 0;
}
.dark .section-lead, .dark .muted { color: rgba(255,255,255,.72); }
.map {
  position: relative; min-height: 280px; border-radius: 20px; overflow: hidden;
  background: #1f2937;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.route {
  position: absolute; left: 18%; top: 30%; width: 64%; height: 4px; border-radius: 99px;
  background: rgba(91,75,255,.25);
}
.route-progress {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--indigo-2), var(--amber));
}
.route-progress.is-running { animation: route 3.2s var(--ease) forwards; }
@keyframes route { to { width: 100%; } }
.pin {
  position: absolute; left: 78%; top: 24%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--indigo); box-shadow: 0 0 0 0 rgba(91,75,255,.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 14px transparent; } }
.eta { position: absolute; right: 16px; bottom: 16px; background: #fff; color: var(--navy); border-radius: 12px; padding: 10px 12px; font-weight: 600; font-size: 13px; }
.chat-card { display: grid; gap: 10px; }
.bubble { max-width: 86%; padding: 10px 12px; border-radius: 14px; font-size: 14px; opacity: 0; animation: bubble .5s var(--ease) forwards; }
.bubble.me { background: #eef0ff; justify-self: start; }
.bubble.them { background: var(--navy); color: #fff; justify-self: end; }
.bubble.sys { background: #dcfce7; color: #166534; justify-self: center; font-size: 12px; }
@keyframes bubble { to { opacity: 1; } }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding: 0; margin: 0 0 24px; list-style: none; }
.feature-list li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--indigo); margin-right: 8px; }
.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--border); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 13px; font-weight: 600; }
.chip.next { color: var(--muted); }
.app-section { background: var(--navy); color: #fff; padding: 80px 0; }
.app-section .section-lead { color: rgba(255,255,255,.7); }
.app-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.app-icon-frame {
  width: 88px; height: 88px; border-radius: 22px; overflow: hidden; margin-bottom: 20px;
  background: #000;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer-grid h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 12px; }
.footer-grid a, .tagline { display: block; color: var(--muted); margin: 6px 0; font-weight: 500; }
.tagline { color: var(--indigo); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; color: var(--muted); font-size: 13px; }
.page-hero { padding: 48px 0 24px; }
.page-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 24px; margin: 16px 0 48px; }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: translateY(16px) scale(.97); }

@media (max-width: 980px) {
  .hero-layout, .split, .app-split, .steps, .trust-grid, .footer-grid, .feature-list { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav:not([hidden]) { display: flex; }
  .float-card { display: none; }
  .hero { padding-top: 16px; }
  .btn { width: 100%; }
  .hero-ctas .btn { width: auto; flex: 1; }
}
/* Direct /admin route — not linked in public navigation */
body:not(.site) { font-family: Poppins, "DM Sans", sans-serif; background: var(--cloud); color: var(--navy); }
body:not(.site) header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; }
body:not(.site) .nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
body:not(.site) .brand { font-weight: 800; font-size: 20px; color: var(--navy); display: inline-flex; align-items: center; gap: 10px; }
body:not(.site) .brand img { height: 48px; width: auto; background: #000; border-radius: 12px; }
body:not(.site) .nav a { margin-left: 16px; color: var(--muted); font-weight: 600; }
body:not(.site) .btn { background: var(--indigo); color: #fff; border: 0; }
.form { max-width: 420px; background: #fff; padding: 24px; border-radius: 16px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; margin: 8px 0 14px;
  border: 1px solid var(--border); border-radius: 12px; font: inherit;
}
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 8px 18px rgba(17,24,39,.06); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
