*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-size: 1.25rem; font-weight: 600; }
.logo-icon { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .6rem 1.25rem; border-radius: 8px; font-weight: 600;
  font-size: .9rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: .85rem 1.75rem; font-size: 1rem; }

/* Hero */
.hero { padding: 4rem 0 5rem; background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-block; background: #dbeafe; color: var(--primary);
  padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.75rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2rem; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--primary); }
.hero-stats span { font-size: .8rem; color: var(--text-muted); }

/* Phone mockup */
.phone-mockup {
  background: #1e293b; border-radius: 32px; padding: 12px;
  max-width: 320px; margin: 0 auto; box-shadow: var(--shadow);
}
.phone-screen { background: #f1f5f9; border-radius: 24px; padding: 1.5rem; min-height: 280px; }
.trip-card { background: #fff; border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.trip-route { display: flex; flex-direction: column; gap: .5rem; font-weight: 600; margin-bottom: 1rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.green { background: #22c55e; }
.dot.red { background: #ef4444; }
.route-line { width: 2px; height: 24px; background: var(--border); margin-left: 4px; }
.trip-meta { display: flex; justify-content: space-between; color: var(--text-muted); font-size: .85rem; margin-bottom: 1rem; }
.price { color: var(--primary); font-weight: 700; font-size: 1.1rem; }
.driver-info { display: flex; align-items: center; gap: .75rem; padding-top: .75rem; border-top: 1px solid var(--border); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.driver-info small { color: var(--text-muted); }

/* Sections */
.section { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 3rem; }
.section:nth-child(even) { background: var(--bg-alt); }

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.feature-card {
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); font-size: .9rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; text-align: center; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem;
  margin: 0 auto 1rem;
}
.step h3 { margin-bottom: .5rem; }

/* Routes */
.route-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.route-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #fff; }
.route-img { height: 140px; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.route-info { padding: 1rem 1.25rem; }
.route-info h3 { font-size: 1rem; margin-bottom: .25rem; }
.route-info p { color: var(--text-muted); font-size: .85rem; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; text-align: center; }
.cta-inner h2 { font-size: 2rem; margin-bottom: .75rem; }
.cta-inner p { opacity: .9; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta .btn-outline:hover { background: rgba(255,255,255,.15); }
.cta .btn-primary { background: #fff; color: var(--primary); }

/* Footer */
.footer { background: #0f172a; color: #94a3b8; padding: 3rem 0 1.5rem; }
.footer-inner { display: grid; gap: 2rem; }
.footer-brand strong { color: #fff; display: block; margin: .5rem 0; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: #fff; }
.copyright { font-size: .8rem; border-top: 1px solid #1e293b; padding-top: 1.5rem; margin-top: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 1rem;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
}
