/* TransportApp landing site. Same look as the app ("Clean ledger"):
   Inter, cool grey ground, white cards, one blue accent. */
:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --green: #16a34a;
  --green-soft: #f0fdf4;
  --amber-soft: #fffbeb;
  --navy: #0b1b3a;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 60px rgba(15, 23, 42, .14);
  --font: 'Inter', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="hi"] body { font-size: 18px; line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { letter-spacing: 0; line-height: 1.35; }
p { margin: 0 0 1em; }

/* Language switch: every bilingual element carries data-l="en" or data-l="hi". */
html[lang="en"] [data-l="hi"], html[lang="hi"] [data-l="en"] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.white { background: var(--card); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
html[lang="hi"] .eyebrow { letter-spacing: 0; font-size: 15px; }
.section-head { max-width: 720px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { color: var(--ink-2); font-size: 19px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 17px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: inherit; line-height: 1.2; min-height: 52px;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(37, 99, 235, .28); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn-wa { background: #fff; color: #128c4b; border-color: #bbf7d0; }
.btn-wa:hover { background: var(--green-soft); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(244, 246, 249, .9);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo .app { color: var(--blue); }
.nav { display: flex; gap: 24px; margin-left: 12px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px;
  font: 600 15px var(--font); color: var(--ink); cursor: pointer; min-height: 40px;
}
.lang:hover { border-color: var(--blue); color: var(--blue); }
.top .btn { padding: 10px 16px; min-height: 42px; font-size: 15px; box-shadow: none; }
.login { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 6px; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.08fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -.03em; }
html[lang="hi"] .hero h1 { font-size: clamp(34px, 5vw, 54px); }
.hero h1 .hl { color: var(--blue); }
.hero .lead { font-size: 20px; color: var(--ink-2); max-width: 540px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; color: var(--ink-2); font-size: 15px; }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { width: 18px; height: 18px; color: var(--green); flex: none; }

.hero-art { position: relative; padding: 0 0 40px 0; }
.browser {
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid var(--line);
}
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f8fafc; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; display: block; }
.browser-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-3); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.phone {
  width: 100%; max-width: 270px; border-radius: 34px; padding: 9px; background: #0f172a;
  box-shadow: var(--shadow-lg);
}
.phone img { border-radius: 26px; width: 100%; }
.hero-art .phone { position: absolute; right: -12px; bottom: -4px; width: 33%; max-width: 210px; padding: 7px; border-radius: 28px; }
.hero-art .phone img { border-radius: 22px; }
.float-card {
  position: absolute; left: -18px; bottom: 6px; background: #fff; border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; font-size: 14px; max-width: 260px;
  border: 1px solid var(--line);
}
.float-card .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; flex: none; }
.float-card .dot svg { width: 20px; height: 20px; }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--ink-3); font-size: 13px; }

/* Pain points */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain { background: var(--card); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.pain .before { color: #b45309; background: var(--amber-soft); display: inline-block; border-radius: 8px; padding: 4px 10px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.pain h3 { font-size: 20px; }
.pain p { color: var(--ink-2); margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; }
.step .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700;
  font-size: 22px; display: grid; place-items: center; margin-bottom: 16px; box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.step h3 { font-size: 22px; }
.step p { color: var(--ink-2); }
.step .shot { margin-top: 18px; max-width: 250px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section.white .tile { background: #fbfcfe; }
.icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 14px;
}
.icon svg { width: 26px; height: 26px; }
.tile h3 { font-size: 18px; margin-bottom: 4px; }
.tile p { color: var(--ink-2); font-size: 15px; margin: 0; }
html[lang="hi"] .tile p { font-size: 16px; }

/* Feature rows with screenshots */
.row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 48px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row.flip .row-text { order: 2; }
.row h3 { font-size: clamp(26px, 3.2vw, 34px); }
.row .row-text > p { color: var(--ink-2); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.checks b { font-weight: 600; }
.phones { display: flex; gap: 20px; justify-content: center; align-items: flex-start; }
.phones .phone { max-width: 250px; }
.phones .phone:nth-child(2) { margin-top: 48px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px; }
html[lang="hi"] .tag { font-size: 14px; }

/* CA section */
.ca { background: var(--navy); color: #e2e8f0; }
.ca .eyebrow { color: #93c5fd; }
.ca .section-head h2 { color: #fff; }
.ca .section-head p { color: #cbd5e1; }
.ca-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
.ca-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.ca-card h3 { color: #fff; font-size: 18px; display: flex; gap: 10px; align-items: center; }
.ca-card h3 svg { width: 22px; height: 22px; color: #93c5fd; flex: none; }
.ca-card ul { margin: 0; padding-left: 18px; color: #cbd5e1; font-size: 15px; }
.ca-card li { margin: 6px 0; }
.ca-card code { font-size: 13px; background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 5px; color: #e2e8f0; }
.ca-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ca-shots figure { margin: 0; }
.ca-shots figcaption { color: #94a3b8; font-size: 14px; margin-top: 10px; }
.ca .browser { border-color: rgba(255, 255, 255, .12); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Pricing */
.cycle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 8px; }
.cycle button { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font: 600 15px var(--font); color: var(--ink-2); cursor: pointer; min-height: 40px; }
.cycle button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.cycle .save { color: var(--green); font-size: 13px; }
.cycle button[aria-pressed="true"] .save { color: #bbf7d0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; }
.plan.best { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); position: relative; }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 3px 12px; }
.plan h3 { font-size: 20px; margin-bottom: 2px; }
.plan .for { color: var(--ink-3); font-size: 15px; margin-bottom: 16px; }
.price { font-size: 42px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.gst { color: var(--ink-3); font-size: 14px; margin: 4px 0 20px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 16px; }
.plan li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 3px; }
.plan .btn { width: 100%; }
.price-note { text-align: center; color: var(--ink-2); margin-top: 28px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details > div { padding: 0 22px 18px; color: var(--ink-2); }
.faq details > div p:last-child { margin: 0; }

/* Final CTA */
.cta-band { background: var(--blue); color: #fff; border-radius: 24px; padding: 56px 40px; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); }
.cta-band p { color: #dbeafe; font-size: 19px; max-width: 620px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: #fff; color: var(--blue); box-shadow: none; }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.cta-band .ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Footer */
.foot { padding: 48px 0 40px; color: var(--ink-3); font-size: 15px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--blue); }

/* Legal pages */
.legal { max-width: 780px; margin: 0 auto; padding: 48px 20px 80px; }
.legal article { background: var(--card); border-radius: 18px; padding: 40px; box-shadow: var(--shadow); }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 21px; margin-top: 32px; }
.legal p, .legal li { color: #334155; font-size: 16px; }
.legal .updated { color: var(--ink-3); font-size: 14px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal td { border-top: 1px solid var(--line); padding: 10px 0; vertical-align: top; }
.legal td:first-child { color: var(--ink-3); width: 38%; padding-right: 16px; }
.todo { background: #fef3c7; color: #92400e; border-radius: 4px; padding: 0 4px; font-style: normal; }

/* Mobile WhatsApp button */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: none; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 30px; height: 30px; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .ca-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 32px; }
  .hero .wrap, .row { grid-template-columns: 1fr; gap: 36px; }
  .row.flip .row-text { order: 0; }
  .pains, .steps, .plans, .trust, .ca-shots { grid-template-columns: 1fr; }
  .ca-grid { grid-template-columns: 1fr; }
  .step .shot { max-width: 220px; }
  .plan.best { order: -1; }
  .wa-float { display: grid; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .top .wrap { gap: 10px; }
  .login, .top .btn-primary { display: none; }
  .hero .ctas .btn { width: 100%; }
  .grid { grid-template-columns: 1fr; }
  .tile { display: grid; grid-template-columns: 48px 1fr; gap: 0 14px; padding: 18px; }
  .tile .icon { margin: 0; grid-row: span 2; }
  .hero-art .phone { width: 42%; right: -4px; }
  .float-card { display: none; }
  .phones .phone { max-width: 46%; }
  .phones .phone:nth-child(2) { margin-top: 32px; }
  .cta-band { padding: 40px 20px; border-radius: 18px; }
  .cta-band .btn { width: 100%; }
  .legal { padding: 24px 12px 60px; }
  .legal article { padding: 24px 18px; }
}
.foot .logo { color: var(--ink); }

/* Launch video */
.video-frame { max-width: 960px; margin: 0 auto; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #0f172a; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; }
.watch { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-decoration: none; margin: -6px 0 18px; }
.watch:hover { color: var(--blue); }
.watch .play { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.watch .play svg { width: 16px; height: 16px; margin-left: 2px; }
