/* صفحه‌ی معرفی قدم (دامنه‌ی اصلی). همان توکن‌های اپ؛ فونت و آیکون‌ها از کلاینت ساخته‌شده روی همین سرور می‌آیند. */
@font-face { font-family: 'Vazirmatn'; font-weight: 400; font-display: swap; src: url('/fonts/vazirmatn-arabic-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Vazirmatn'; font-weight: 600; font-display: swap; src: url('/fonts/vazirmatn-arabic-600-normal.woff2') format('woff2'); }

:root {
  --bg: #fbf8f3; --bg-2: #f5efe5; --surface: #ffffff; --surface-2: #f3eee6; --text: #2b2a28; --text-soft: #6f6a62; --text-faint: #9a948a;
  --accent: #3f8f6b; --accent-strong: #33785a; --accent-soft: #e3f1ea; --on-accent: #ffffff; --warm: #e8925a; --warm-soft: #fbeadd;
  --sun: #f2b766; --hill-back: #cfe5d6; --hill-front: #a9d2b8; --trail: #e8925a;
  --line: #e8e2d8; --radius: 22px; --shadow: 0 2px 12px rgb(43 42 40 / 0.06); --shadow-lift: 0 18px 50px rgb(43 42 40 / 0.14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #1b1a18; --bg-2: #211f1c; --surface: #252421; --surface-2: #2e2c29; --text: #f1ede6; --text-soft: #b3ada3; --text-faint: #8a847b;
    --accent: #6cc49b; --accent-strong: #84d2ad; --accent-soft: #23382e; --on-accent: #10251b; --warm: #f0a878; --warm-soft: #3a2a1f;
    --sun: #e9a85a; --hill-back: #263a2f; --hill-front: #2f4a3b; --trail: #f0a878;
    --line: #3a3733; --shadow: none; --shadow-lift: 0 18px 50px rgb(0 0 0 / 0.45);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #1b1a18; --bg-2: #211f1c; --surface: #252421; --surface-2: #2e2c29; --text: #f1ede6; --text-soft: #b3ada3; --text-faint: #8a847b;
  --accent: #6cc49b; --accent-strong: #84d2ad; --accent-soft: #23382e; --on-accent: #10251b; --warm: #f0a878; --warm-soft: #3a2a1f;
  --sun: #e9a85a; --hill-back: #263a2f; --hill-front: #2f4a3b; --trail: #f0a878;
  --line: #3a3733; --shadow: none; --shadow-lift: 0 18px 50px rgb(0 0 0 / 0.45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: hidden; overflow-x: clip; }
.circles, .hero, .marquee, .companion { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text); line-height: 1.9; font-size: 16px; overflow-x: hidden; overflow-x: clip;
  font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); }
h1, h2, h3 { font-weight: 600; margin: 0; line-height: 1.5; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* ── دکمه‌ها ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background 160ms, transform 160ms var(--ease), box-shadow 200ms;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px rgb(63 143 107 / 0.28); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--text); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; box-shadow: none; }
.btn-lg { min-height: 56px; padding: 0 36px; font-size: 18px; }

.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); padding: 2px 14px; border-radius: 999px; }
.sub { color: var(--text-soft); font-size: 17px; margin: 12px 0 0; max-width: 34em; }
.head-center { text-align: center; display: grid; justify-items: center; gap: 10px; margin-bottom: 40px; }
.head-center .sub { margin-top: 0; }
.demo-tag { font-size: 11px; font-weight: 600; color: var(--text-faint); border: 1px solid var(--line); border-radius: 999px; padding: 0 8px; line-height: 1.8; }

