/* سایت Mira — ظاهر تیره (پیش‌فرض برند) و روشن */
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }

:root {
  --bg: #070A1A; --bg-2: #0B1026; --card: #10162F; --card-2: #151C3A; --line: #222B52; --line-soft: #1A2245;
  --text: #EEF0FF; --muted: #A4ABCF; --faint: #7A82AB;
  --brand-1: #B566FF; --brand-2: #5B5BFF; --brand-3: #3AA8FF;
  --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));
  --cta: #FF8A3D; --cta-hover: #FF7A22; --on-cta: #1A0E05;
  --ok: #34D399; --warn: #FBBF24;
  --glow: 0 0 0 1px rgba(124, 108, 255, .25), 0 20px 60px -20px rgba(91, 91, 255, .55);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --radius: 18px; --radius-sm: 12px;
  --wrap: 1160px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #F6F7FC; --bg-2: #EEF0FA; --card: #FFFFFF; --card-2: #F3F4FB; --line: #DADDF0; --line-soft: #E7E9F6;
  --text: #12142B; --muted: #4E5577; --faint: #6E7596;
  --cta: #F06A12; --cta-hover: #DA5D0B; --on-cta: #FFFFFF;
  --glow: 0 0 0 1px rgba(91, 91, 255, .18), 0 20px 50px -24px rgba(91, 91, 255, .45);
  --shadow: 0 1px 2px rgba(18, 20, 43, .06), 0 10px 30px -16px rgba(18, 20, 43, .25);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif; font-size: 16px; line-height: 1.85;
  overflow-x: hidden;
}
html[lang="en"] body { line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--cta); color: var(--on-cta); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ltr { direction: ltr; unicode-bidi: isolate; }
/* تا ترجمه‌ی انگلیسی آماده شود متن فارسی دیده نشود (boot.js بعد از ۱.۵ ثانیه در هر حال نشان می‌دهد) */
html.js[lang="en"]:not(.i18n-done) body { visibility: hidden; }

/* ---------- سربرگ ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-in { display: flex; align-items: center; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font-weight: 500; letter-spacing: .32em; font-size: 1.3rem; direction: ltr; }
.brand img { filter: drop-shadow(0 0 10px rgba(124, 92, 255, .45)); }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 500; transition: color .15s, background .15s; }
.nav > a:hover { color: var(--text); background: var(--card); }
.nav > a[aria-current="page"] { color: var(--text); background: var(--card-2); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-inline-start: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px;
  border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 10px;
  font: inherit; font-size: .875rem; cursor: pointer;
}
.chip:hover { background: var(--card); }
.chip-soon { cursor: not-allowed; color: var(--faint); }
.chip-soon small { font-size: .68rem; padding: 1px 6px; border-radius: 99px; background: var(--card-2); color: var(--muted); }
.theme-icon { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(90deg, var(--text) 50%, transparent 50%); border: 2px solid var(--text); }
.menu-btn { display: none; margin-inline-start: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: 12px; cursor: pointer; color: var(--text); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; margin: 0 auto; position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .menu-btn { display: block; }
  .js .nav { display: none; }
  .nav {
    position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 18px; background: var(--bg-2); border-bottom: 1px solid var(--line);
  }
  .js .nav.open { display: flex; }
  .nav > a { padding: 12px; }
  .nav-tools { margin: 10px 0 0; flex-wrap: wrap; }
  .nav-tools .btn-cta { flex: 1 1 100%; justify-content: center; }
}

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 14px; border: 1px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 16px; border-radius: 10px; font-size: .9rem; }
.btn-cta { background: var(--cta); color: var(--on-cta); box-shadow: 0 10px 30px -10px rgba(255, 138, 61, .65); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); background: color-mix(in srgb, var(--card) 60%, transparent); }
.btn-ghost:hover { background: var(--card); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-icon { width: 18px; height: 18px; border: 2px solid currentColor; border-top: 0; border-radius: 0 0 4px 4px; position: relative; }
.dl-icon::before { content: ""; position: absolute; left: 50%; top: -9px; width: 2px; height: 12px; background: currentColor; transform: translateX(-50%); }
.dl-icon::after { content: ""; position: absolute; left: 50%; top: -1px; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); }

/* ---------- بخش‌ها ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; color: var(--brand-3); margin-bottom: 10px; }
.page-hero { padding: 72px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.page-hero .btn-row { justify-content: center; margin-top: 24px; }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); font-size: 1.08rem; }

/* ---------- قهرمان صفحه‌ی اصلی ---------- */
.hero { position: relative; padding: 80px 0 96px; overflow: hidden; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: -40% -10% auto; height: 120%; pointer-events: none;
  background: radial-gradient(40% 45% at 70% 30%, rgba(124, 92, 255, .32), transparent 70%),
              radial-gradient(35% 40% at 20% 20%, rgba(58, 168, 255, .22), transparent 70%);
}
:root[data-theme="light"] .hero::before, :root[data-theme="light"] .page-hero::before { opacity: .55; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-note { margin-top: 16px; font-size: .9rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓"; color: var(--ok); margin-inline-end: 6px; font-weight: 700; }
.hero-logo { position: relative; width: 120px; height: 120px; margin-bottom: 22px; }
.hero-logo::before { content: ""; position: absolute; inset: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(124, 92, 255, .55), rgba(58, 168, 255, .25) 55%, transparent 75%); filter: blur(8px); }
.hero-logo img { position: relative; width: 100%; height: 100%; filter: drop-shadow(0 8px 26px rgba(91, 91, 255, .55)); animation: logo-float 6s ease-in-out infinite; }
@keyframes logo-float { 50% { transform: translateY(-6px); } }
:root[data-theme="light"] .hero-logo::before { opacity: .6; }
.grow-note { margin: 28px auto 0; max-width: 760px; text-align: center; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); background: color-mix(in srgb, var(--card) 70%, transparent); font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }

