:root {
  --navy: #101a36;
  --navy-2: #172444;
  --ink: #17203a;
  --muted: #667085;
  --coral: #ff6b61;
  --coral-dark: #e85651;
  --violet: #7c63dc;
  --cream: #fbf7f1;
  --white: #fff;
  --line: #e7e9ef;
  --shadow: 0 20px 50px rgba(25, 31, 58, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Manrope", sans-serif; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

.demo-banner { padding: 8px 20px; color: #fff; background: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-align: center; }
.site-header { height: 78px; padding: 0 max(5vw, 24px); display: flex; align-items: center; justify-content: space-between; background: var(--navy); color: #fff; }
.brand { display: flex; gap: 12px; align-items: center; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--coral), #ff9b6a); font-size: 14px; font-weight: 800; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; }
.brand small { margin-top: 2px; color: #aeb7d0; font-size: 11px; }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
nav a:not(.nav-cta):hover { color: #ff9b94; }
.nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; }

.hero { min-height: 600px; padding: 80px max(7vw, 28px); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; overflow: hidden; background: var(--navy); color: #fff; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-block; color: var(--coral); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
h1 { margin: 18px 0 24px; font-size: clamp(43px, 5.2vw, 72px); line-height: 1.04; letter-spacing: -.045em; }
h1 em { color: var(--coral); font-style: normal; }
.hero-copy > p { max-width: 585px; color: #b9c0d4; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 13px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--coral); box-shadow: 0 10px 26px rgba(255,107,97,.25); }
.button-primary:hover { background: var(--coral-dark); }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); }
.hero-copy .sample-note { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: #8390ad; font-size: 11px; }
.sample-note span { width: 7px; height: 7px; border-radius: 50%; background: #64d69c; box-shadow: 0 0 0 5px rgba(100,214,156,.1); }

.hero-visual { position: relative; min-height: 430px; }
.visual-glow { position: absolute; inset: 5% 10%; border-radius: 50%; background: rgba(124,99,220,.15); filter: blur(50px); }
.mini-map { position: absolute; inset: 25px 20px 20px 40px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 28px; background: #1a284a; transform: rotate(2deg); box-shadow: 0 35px 80px rgba(0,0,0,.28); }
.road { position: absolute; display: block; height: 8px; border: 2px solid rgba(255,255,255,.08); border-left: 0; border-right: 0; transform-origin: left center; }
.road-one { width: 130%; top: 38%; left: -10%; transform: rotate(-18deg); }
.road-two { width: 120%; top: 70%; left: 2%; transform: rotate(22deg); }
.road-three { width: 90%; top: 2%; left: 50%; transform: rotate(83deg); }
.zone { position: absolute; border-radius: 50%; border: 1px solid rgba(255,107,97,.38); background: rgba(255,107,97,.08); }
.zone-one { width: 170px; height: 170px; top: 130px; left: 42%; }
.zone-two { width: 300px; height: 300px; top: 65px; left: 27%; }
.pizza-pin { position: absolute; top: 47%; left: 54%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px 16px 16px 3px; background: var(--coral); font-size: 22px; transform: translate(-50%,-50%) rotate(-43deg); box-shadow: 0 10px 25px rgba(255,107,97,.35); }
.pizza-pin::first-letter { transform: rotate(43deg); }
.map-dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #ffd36a; box-shadow: 0 0 0 5px rgba(255,211,106,.12); }
.dot-one { top: 24%; left: 28%; }.dot-two { top: 67%; left: 31%; }.dot-three { top: 30%; left: 72%; }.dot-four { top: 75%; left: 77%; }
.floating-card { position: absolute; padding: 16px 18px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(21,32,61,.94); box-shadow: 0 16px 35px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.floating-card span, .floating-card small { display: block; color: #aab3ca; font-size: 10px; }
.floating-card strong { display: block; margin: 5px 0 4px; font-size: 20px; }
.floating-card small { color: #70d9a5; }
.delivery-card { top: 0; right: 0; }.demand-card { bottom: 0; left: 0; }

.dashboard-section { padding: 90px max(5vw, 24px); background: var(--cream); }
.section-heading { max-width: 1250px; margin: 0 auto 34px; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading h2 { margin: 9px 0 0; font-size: clamp(30px, 3.5vw, 44px); letter-spacing: -.035em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.filters { max-width: 1250px; margin: 0 auto 22px; display: flex; justify-content: space-between; gap: 16px; }
.filter-group { display: flex; align-items: center; gap: 12px; }
.filter-label { color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.segmented { padding: 4px; display: flex; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.segmented button { padding: 8px 13px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 700; }
.segmented button.active { color: #fff; background: var(--navy); }
.kpi-grid { max-width: 1250px; margin: 0 auto 22px; display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.kpi { min-height: 112px; padding: 21px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.kpi-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; font-weight: 800; }
.kpi-icon.coral { color: #e85c56; background: #fff0ee; }.kpi-icon.violet { color: #7055d3; background: #f1edff; }.kpi-icon.yellow { color: #b77c13; background: #fff5db; }.kpi-icon.green { color: #21865b; background: #e6f8ef; }
.kpi small, .kpi strong, .kpi div span { display: block; }
.kpi small { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.kpi strong { margin: 3px 0; font-size: 22px; }
.kpi div span { color: #9097a7; font-size: 10px; }
.workspace-grid { max-width: 1250px; margin: 0 auto; display: grid; grid-template-columns: minmax(0,1.7fr) minmax(310px,.75fr); gap: 20px; }
.map-card, .analysis-card { overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: 0 8px 30px rgba(23,32,58,.05); }
.map-toolbar { min-height: 66px; padding: 12px 16px 12px 20px; display: flex; align-items: center; justify-content: space-between; }
.map-toolbar strong, .map-toolbar small { display: block; }.map-toolbar strong { font-size: 13px; }.map-toolbar small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.icon-button { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink); background: #fff; font-size: 18px; }
#map { height: 480px; background: #dce4dc; }
.map-legend { min-height: 44px; padding: 10px 20px; display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 9px; }
.legend-dot { width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 50%; }.legend-dot.fast { background: #55bd87; }.legend-dot.standard { background: #ffc75f; }.legend-dot.extended { background: #ff7a70; }
.analysis-card { padding: 27px 25px 20px; display: flex; flex-direction: column; }
.analysis-title { display: flex; align-items: center; gap: 12px; }
.spark-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(135deg,var(--violet),#9f83ff); }
.analysis-title small { color: var(--violet); font-size: 9px; font-weight: 800; letter-spacing: .13em; }.analysis-title h3 { margin: 2px 0 0; font-size: 19px; }
.insights { flex: 1; margin: 22px 0; }
.insights article { padding: 17px 0; display: grid; grid-template-columns: 31px 1fr; gap: 10px; border-top: 1px solid var(--line); }
.insights article:last-child { border-bottom: 1px solid var(--line); }
.insight-number { color: var(--coral); font-size: 10px; font-weight: 800; }
.insights strong { font-size: 12px; }.insights p { margin: 7px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.button-ai { width: 100%; color: #fff; background: var(--violet); }
.button-ai.loading { opacity: .65; pointer-events: none; }
.privacy-note { margin: 12px 0 0; color: #999fad; font-size: 9px; text-align: center; }
.delivery-popup { min-width: 180px; font-family: "Manrope",sans-serif; }.delivery-popup strong { display: block; margin-bottom: 6px; }.delivery-popup span { color: #667085; font-size: 11px; }.delivery-popup b { color: #e85651; }
.order-marker { width: 15px; height: 15px; border: 3px solid white; border-radius: 50%; background: #7c63dc; box-shadow: 0 2px 7px rgba(16,26,54,.35); }
.restaurant-marker { width: 40px; height: 40px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 13px 13px 13px 3px; background: #ff6b61; box-shadow: 0 7px 18px rgba(232,86,81,.42); font-size: 20px; transform: rotate(-45deg); }.restaurant-marker span { transform: rotate(45deg); }

.how-section { padding: 90px max(5vw,24px); background: #fff; }
.section-heading.centered { display: block; text-align: center; }.section-heading.centered > p { margin: 14px auto 0; }
.steps { max-width: 1150px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.steps article { position: relative; padding: 28px 23px; border: 1px solid var(--line); border-radius: 16px; }
.steps article > span { position: absolute; top: 18px; right: 18px; color: #d5d8e2; font-size: 11px; font-weight: 800; }
.step-icon { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--coral); background: #fff0ee; font-size: 19px; }
.steps h3 { margin: 19px 0 9px; font-size: 15px; }.steps p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.cta-section { margin: 0 max(5vw,24px) 70px; padding: 55px max(5vw,35px); display: flex; align-items: center; justify-content: space-between; gap: 35px; border-radius: 22px; color: #fff; background: linear-gradient(120deg,var(--navy),#242d59); }
.cta-section h2 { margin: 10px 0 10px; font-size: clamp(27px,3vw,39px); }.cta-section p { max-width: 670px; margin: 0; color: #b8c0d4; font-size: 13px; line-height: 1.7; }
.button-light { flex: 0 0 auto; color: var(--navy); background: #fff; }
footer { padding: 24px max(5vw,24px); display: flex; justify-content: space-between; color: #7e8699; background: #0c142b; font-size: 10px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 65px; }.hero-copy { max-width: 720px; }.hero-visual { min-height: 380px; }
  .kpi-grid { grid-template-columns: repeat(2,1fr); }.workspace-grid { grid-template-columns: 1fr; }.analysis-card { min-height: auto; }.steps { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  .site-header { height: 68px; }.site-header nav a:not(.nav-cta) { display: none; }.brand small { display: none; }
  .hero { min-height: auto; padding: 58px 22px 48px; gap: 34px; }.hero-copy > p { font-size: 14px; }.hero-visual { min-height: 315px; }.mini-map { inset: 15px 4px 20px 10px; }.delivery-card { right: -5px; }.demand-card { left: -4px; }
  .section-heading { display: block; }.section-heading > p { margin-top: 13px; }.filters { align-items: stretch; flex-direction: column; }.filter-group { justify-content: space-between; }.segmented button { padding: 8px 10px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 9px; }.kpi { min-height: 104px; padding: 15px 12px; gap: 9px; }.kpi-icon { width: 34px; height: 34px; }.kpi strong { font-size: 17px; }
  #map { height: 390px; }.map-legend { flex-wrap: wrap; gap: 8px 15px; }.steps { grid-template-columns: 1fr; }.cta-section { align-items: flex-start; flex-direction: column; }.button-light { width: 100%; } footer { gap: 10px; flex-direction: column; }
}
@media (max-width: 420px) {
  .kpi-grid { grid-template-columns: 1fr; }.filter-group { align-items: flex-start; flex-direction: column; }.segmented { width: 100%; }.segmented button { flex: 1; }
}