/* ── نوار بالا ── */
.nav { position: sticky; top: 0; z-index: 50; transition: background 250ms, box-shadow 250ms, backdrop-filter 250ms; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 21px; }
.brand img { border-radius: 10px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--text-soft); text-decoration: none; font-size: 15px; position: relative; }
.nav-links a::after { content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 220ms var(--ease); border-radius: 2px; }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── شروع ── */
.hero { position: relative; overflow: hidden; padding: 12px 0 72px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.hero-scene { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hill-back { fill: var(--hill-back); }
.hill-front { fill: var(--hill-front); opacity: 0.85; }
.sun { transform-origin: 930px 250px; animation: sunrise 2.6s var(--ease) both, glow 6s ease-in-out 2.6s infinite; }
.trail { fill: none; stroke: var(--trail); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3s var(--ease) 0.5s forwards; opacity: 0.8; }
.steps circle { fill: var(--surface); stroke: var(--trail); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop 500ms var(--ease) forwards; }
.steps circle:nth-child(1) { animation-delay: 0.9s; } .steps circle:nth-child(2) { animation-delay: 1.2s; } .steps circle:nth-child(3) { animation-delay: 1.5s; }
.steps circle:nth-child(4) { animation-delay: 1.8s; } .steps circle:nth-child(5) { animation-delay: 2.1s; } .steps circle:nth-child(6) { animation-delay: 2.4s; } .steps circle:nth-child(7) { animation-delay: 2.7s; }
@keyframes sunrise { from { transform: translateY(160px) scale(0.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes glow { 50% { transform: scale(1.04); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 70% { opacity: 1; transform: scale(1.3); } 100% { opacity: 1; transform: scale(1); } }

.hero-in { position: relative; display: grid; gap: 40px; align-items: center; padding-top: 24px; }
.hero-text { display: grid; gap: 18px; justify-items: start; }
.hero h1 { font-size: clamp(32px, 8vw, 58px); line-height: 1.35; letter-spacing: -0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ''; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.28em; background: var(--warm-soft); z-index: -1; border-radius: 6px; transform: scaleX(0); transform-origin: right; animation: underline 900ms var(--ease) 1.1s forwards; }
@keyframes underline { to { transform: scaleX(1); } }
.lead { margin: 0; color: var(--text-soft); font-size: 19px; max-width: 30em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 4px 0 0; padding: 0; color: var(--text-faint); font-size: 14px; }
.hero-points li::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-inline-end: 8px; vertical-align: middle; }

.phone {
  position: relative; width: min(290px, 74vw); border-radius: 40px; padding: 9px; background: var(--surface);
  box-shadow: var(--shadow-lift); border: 1px solid var(--line);
}
.phone img, .phone .shot { border-radius: 31px; aspect-ratio: 750 / 1624; object-fit: cover; width: 100%; }
.hero-phone { position: relative; justify-self: center; padding: 20px 28px; }
.tilt { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.chip-float {
  position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow-lift); white-space: nowrap;
  opacity: 0; animation: chipIn 700ms var(--ease) forwards, bob 5s ease-in-out infinite;
}
.c1 { top: 18%; inset-inline-end: -4px; animation-delay: 1.4s, 2.1s; }
.c2 { top: 52%; inset-inline-start: -8px; animation-delay: 1.8s, 2.5s; }
.c3 { bottom: 10%; inset-inline-end: 0; animation-delay: 2.2s, 2.9s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(14px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { translate: 0 -7px; } }
.tick { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); position: relative; flex: none; }
.tick::after { content: ''; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.bell { width: 20px; height: 20px; border-radius: 6px; background: var(--warm-soft); position: relative; flex: none; }
.bell::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--warm); }
.ring { width: 22px; height: 22px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-2) 0); display: grid; place-items: center; }
.ring i { width: 14px; height: 14px; border-radius: 50%; background: var(--surface); }

/* ── آمار ── */
.stats { padding: 28px 0; border-block: 1px solid var(--line); background: var(--surface); }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: clamp(26px, 6vw, 38px); color: var(--accent-strong); font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-soft); font-size: 14px; }

