/* =========================================================================
   DriveNova — Customer website styles
   -------------------------------------------------------------------------
   HOW THIS FILE IS ORGANISED (edit the section you need):
     1.  Design tokens .......... colours, radius, widths  (change brand colour here)
     2.  Base & helpers ......... resets, container, buttons
     3.  Navbar
     4.  Hero + phone mockup
     5.  Section headings
     6.  Features
     7.  How it works (steps)
     8.  Trip packages
     9.  Download banner
     10. Contact
     11. Privacy policy
     12. Footer
     13. Responsive (mobile) tweaks
   ========================================================================= */

/* ---------- 1. DESIGN TOKENS --------------------------------------------
   To recolour the whole site, change --brand and --brand-dark below.       */
:root{
  --brand:        #3cb85f;   /* main green (buttons, accents)   */
  --brand-dark:   #2e9e4f;   /* darker green (text, hovers)     */
  --brand-deep:   #1b7a3d;   /* deepest green (gradients)       */
  --brand-tint:   #eafaef;   /* pale green background chips      */

  --ink:      #12211a;       /* main text colour                */
  --muted:    #5a6b62;       /* secondary text                  */
  --line:     #e4ebe6;       /* borders                         */
  --bg:       #ffffff;       /* page background                 */
  --bg-soft:  #f5faf6;       /* alternating section background   */
  --card:     #ffffff;       /* card background                 */

  --shadow: 0 10px 30px rgba(20,83,45,.10);
  --radius: 18px;
  --maxw:   1120px;          /* max content width               */
}

/* Automatic dark mode (follows the visitor's system setting) */
@media (prefers-color-scheme: dark){
  :root{
    --ink:#e8f1ea; --muted:#9fb2a7; --line:#243029;
    --bg:#0d130f; --bg-soft:#111a14; --card:#131d17;
    --brand-tint:#10241a;
    --shadow:0 10px 30px rgba(0,0,0,.4);
  }
}

/* ---------- 2. BASE & HELPERS ------------------------------------------- */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--ink); background:var(--bg); line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* Centered container used by every section */
.container{ max-width:var(--maxw); margin:0 auto; padding:0 22px; }

/* Buttons */
.button{
  display:inline-flex; align-items:center; gap:9px;
  border-radius:999px; padding:13px 22px;
  font-weight:700; font-size:15px; cursor:pointer;
  border:1px solid transparent; transition:.2s;
}
.button--primary{
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  color:#fff; box-shadow:var(--shadow);
}
.button--primary:hover{ transform:translateY(-2px); }
.button--ghost{ background:transparent; border-color:var(--line); color:var(--ink); }
.button--ghost:hover{ border-color:var(--brand); color:var(--brand-dark); }

/* Small pill label above headings, e.g. "NOW SERVING BENGALURU" */
.eyebrow{
  display:inline-block; font-weight:800; letter-spacing:.12em; text-transform:uppercase;
  font-size:12px; color:var(--brand-dark); background:var(--brand-tint);
  padding:6px 12px; border-radius:999px;
}

/* ---------- 3. NAVBAR --------------------------------------------------- */
.navbar{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb,var(--bg) 88%, transparent);
  backdrop-filter:saturate(180%) blur(12px);
  border-bottom:1px solid var(--line);
}
.navbar__inner{ display:flex; align-items:center; justify-content:space-between; height:66px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:20px; }
.brand img{ width:34px; height:34px; }
.brand span b{ color:var(--brand-dark); }
.navbar__links{ display:flex; gap:26px; align-items:center; }
.navbar__links a{ font-weight:600; color:var(--muted); font-size:15px; }
.navbar__links a:hover{ color:var(--brand-dark); }
.navbar__cta{ display:flex; gap:10px; align-items:center; }

