/* ============================================================
   YallaNew Landing — Synthesized Premium Design
   ------------------------------------------------------------
   Design tokens  → :root (color, type, spacing, shadow, radius)
   Reset & base   → *, body, html
   Layout helpers → .container, .section
   Components     → nav, hero, stats, features (bento), journey,
                    showcase, faq, cta, footer, whatsapp
   Animations     → keyframes (float, pulse, fadeInUp, shimmer)
   Responsive     → mobile-first (min-width)
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* --- Brand color scale (teal — primary) --- */
  --teal-50:  #E6F2F1;
  --teal-100: #C2E0DD;
  --teal-200: #8FC9C2;
  --teal-300: #5BAFA6;
  --teal-400: #2A8580;
  --teal-500: #1F4E4A;   /* brand */
  --teal-600: #173E3A;
  --teal-700: #102E2B;

  /* --- Accent (orange) --- */
  --orange-300: #F8B68A;
  --orange-400: #F0924B;
  --orange-500: #E76F3C;  /* CTA */
  --orange-600: #C2562B;

  /* --- Yellow (stars / small accents) --- */
  --yellow-400: #F4B942;
  --yellow-100: #FEF3D6;

  /* --- Neutrals (ink) --- */
  --ink-900: #0F1419;
  --ink-800: #1F2937;
  --ink-700: #374151;
  --ink-600: #4B5563;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --ink-300: #D1D5DB;
  --ink-200: #E5E7EB;
  --ink-100: #F3F4F6;
  --ink-50:  #FAFAF8;   /* warm off-white */
  --white:   #FFFFFF;

  /* --- Semantic --- */
  --bg:           var(--ink-50);
  --bg-elev:     var(--white);
  --text:         var(--ink-900);
  --text-muted:   var(--ink-500);
  --border:       rgba(15, 20, 25, 0.08);

  /* --- Accent helpers --- */
  --blue-500: #3B82F6;
  --green-500: #10B981;
  --purple-500: #8B5CF6;
  --red-500: #EF4444;

  /* --- Typography --- */
  --font-display: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
  --font-body:    'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif;

  /* --- Spacing scale --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* --- Radius --- */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* --- Shadow (3-tier) --- */
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, .04), 0 2px 6px rgba(15, 20, 25, .04);
  --shadow:    0 4px 12px rgba(15, 20, 25, .06), 0 12px 32px rgba(15, 20, 25, .06);
  --shadow-lg: 0 12px 28px rgba(31, 78, 74, .18), 0 32px 60px rgba(31, 78, 74, .12);
  --shadow-or: 0 12px 28px rgba(231, 111, 60, .25), 0 32px 60px rgba(231, 111, 60, .15);

  /* --- Gradients --- */
  --grad-primary: linear-gradient(135deg, var(--teal-500) 0%, #0F766E 60%, var(--teal-500) 100%);
  --grad-accent:  linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
  --grad-text:    linear-gradient(135deg, var(--teal-500) 0%, var(--orange-500) 100%);
  --grad-soft:    linear-gradient(180deg, var(--teal-50) 0%, var(--ink-50) 100%);
  --grad-hero:    radial-gradient(ellipse at top right, rgba(31, 78, 74, .06) 0%, transparent 50%),
                  radial-gradient(ellipse at bottom left, rgba(231, 111, 60, .05) 0%, transparent 50%);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 180ms;
  --t-base: 320ms;
  --t-slow: 600ms;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

/* Fluid display sizes */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p { color: var(--ink-700); }

/* Reduced-motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   3. LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 800px; }

.section { padding: clamp(60px, 8vw, 100px) 0; position: relative; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-16);
}
.section-head .eyebrow { margin-bottom: var(--space-4); }
.section-title { margin-bottom: var(--space-5); }
.section-sub {
  font-size: 1.0625rem;
  color: var(--ink-600);
  line-height: 1.7;
}

.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-500);
  background: var(--teal-50);
  padding: 6px 14px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
}
.eyebrow--light { color: var(--orange-300); background: rgba(255, 255, 255, 0.12); }

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.text-accent { color: var(--orange-500); }

/* ============================================================
   4. SKIP LINK (a11y)
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  right: 0;
  background: var(--teal-500);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 0 0 var(--r-md) var(--r-md);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; }

/* ============================================================
   5. NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--t-base) var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  min-height: 72px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}
.nav__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  object-fit: cover;
  position: relative;
}
.nav__logo::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg);
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--ink-900); }
.nav__brand-tag { font-size: 0.7rem; color: var(--ink-500); font-weight: 500; }

.nav__links {
  display: flex;
  gap: var(--space-8);
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--grad-accent);
  transition: width var(--t-base) var(--ease-out);
}
.nav__links a:hover { color: var(--teal-500); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: var(--space-3); }

.nav__cta { display: inline-flex; align-items: center; gap: 6px; }
.nav__cta svg { transition: transform var(--t-base) var(--ease-out); }
.nav__cta:hover svg { transform: translateX(-4px); }

.nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.nav__toggle:hover { background: var(--ink-100); }
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-8);
  gap: var(--space-2);
  border-top: 1px solid var(--border);
  background: var(--bg-elev);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  color: var(--ink-700);
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.mobile-menu a:hover { background: var(--ink-100); }
.mobile-menu .btn { margin-top: var(--space-3); justify-content: center; }

/* ============================================================
   6. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 12px 24px;
  border-radius: var(--r-full);
  transition: all var(--t-base) var(--ease-out);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--teal-500);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(31, 78, 74, 0.25);
}
.btn--primary:hover {
  background: var(--teal-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(31, 78, 74, 0.35);
}
.btn--sm { padding: 9px 18px; font-size: 0.875rem; }

/* App store / Google Play buttons */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--ink-900);
  color: var(--white);
  padding: 12px 22px;
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.store-btn:hover {
  background: var(--ink-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store-btn__text { display: flex; flex-direction: column; line-height: 1.1; text-align: right; }
.store-btn__text small { font-size: 0.6875rem; opacity: 0.8; }
.store-btn__text strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; }

/* ============================================================
   7. HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--grad-hero); }
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hero__blob--1 {
  width: 500px; height: 500px;
  top: -150px; right: -150px;
  background: radial-gradient(circle, var(--teal-300), transparent);
  animation: float 8s ease-in-out infinite;
}
.hero__blob--2 {
  width: 400px; height: 400px;
  bottom: -100px; left: -100px;
  background: radial-gradient(circle, var(--orange-300), transparent);
  animation: float 10s ease-in-out infinite reverse;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 78, 74, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 78, 74, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero__content { position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 6px 14px 6px 12px;
  border-radius: var(--r-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  position: relative;
}
.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--green-500);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}

.hero__title {
  margin-bottom: var(--space-6);
  font-weight: 900;
}
.hero__sub {
  font-size: 1.125rem;
  color: var(--ink-600);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  max-width: 560px;
}
.hero__sub strong { color: var(--ink-900); font-weight: 700; }

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.hero__social-proof {
  font-size: 0.9375rem;
  color: var(--ink-600);
  margin-bottom: var(--space-8);
  line-height: 1.6;
  max-width: 560px;
}
.hero__social-proof strong {
  color: var(--ink-900);
  font-weight: 700;
}
@media (max-width: 768px) {
  .hero__social-proof {
    text-align: center;
    margin-right: auto;
    margin-left: auto;
  }
}


.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.hero__rating { display: flex; align-items: center; gap: 6px; font-size: 0.9375rem; }
.stars { color: var(--yellow-400); font-size: 1.1rem; letter-spacing: 2px; }
.star-half {
  background: linear-gradient(90deg, var(--yellow-400) 50%, var(--ink-300) 50%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__rating strong { color: var(--ink-900); font-weight: 800; }
.hero__rating-meta { color: var(--ink-500); font-size: 0.875rem; }
.hero__divider { width: 1px; height: 24px; background: var(--ink-300); }
.hero__trust-badges { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--teal-500);
  background: var(--teal-50);
  padding: 4px 10px;
  border-radius: var(--r-full);
}

/* --- Hero visual: tilted phone + floating cards --- */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  perspective: 1200px;
}

.phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 30px 60px -10px rgba(31, 78, 74, 0.35),
    0 0 0 2px #444,
    inset 0 0 0 2px #1a1a1a;
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform var(--t-slow) var(--ease-out);
}
.hero__visual:hover .phone { transform: rotateY(-2deg) rotateX(0deg); }

/* Real-screenshot variant (replaces inner CSS UI) */
.phone--real { padding: 10px; }
.phone__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  display: block;
}

.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FAFBFC 0%, #F0F4F7 100%);
  border-radius: 32px;
  padding: 36px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}

.phone__status {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-900);
  padding: 0 4px;
}

.phone__greet {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px;
}
.phone__greet small { display: block; font-size: 11px; color: var(--ink-500); }
.phone__greet strong { display: block; font-size: 16px; color: var(--ink-900); font-family: var(--font-display); }
.phone__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--font-display);
  font-size: 16px;
}

.phone__search {
  background: var(--white);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 11px;
  color: var(--ink-500);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}

.phone__banner {
  background: linear-gradient(135deg, var(--teal-500), #0F766E);
  color: var(--white);
  border-radius: 14px;
  padding: 12px 14px;
  position: relative;
  overflow: hidden;
}
.phone__banner::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
}
.phone__banner-content { position: relative; z-index: 1; }
.phone__banner-content strong { display: block; font-family: var(--font-display); font-size: 13px; }
.phone__banner-content span { font-size: 10px; opacity: 0.9; }

