/* ===== Jamlex marketing site — shared styles ===== */

:root {
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-400: #2dd4bf;
  --teal-50: #f0fdfa;
  --amber: #f59e0b;
  --amber-soft: #fbbf24;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 10px 30px -12px rgba(15, 23, 42, .15);
  --shadow-lg: 0 30px 60px -20px rgba(13, 148, 136, .25), 0 18px 40px -24px rgba(15, 23, 42, .2);

  --grad-teal: linear-gradient(135deg, #0d9488 0%, #14b8a6 55%, #2dd4bf 100%);
  --grad-teal-soft: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);

  --maxw: 1140px;
  --nav-h: 70px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding-block: 96px; }
.section-tight { padding-block: 64px; }

/* ===== Typography ===== */
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-600);
  background: var(--teal-50);
  border: 1px solid #ccfbf1;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-head { text-align: center; max-width: 680px; margin-inline: auto; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(13, 148, 136, .6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(13, 148, 136, .7); }
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--teal-400); color: var(--teal-600); }
.btn .badge-soon {
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.22);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ===== Navbar ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(248, 250, 252, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -16px rgba(15,23,42,.4);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 18px -8px rgba(13,148,136,.45);
  border: 1px solid var(--line-soft);
}
.footer .brand .logo-mark { border-color: rgba(255,255,255,.12); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 600; color: var(--ink-soft);
  padding: 8px 14px; border-radius: 10px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(13,148,136,.08); color: var(--teal-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; }

/* Language switcher */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 700;
}
.lang-switch a {
  color: var(--muted); padding: 5px 9px; border-radius: 9px;
  transition: color .2s, background .2s;
}
.lang-switch a:hover { color: var(--teal-600); background: rgba(13,148,136,.08); }
.lang-switch a.active { color: var(--teal-600); background: var(--teal-50); }
.lang-switch .sep { color: var(--line); font-weight: 400; }

@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
}

/* ===== Bilingual / LTR support ===== */
[dir="ltr"] body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
}
[dir="ltr"] .lang-switch,
[dir="ltr"] .sb-big,
[dir="ltr"] .modal-card .btn { font-family: "Inter", system-ui, sans-serif; }
/* keep the Persian language-switch label legible in LTR context */
[dir="ltr"] .lang-switch a[href*="fa"] { font-family: "Vazirmatn", "Inter", sans-serif; }
[dir="rtl"] .lang-switch a:not(.active)[href*=".."],
[dir="rtl"] .lang-switch a[href="../"] { font-family: "Inter", system-ui, sans-serif; }

/* ===== Hero ===== */
.hero { position: relative; padding-top: 64px; padding-bottom: 64px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
}
.hero-copy h1 {
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 900;
  letter-spacing: -.02em;
}
.hero-copy h1 .grad {
  background: var(--grad-teal);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p.sub {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin-top: 22px;
  max-width: 540px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 30px; color: var(--ink-soft); }
.hero-trust .ht { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; }
.hero-trust .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(20,184,166,.18); }

/* gradient blobs / mesh */
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 0; pointer-events: none; }
.blob-1 { width: 460px; height: 460px; background: radial-gradient(circle, #5eead4, transparent 70%); top: -160px; left: -120px; }
.blob-2 { width: 420px; height: 420px; background: radial-gradient(circle, #fcd34d, transparent 70%); bottom: -180px; right: -80px; opacity: .35; }
.blob-3 { width: 360px; height: 360px; background: radial-gradient(circle, #14b8a6, transparent 70%); top: 40%; right: 35%; opacity: .25; }
.hero .container { position: relative; z-index: 1; }

/* ===== Phone mockup (real screenshot) ===== */
.phone-wrap { display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative;
  width: 300px;
  background: #0b1220;
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-9deg) rotateX(3deg) rotate(1deg);
  transition: transform .5s ease;
}
.phone:hover { transform: rotateY(0deg) rotateX(0deg) rotate(0deg); }
.phone::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #0b1220;
  border-radius: 0 0 18px 18px;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  background: var(--bg);
  border-radius: 36px;
  overflow: hidden;
}
.phone-screen img.app-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 36px;
}
.app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 6px; font-size: 12px; font-weight: 700; color: var(--ink);
}
.app-body { flex: 1; overflow: hidden; padding: 8px 14px 0; }

.app-hero-card {
  background: var(--grad-teal);
  border-radius: 22px;
  padding: 16px 18px;
  color: #fff;
  box-shadow: 0 14px 26px -14px rgba(13,148,136,.8);
  position: relative;
  overflow: hidden;
}
.app-hero-card::after {
  content: ""; position: absolute; width: 130px; height: 130px;
  background: rgba(255,255,255,.14); border-radius: 50%;
  top: -50px; left: -30px;
}
.app-hero-card .label { font-size: 11px; opacity: .85; font-weight: 600; }
.app-hero-card .word { font-size: 24px; font-weight: 900; margin-top: 2px; }
.app-hero-card .mean { font-size: 13px; opacity: .92; margin-top: 2px; }
.app-hero-card .row { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.app-hero-card .play {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.25); display: grid; place-items: center; font-size: 14px;
}
.app-hero-card .streak {
  margin-inline-start: auto; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.2); padding: 4px 10px; border-radius: 999px;
}

.app-sec-title { font-size: 13px; font-weight: 800; color: var(--ink); margin: 16px 4px 10px; }
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 11px 11px 13px;
  box-shadow: var(--shadow-sm);
}
.cat-card .emoji { font-size: 20px; }
.cat-card .name { font-size: 12px; font-weight: 700; margin-top: 5px; color: var(--ink); }
.cat-card .bar { height: 6px; border-radius: 999px; background: var(--line); margin-top: 9px; overflow: hidden; }
.cat-card .bar > i { display: block; height: 100%; border-radius: 999px; background: var(--grad-teal); }
.cat-card .pct { font-size: 10px; color: var(--muted); margin-top: 5px; font-weight: 600; }