/* ── نوار جمله‌ها ── */
.marquee { overflow: hidden; padding: 22px 0; background: var(--accent); color: var(--on-accent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-size: 17px; font-weight: 600; white-space: nowrap; opacity: 0.95; padding: 0 20px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ── بخش عمومی ── */
.section { padding: 88px 0; }
.section h2 { font-size: clamp(26px, 5.4vw, 40px); line-height: 1.45; }
.split { display: grid; gap: 48px; align-items: center; }
.split-text { display: grid; gap: 14px; justify-items: start; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 32px; color: var(--text-soft); }
.ticks li::before { content: ''; position: absolute; inset-inline-start: 0; top: 0.45em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.ticks li::after { content: ''; position: absolute; inset-inline-start: 7px; top: calc(0.45em + 4px); width: 5px; height: 9px; border: solid var(--accent-strong); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ── گفت‌وگوی نمونه ── */
.companion { background: var(--bg-2); }
.chat-stage { justify-self: center; display: grid; justify-items: center; gap: 18px; }
.phone-chat { display: grid; grid-template-rows: auto 1fr auto; height: 560px; padding: 0; overflow: hidden; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.chat-top b { flex: 1; }
.avatar-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.chat-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; justify-content: flex-end; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.8; animation: msgIn 420ms var(--ease) both; }
.msg.me { align-self: flex-start; background: var(--accent); color: var(--on-accent); border-end-start-radius: 6px; }
.msg.it { align-self: flex-end; background: var(--surface-2); border-end-end-radius: 6px; }
.msg.card { align-self: flex-end; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 4px; min-width: 70%; }
.msg.card small { color: var(--text-faint); font-size: 12px; }
.msg.card .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.msg.card .undo { font-size: 12px; color: var(--accent-strong); font-weight: 600; }
.msg.card .pill { font-size: 12px; background: var(--accent-soft); color: var(--accent-strong); border-radius: 999px; padding: 0 10px; }
.typing { align-self: flex-end; background: var(--surface-2); border-radius: 18px; padding: 12px 16px; display: flex; gap: 5px; animation: msgIn 300ms var(--ease) both; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-faint); animation: blink 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; align-items: center; gap: 2px; margin: 10px 12px 14px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; min-height: 46px; font-size: 14px; color: var(--text); background: var(--surface); }
.chat-input #chatTyping { white-space: nowrap; overflow: hidden; }
.caret { width: 2px; height: 18px; background: var(--accent); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.send { margin-inline-start: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); flex: none; position: relative; }
.send::after { content: ''; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-block: 6px solid transparent; border-inline-end: 9px solid var(--on-accent); }
.scenario-dots { display: flex; gap: 8px; }
.scenario-dots button { border: 0; padding: 0; width: 10px; height: 10px; border-radius: 999px; background: var(--line); cursor: pointer; transition: width 300ms var(--ease), background 300ms; }
.scenario-dots button[aria-selected='true'] { width: 28px; background: var(--accent); }

/* ── بخش‌ها: گوشی چسبان ── */
.scrolly { display: grid; gap: 24px; }
.scrolly-phone { display: none; }
.fstep { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 8px; transition: transform 400ms var(--ease), box-shadow 400ms, border-color 400ms, opacity 400ms; }
.fstep-img { width: 62%; max-width: 240px; justify-self: center; border-radius: 22px; border: 1px solid var(--line); margin-bottom: 8px; box-shadow: var(--shadow-lift); }
.fnum { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.fstep h3 { font-size: 22px; }
.fstep p { margin: 0; color: var(--text-soft); }
.mini-week { display: flex; gap: 8px; margin-top: 6px; }
.mini-week i { width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); transition: background 300ms, transform 300ms var(--ease); }
.fstep.active .mini-week i { animation: fillDot 400ms var(--ease) forwards; }
.mini-week i:nth-child(1) { animation-delay: 0.1s !important; } .mini-week i:nth-child(2) { animation-delay: 0.25s !important; } .mini-week i:nth-child(3) { animation-delay: 0.4s !important; }
.mini-week i:nth-child(5) { animation-delay: 0.55s !important; } .mini-week i:nth-child(6) { animation-delay: 0.7s !important; }
.fstep.active .mini-week i:nth-child(4), .fstep.active .mini-week i:nth-child(7) { animation: none; box-shadow: inset 0 0 0 2px var(--line); }
@keyframes fillDot { 50% { transform: scale(1.25); } to { background: var(--accent); transform: none; } }

/* ── کاشی‌ها ── */
.more { background: var(--bg-2); }
.bento { display: grid; gap: 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; transition: transform 300ms var(--ease), box-shadow 300ms; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.tile svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--accent-soft); stroke: var(--accent-strong); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.tile h3 { font-size: 18px; }
.tile p { margin: 0; color: var(--text-soft); font-size: 15px; }
.breath { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; margin-bottom: 6px; }
.breath i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(0.8); opacity: 0.6; } 45%, 55% { transform: scale(1.9); opacity: 1; } }

/* ── حلقه‌ها ── */
.orbit-stage { position: relative; width: min(400px, 88vw); aspect-ratio: 1; justify-self: center; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1.5px dashed var(--line); animation: spin linear infinite; }
.o1 { width: 52%; height: 52%; animation-duration: 26s; }
.o2 { width: 76%; height: 76%; animation-duration: 40s; animation-direction: reverse; }
.o3 { width: 100%; height: 100%; animation-duration: 58s; }
.orbit i { position: absolute; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid var(--bg); top: 50%; left: 50%; }
.orbit i:nth-child(1) { transform: rotate(0deg) translateX(var(--r)); background: #7fb89a; }
.orbit i:nth-child(2) { transform: rotate(120deg) translateX(var(--r)); background: #e8a77a; }
.orbit i:nth-child(3) { transform: rotate(240deg) translateX(var(--r)); background: #93a8d6; }
.orbit i:nth-child(4) { transform: rotate(60deg) translateX(var(--r)); background: #d79bb5; }
.orbit i:nth-child(5) { transform: rotate(300deg) translateX(var(--r)); background: #c9b46b; }
.o2 i:nth-child(1) { transform: rotate(40deg) translateX(var(--r)); } .o2 i:nth-child(2) { transform: rotate(130deg) translateX(var(--r)); }
.o2 i:nth-child(3) { transform: rotate(220deg) translateX(var(--r)); } .o2 i:nth-child(4) { transform: rotate(310deg) translateX(var(--r)); }
.o3 i:nth-child(2) { transform: rotate(72deg) translateX(var(--r)); } .o3 i:nth-child(3) { transform: rotate(144deg) translateX(var(--r)); }
.o3 i:nth-child(4) { transform: rotate(216deg) translateX(var(--r)); } .o3 i:nth-child(5) { transform: rotate(288deg) translateX(var(--r)); }
.o1 { --r: calc(min(400px, 88vw) * 0.26); } .o2 { --r: calc(min(400px, 88vw) * 0.38); } .o3 { --r: calc(min(400px, 88vw) * 0.5); }
.orbit i.here { box-shadow: 0 0 0 4px var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core { position: relative; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-lift); display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; padding: 12px; border: 1px solid var(--line); }
.orbit-core b { font-size: 15px; line-height: 1.6; }
.core-count { font-size: 12px; color: var(--text-soft); }
.core-count span { color: var(--accent-strong); font-weight: 600; font-size: 16px; }

/* ── آدم‌ها ── */
.persona-row { display: grid; gap: 14px; }
.persona { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; transition: transform 300ms var(--ease), box-shadow 300ms; }
.persona:hover { transform: translateY(-4px) rotate(-0.4deg); box-shadow: var(--shadow-lift); }
.p-face { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: hsl(var(--h) 45% 88%); color: hsl(var(--h) 40% 30%); font-weight: 600; font-size: 22px; }
.persona h3 { font-size: 18px; }
.persona .quote { margin: 0; color: var(--text); font-weight: 600; background: var(--surface-2); border-radius: 14px; padding: 6px 12px; font-size: 15px; justify-self: start; }
.persona p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* ── قول‌ها ── */
.promises { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.promises li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--text-soft); }
.promises b { color: var(--text); font-weight: 600; }
.pdot { flex: none; width: 10px; height: 10px; margin-top: 0.75em; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); }

/* ── هزینه ── */
.price { padding-top: 24px; }
.price-card { display: grid; gap: 24px; background: linear-gradient(135deg, var(--accent-soft), var(--surface) 70%); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); }
.price-card h2 { font-size: clamp(24px, 4.6vw, 32px); margin-top: 10px; }
.price-card p { color: var(--text-soft); margin: 10px 0 0; }
.price-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: center; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px dashed var(--line); }
.price-list li:last-child { border-bottom: 0; }
.price-list b { color: var(--accent-strong); }

/* ── نصب ── */
.install { background: var(--bg-2); }
.install-box { max-width: 620px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--shadow-lift); }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--surface-2); padding: 5px; border-radius: 999px; margin-bottom: 20px; }
.tabs button { font: inherit; font-weight: 600; font-size: 15px; border: 0; background: transparent; color: var(--text-soft); border-radius: 999px; min-height: 42px; cursor: pointer; transition: background 250ms, color 250ms; }
.tabs button[aria-selected='true'] { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.pane { display: grid; gap: 18px; animation: msgIn 400ms var(--ease); }
.steps-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps-list li { display: flex; gap: 12px; align-items: center; color: var(--text-soft); }
.steps-list li > span { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; }
.steps-list b { color: var(--text); }
.share-ic { display: inline-block; width: 16px; height: 18px; vertical-align: middle; border: 2px solid var(--accent-strong); border-top: 0; border-radius: 0 0 4px 4px; position: relative; margin: 0 2px; }
.share-ic::before { content: ''; position: absolute; left: 50%; top: -6px; width: 2px; height: 12px; background: var(--accent-strong); transform: translateX(-50%); }
.pane .btn { justify-self: stretch; }

/* ── سؤال‌ها ── */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent-strong); transition: transform 250ms var(--ease); line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--text-soft); }