/* نمونه‌ی پنجره‌ی برنامه (فقط تصویر؛ داده‌ها ساختگی) */
.app-mock { position: relative; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--glow); }
.mock-bar { border-radius: 20px 20px 0 0; display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); background: var(--card-2); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-inline-start: auto; font-size: .78rem; font-weight: 500; color: var(--faint); }
.mock-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; padding: 16px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-tile { border-radius: 12px; padding: 10px; background: var(--bg-2); border: 1px solid var(--line-soft); font-size: .78rem; }
.mock-tile span { display: block; color: var(--faint); font-size: .72rem; }
.mock-tile span[data-num] { color: var(--text); font-size: .78rem; }
.mock-tile .sw { height: 34px; border-radius: 8px; margin-bottom: 8px; background: var(--grad); opacity: .85; }
.mock-tile:nth-child(2n) .sw { opacity: .55; }
.mock-tile:nth-child(3n) .sw { opacity: .7; filter: hue-rotate(40deg); }
.mock-cart { border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-soft); padding: 12px; font-size: .8rem; display: flex; flex-direction: column; gap: 8px; }
.mock-row { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); }
.mock-row b { color: var(--text); font-weight: 500; }
.mock-total { margin-top: auto; border-top: 1px dashed var(--line); padding-top: 10px; display: flex; justify-content: space-between; font-weight: 700; }
.mock-pay { margin-top: 8px; border-radius: 10px; background: var(--cta); color: var(--on-cta); text-align: center; padding: 8px; font-weight: 700; }
.float-card { position: absolute; border-radius: 14px; padding: 10px 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8rem; display: flex; align-items: center; gap: 10px; }
.float-card strong { display: block; font-size: .95rem; }
.float-a { inset-inline-start: -28px; bottom: -52px; }
.float-b { inset-inline-end: -28px; top: -26px; }
.dot-ok { width: 30px; height: 30px; border-radius: 10px; background: rgba(52, 211, 153, .15); color: var(--ok); display: grid; place-items: center; font-weight: 800; }
.dot-up { width: 30px; height: 30px; border-radius: 10px; background: rgba(58, 168, 255, .15); color: var(--brand-3); display: grid; place-items: center; font-weight: 800; }

/* نوار اعتماد */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line-soft); }
.trust-item strong { display: block; font-size: .98rem; }
.trust-item span { font-size: .84rem; color: var(--muted); }