/* ---------- 4. HERO + PHONE MOCKUP -------------------------------------- */
.hero{
  overflow:hidden;
  background:radial-gradient(1200px 500px at 80% -10%, var(--brand-tint), transparent 60%);
}
.hero__grid{
  display:grid; grid-template-columns:1.05fr .95fr; gap:40px;
  align-items:center; padding:72px 0 60px;
}
.hero h1{ font-size:clamp(34px,5vw,54px); line-height:1.08; letter-spacing:-.02em; margin:18px 0 14px; }
.hero h1 em{ font-style:normal; color:var(--brand-dark); }
.hero__lead{ font-size:19px; color:var(--muted); max-width:560px; }
.hero__cta{ display:flex; gap:12px; margin-top:26px; flex-wrap:wrap; }
.hero__trust{ margin-top:24px; display:flex; gap:12px; flex-wrap:wrap; }
.trust-chip{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 15px 9px 11px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow:0 2px 10px rgba(20,83,45,.06);
  font-size:14px; color:var(--muted);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.trust-chip:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(20,83,45,.12);
  border-color:var(--brand);
}
.trust-chip__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:28px; height:28px; flex:0 0 28px;
  background:var(--brand-tint);
  border-radius:50%;
  font-size:15px; line-height:1;
}
.trust-chip__text b{ color:var(--ink); font-weight:700; }

/* Phone frame — the screenshot is shown in full, exactly as provided.
   To swap the image, just replace assets/app-home.jpg (no code change needed). */