.app-nav {
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 8px 16px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.app-nav .item { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: var(--muted-2); font-weight: 600; }
.app-nav .item .ic { font-size: 18px; line-height: 1; }
.app-nav .item.active { color: var(--teal-600); }

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #ccfbf1; }
.feature-shot {
  position: relative;
  background: linear-gradient(160deg, var(--teal-50) 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line-soft);
  height: 188px;
  overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
}
.feature-shot img {
  width: 78%;
  border-radius: 16px 16px 0 0;
  margin-top: 22px;
  box-shadow: 0 18px 36px -18px rgba(15,23,42,.35);
  border: 1px solid var(--line);
  border-bottom: none;
}
.feature-shot.wide img {
  width: 88%;
  border-radius: 14px;
  margin-top: 0;
  align-self: center;
  border-bottom: 1px solid var(--line);
}
.feature-shot.wide { align-items: center; padding-inline: 20px; }
.feature-body { padding: 24px 26px 30px; }
.feature-card .fi {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; font-size: 22px;
  background: var(--teal-50); border: 1px solid #ccfbf1;
  margin-bottom: 14px;
}
.feature-card h3 { font-size: 20px; font-weight: 800; }
.feature-card p { color: var(--muted); margin-top: 10px; font-size: 15.5px; }

/* ===== How it works ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  box-shadow: var(--shadow-sm);
}
.step .num {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; font-weight: 900; font-size: 20px;
  box-shadow: 0 10px 20px -10px rgba(13,148,136,.7);
  margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 800; }
.step p { color: var(--muted); margin-top: 9px; font-size: 15.5px; }

/* ===== Stats strip ===== */
.stats {
  background: var(--grad-teal);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  color: #fff;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content:""; position:absolute; inset:0;
  background: radial-gradient(circle at 20% 0%, rgba(255,255,255,.18), transparent 45%);
}
.stat { text-align: center; position: relative; }
.stat .big { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; }
.stat .lbl { font-size: 14.5px; opacity: .92; margin-top: 6px; }

/* ===== Plans mini ===== */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 760px; margin-inline: auto; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm);
}
.plan.featured { border-color: var(--teal-400); box-shadow: var(--shadow-md); position: relative; padding-top: 42px; }
.plan.featured .tag {
  position: absolute; top: 0; inset-inline-end: 26px; transform: translateY(-50%);
  background: var(--amber); color: #fff; font-size: 12px; font-weight: 800;
  padding: 5px 14px; border-radius: 999px;
  box-shadow: 0 8px 18px -8px rgba(245,158,11,.7);
}
.plan h3 { font-size: 22px; font-weight: 800; }
.plan .price { font-size: 16px; color: var(--teal-600); font-weight: 700; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 15px; padding: 7px 0; }
.plan li .ck { color: var(--teal-600); font-weight: 900; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item.open { border-color: var(--teal-400); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; text-align: start; font-family: inherit;
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-size: 17px; font-weight: 700; color: var(--ink);
}
.faq-q .chev { transition: transform .3s ease; color: var(--teal-600); font-size: 22px; flex-shrink: 0; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15.5px; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--grad-teal-soft);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.cta-band::after { content:""; position:absolute; width:300px;height:300px;background:rgba(255,255,255,.12);border-radius:50%;bottom:-140px;right:-60px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 900; position: relative; }
.cta-band p { font-size: 18px; opacity: .94; margin-top: 14px; position: relative; }
.cta-band .btn { margin-top: 26px; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--teal-600); }
.cta-band .btn-primary:hover { background: #fff; }

/* ===== Footer ===== */
.footer {
  background: #0b1324;
  color: #cbd5e1;
  padding-block: 56px 32px;
  margin-top: 96px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer p.tag { color: #94a3b8; margin-top: 14px; max-width: 320px; font-size: 15px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 14px; }
.footer a { display: block; color: #cbd5e1; padding: 6px 0; font-size: 15px; transition: color .2s; }
.footer a:hover { color: var(--teal-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 40px; padding-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  color: #64748b; font-size: 14px;
}

/* ===== Legal pages ===== */
.legal { padding-block: 64px 32px; }
.legal-head { max-width: 820px; margin-inline: auto; text-align: center; margin-bottom: 48px; }
.legal-head h1 { font-size: clamp(30px, 4.5vw, 46px); font-weight: 900; }
.legal-head .updated { color: var(--muted); margin-top: 14px; font-size: 15px; }
.legal-body {
  max-width: 820px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px 48px; box-shadow: var(--shadow-sm);
}
.legal-body h2 { font-size: 23px; font-weight: 800; margin-top: 36px; padding-top: 4px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 18px; font-weight: 700; margin-top: 22px; }
.legal-body p { color: var(--ink-soft); margin: 12px 0; font-size: 16px; }
.legal-body ul { color: var(--ink-soft); padding-inline-start: 22px; margin: 12px 0; }
.legal-body li { margin: 8px 0; font-size: 16px; }
.legal-body a { color: var(--teal-600); font-weight: 600; }
.legal-body .callout {
  background: var(--teal-50); border: 1px solid #ccfbf1;
  border-radius: var(--radius); padding: 18px 22px; margin: 22px 0; color: var(--ink-soft);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Store badges ===== */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #0b1220; color: #fff;
  border: 1px solid #0b1220;
  border-radius: 14px;
  padding: 11px 20px 11px 18px;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s ease, box-shadow .25s ease, background .2s;
  box-shadow: 0 12px 26px -14px rgba(15,23,42,.7);
}
.store-badge:hover { transform: translateY(-2px); background: #111c33; box-shadow: 0 18px 34px -16px rgba(15,23,42,.8); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge .sb-text { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }
.store-badge .sb-small { font-size: 11px; font-weight: 500; opacity: .82; }
.store-badge .sb-big { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.cta-band .store-badges { justify-content: center; margin-top: 28px; position: relative; }
.cta-band .store-badge { border-color: rgba(255,255,255,.18); }

/* Direct APK download button */
.store-badge.dl-direct {
  background: var(--grad-teal);
  border-color: transparent;
  box-shadow: 0 12px 26px -12px rgba(13,148,136,.75);
}
.store-badge.dl-direct:hover { background: var(--grad-teal); filter: brightness(1.06); }
.store-badge.dl-direct svg { fill: #fff; }
.cta-band .store-badge.dl-direct { background: #fff; color: var(--teal-600); border-color: #fff; }
.cta-band .store-badge.dl-direct:hover { background: #f0fdfa; filter: none; }
.cta-band .store-badge.dl-direct svg { fill: var(--teal-600); }
.dl-note {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); font-weight: 600;
  margin-top: 12px;
}
.dl-note::before { content: "↓"; font-weight: 900; color: var(--teal-600); }
.hero-actions { flex-direction: column; align-items: flex-start; }
.cta-band .dl-note { color: rgba(255,255,255,.9); justify-content: center; }
.cta-band .dl-note::before { color: #fff; }

/* ===== Coming-soon modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(11,19,36,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s ease;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 420px; width: 100%;
  padding: 36px 32px 30px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.97);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.modal-overlay.open .modal-card { transform: none; }
.modal-card .modal-icon {
  width: 64px; height: 64px; border-radius: 20px;
  background: var(--grad-teal); color: #fff;
  display: grid; place-items: center; font-size: 30px;
  margin: 0 auto 18px;
  box-shadow: 0 14px 26px -12px rgba(13,148,136,.7);
}
.modal-card h3 { font-size: 22px; font-weight: 800; }
.modal-card p { color: var(--muted); font-size: 16px; margin-top: 12px; }
.modal-card .btn { margin-top: 24px; width: 100%; }
.modal-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  cursor: pointer; font-size: 20px; color: var(--muted);
  display: grid; place-items: center; transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--bg); color: var(--ink); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 36px 28px; }
}
@media (max-width: 820px) {
  .section { padding-block: 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-copy p.sub { margin-inline: auto; }
  .hero-actions { align-items: center; }
  .hero-actions .store-badges { justify-content: center; }
  .hero-trust { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .legal-body { padding: 28px 22px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px; }
}
