/* ═══════════════════ RESET & VARIABLES ═══════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #16A34A;
  --primary-dark: #15803D;
  --primary-darker: #166534;
  --primary-light: #DCFCE7;
  --primary-muted: #F0FDF4;
  --primary-glow: rgba(22, 163, 74, 0.15);
  --navy: #0C1224;
  --navy-light: #1A2742;
  --bg: #FAFBFC;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --text: #111827;
  --text-secondary: #4B5563;
  --text-muted: #9CA3AF;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; border-radius: 14px; border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 15px; padding: 12px 24px; text-decoration: none; position: relative;
}
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: 16px; }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark); color: #fff;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
  transform: translateY(-1px);
}

.btn-glass {
  background: rgba(255,255,255,0.15); color: #fff;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.25); color: #fff;
  transform: translateY(-1px);
}

.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn-white:hover {
  background: #f0f0f0; color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--primary); color: #fff; padding: 10px 22px;
  border-radius: 12px; font-size: 14px;
}
.btn-nav:hover { background: var(--primary-dark); color: #fff; }

/* ═══════════════════ NAVBAR ═══════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.3s ease; padding: 8px 0;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.92); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); padding: 4px 0;
  box-shadow: var(--shadow-sm);
}
.navbar.scrolled .logo-text { color: var(--text); }
.navbar.scrolled .nav-links a { color: var(--text-secondary); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }

.nav-content { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-img { width: 40px; height: 40px; border-radius: 10px; }
.logo-text { font-size: 24px; font-weight: 900; color: #fff; transition: color 0.3s; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85);
  text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px; transition: 0.3s;
}
.navbar.scrolled .nav-toggle span { background: var(--text); }

/* ═══════════════════ HERO ═══════════════════ */
.hero {
  position: relative; padding: 140px 0 100px;
  background: linear-gradient(145deg, #0a1628 0%, #0f2418 40%, #0d3320 70%, #0a1628 100%);
  overflow: hidden;
}

.hero-bg-shape {
  position: absolute; top: -200px; right: -200px; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.15) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.hero-bg-shape-2 {
  position: absolute; bottom: -300px; left: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.08) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}

.hero-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: rgba(22, 163, 74, 0.15); color: #4ADE80;
  border: 1px solid rgba(22, 163, 74, 0.25); margin-bottom: 20px;
}

.hero h1 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; }

.gradient-text {
  background: linear-gradient(135deg, #4ADE80 0%, #16A34A 50%, #86EFAC 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 36px;
  max-width: 480px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; align-items: center; gap: 28px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08);
}
.stat strong {
  display: block; font-size: 24px; font-weight: 800; color: #fff;
}
.stat span { font-size: 13px; color: rgba(255,255,255,0.4); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.1); }

/* Phone mockup */
.phone-wrapper { position: relative; display: flex; justify-content: center; }

.phone-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.25) 0%, transparent 70%);
  filter: blur(40px); pointer-events: none;
}

.phone-mockup {
  position: relative; width: 280px; background: #1a1a2e;
  border-radius: 40px; padding: 10px; z-index: 2;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.1), var(--shadow-xl);
}

.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 28px; background: #1a1a2e; border-radius: 0 0 16px 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%; background: #fff; border-radius: 32px; overflow: hidden;
}
.phone-screenshot { width: 100%; display: block; }

/* ═══════════════════ CATEGORIES ═══════════════════ */
.categories {
  padding: 32px 0; background: var(--surface);
  border-bottom: 1px solid var(--border-light);
}

.categories-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding: 4px 0;
  scrollbar-width: none; -ms-overflow-style: none;
  justify-content: center; flex-wrap: wrap;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-pill {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  background: var(--bg); border: 1px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  white-space: nowrap; transition: all 0.2s;
}
.category-pill:hover {
  border-color: var(--primary); color: var(--primary);
  background: var(--primary-muted);
}
.category-emoji { font-size: 20px; }

/* ═══════════════════ SECTION HEADERS ═══════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-label {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  background: var(--primary-light); color: var(--primary-dark);
  margin-bottom: 16px; text-transform: uppercase;
}
.section-header h2 {
  font-size: 40px; font-weight: 900; color: var(--navy);
  margin-bottom: 12px; line-height: 1.15;
}
.section-header p { font-size: 17px; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }

/* ═══════════════════ HOW IT WORKS ═══════════════════ */
.how-it-works { padding: 100px 0; background: var(--bg); }

.steps-grid {
  display: flex; align-items: flex-start; justify-content: center; gap: 0;
}

.step-card {
  text-align: center; padding: 40px 32px; max-width: 320px;
  border-radius: var(--radius-xl); background: var(--surface);
  box-shadow: var(--shadow-sm); transition: all 0.3s ease;
  position: relative;
}
.step-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.step-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-muted) 100%);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}

.step-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.step-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.step-connector {
  display: flex; align-items: center; padding-top: 60px; margin: 0 8px;
}

/* ═══════════════════ RESTAURANTS ═══════════════════ */
.restaurants { padding: 100px 0; background: var(--surface); }

.resto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 40px;
}

.resto-card {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  height: 220px; cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.resto-card-large {
  grid-row: span 2; height: 100%;
}

.resto-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.resto-card:hover .resto-img { transform: scale(1.05); }

.resto-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}

.resto-overlay h3 {
  color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 4px;
}
.resto-overlay p {
  color: rgba(255,255,255,0.75); font-size: 13px; line-height: 1.4;
}

.resto-tag {
  display: inline-block; padding: 4px 12px; border-radius: 100px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 8px;
}