.phone__cats {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px;
}
.phone__cat {
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-200);
}

.phone__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.phone__product {
  background: var(--white);
  border-radius: 12px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.phone__product-img {
  width: 100%;
  height: 70px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 24px;
}
.phone__product-info { padding: 0 2px; }
.phone__product-info small { display: block; font-size: 9px; color: var(--ink-500); }
.phone__product-info strong { display: block; font-size: 11px; color: var(--teal-500); font-family: var(--font-display); }

.phone__nav {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: var(--white);
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.phone__nav-item {
  font-size: 18px;
  opacity: 0.4;
  transition: opacity var(--t-fast);
}
.phone__nav-item--active { opacity: 1; color: var(--teal-500); }
.phone__nav-fab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  box-shadow: var(--shadow-or);
  margin-top: -22px;
  position: relative;
}
.phone__nav-fab::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--orange-500);
  opacity: 0.3;
  z-index: -1;
  animation: pulse 2s ease-out infinite;
}

/* --- Floating trust cards around phone --- */
.float-card {
  position: absolute;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 2;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.8125rem; color: var(--ink-900); }
.float-card small { display: block; font-size: 0.6875rem; color: var(--ink-500); }
.float-card__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.float-card__icon--orange { background: #FFE6D5; color: var(--orange-500); }
.float-card__icon--green  { background: #D1F4E0; color: var(--green-500); }
.float-card__icon--blue   { background: #DBEAFE; color: var(--blue-500); }

.float-card--top    { top: 5%; left: 5%; animation-delay: 0s; }
.float-card--bottom { bottom: 8%; right: 0; animation-delay: 1.5s; }
.float-card--left   { top: 45%; left: -10%; animation-delay: 3s; }

/* ============================================================
   8. STATS
   ============================================================ */
.stats {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-12) 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}
.stats__item {
  position: relative;
  padding: 0 var(--space-4);
}
.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 50%;
  background: var(--ink-200);
}
.stats__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--teal-500);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stats__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-600);
}