/* کارت‌ها */
.grid { display: grid; gap: 20px; }
.grid > *, .dl-card > *, .hero-grid > *, .feature-block > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--line); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); margin: 0; }
.card ul { margin: 12px 0 0; padding-inline-start: 18px; color: var(--muted); }
.card li { margin: 4px 0; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(181, 102, 255, .2), rgba(58, 168, 255, .2)); border: 1px solid var(--line);
  font-size: 1.35rem; line-height: 1;
}
.biz { text-align: center; padding: 22px 16px; }
.biz .icon { margin: 0 auto 12px; }
.biz h3 { font-size: 1rem; margin: 0; }

/* مراحل */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-soft); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); margin: 0; }

/* بخش پایانی */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 32px; text-align: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--glow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(124, 92, 255, .28), transparent 70%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn-row { justify-content: center; }

/* امکانات (صفحه‌ی امکانات) */
.feature-block { display: grid; grid-template-columns: 300px 1fr; gap: 36px; padding: 36px 0; border-bottom: 1px solid var(--line-soft); }
.feature-block:last-child { border-bottom: 0; }
.feature-block h2 { font-size: 1.4rem; }
.feature-block .lead { color: var(--muted); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-list li { position: relative; padding-inline-start: 28px; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 6px; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--ok); background: rgba(52, 211, 153, .14); }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.toc a { text-decoration: none; padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.toc a:hover { color: var(--text); background: var(--card); }

/* قیمت‌ها */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px 22px; }
.plan.featured { border-color: transparent; box-shadow: var(--glow); background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.plan h3 { font-size: 1.2rem; margin-bottom: 4px; }
.plan .price { font-size: 1.05rem; font-weight: 700; margin: 12px 0 16px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.plan ul li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 8px; }
.plan .btn { margin-top: auto; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--grad); color: #fff; margin-bottom: 10px; align-self: flex-start; }
.notice { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.notice strong { color: var(--text); }

/* دانلود */
.dl-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--glow); }
.dl-meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 22px; font-size: .95rem; }
.dl-meta dt { color: var(--faint); }
.dl-meta dd { margin: 0; font-weight: 500; }
html[dir="rtl"] .dl-meta dd.ltr { text-align: right; }
.dl-card [data-field="note"] { margin-top: 12px; }
.hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .78rem; word-break: break-all; direction: ltr; text-align: left; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; display: block; }
.copy-row { display: flex; gap: 8px; align-items: stretch; }
.copy-row .hash { flex: 1; }
.req { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.req li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.req li b { color: var(--text); font-weight: 500; }
pre.cmd { direction: ltr; text-align: left; overflow-x: auto; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px; font-size: .85rem; margin: 10px 0 0; }

/* آموزش */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--bg-2); display: grid; place-items: center; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--grad); cursor: pointer; display: grid; place-items: center; box-shadow: var(--glow); }
.play::before { content: ""; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.video-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.video-body h3 { font-size: 1.02rem; margin: 0; }
.video-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* پشتیبانی */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line-soft); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }
.contact-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line-soft); text-decoration: none; }
.contact-item:hover { border-color: var(--line); }
.contact-item span { display: block; font-size: .82rem; color: var(--faint); }
.contact-item .icon { margin: 0; flex: none; font-size: 1.2rem; color: inherit; }
.contact-item strong { display: block; font-weight: 500; word-break: break-word; }

/* متن بلند (حریم خصوصی، درباره) */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }

/* پانویس */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 24px; background: var(--bg-2); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.footer-title { font-size: .95rem; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-brand p { margin: 12px 0 0; max-width: 320px; }
.footer-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-soft); }

/* نمایش تدریجی */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-logo img { animation: none; }
  .btn:hover { transform: none; }
}

/* ---------- اندازه‌ی کوچک‌تر ---------- */
@media (max-width: 1024px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .grid-4, .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid, .dl-card, .feature-block { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .steps, .videos, .contact-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .float-a { inset-inline-start: 8px; } .float-b { inset-inline-end: 8px; }
  .hero-grid { gap: 48px; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-2, .steps, .videos, .contact-list, .plans, .check-list { grid-template-columns: 1fr; }
  .trust, .grid-4 { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-tiles { grid-template-columns: repeat(3, 1fr); }
  .float-card { display: none; }
  .hero-logo { width: 88px; height: 88px; margin-bottom: 16px; }
  .brand-name { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .dl-card { padding: 22px; }
  .cta-band { padding: 40px 20px; border-radius: 22px; }
  .hero .btn-row .btn, .cta-band .btn { flex: 1 1 100%; }
}
