/* Local Link website — Bootstrap 5.3 plus the brand.
   Rider blue for the customer pages, driver green for drive.html. */

:root {
  --ll-blue: #1B4FD8;   --ll-blue-2: #3E7BFF;  --ll-blue-3: #12307F;  --ll-deep: #0B1B3F;  --ll-sky: #7DD3FC;
  --ll-green: #0F4C2A;  --ll-green-2: #25B368; --ll-green-3: #072E19; --ll-mint: #6EE7A8;
  --ll-ink: #0F172A;    --ll-muted: #5B6B82;   --ll-line: #E2E8F0;    --ll-soft: #F4F7FC;

  --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bs-body-color: var(--ll-ink);
  --bs-primary: var(--ll-blue);
  --bs-primary-rgb: 27, 79, 216;
  --bs-link-color: var(--ll-blue);
  --bs-link-color-rgb: 27, 79, 216;
  --bs-link-hover-color: var(--ll-blue-3);
  --bs-border-radius: .75rem;
  --bs-border-radius-lg: 1rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: #fff; -webkit-font-smoothing: antialiased; }
.text-muted-ll { color: var(--ll-muted) !important; }
.fw-black { font-weight: 900; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--ll-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ll-blue); background: rgba(27, 79, 216, .08);
  padding: .4rem .8rem; border-radius: 999px;
}
.drive .eyebrow, .eyebrow.green { color: var(--ll-green); background: rgba(37, 179, 104, .12); }
.section-title { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.lead-ll { font-size: 1.12rem; color: var(--ll-muted); }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn { font-weight: 700; border-radius: .8rem; padding: .7rem 1.25rem; }
.btn-primary {
  --bs-btn-bg: var(--ll-blue); --bs-btn-border-color: var(--ll-blue);
  --bs-btn-hover-bg: var(--ll-blue-3); --bs-btn-hover-border-color: var(--ll-blue-3);
  --bs-btn-active-bg: var(--ll-blue-3); --bs-btn-active-border-color: var(--ll-blue-3);
}
.btn-green {
  --bs-btn-color: #fff; --bs-btn-bg: var(--ll-green-2); --bs-btn-border-color: var(--ll-green-2);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #1E9A58; --bs-btn-hover-border-color: #1E9A58;
  --bs-btn-active-color: #fff; --bs-btn-active-bg: #1E9A58;
}
.btn-ghost-light {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: var(--ll-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff;
  border-width: 1.5px;
}
.play-badge { height: 62px; width: auto; margin: -9px -10px; }
.play-badge-sm { height: 50px; width: auto; margin: -7px -8px; }

/* ── Logo ────────────────────────────────────────────────────────────── */
.ll-logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.ll-logo svg { width: 38px; height: 38px; flex: none; }
.ll-wordmark { font-family: "Roboto", sans-serif; font-weight: 900; line-height: .9; }
.ll-wordmark b { display: block; font-size: .72rem; letter-spacing: .32em; color: var(--ll-blue-2); }
.ll-wordmark i { display: flex; align-items: center; font-style: normal; font-size: 1.12rem; letter-spacing: .2em; color: var(--ll-ink); }
.ll-wordmark .tag {
  font-size: .5rem; letter-spacing: .14em; margin-left: .35rem; padding: .2rem .4rem;
  background: var(--ll-mint); color: var(--ll-green-3); border-radius: 999px;
}
.on-dark .ll-wordmark b { color: var(--ll-sky); }
.on-dark .ll-wordmark i { color: #fff; }

/* ── Navbar ──────────────────────────────────────────────────────────── */
.navbar-ll {
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.navbar-ll .nav-link, .navbar-ll .btn { white-space: nowrap; }
.navbar-ll.scrolled { border-bottom-color: var(--ll-line); box-shadow: 0 6px 24px -18px rgba(15, 23, 42, .35); }
.navbar-ll .nav-link { font-weight: 600; color: var(--ll-ink); padding: .5rem .85rem !important; border-radius: .6rem; }
.navbar-ll .nav-link:hover, .navbar-ll .nav-link.active { color: var(--ll-blue); background: rgba(27, 79, 216, .06); }
.drive .navbar-ll .nav-link:hover, .drive .navbar-ll .nav-link.active { color: var(--ll-green); background: rgba(37, 179, 104, .08); }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 900px at 85% -10%, var(--ll-blue-2) 0%, var(--ll-blue) 38%, var(--ll-blue-3) 72%, var(--ll-deep) 100%);
  padding: 72px 0 96px;
}
.hero.green { background: radial-gradient(1200px 900px at 85% -10%, #2BC274 0%, #13693A 34%, var(--ll-green) 60%, var(--ll-green-3) 100%); }
.hero .roads { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; pointer-events: none; }
.hero .roads path { fill: none; stroke-linecap: round; }
.hero .roads .base { stroke: rgba(255, 255, 255, .07); stroke-width: 22; }
.hero .roads .dash { stroke: rgba(125, 211, 252, .28); stroke-width: 4; stroke-dasharray: 18 26; animation: flow 30s linear infinite; }
.hero.green .roads .dash { stroke: rgba(110, 231, 168, .3); }
@keyframes flow { to { stroke-dashoffset: -1000; } }
@media (prefers-reduced-motion: reduce) { .hero .roads .dash { animation: none; } }
.hero h1 { font-weight: 900; letter-spacing: -.035em; font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1.02; }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: 1.2rem; max-width: 34rem; }
.hero .eyebrow { color: #fff; background: rgba(255, 255, 255, .14); }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; color: rgba(255, 255, 255, .88); font-weight: 600; font-size: .95rem; }
.hero-points i { color: var(--ll-sky); }
.hero.green .hero-points i { color: var(--ll-mint); }
.hero-visual { position: relative; display: flex; justify-content: center; }

/* ── Phone mockup ────────────────────────────────────────────────────── */
.phone {
  position: relative; width: min(290px, 78vw); padding: 9px; border-radius: 44px;
  background: #0A1020; box-shadow: 0 0 0 2px rgba(255, 255, 255, .12), 0 40px 80px -24px rgba(2, 8, 30, .6);
}
.phone img { display: block; width: 100%; height: auto; border-radius: 36px; background: #fff; }
.phone.sm { width: 220px; padding: 7px; border-radius: 36px; }
.phone.sm img { border-radius: 30px; }
.on-light .phone { box-shadow: 0 0 0 1px rgba(15, 23, 42, .08), 0 30px 60px -28px rgba(15, 23, 42, .45); }

.chip-float {
  position: absolute; display: inline-flex; align-items: center; gap: .55rem;
  background: #fff; color: var(--ll-ink); border-radius: 999px; padding: .55rem 1rem .55rem .55rem;
  font-weight: 800; font-size: .92rem; box-shadow: 0 18px 40px -16px rgba(2, 8, 30, .55); white-space: nowrap;
}
.chip-float .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; }
.chip-a { left: -6%; top: 22%; }
.chip-b { right: -8%; top: 52%; }
.chip-c { left: -2%; bottom: 12%; }
@media (max-width: 575.98px) { .chip-a { left: 0; } .chip-b { right: 0; } .chip-c { left: 2%; } }

/* ── Cards ───────────────────────────────────────────────────────────── */
.card-ll {
  height: 100%; background: #fff; border: 1px solid var(--ll-line); border-radius: 1.1rem; padding: 1.6rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-ll:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(15, 23, 42, .45); }
.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.45rem;
  background: rgba(27, 79, 216, .09); color: var(--ll-blue); margin-bottom: 1rem;
}
.icon-tile.green { background: rgba(37, 179, 104, .13); color: var(--ll-green); }
.icon-tile.amber { background: #FEF3C7; color: #B45309; }
.icon-tile.rose  { background: #FFE4E6; color: #BE123C; }
.icon-tile.sky   { background: #E0F2FE; color: #0369A1; }
.card-ll h3, .card-ll h4 { font-weight: 800; font-size: 1.15rem; }
.card-ll p { color: var(--ll-muted); margin-bottom: 0; }

.trust-strip { margin-top: -44px; position: relative; z-index: 2; }
.trust-strip .inner {
  background: #fff; border-radius: 1.2rem; border: 1px solid var(--ll-line);
  box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .4); padding: 1.3rem 1.5rem;
}
.trust-item { display: flex; align-items: center; gap: .8rem; font-weight: 700; }
.trust-item i { font-size: 1.35rem; color: var(--ll-blue); }
.drive .trust-item i { color: var(--ll-green-2); }

/* How it works */
.step-num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ll-blue); color: #fff; font-weight: 800; margin-bottom: 1rem;
}
.drive .step-num { background: var(--ll-green-2); }
.step-card { text-align: center; }
.step-card .phone { margin: 1.4rem auto 0; }

/* Ride classes */
.class-card { position: relative; overflow: hidden; }
.class-card .badge-class { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.class-card .car { font-size: 2.6rem; line-height: 1; }
.class-card.economy .car { color: #0EA5E9; }
.class-card.comfort .car { color: #7C3AED; }
.class-card.vip     .car { color: #D97706; }

/* App screens gallery */
.screens { display: flex; gap: 1.6rem; overflow-x: auto; padding: .5rem .5rem 1.5rem; scroll-snap-type: x mandatory; }
.screens figure { flex: none; scroll-snap-align: center; margin: 0; text-align: center; }
.screens figcaption { margin-top: .9rem; font-weight: 700; }
.screens figcaption span { display: block; font-weight: 500; color: var(--ll-muted); font-size: .9rem; }

/* Zones */
.zone { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--ll-line); font-weight: 700; }
.zone i { color: var(--ll-blue); }

/* Drive band (on index) */
.drive-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 1.6rem;
  background: radial-gradient(900px 600px at 90% 0%, #2BC274 0%, #13693A 38%, var(--ll-green) 62%, var(--ll-green-3) 100%);
  padding: 3.2rem;
}
.drive-band .lead-ll { color: rgba(255, 255, 255, .86); }
.drive-band ul { list-style: none; padding: 0; }
.drive-band li { display: flex; gap: .7rem; margin-bottom: .7rem; font-weight: 600; }
.drive-band li i { color: var(--ll-mint); font-size: 1.15rem; }
@media (max-width: 767.98px) { .drive-band { padding: 2rem 1.4rem; border-radius: 1.2rem; } }

/* Checklist and timeline (drive.html) */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; gap: .8rem; padding: .85rem 0; border-bottom: 1px dashed var(--ll-line); }
.checklist li:last-child { border-bottom: 0; }
.checklist i { font-size: 1.2rem; color: var(--ll-green-2); flex: none; margin-top: .1rem; }
.checklist .opt i { color: #94A3B8; }
.checklist b { display: block; }
.checklist span { color: var(--ll-muted); font-size: .94rem; }
.req-pill { font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .5rem; border-radius: 999px; background: rgba(37, 179, 104, .14); color: var(--ll-green); margin-left: .4rem; }
.req-pill.opt { background: #F1F5F9; color: #64748B; }

.timeline { position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--ll-green-2), var(--ll-mint)); }
.timeline li { position: relative; display: flex; gap: 1.1rem; padding-bottom: 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .step-num { flex: none; margin: 0; position: relative; z-index: 1; box-shadow: 0 0 0 6px #fff; }
.timeline h4 { font-weight: 800; font-size: 1.08rem; margin-bottom: .2rem; }
.timeline p { color: var(--ll-muted); margin: 0; }

/* FAQ */
.faq .accordion-item { border: 1px solid var(--ll-line); border-radius: 1rem !important; overflow: hidden; margin-bottom: .8rem; }
.faq .accordion-button { font-weight: 700; padding: 1.15rem 1.3rem; }
.faq .accordion-button:not(.collapsed) { color: var(--ll-blue); background: rgba(27, 79, 216, .05); box-shadow: none; }
.drive .faq .accordion-button:not(.collapsed) { color: var(--ll-green); background: rgba(37, 179, 104, .07); }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(27, 79, 216, .2); }
.faq .accordion-body { color: var(--ll-muted); padding: 0 1.3rem 1.2rem; }

/* CTA band */
.cta-band { background: var(--ll-deep); color: #fff; border-radius: 1.6rem; padding: 3rem; position: relative; overflow: hidden; }
.cta-band .lead-ll { color: rgba(255, 255, 255, .78); }
.cta-band .split { border-left: 1px solid rgba(255, 255, 255, .14); }
@media (max-width: 767.98px) { .cta-band { padding: 2rem 1.4rem; } .cta-band .split { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 1.6rem; } }

/* Footer */
.footer { background: #070F24; color: rgba(255, 255, 255, .7); padding: 64px 0 32px; }
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer h6 { color: #fff; font-weight: 800; letter-spacing: .02em; }
.footer .small-print { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