/* ============================================================
   9. FEATURES — BENTO GRID
   ============================================================ */
.features { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.bento__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-8);
  transition: all var(--t-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.bento__card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, var(--teal-50), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-base);
}
.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.bento__card:hover::before { opacity: 1; }

.bento__card--lg { grid-column: span 2; }

.bento__icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
}
.bento__icon--teal   { background: var(--teal-50);   color: var(--teal-500); }
.bento__icon--orange { background: #FFE6D5;          color: var(--orange-500); }
.bento__icon--green  { background: #D1F4E0;          color: var(--green-500); }
.bento__icon--purple { background: #EDE9FE;          color: var(--purple-500); }
.bento__icon--blue   { background: #DBEAFE;          color: var(--blue-500); }
.bento__icon--red    { background: #FEE2E2;          color: var(--red-500); }

.bento__card h3 { margin-bottom: var(--space-3); position: relative; z-index: 1; }
.bento__card p { color: var(--ink-600); font-size: 0.9375rem; position: relative; z-index: 1; }

/* Bento visuals (multi-cart & delivery) */
.bento__visual {
  margin-top: var(--space-6);
  position: relative;
  z-index: 1;
}
.mini-cart {
  background: linear-gradient(135deg, var(--teal-50), var(--white));
  border: 1px solid var(--teal-100);
  border-radius: var(--r-md);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mini-cart__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  padding: 6px 0;
  border-bottom: 1px dashed var(--teal-100);
}
.mini-cart__row:last-child { border-bottom: none; }
.mini-cart__row span { color: var(--ink-700); }
.mini-cart__row strong { color: var(--teal-500); font-family: var(--font-display); }
.mini-cart__row--total { font-weight: 700; }
.mini-cart__row--total span { color: var(--ink-900); font-weight: 700; }
.mini-cart__row--total strong { color: var(--orange-500); font-size: 1rem; }


/* ============================================================
   10. JOURNEY (4 STEPS)
   ============================================================ */
.journey {
  background: linear-gradient(180deg, var(--bg) 0%, var(--white) 100%);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(to left, var(--teal-200), var(--teal-300), var(--teal-200));
  z-index: 0;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  transition: all var(--t-base) var(--ease-out);
  z-index: 1;
}
.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--teal-200);
}
.step__num {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px; height: 40px;
  background: var(--grad-accent);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  box-shadow: var(--shadow-or);
  z-index: 2;
}
.step__icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-4);
  background: var(--teal-50);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  color: var(--teal-500);
  transition: transform var(--t-base) var(--ease-out);
}
.step:hover .step__icon { transform: scale(1.08) rotate(-4deg); }
.step h3 { margin-bottom: var(--space-2); }
.step p { font-size: 0.875rem; color: var(--ink-600); }

/* ============================================================
   11. SHOWCASE (3 phone mockups)
   ============================================================ */
.showcase {
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
  text-align: center;
}
.phones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
  flex-wrap: wrap;
}
.phone-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  transition: transform var(--t-base) var(--ease-out);
}
.phone-tile:hover { transform: translateY(-8px); }

.phone-frame {
  position: relative;
  width: 240px;
  height: 480px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 36px;
  padding: 8px;
  box-shadow: var(--shadow);
  transition: box-shadow var(--t-base);
}
.phone-tile:hover .phone-frame { box-shadow: var(--shadow-lg); }
.phone-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--teal-50), var(--ink-50));
}

.phone-tile--featured { transform: translateY(-20px); }
.phone-tile--featured:hover { transform: translateY(-28px); }
.phone-tile--featured .phone-frame {
  width: 260px;
  height: 520px;
  box-shadow: var(--shadow-lg);
}

.phone-tile__caption {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink-700);
  font-size: 1rem;
}

/* ============================================================
   11.5 VENDORS SECTION (For Vendors)
   ============================================================ */