/* Food type chips */
.food-types {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 36px;
}

.food-chip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 20px; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid var(--border);
  transition: all 0.2s; cursor: pointer; min-width: 90px;
}
.food-chip:hover {
  border-color: var(--primary); background: var(--primary-muted);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}

.food-chip-img {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}

.food-chip span {
  font-size: 13px; font-weight: 600; color: var(--text-secondary);
}
.food-chip:hover span { color: var(--primary); }

.resto-cta { text-align: center; }

@media (max-width: 900px) {
  .resto-grid { grid-template-columns: 1fr; }
  .resto-card-large { grid-row: span 1; height: 220px; }
  .food-types { gap: 10px; }
  .food-chip { padding: 12px 14px; min-width: 75px; }
  .food-chip-img { width: 40px; height: 40px; }
}

@media (max-width: 640px) {
  .food-types { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; }
  .food-types::-webkit-scrollbar { display: none; }
}

/* ═══════════════════ DOWNLOAD ═══════════════════ */
.download { padding: 100px 0; background: var(--surface); }

.download-wrapper {
  display: flex; align-items: center; gap: 60px;
  background: linear-gradient(135deg, var(--primary-muted) 0%, #f0fdf4 50%, #ecfdf5 100%);
  border-radius: var(--radius-xl); padding: 56px;
  border: 1px solid rgba(22, 163, 74, 0.1);
}

.download-content { flex: 1; }
.download-content h2 { font-size: 32px; font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.download-content > p { font-size: 16px; color: var(--text-secondary); margin-bottom: 28px; }

.store-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }

.store-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; border-radius: 14px;
  background: var(--navy); color: #fff;
  text-decoration: none; transition: all 0.2s;
  box-shadow: var(--shadow-md);
}
.store-btn:hover { background: var(--navy-light); color: #fff; transform: translateY(-2px); }
.store-btn.disabled { opacity: 0.5; pointer-events: none; }
.store-btn small { display: block; font-size: 11px; color: rgba(255,255,255,0.6); }
.store-btn strong { display: block; font-size: 16px; }

.download-alt { font-size: 14px; color: var(--text-muted); }
.download-alt a { color: var(--primary); font-weight: 600; }

.download-qr { flex-shrink: 0; }

.qr-card {
  text-align: center; background: var(--surface);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-md);
}
.qr-card .qr-box {
  width: 160px; height: 160px; background: var(--bg);
  border: 2px dashed var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px; color: var(--text-muted); font-size: 14px;
}
.qr-card > p { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════ CTA BANNERS ═══════════════════ */
.cta-section { padding: 20px 0; }
.cta-section:last-of-type { padding-bottom: 80px; }

.cta-banner {
  border-radius: var(--radius-xl); padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}

.driver-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a2a 50%, var(--primary-darker) 100%);
  color: #fff;
}

.partner-banner {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.cta-banner-content { display: flex; align-items: flex-start; gap: 24px; flex: 1; }

.cta-icon-wrap {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cta-icon-partner {
  background: var(--primary-light); color: var(--primary);
}

.cta-banner-content h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; }
.cta-banner-content p { font-size: 15px; opacity: 0.7; max-width: 400px; }

.cta-banner-actions { flex-shrink: 0; text-align: right; }

.cta-perks { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; justify-content: flex-end; }
.perk {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 14px; border-radius: 100px; font-size: 12px; font-weight: 600;
}
.driver-banner .perk { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); }
.partner-banner .perk { background: var(--primary-light); color: var(--primary-dark); }

.driver-app-links { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; }

.mini-store-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 10px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
  font-size: 13px; font-weight: 500; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
}
.mini-store-btn:hover {
  background: rgba(255,255,255,0.15); color: #fff;
}

/* ═══════════════════ PARTNER APP LINKS ═══════════════════ */
.partner-app-links { display: flex; gap: 8px; margin-top: 12px; justify-content: flex-end; }

.mini-store-btn-light {
  background: var(--bg); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.mini-store-btn-light:hover {
  background: var(--primary-light); color: var(--primary-dark);
  border-color: var(--primary);
}


/* ═══════════════════ FOOTER ═══════════════════ */
.footer { background: var(--navy); color: rgba(255,255,255,0.6); padding: 64px 0 0; }

.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.footer-brand .logo-text { color: #fff; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; text-decoration: none;
}
.social-links a:hover { background: var(--primary); color: #fff; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { color: rgba(255,255,255,0.5); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }

.footer-bottom { text-align: center; padding: 24px 0; font-size: 13px; color: rgba(255,255,255,0.3); }

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 40px; }
  .phone-mockup { width: 240px; }
  .steps-grid { flex-direction: column; align-items: center; gap: 24px; }
  .step-connector { display: none; }
  .download-wrapper { flex-direction: column; padding: 40px 32px; }
  .download-qr { display: none; }
  .cta-banner { flex-direction: column; text-align: center; padding: 40px 32px; }
  .cta-banner-content { flex-direction: column; align-items: center; }
  .cta-banner-actions { text-align: center; }
  .cta-perks { justify-content: center; }
  .driver-app-links { justify-content: center; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-header h2 { font-size: 32px; }
}

@media (max-width: 640px) {
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 68px; left: 0; right: 0; background: #fff;
    padding: 24px; gap: 16px; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text-secondary) !important; }
  .nav-toggle { display: block; }
  .hero { padding: 120px 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .stat-divider { display: none; }
  .store-buttons { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .categories-scroll { justify-content: flex-start; flex-wrap: nowrap; }
}
