/* ============================================================
   VivoCabs — Flat White inspired landing page
   Design tokens
   ============================================================ */
:root {
  --cream:        #FAF7F1;
  --cream-deep:   #F1EAE0;
  --paper:        #FFFFFF;
  --ink:          #16140F;
  --ink-soft:     #5B564C;
  --ink-faint:    #8B8577;
  --accent:       #F6B33C;
  --accent-deep:  #E39A1D;
  --accent-ink:   #241C08;
  --line:         rgba(22, 20, 15, 0.09);
  --shadow-soft:  0 20px 60px -20px rgba(22, 20, 15, 0.18);
  --shadow-card:  0 12px 30px -12px rgba(22, 20, 15, 0.16);
  --radius-lg:    28px;
  --radius-md:    20px;
  --radius-sm:    14px;
  --radius-pill:  999px;
  --container:    1200px;
  --ff-head: 'Manrope', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: rgba(246, 179, 60, 0.14);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-deep);
  display: inline-block;
}

.section {
  padding: 120px 0;
  position: relative;
}
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
}
.section-tag { margin-bottom: 20px; }

.section h2 {
  font-size: clamp(32px, 4.4vw, 52px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow-card);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 12px 30px -10px rgba(246, 179, 60, 0.7);
}
.btn-accent:hover { transform: translateY(-3px); background: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  padding: 14px 0;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  align-items: center;
  justify-content: center;
}
.nav:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.86); }
.nav:not(.is-scrolled) .nav-links a:hover { color: var(--paper); }
.nav:not(.is-scrolled) .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.nav:not(.is-scrolled) .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--paper); }
.nav:not(.is-scrolled) .nav-toggle { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); }
.nav:not(.is-scrolled) .nav-toggle span,
.nav:not(.is-scrolled) .nav-toggle span::before,
.nav:not(.is-scrolled) .nav-toggle span::after { background: var(--paper); }

.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: 0.3s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22,20,15,0.72) 0%, rgba(22,20,15,0.55) 45%, rgba(22,20,15,0.8) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 100px;
}
.hero-copy { max-width: 640px; text-align: left; }
.hero-copy .eyebrow {
  color: var(--accent);
  background: rgba(246, 179, 60, 0.18);
}
.hero-copy h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 22px 0 26px;
  color: var(--paper);
  text-align: left;
}
.hero-copy h1 .hl {
  color: var(--accent);
  font-style: italic;
}
.hero-copy p {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  max-width: 480px;
  margin-bottom: 40px;
  text-align: left;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.store-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badges img { height: 52px; width: auto; }
.store-badges a {
  transition: transform 0.3s ease;
  display: block;
}
.store-badges a:hover { transform: translateY(-3px); }
/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--ff-head);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  color: var(--ink);
}
.stat-label {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.step-num {
  font-family: var(--ff-head);
  font-size: 46px;
  font-weight: 800;
  color: rgba(22,20,15,0.08);
  position: absolute;
  top: 14px;
  right: 20px;
  line-height: 1;
}
.step-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.step-icon svg { width: 26px; height: 26px; }
.step-card h4 { font-size: 20px; margin-bottom: 10px; }
.step-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; }

/* ============================================================
   ABOUT / SPLIT SECTION
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius-lg);
  width: 100%;
}
.split-copy h2 { margin-bottom: 24px; }
.split-copy p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.check-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
}
.check-list .tick {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.check-list .tick svg { width: 13px; height: 13px; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-deep);
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h4 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  position: relative;
}
.cta-banner-copy { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--cream); margin-bottom: 20px; }
.cta-banner p { color: rgba(250,247,241,0.7); font-size: 17px; line-height: 1.65; max-width: 440px; margin-bottom: 32px; }
.cta-banner-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.cta-banner-media img {
  max-height: 420px;
  width: auto;
  border-radius: var(--radius-md);
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -140px; left: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(246,179,60,0.25), transparent 70%);
}

/* ============================================================
   APP TABS (Rider / Driver)
   ============================================================ */
.app-tabs-head {
  display: flex;
  justify-content: center;
  margin-bottom: 56px;
}
.tab-switch {
  display: inline-flex;
  background: var(--cream-deep);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 4px;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-soft);
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}
.tab-btn.is-active { color: var(--accent-ink); }
.tab-switch-bg {
  position: absolute;
  top: 6px; bottom: 6px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  z-index: 0;
}
.tab-switch { position: relative; }

.tab-panels { position: relative; min-height: 480px; }
.tab-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.tab-panel.is-active { position: relative; visibility: visible; pointer-events: auto; }
.tab-panel-media { display: flex; justify-content: center; }
.tab-panel-media img { max-height: 520px; width: auto; }
.tab-feature-list { display: flex; flex-direction: column; gap: 26px; }
.tab-feature {
  display: flex;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.tab-feature:last-child { border-bottom: none; padding-bottom: 0; }
.tab-feature-num {
  font-family: var(--ff-head);
  font-weight: 800;
  color: var(--accent-deep);
  font-size: 15px;
  flex-shrink: 0;
  width: 32px;
}
.tab-feature h4 { font-size: 17px; margin-bottom: 6px; }
.tab-feature p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.price-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), box-shadow 0.4s ease;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); }
.price-card.is-highlight {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.04);
  box-shadow: var(--shadow-soft);
}
.price-card.is-highlight:hover { transform: scale(1.04) translateY(-10px); }
.price-card.is-highlight .price-plan-desc,
.price-card.is-highlight .price-list li { color: rgba(250,247,241,0.7); }
.price-plan-name { font-family: var(--ff-head); font-weight: 800; font-size: 20px; margin-bottom: 8px; }
.price-plan-desc { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.price-amount { font-family: var(--ff-head); font-size: 44px; font-weight: 800; margin-bottom: 4px; }
.price-amount span { font-size: 15px; font-weight: 600; opacity: 0.6; }
.price-list { margin: 28px 0 32px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.price-list li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.price-list li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--accent-deep); }
.is-highlight .price-list li svg { color: var(--accent); }
.price-card .btn { width: 100%; }
.badge-pill {
  align-self: flex-start;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  text-align: center;
  padding: 140px 0;
}
.final-cta h2 { font-size: clamp(36px, 5.4vw, 64px); margin-bottom: 26px; }
.final-cta p { font-size: 18px; color: var(--ink-soft); max-width: 520px; margin: 0 auto 40px; }
.final-cta .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(250,247,241,0.75);
  padding: 80px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,247,241,0.12);
}
.footer-brand img { height: 36px; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; font-size: 14.5px; line-height: 1.6; }
.footer-col h5 {
  font-family: var(--ff-head);
  color: var(--cream);
  font-size: 15px;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,241,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.footer-socials svg { width: 16px; height: 16px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stats-grid, .steps-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .price-card.is-highlight { transform: none; }
  .cta-banner { grid-template-columns: 1fr; text-align: center; padding: 56px 32px; }
  .cta-banner-copy p { margin-left: auto; margin-right: auto; }
  .cta-banner-media img { max-height: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px; right: 20px;
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 92vh; }
  .hero .container { padding-top: 130px; padding-bottom: 70px; }
  .split, .split.reverse { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .split.reverse .split-media { order: -1; }
  .tab-panel { grid-template-columns: 1fr; text-align: center; }
  .tab-panel-media { order: -1; }
  .tab-feature { text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .section { padding: 84px 0; }
  .stats-grid, .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