.vendors {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.vendors::before {
  content: '';
  position: absolute;
  top: -200px;
  left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--orange-300) 0%, transparent 60%);
  opacity: 0.18;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}
.vendors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.vendors__content .section-title { text-align: right; margin-bottom: var(--space-5); }
.vendors__content .section-sub { text-align: right; }

.vendors__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}
.vendors__list li {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--white);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--t-base) var(--ease-out);
}
.vendors__list li:hover {
  transform: translateX(-4px);
  border-color: var(--orange-300);
  box-shadow: var(--shadow-sm);
}
.vendors__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.vendors__list small { font-size: 0.875rem; color: var(--ink-500); }
.vendors__check {
  width: 36px; height: 36px;
  background: var(--teal-50);
  color: var(--teal-500);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.vendors__cta { margin-top: var(--space-2); }

/* Visual side */
.vendors__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
  perspective: 1200px;
}
.vendors__phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 30px 60px -10px rgba(231, 111, 60, 0.35),
    0 0 0 2px #444,
    inset 0 0 0 2px #1a1a1a;
  transform: rotateY(8deg) rotateX(2deg);
  transition: transform var(--t-slow) var(--ease-out);
}
.vendors__visual:hover .vendors__phone { transform: rotateY(2deg) rotateX(0deg); }
.vendors__phone::after {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.vendors__phone-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  display: block;
}

.vendors__chip {
  position: absolute;
  background: var(--white);
  padding: 10px 16px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
}
.vendors__chip strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--orange-500);
  font-size: 1rem;
  line-height: 1.1;
}
.vendors__chip small { font-size: 0.6875rem; color: var(--ink-500); }
.vendors__chip-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: #D1F4E0;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.vendors__chip--top {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}
.vendors__chip--bottom {
  bottom: 12%;
  left: -5%;
  animation-delay: 2s;
}
.faq { background: var(--bg); }
.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all var(--t-base) var(--ease-out);
}
.faq__item[open] {
  border-color: var(--teal-200);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  width: 24px; height: 24px;
  flex-shrink: 0;
}
.faq__icon::before, .faq__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: var(--teal-500);
  border-radius: 1px;
  transition: transform var(--t-base) var(--ease-out);
}
.faq__icon::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq__icon::after  { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item p {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-600);
  line-height: 1.75;
}

/* ============================================================
   13. FINAL CTA
   ============================================================ */
.cta {
  background: var(--bg);
  padding-bottom: clamp(80px, 10vw, 120px);
}
.cta__panel {
  position: relative;
  background: var(--grad-primary);
  border-radius: var(--r-2xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-lg);
}
.cta__panel::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(244, 185, 66, 0.12), transparent 60%);
  z-index: -1;
}
.cta__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  color: var(--white);
}
.cta__title {
  color: var(--white);
  margin: var(--space-4) 0 var(--space-5);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.cta__sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.0625rem;
  margin-bottom: var(--space-8);
  line-height: 1.75;
}
.cta__sub strong { color: var(--white); }
.cta__panel .store-btn { background: var(--white); color: var(--ink-900); }
.cta__panel .store-btn:hover { background: var(--ink-50); }

.cta__deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.cta__circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.cta__circle--1 { width: 200px; height: 200px; top: -60px; left: -60px; }
.cta__circle--2 { width: 280px; height: 280px; bottom: -100px; left: 10%; border-color: rgba(255, 255, 255, 0.06); }
.cta__circle--3 { width: 120px; height: 120px; top: 30%; right: 8%; border-color: rgba(244, 185, 66, 0.3); }

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer {
  background: var(--teal-700);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 var(--space-6);
}
.footer .nav__brand { color: var(--white); }
.footer .nav__brand-name { color: var(--white); }
.footer .nav__brand-tag { color: rgba(255, 255, 255, 0.5); }

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__about {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: var(--space-5) 0;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}
.footer__social { display: flex; gap: var(--space-2); }
.footer__social-link {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--white);
  transition: all var(--t-base);
}
.footer__social-link:hover {
  background: var(--orange-500);
  transform: translateY(-2px);
}

