/* ═══════════════════════════════════════════════════
   Martket Landing Page Styles
   ═══════════════════════════════════════════════════ */

:root {
  --primary: #0D2B5E;
  --primary-dark: #081A3E;
  --primary-light: #1E3A8A;
  --accent: #3B82F6;
  --accent-light: #DBEAFE;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --grey-900: #111827;
  --grey-800: #1F2937;
  --grey-700: #374151;
  --grey-600: #4B5563;
  --grey-500: #6B7280;
  --grey-400: #9CA3AF;
  --grey-300: #D1D5DB;
  --grey-200: #E5E7EB;
  --grey-100: #F3F4F6;
  --grey-50: #F9FAFB;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.03);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--grey-700);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--grey-900);
  line-height: 1.2;
}

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

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--grey-200);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--grey-50);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

/* ─── NAV ─── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-100);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.nav-logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--grey-600);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--grey-700);
  cursor: pointer;
  padding: 8px;
}

/* ─── HERO ─── */

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-light);
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
}

.text-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 18px;
  color: var(--grey-500);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

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

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

.stat-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
}

.stat-label {
  font-size: 13px;
  color: var(--grey-500);
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--grey-200);
}

/* Phone Mockup */

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--grey-900);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.05);
  position: relative;
}

.phone-mockup::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: var(--grey-900);
  border-radius: 12px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  padding: 48px 16px 16px;
  overflow: hidden;
}

.mock-header {
  margin-bottom: 16px;
}

.mock-greeting .mock-wave {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--grey-900);
  margin-bottom: 4px;
}

.mock-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--grey-500);
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--grey-400);
  margin-bottom: 18px;
}

.mock-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.mock-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 500;
  color: var(--grey-600);
}

.mock-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--cat-color) 10%, white);
  color: var(--cat-color);
}

.mock-card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.mock-card-img {
  height: 80px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.mock-card-info {
  padding: 10px 12px;
}

.mock-card-name {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: var(--grey-900);
  margin-bottom: 2px;
}

.mock-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--grey-500);
}

/* ─── SECTIONS ─── */

.section {
  padding: 100px 0;
}

.section-light {
  background: var(--grey-50);
}

.section-dark {
  background: var(--primary);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 17px;
  color: var(--grey-500);
  max-width: 540px;
  margin: 0 auto;
}

.section-header-light h2 {
  color: var(--white);
}
.section-header-light p {
  color: rgba(255,255,255,0.7);
}

.section-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-tag-light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.9);
}

/* ─── HOW IT WORKS ─── */

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

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 14px;
  color: var(--accent);
  background: var(--accent-light);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--grey-500);
  line-height: 1.6;
}

/* ─── FEATURES ─── */

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--grey-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

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

.feature-card p {
  font-size: 14px;
  color: var(--grey-500);
  line-height: 1.6;
}

/* ─── CATEGORIES ─── */

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

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cat-bg);
  color: var(--cat);
}

.cat-card span {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--grey-700);
}

/* ─── FOR BUSINESS ─── */

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

.biz-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 28px;
  transition: background 0.2s;
}
.biz-card:hover {
  background: rgba(255,255,255,0.08);
}

.biz-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.biz-card h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.biz-card p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── DOWNLOAD CTA ─── */

.section-cta {
  background: linear-gradient(135deg, var(--grey-50), #EFF6FF);
  text-align: center;
}

.cta-inner h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.cta-inner p {
  font-size: 17px;
  color: var(--grey-500);
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--grey-900);
  color: var(--white);
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
}
.store-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.store-btn small {
  display: block;
  font-size: 10px;
  opacity: 0.8;
  text-align: left;
}

.store-btn strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  text-align: left;
}

.cta-note {
  font-size: 13px;
  color: var(--grey-400);
}

/* ─── FOOTER ─── */

.footer {
  background: var(--grey-900);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo span {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--grey-300);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--grey-500);
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-sub {
    margin: 0 auto 32px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--grey-100);
    display: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-sub {
    font-size: 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  .stat-divider {
    width: 40px;
    height: 1px;
  }
  .phone-mockup {
    width: 240px;
    height: 480px;
  }

  .section {
    padding: 64px 0;
  }
  .section-header h2 {
    font-size: 28px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .business-grid {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }
  .phone-mockup {
    width: 220px;
    height: 440px;
  }
  .mock-categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
