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

:root {
  --primary: #0a7ea4;
  --primary-dark: #086a8a;
  --primary-light: #e6f4fa;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --eco: #16a34a;
  --eco-light: #dcfce7;
  --bg: #ffffff;
  --surface: #f8fafc;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdf4 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--eco-light);
  color: var(--eco);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(10,126,164,0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,126,164,0.4);
}

.btn-outline {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-eco {
  background: var(--eco);
  color: white;
  box-shadow: 0 4px 16px rgba(22,163,74,0.3);
}

.btn-eco:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ===== PHONE MOCKUP ===== */
.hero-phone {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 280px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1);
}

.phone-screen {
  background: #0d1117;
  border-radius: 30px;
  overflow: hidden;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 480px;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-logo {
  font-size: 1rem;
  font-weight: 800;
  color: #0a7ea4;
}

.mock-search {
  background: #1e2533;
  color: #64748b;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.mock-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.chip {
  background: #1e2533;
  color: #94a3b8;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 500;
}

.chip.active {
  background: #0a7ea4;
  color: white;
}

.mock-card {
  background: #1e2533;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mock-emoji {
  font-size: 1.2rem;
}

.mock-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mock-card-info strong {
  font-size: 0.75rem;
  color: #e2e8f0;
  font-weight: 600;
}

.mock-addr {
  font-size: 0.65rem;
  color: #64748b;
}

.mock-badge {
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
}

.mock-badge.green { background: #22c55e; }
.mock-badge.amber { background: #f59e0b; }
.mock-badge.red { background: #ef4444; }

.mock-review {
  font-size: 0.65rem;
  color: #94a3b8;
  font-style: italic;
  line-height: 1.4;
}

.mock-icons {
  font-size: 0.75rem;
}

.mock-near-me {
  background: linear-gradient(135deg, #0a7ea4, #0891b2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.7rem;
  color: white;
  font-weight: 600;
  text-align: center;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

/* ===== FEATURES ===== */
.features {
  padding: 100px 0;
  background: var(--bg);
}

.features h2, .categories h2, .how h2, .partner h2, .download h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 48px;
  line-height: 1.2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== CATEGORIES ===== */
.categories {
  padding: 80px 0;
  background: var(--surface);
}

.cats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 12px;
  font-size: 1.8rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

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

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ===== PARTNER ===== */
.partner {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.partner-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}

.partner-text p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.7;
}

.eco-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: white;
  border: 2px solid var(--eco);
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
}

.eco-icon {
  font-size: 2.5rem;
}

.eco-badge strong {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--eco);
}

.eco-badge span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ===== DOWNLOAD ===== */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #0891b2 100%);
  text-align: center;
  color: white;
}

.download-inner .section-label {
  background: rgba(255,255,255,0.2);
  color: white;
}

.download h2 {
  color: white;
  margin-bottom: 16px;
}

.download > .container > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.9rem;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}

.store-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.store-sub {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
}

.store-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.download-note {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-copy {
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-text h1 { font-size: 2.2rem; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-phone { order: -1; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .partner-inner { grid-template-columns: 1fr; text-align: center; }
  .partner-text p { max-width: 100%; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-text h1 { font-size: 1.8rem; }
  .features h2, .categories h2, .how h2, .partner h2, .download h2 { font-size: 1.7rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
