/* ============================================================
   MamaBox — Landing page styles
   Brand palette:
   --primary  #0F766E  | --bright  #14B8A6 | --surface #DFF8F3
   --coral    #FF6B6B  | --coral-d #C83E4D | --ink     #172033
   --bg       #F6FBF9  | --card    #FFFFFF | --muted   #667085
   ============================================================ */

:root {
  --primary: #0F766E;
  --bright:  #14B8A6;
  --surface: #DFF8F3;
  --coral:   #FF6B6B;
  --coral-d: #C83E4D;
  --ink:     #172033;
  --bg:      #F6FBF9;
  --card:    #FFFFFF;
  --muted:   #667085;

  --line: #E6F1EE;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 14px rgba(15, 118, 110, .08);
  --shadow-md: 0 16px 40px rgba(15, 118, 110, .12);
  --shadow-lg: 0 30px 70px rgba(15, 118, 110, .18);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.85rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.22rem; }

.text-gradient {
  background: linear-gradient(120deg, var(--bright), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-light { color: #fff; background: rgba(255,255,255,.18); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .98rem;
  font-family: inherit;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-sm { padding: 11px 20px; font-size: .92rem; }
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 107, .35);
}
.btn-primary:hover { background: var(--coral-d); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 62, 77, .4); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 251, 249, .8);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(15,118,110,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }
.logo-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 8px rgba(15,118,110,.25)); }
.logo-text span { color: var(--bright); }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  font-weight: 600;
  font-size: .98rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--bright);
  border-radius: 2px;
  transition: width .25s var(--ease);
}
.main-nav a:hover { color: var(--primary); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin-inline: auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--surface) 0%, transparent 60%),
    radial-gradient(800px 460px at 0% 18%, #FFF1F1 0%, transparent 55%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bright);
  box-shadow: 0 0 0 4px rgba(20,184,166,.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(20,184,166,.2); }
  50% { box-shadow: 0 0 0 7px rgba(20,184,166,0); }
}
.hero-copy h1 { margin-bottom: 20px; }
.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 540px;
  margin-bottom: 32px;
}

.store-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: 0 10px 26px rgba(23,32,51,.22);
}
.store-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(23,32,51,.3); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn small { font-size: .68rem; opacity: .8; font-weight: 500; }
.store-btn strong { font-size: 1.05rem; font-weight: 700; }
.store-btn-light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(23,32,51,.2); }

.hero-stats {
  display: flex;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--primary); letter-spacing: -.03em; }