.footer__col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--space-4);
}
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}
.footer__col a:hover { color: var(--orange-400); }

.footer__bottom {
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.footer__legal { display: flex; gap: var(--space-3); align-items: center; }
.footer__legal a:hover { color: var(--orange-400); }

/* ============================================================
   15. FLOATING WHATSAPP
   ============================================================ */
.whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all var(--t-base) var(--ease-out);
  animation: float 3s ease-in-out infinite;
}
.whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ============================================================
   16. ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.8); opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Reveal-on-scroll default state */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   17. RESPONSIVE — Mobile first (min-width)
   ============================================================ */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__cta { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero__visual { min-height: 480px; order: 2; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__sub { margin-right: auto; margin-left: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--lg { grid-column: span 2; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }

  .vendors__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .vendors__visual { order: -1; min-height: 480px; }
  .vendors__content { text-align: center; }
  .vendors__content .section-title,
  .vendors__content .section-sub { text-align: center; }
  .vendors__list li { text-align: right; }
  .vendors__cta { display: inline-flex; }

  .footer__top { grid-template-columns: 1fr 1fr; }
}

/* Mobile: ≤ 768px */
@media (max-width: 768px) {
  .nav__brand-tag { display: none; }

  .container { padding: 0 16px; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
  .stats__item::after { display: none; }
  .stats__item:nth-child(odd)::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 1px; height: 50%;
    background: var(--ink-200);
  }

  .bento { grid-template-columns: 1fr; }
  .bento__card--lg { grid-column: span 1; }

  .steps { grid-template-columns: 1fr; }

  .phones { gap: var(--space-4); }
  .phone-frame { width: 180px; height: 360px; }
  .phone-tile--featured .phone-frame { width: 200px; height: 400px; }
  .phone-tile--featured { transform: translateY(0); }
  .phone-tile--featured:hover { transform: translateY(-8px); }

  .float-card { padding: 8px 10px; }
  .float-card__icon { width: 28px; height: 28px; }
  .float-card__icon svg { width: 14px; height: 14px; }
  .float-card strong { font-size: 0.6875rem; }
  .float-card small { font-size: 0.625rem; }
  .float-card--top { top: 2%; left: 2%; }
  .float-card--bottom { bottom: 4%; right: 2%; }
  .float-card--left { left: -5%; }

  .hero__visual { min-height: 420px; }
  .phone { width: 240px; height: 480px; }

  .vendors__phone { width: 240px; height: 480px; }
  .vendors__visual { min-height: 420px; }
  .vendors__chip--top { right: 0; }
  .vendors__chip--bottom { left: 0; }

  .footer__top { grid-template-columns: 1fr; gap: var(--space-8); }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .store-btn { justify-content: center; }

  .hero__trust { gap: var(--space-3); }
  .hero__divider { display: none; }

  .float-card--left { display: none; }

  .section-head { margin-bottom: var(--space-10); }

  .whatsapp { width: 50px; height: 50px; bottom: 16px; left: 16px; }
}

/* ============================================================
   16. PROBLEM SECTION
   ============================================================ */
.problem {
  background: var(--ink-50);
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-12);
  align-items: center;
}
.eyebrow--red {
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
}
.text-gradient-red {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.problem__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.problem-card {
  display: flex;
  gap: var(--space-4);
  background: var(--white);
  padding: var(--space-5);
  border-radius: var(--r-xl);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.problem-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.problem-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--r-lg);
  background: #FEF2F2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
}
.problem-card__text strong {
  display: block;
  font-size: 1rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.problem-card__text p {
  font-size: 0.875rem;
  color: var(--ink-600);
  line-height: 1.6;
}
@media (max-width: 992px) {
  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