/* ── پایان ── */
.end { padding: 40px 0 110px; }
.end-in { display: grid; justify-items: center; gap: 14px; text-align: center; }
.end img { border-radius: 26px; box-shadow: var(--shadow-lift); animation: float 6s ease-in-out infinite; }
.end h2 { font-size: clamp(26px, 5vw, 38px); margin-top: 10px; }
.end p { margin: 0; color: var(--text-soft); }
.foot { border-top: 1px solid var(--line); padding: 20px 0 calc(90px + env(safe-area-inset-bottom)); color: var(--text-faint); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--text-soft); text-decoration: none; }
.foot a:hover { color: var(--accent-strong); }

.sticky-cta { position: fixed; z-index: 40; inset-inline: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateY(140%); transition: transform 400ms var(--ease); }
.sticky-cta.show { transform: none; }

/* ── ظاهر شدن با اسکرول ── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ── صفحه‌ی بزرگ ── */
@media (min-width: 560px) {
  .stats-in { grid-template-columns: repeat(4, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .persona-row { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { inset-inline: auto 24px; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .hero { padding: 24px 0 120px; min-height: calc(100vh - 66px); display: flex; align-items: center; }
  .hero-in { grid-template-columns: 1.15fr 0.85fr; width: 100%; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split-rev .orbit-stage { order: 2; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .t-wide { grid-column: span 2; }
  .persona-row { grid-template-columns: repeat(4, 1fr); }
  .price-card { grid-template-columns: 1.3fr 1fr; padding: 40px; }
  .scrolly { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .scrolly-phone { display: block; position: sticky; top: calc(50vh - 300px); justify-self: center; }
  .scrolly-phone .phone { width: 290px; }
  .scrolly-phone .shot { position: absolute; inset: 9px; width: calc(100% - 18px); opacity: 0; transform: scale(0.96) translateY(10px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
  .scrolly-phone .shot:first-child { position: relative; inset: auto; width: 100%; }
  .scrolly-phone .shot.on { opacity: 1; transform: none; }
  .scrolly-steps { display: grid; gap: 30vh; padding: 12vh 0 20vh; }
  .fstep-img { display: none; }
  .fstep { opacity: 0.45; }
  .fstep.active { opacity: 1; border-color: var(--accent); box-shadow: var(--shadow-lift); transform: translateX(-8px); }
  .sticky-cta { display: none; }
  .foot { padding-bottom: 24px; }
  .end { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition: none !important; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