.hero-stats dd { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- Phone mockup ---------- */
.hero-visual { position: relative; display: grid; place-items: center; }
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: linear-gradient(160deg, #1d2740, #0c1322);
  border-radius: 46px;
  padding: 13px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  animation: floatPhone 6s ease-in-out infinite;
}
@keyframes floatPhone {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.phone-notch {
  position: absolute;
  top: 13px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 26px;
  background: #0c1322;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.app-statusbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px 4px;
  font-size: .78rem; font-weight: 700; color: var(--ink);
}
.app-statusbar-icons { color: var(--ink); }
.app-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px 12px;
}
.app-hello { font-weight: 800; font-size: 1.05rem; }
.app-loc { font-size: .76rem; color: var(--muted); }
.app-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(140deg, var(--bright), var(--primary));
  color: #fff; font-weight: 700;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.app-search {
  margin: 0 20px 14px;
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 14px;
  font-size: .85rem;
  box-shadow: var(--shadow-sm);
}
.app-chips { display: flex; gap: 8px; padding: 0 20px 14px; overflow: hidden; }
.app-chip {
  font-size: .78rem; font-weight: 600;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  white-space: nowrap;
}
.app-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.app-feed { flex: 1; padding: 0 20px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.app-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.app-card-img {
  width: 58px; height: 58px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  background: linear-gradient(150deg, var(--c1), color-mix(in srgb, var(--c2) 22%, #fff));
  flex-shrink: 0;
}
.app-card-body { flex: 1; min-width: 0; }
.app-card-title { font-weight: 700; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-card-meta { font-size: .72rem; color: var(--muted); }
.app-card-price { font-weight: 800; font-size: .95rem; color: var(--primary); margin-top: 2px; }
.app-like {
  border: none; background: var(--surface); color: var(--coral);
  width: 32px; height: 32px; border-radius: 50%;
  font-size: .95rem; cursor: pointer; flex-shrink: 0;
}

.app-tabbar {
  display: flex; align-items: center; justify-content: space-around;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 1.2rem; color: var(--muted);
  margin-top: 10px;
}
.app-tabbar .active { color: var(--primary); }
.app-tab-add {
  background: var(--coral); color: #fff !important;
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem; font-weight: 300;
  box-shadow: 0 8px 18px rgba(255,107,107,.4);
  margin-top: -22px;
}

/* floaty cards */
.floaty {
  position: absolute;
  display: flex; align-items: center; gap: 11px;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  z-index: 5;
}
.floaty div { display: flex; flex-direction: column; line-height: 1.25; }
.floaty strong { font-size: .85rem; }
.floaty small { font-size: .72rem; color: var(--muted); }
.floaty-ic {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--surface);
}
.floaty-1 { top: 14%; left: -3%; animation: floatA 5s ease-in-out infinite; }
.floaty-2 { bottom: 13%; right: -5%; animation: floatB 5.5s ease-in-out infinite; }
.floaty-2 .floaty-ic { background: #FFE7E7; }
@keyframes floatA { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-16px) } }
@keyframes floatB { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(14px) } }

/* ---------- Trust bar ---------- */
.trustbar { padding: 8px 0 24px; }
.trustbar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px 30px; flex-wrap: wrap;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
}
.trustbar-inner p { font-weight: 600; color: var(--muted); }
.trust-rating { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink); }
.stars { color: #FFB23E; letter-spacing: 2px; }
.trust-rating strong { color: var(--primary); }

/* ---------- Section base ---------- */
.section { padding: clamp(60px, 8vw, 110px) 0; }
.section-tint { background: linear-gradient(180deg, var(--bg), #EFF9F5 40%, var(--bg)); }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head-left { text-align: left; margin-inline: 0; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-ic {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  color: var(--ic);
  background: color-mix(in srgb, var(--ic) 12%, #fff);
  margin-bottom: 20px;
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: .98rem; }

/* ---------- How it works ---------- */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.step {
  position: relative;
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 2.4rem; font-weight: 800;
  color: var(--surface);
  letter-spacing: -.04em;
}
.step-ic {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px;
  font-size: 2rem;
  background: var(--surface);
  border-radius: 22px;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .96rem; }
.step-arrow {
  display: grid; place-items: center;
  color: var(--bright);
  font-size: 1.8rem; font-weight: 700;
  align-self: center;
}

/* ---------- Categories ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.category-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.category-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.category-ic {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px;
  font-size: 1.9rem;
  border-radius: 18px;
  margin-bottom: 16px;
  background: linear-gradient(150deg, var(--c1), color-mix(in srgb, var(--c2) 18%, #fff));
}
.category-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.category-card small { color: var(--muted); font-size: .82rem; font-weight: 500; }

/* ---------- Safety ---------- */
.safety-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.safety-lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.safety-list { display: flex; flex-direction: column; gap: 20px; }
.safety-list li { display: flex; gap: 14px; }
.safety-check {
  flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--primary); color: #fff;
  font-weight: 800; font-size: .9rem;
  box-shadow: var(--shadow-sm);
}
.safety-list strong { display: block; margin-bottom: 2px; }
.safety-list p { color: var(--muted); font-size: .95rem; }

.safety-visual { position: relative; display: grid; place-items: center; min-height: 340px; }
.safety-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.safety-card-main { width: min(380px, 100%); }
.safety-seller { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.safety-seller-av {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(140deg, var(--coral), var(--coral-d));
  color: #fff; font-weight: 800; font-size: 1.2rem;
  display: grid; place-items: center;
}
.safety-seller strong { font-size: 1.02rem; }
.verified { color: var(--bright); font-size: .85rem; }
.safety-seller small { color: var(--muted); font-size: .82rem; }
.safety-seller-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-weight: 700; }
.safety-quote { color: var(--ink); font-size: 1.02rem; font-style: italic; }
.safety-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700; font-size: .86rem;
  box-shadow: var(--shadow-md);
}
.safety-badge-1 { top: 2%; right: 2%; color: var(--primary); animation: floatA 5s ease-in-out infinite; }
.safety-badge-2 { bottom: 4%; left: 0%; color: var(--coral-d); animation: floatB 5.5s ease-in-out infinite; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-stars { color: #FFB23E; letter-spacing: 2px; font-size: 1.05rem; }
.review-card blockquote { font-size: 1.02rem; color: var(--ink); }
.review-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-av {
  width: 44px; height: 44px; border-radius: 50%;
  background: color-mix(in srgb, var(--c) 18%, #fff);
  color: var(--c); font-weight: 800;
  display: grid; place-items: center;
}
.review-card figcaption strong { display: block; font-size: .96rem; }
.review-card figcaption small { color: var(--muted); font-size: .82rem; }

/* ---------- Download CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--primary), #0b5a54 55%, #0c655e);
  border-radius: 34px;
  padding: clamp(40px, 5vw, 64px);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta::before { width: 340px; height: 340px; background: radial-gradient(circle, rgba(20,184,166,.45), transparent 70%); top: -120px; right: -80px; }
.cta::after { width: 280px; height: 280px; background: radial-gradient(circle, rgba(255,107,107,.35), transparent 70%); bottom: -120px; left: -60px; }
.cta-copy { position: relative; z-index: 2; }
.cta-copy h2 { margin-bottom: 14px; }
.cta-copy > p { color: rgba(255,255,255,.85); font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }
.cta .store-buttons { margin-bottom: 22px; }
.cta-note { font-size: .92rem; color: rgba(255,255,255,.9); font-weight: 600; }
.cta-qr { position: relative; z-index: 2; display: grid; justify-items: center; gap: 12px; }
.qr-box { background: #fff; padding: 14px; border-radius: 22px; box-shadow: var(--shadow-md); }
.cta-qr p { font-size: .86rem; color: rgba(255,255,255,.85); text-align: center; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.faq-inner .section-head { margin: 0; }
.faq-inner .btn { margin-top: 22px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq-item[open] { border-color: var(--bright); box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0;
  font-weight: 700; font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex-shrink: 0; width: 22px; height: 22px; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 2.5px; border-radius: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item p { color: var(--muted); padding-bottom: 20px; max-width: 60ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C4CEDC; padding: clamp(50px, 6vw, 76px) 0 30px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.logo-light { color: #fff; }
.footer-brand p { margin: 18px 0 22px; font-size: .95rem; max-width: 320px; }
.social { display: flex; gap: 12px; }
.social a {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  transition: background .25s, transform .25s;
}
.social a:hover { background: var(--bright); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; font-size: .94rem; padding: 6px 0; color: #C4CEDC; transition: color .2s; }
.footer-col a:hover { color: var(--bright); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 26px;
  font-size: .88rem; color: #8A97A8;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--bright); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .badge, .hero-copy h1, .hero-lead { margin-inline: auto; }
  .store-buttons, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 30px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-inner { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta-copy .store-buttons, .cta-note { justify-content: center; }
  .cta-copy > p { margin-inline: auto; }
  .cta-qr { display: none; }
  .faq-inner { grid-template-columns: 1fr; }
  .faq-inner .section-head { text-align: center; }
  .faq-inner .section-head .btn { margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    gap: 4px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px 24px 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s var(--ease);
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary { display: none; }
  .steps { flex-direction: column; align-items: center; }
  .step { max-width: 420px; width: 100%; }
  .step-arrow { transform: rotate(90deg); }
  .step-num { font-size: 2rem; }
}

@media (max-width: 520px) {
  .container { padding-inline: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 18px 28px; }
  .store-btn { flex: 1 1 auto; justify-content: center; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
:focus-visible { outline: 3px solid var(--bright); outline-offset: 3px; border-radius: 6px; }