.phone{
  width:300px; margin:0 auto;
  background:linear-gradient(160deg,#1c2b22,#0c130f);
  border-radius:44px; padding:12px;
  box-shadow:0 30px 60px rgba(20,83,45,.22);
}
.phone__screen{ border-radius:34px; overflow:hidden; background:#000; }
.phone__screen img{ width:100%; height:auto; display:block; }

/* ---------- 5. SECTION HEADINGS ---------------------------------------- */
.section{ padding:70px 0; }
.section--soft{ background:var(--bg-soft); }
.section__head{ text-align:center; max-width:680px; margin:0 auto 44px; }
.section__head h2{ font-size:clamp(26px,3.5vw,38px); letter-spacing:-.02em; margin:14px 0 10px; }
.section__head p{ color:var(--muted); font-size:17px; margin:0; }

/* ---------- 6. FEATURES ------------------------------------------------- */
.features{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.feature__icon{
  width:48px; height:48px; border-radius:14px; background:var(--brand-tint); color:var(--brand-dark);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:16px;
}
.feature h3{ margin:0 0 6px; font-size:19px; }
.feature p{ margin:0; color:var(--muted); font-size:15px; }

/* ---------- 7. HOW IT WORKS (STEPS) ------------------------------------ */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
.step{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.step::before{
  counter-increment:step; content:counter(step);
  display:flex; align-items:center; justify-content:center;
  width:40px; height:40px; border-radius:12px; font-weight:800; color:#fff;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand)); margin-bottom:14px;
}
.step h3{ margin:0 0 6px; font-size:18px; }
.step p{ margin:0; color:var(--muted); font-size:15px; }

/* ---------- 8. TRIP PACKAGES ------------------------------------------- */
.packages{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.package{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:24px; position:relative; }
.package--featured{ border-color:var(--brand); box-shadow:var(--shadow); }
.package__tag{
  position:absolute; top:16px; right:16px; font-size:11px; font-weight:800;
  color:var(--brand-deep); background:var(--brand-tint); padding:4px 9px; border-radius:999px;
}
.package__emoji{ font-size:26px; margin-bottom:8px; }
.package h3{ margin:0 0 2px; font-size:19px; }
.package__sub{ color:var(--muted); font-size:14px; margin-bottom:14px; }
.package ul{ list-style:none; padding:0; margin:0; }
.package li{ display:flex; gap:8px; align-items:center; font-size:14px; padding:5px 0; }
.package li::before{ content:"✓"; color:var(--brand-dark); font-weight:800; }
.packages-note{ color:var(--muted); font-size:13px; text-align:center; margin-top:22px; }

/* ---------- 9. DOWNLOAD BANNER ----------------------------------------- */
.download{
  background:linear-gradient(135deg,var(--brand-deep),var(--brand));
  color:#fff; border-radius:28px; padding:56px 40px; text-align:center;
}
.download h2{ font-size:clamp(26px,3.5vw,38px); margin:0 0 10px; letter-spacing:-.02em; }
.download p{ opacity:.92; font-size:17px; max-width:560px; margin:0 auto 26px; }
.stores{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.store{
  display:inline-flex; align-items:center; gap:8px; background:#0d130f; color:#fff;
  border-radius:14px; padding:12px 20px; min-width:200px;
}
.store:hover{ transform:translateY(-2px); transition:.2s; }
.store small{ display:block; font-size:11px; opacity:.8; line-height:1.2; }
.store b{ font-size:17px; line-height:1.2; }
.store__badge{ margin-left:auto; font-size:10px; background:rgba(255,255,255,.18); padding:3px 8px; border-radius:999px; }

/* ---------- 10. CONTACT ------------------------------------------------ */
.contact{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.contact__box{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.contact__box h3{ margin:0 0 12px; font-size:18px; }
.contact__box p{ margin:6px 0; color:var(--muted); font-size:15px; }
.contact__box a{ color:var(--brand-dark); font-weight:700; }

/* ---------- 11. PRIVACY POLICY ----------------------------------------- */
.legal{ background:var(--bg-soft); }
.legal .container{ max-width:900px; }
.legal h2{ font-size:32px; letter-spacing:-.02em; margin-bottom:4px; }
.legal__meta{ color:var(--muted); font-size:14px; margin-bottom:26px; }
.legal h3{ font-size:20px; margin:34px 0 8px; scroll-margin-top:80px; }
.legal h4{ font-size:16px; margin:18px 0 6px; }
.legal p, .legal li{ color:var(--muted); font-size:15px; }
.legal ul{ padding-left:20px; }
.legal table{ width:100%; border-collapse:collapse; margin:12px 0; font-size:14px; }
.legal th, .legal td{ border:1px solid var(--line); padding:10px 12px; text-align:left; vertical-align:top; }
.legal th{ background:var(--brand-tint); color:var(--ink); font-weight:700; }
.legal td{ color:var(--muted); }
.toc{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px 24px; margin:22px 0; }
.toc b{ display:block; margin-bottom:8px; color:var(--ink); }
.toc ol{ margin:0; padding-left:20px; columns:2; gap:24px; }
.toc a{ color:var(--muted); font-size:14px; }
.toc a:hover{ color:var(--brand-dark); }

/* Yellow highlight = placeholder you must fill in before publishing */
.placeholder{  border-radius:5px; padding:0 5px; font-weight:600; color:var(--ink); }

/* ---------- 12. FOOTER ------------------------------------------------- */
.footer{ padding:44px 0 30px; border-top:1px solid var(--line); background:var(--bg); }
.footer__row{ display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; align-items:center; }
.footer__links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer__links a{ color:var(--muted); font-size:14px; font-weight:600; }
.footer__links a:hover{ color:var(--brand-dark); }
.footer__copy{ color:var(--muted); font-size:13px; margin-top:18px; text-align:center; }

/* ---------- 13. RESPONSIVE (mobile) ------------------------------------ */
@media (max-width:900px){
  .hero__grid{ grid-template-columns:1fr; text-align:center; padding:48px 0 36px; }
  .hero__lead{ margin-inline:auto; }
  .hero__cta, .hero__trust{ justify-content:center; }
}
@media (max-width:860px){
  .navbar__links{ display:none; }
  .navbar__cta .button--ghost{ display:none; }
  .features{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr 1fr; }
  .packages{ grid-template-columns:1fr 1fr; }
}
@media (max-width:560px){
  .features{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .packages{ grid-template-columns:1fr; }
  .contact{ grid-template-columns:1fr; }
  .toc ol{ columns:1; }
}

/* =========================================================================
   14. DRIVER-SITE EXTRAS  (requirements checklist + info note)
   ========================================================================= */
/* Requirements shown as tidy cards: a round check badge + normal text */
.req-grid{
  display:grid; grid-template-columns:repeat(2,1fr); gap:16px;
  max-width:820px; margin:0 auto;
}
.req{
  display:flex; gap:14px; align-items:flex-start;
  background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:18px 20px;
}
.req__check{
  flex:none; width:28px; height:28px; border-radius:50%;
  background:var(--brand-tint); color:var(--brand-dark);
  display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:15px; line-height:1;
}
.req__text{ font-size:15.5px; line-height:1.5; color:var(--ink); }
.req__text b{ font-weight:700; }

.note-card{
  max-width:760px; margin:24px auto 0;
  background:var(--brand-tint); border:1px solid var(--line);
  border-radius:var(--radius); padding:16px 20px; color:var(--ink); font-size:15px;
}

/* Earnings explainer list */
.earn-list{ max-width:760px; margin:0 auto; padding-left:22px; }
.earn-list li{ color:var(--muted); font-size:16px; margin:8px 0; }
.earn-list li b{ color:var(--ink); }

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