/* Shared styles for public marketing pages (driver-app.html, compare.html).
   Mirrors the tokens and components inline in index.html. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:#1a1a2e; --green:#16a34a; --green2:#15803d; --green-l:#22c55e; --blue:#3b82f6; --amber:#f59e0b;
  --light:#f8fafc; --text:#111827; --muted:#6b7280; --border:#e5e7eb; --white:#ffffff; --radius:12px;
  --shadow-lg:0 12px 48px rgba(0,0,0,.14);
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }

.btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 24px; border-radius: 9px; font-size: 15px; font-weight: 700; font-family: inherit; cursor: pointer; border: none; text-decoration: none; transition: all .17s; line-height: 1; }
.btn-green { background: var(--green); color: white; }
.btn-green:hover { background: var(--green2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(22,163,74,.3); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: #22243f; transform: translateY(-1px); }
.btn-ghost-dark { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: white; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.14); }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 10px; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.badge-green { background: #dcfce7; color: #15803d; }
.badge-amber { background: #fef3c7; color: #92400e; }
.section-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.4px; color: var(--green); margin-bottom: 10px; }
.section-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.18; letter-spacing: -.5px; }
.section-sub { font-size: 17px; color: var(--muted); margin-top: 14px; max-width: 640px; line-height: 1.7; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

section { padding: 88px 0; }
section.alt { background: var(--light); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15,15,30,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.05); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 62px; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 800; color: white; text-decoration: none; white-space: nowrap; }
.nav-logo .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--green-l); flex-shrink: 0; }
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; font-weight: 500; padding: 6px 12px; border-radius: 7px; transition: all .14s; }
.nav-links a:hover, .nav-links a.current { color: white; background: rgba(255,255,255,.07); }
.nav-cta { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.nav-signin { color: rgba(255,255,255,.75); text-decoration: none; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 7px; }
.nav-signin:hover { color: white; background: rgba(255,255,255,.07); }

/* Dark hero */
.hero { background: linear-gradient(155deg, #0a0a18 0%, #0f1428 55%, #0d1a10 100%); color: white; padding: 92px 0 84px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 70% 40%, rgba(34,197,94,.09) 0%, transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 900; line-height: 1.1; letter-spacing: -1.4px; margin-bottom: 20px; }
.hero h1 em { color: var(--green-l); font-style: normal; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.68); line-height: 1.75; margin-bottom: 34px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #374151; }
.feat-list li::before { content: '✓'; color: var(--green); font-weight: 800; flex-shrink: 0; margin-top: 1px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 48px; }
.card { background: white; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .ic { font-size: 28px; margin-bottom: 12px; }
.card h4 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, #0a0f1e 0%, #0d1f0d 100%); color: white; text-align: center; padding: 92px 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin-bottom: 14px; letter-spacing: -.5px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,.65); margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
footer { background: #080a12; color: rgba(255,255,255,.45); padding: 48px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; color: white; }
.footer-brand .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--green-l); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,.45); text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 22px; font-size: 12px; }

@media (max-width: 900px) {
  section { padding: 60px 0; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 52px; }
  .hero-actions { flex-direction: column; }
  .nav-signin { display: none; }
}
