/* =========================================================
   سوشال هاب — صفحه‌ی فرود
   سبک: زمینه‌ی نقره‌ای با رگه‌ی نور، تیترهای درشت و سبک، کارت‌های شیشه‌ای مات، دکمه‌های سرمه‌ای
   ========================================================= */

@font-face { font-family: 'Peyda'; src: url('fonts/PeydaWeb-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('fonts/PeydaWeb-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('fonts/PeydaWeb-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('fonts/PeydaWeb-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Peyda'; src: url('fonts/PeydaWeb-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
    --brand: #4560F1;
    --brand-2: #2f45c8;
    --violet: #7C5CFD;
    --ok: #1fae63;
    --bad: #e4485f;

    --bale: #1fae63;
    --eitaa: #f2942b;
    --rubika: #9451f5;
    --tg: #2aa7e8;

    --bg: #e9ebef;
    --bg-2: #f1f2f5;
    --sheen: rgba(255, 255, 255, .75);
    --ink: #141822;
    --ink-2: #4a5162;
    --ink-3: #848b9b;
    --glass: rgba(255, 255, 255, .62);
    --glass-strong: rgba(255, 255, 255, .92);
    --line: rgba(255, 255, 255, .85);
    --divider: rgba(20, 24, 34, .08);
    --shadow: rgba(27, 34, 48, .08);
    --navy: #1b2230;
    --navy-ink: #fff;
    --radius: 18px;
    --container: 1140px;
    color-scheme: light;
}

html.dark {
    --bg: #0e1117;
    --bg-2: #141823;
    --sheen: rgba(255, 255, 255, .035);
    --ink: #eef0f5;
    --ink-2: #a9b0bf;
    --ink-3: #747c8e;
    --glass: rgba(255, 255, 255, .045);
    --glass-strong: rgba(255, 255, 255, .08);
    --line: rgba(255, 255, 255, .08);
    --divider: rgba(255, 255, 255, .08);
    --shadow: rgba(0, 0, 0, .35);
    --navy: #eef0f5;
    --navy-ink: #0e1117;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* وقتی اسکرول نرم با جاوااسکریپت فعال است، مرورگر خودش انیمیشن نمی‌زند تا با هم تداخل نکنند */
html.smooth-scroll { scroll-behavior: auto; }

body {
    position: relative;
    margin: 0;
    font-family: 'Peyda', Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.85;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
/* رگه‌های نور مورب روی زمینه‌ی نقره‌ای (در طول صفحه تکرار می‌شود) */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(118deg, transparent 0, transparent 380px, var(--sheen) 560px, transparent 740px, transparent 1100px);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { position: relative; z-index: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; top: -48px; right: 16px; z-index: 100; background: var(--navy); color: var(--navy-ink); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.logo-dark { display: none; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }

/* کلمه‌ی برجسته در تیترها: پررنگ و آبی، کنار متن سبک */
.accent { font-weight: 800; color: var(--brand); }
.accent-green { color: #16a35f; }
html.dark .accent { color: #8ea0ff; }
html.dark .accent-green { color: #4fd897; }

.eyebrow { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 10px; letter-spacing: .2px; }

/* ---------- دکمه‌ها ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: inherit; font-size: 13.5px; font-weight: 500;
    padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
    cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 13px 24px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--navy); color: var(--navy-ink); box-shadow: 0 8px 20px rgba(27, 34, 48, .22); }
.btn-dark:hover { box-shadow: 0 12px 26px rgba(27, 34, 48, .3); }
.btn-soft { background: var(--glass-strong); color: var(--ink); border-color: var(--line); backdrop-filter: blur(10px); }
.btn-light { background: #fff; color: #1b2230; }

.icon-btn {
    width: 40px; height: 40px; display: grid; place-items: center;
    border-radius: 10px; border: 1px solid var(--line); background: var(--glass);
    color: var(--ink-2); cursor: pointer; backdrop-filter: blur(10px);
}
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- هدر ---------- */
.site-header { position: sticky; top: 0; z-index: 50; padding-top: 10px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.site-header::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, var(--bg) 40%, transparent);
    pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; }
.brand-logo { width: 32px; height: 32px; }
.main-nav ul {
    display: flex; gap: 2px; padding: 5px;
    border: 1px solid var(--line); background: var(--glass);
    border-radius: 12px; backdrop-filter: blur(12px);
}
.main-nav a { display: block; font-size: 13px; color: var(--ink-2); padding: 6px 14px; border-radius: 8px; transition: background-color .2s, color .2s; }
.main-nav a:hover { background: var(--glass-strong); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle { display: none; }

/* ---------- هیرو ---------- */
.hero { padding: 36px 0 30px; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
.hero-title { font-size: clamp(32px, 4.1vw, 50px); font-weight: 400; line-height: 1.35; letter-spacing: -1.2px; }
.hero-lead { font-size: 16px; color: var(--ink-2); max-width: 480px; margin: 18px 0 24px; }
.hero-lead strong { color: var(--ink); font-weight: 500; }
.hero-rows { display: grid; gap: 9px; max-width: 480px; }
.hero-rows li {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px; border-radius: 14px;
    background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px);
    font-size: 14px; color: var(--ink-2);
}
.hero-rows li::before { content: ''; flex: none; width: 2px; height: 14px; border-radius: 2px; background: var(--ink-3); opacity: .5; }
.hero-rows li.is-on { background: var(--glass-strong); color: var(--ink); font-weight: 500; box-shadow: 0 10px 30px var(--shadow); }
.hero-rows li.is-on::before { width: 12px; height: 2px; background: var(--ink); opacity: 1; }
.hero-rows .go { margin-right: auto; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-right: 10px solid var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-points { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }

.plane { position: absolute; width: 190px; transform: rotate(-6deg); filter: drop-shadow(0 24px 24px rgba(47, 69, 200, .28)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -10px; } }

/* کارت پست جدید وسط بوم؛ خطوط رنگی از آن به چهار پیام‌رسان می‌روند */
.hero-visual { position: relative; min-height: 460px; }
.canvas-wrap { position: absolute; inset: 0; }
.canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.composer {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: min(340px, 82%); padding: 18px; border-radius: 20px;
    background: var(--glass-strong); border: 1px solid var(--line); backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px var(--shadow);
}
.composer-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-3); margin-bottom: 12px; }
.dot-row { display: inline-flex; gap: 5px; }
.dot-row i { width: 9px; height: 9px; border-radius: 50%; }
.dot-row i:nth-child(1) { background: #e4485f; }
.dot-row i:nth-child(2) { background: #f5a524; }
.dot-row i:nth-child(3) { background: #2fbf8f; }
.composer-title { font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.composer-body { display: grid; gap: 7px; margin-bottom: 12px; }
.line { height: 8px; border-radius: 4px; background: var(--divider); }
.w-90 { width: 90%; } .w-70 { width: 70%; } .w-80 { width: 80%; }
.composer-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.thumb { aspect-ratio: 1; border-radius: 12px; }
.t1 { background: linear-gradient(135deg, #4560f1, #5cbefd); }
.t2 { background: linear-gradient(135deg, #7c5cfd, #c4b5fd); }
.t3 { background: linear-gradient(135deg, #2fbf8f, #a7f3d0); }
.composer-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #fff; }
.c-bale { background: var(--bale); } .c-eitaa { background: var(--eitaa); } .c-rubika { background: var(--rubika); } .c-tg { background: var(--tg); }
.composer-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.schedule { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); }
.schedule svg { width: 14px; height: 14px; }
.publish { background: var(--navy); color: var(--navy-ink); font-weight: 700; padding: 7px 16px; border-radius: 10px; }
.toast {
    position: absolute; bottom: 7%; right: 4%; display: flex; align-items: center; gap: 8px;
    padding: 10px 14px; border-radius: 14px; font-size: 13px; font-weight: 700;
    background: var(--glass-strong); border: 1px solid var(--line); backdrop-filter: blur(14px);
    box-shadow: 0 14px 30px var(--shadow);
    animation: float 4s ease-in-out infinite;
}
.toast .ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 12px; }

/* ---------- بخش‌ها ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 400; letter-spacing: -.8px; line-height: 1.45; }
.section-sub { color: var(--ink-2); font-size: 15px; margin-top: 12px; }

.card {
    background: var(--glass); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px;
    backdrop-filter: blur(14px);
}
.card h3 { font-size: 16px; font-weight: 500; }
.card p { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.9; }
.icon {
    display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px;
    border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--line);
    color: var(--brand); box-shadow: 0 6px 16px var(--shadow);
}
.icon svg { width: 20px; height: 20px; }

/* در ۳۰ ثانیه */
.cards4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.step-tag { display: inline-block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 6px; }
.ill { position: relative; height: 170px; margin-top: 18px; border-radius: 14px; overflow: hidden; }
.ill-blue { background: linear-gradient(180deg, #eef1fb, #dfe5fb); }
.ill-warm { background: linear-gradient(180deg, #f4f2ef, #ebe6e0); }
.ill-green { background: linear-gradient(180deg, #eaf6f0, #d9efe4); }
html.dark .ill-blue { background: linear-gradient(180deg, #1b2240, #161b33); }
html.dark .ill-warm { background: linear-gradient(180deg, #24211d, #1d1a17); }
html.dark .ill-green { background: linear-gradient(180deg, #16261e, #122019); }
.ill-compose { position: absolute; top: 16px; right: 16px; left: 16px; background: #fff; color: #141822; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .05); }
.ill-compose b { font-size: 11.5px; }
.ill-compose .ln { display: block; height: 6px; border-radius: 4px; background: #eceef2; margin-top: 7px; }
.ln.w90 { width: 90%; } .ln.w70 { width: 70%; }
.ill-thumbs { display: flex; gap: 6px; margin-top: 12px; }
.ill-thumbs i { flex: 1; height: 34px; border-radius: 8px; background: linear-gradient(135deg, #dfe5fb, #b9c6fa); }
.ill-thumbs i + i { background: linear-gradient(135deg, #ffe7d6, #ffc3a0); }
.ill-thumbs i + i + i { background: linear-gradient(135deg, #d9f3e5, #a9e3c4); }
.ill-checks { position: absolute; inset: 14px 16px; display: grid; gap: 6px; align-content: center; }
.ill-checks span { display: flex; align-items: center; gap: 8px; background: #fff; color: #141822; border-radius: 10px; padding: 5px 10px; font-size: 11.5px; font-weight: 500; box-shadow: 0 4px 12px rgba(0, 0, 0, .04); }
.ill-checks b { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; background: var(--c); color: #fff; font-size: 10px; }
.ill-when { position: absolute; inset: 16px; display: grid; gap: 10px; align-content: center; justify-items: start; }
.ill-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #141822; border-radius: 10px; padding: 7px 12px; font-size: 12px; font-weight: 500; box-shadow: 0 8px 20px rgba(0, 0, 0, .06); }
.ill-chip svg { width: 15px; height: 15px; color: var(--brand); }
.ill-chip.is-wait { color: #b8650c; background: #fff6ea; }
.ill-sent span.is-fail em { color: var(--bad); }
.ill-sent { position: absolute; inset: 14px 16px; display: grid; gap: 6px; align-content: center; }
.ill-sent span { display: flex; align-items: center; gap: 8px; background: #fff; color: #141822; border-radius: 10px; padding: 5px 10px; font-size: 11px; font-weight: 500; box-shadow: 0 4px 12px rgba(0, 0, 0, .04); }
.ill-sent i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.ill-sent em { margin-right: auto; font-style: normal; color: var(--ok); font-size: 10px; letter-spacing: -1px; }


/* بدون مرز + آمار */
.section-hub { padding-top: 40px; }
.hub-sub { text-align: center; color: var(--ink-2); font-size: 15px; max-width: 560px; margin: 10px auto 0; }
.hub-title { text-align: center; font-size: clamp(28px, 3.6vw, 42px); font-weight: 400; letter-spacing: -.8px; line-height: 1.45; margin-top: 10px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; backdrop-filter: blur(14px); }
.stat strong { display: block; font-size: 40px; font-weight: 400; letter-spacing: -1px; line-height: 1.3; }
.stat span { font-size: 13px; color: var(--ink-2); }

/* ---------- مدار پیام‌رسان‌ها ----------
   چهار پیام‌رسان روی یک بیضی (نمای سه‌بعدی) دور هاب می‌چرخند؛ هر ۶ ثانیه یک پست وارد هاب می‌شود،
   هاب می‌تپد و روی هر پیام‌رسان تیک «ارسال شد» می‌نشیند. */
.orbit {
    --w: 760px; --h: 380px;
    --path: path('M 710 190 A 330 140 0 1 1 50 190 A 330 140 0 1 1 710 190 Z');
    --path-in: path('M 580 190 A 200 85 0 1 1 180 190 A 200 85 0 1 1 580 190 Z');
    position: relative; width: var(--w); max-width: 100%; height: var(--h); margin: 0 auto;
}
.section-hub { overflow-x: clip; }
.halo {
    position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px;
    border-radius: 50%; filter: blur(46px); opacity: .5;
    background: conic-gradient(from 0deg, #4560f1, #7c5cfd, #2aa7e8, #1fae63, #4560f1);
    animation: spin 14s linear infinite;
}
html.dark .halo { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ol-outer { stroke-width: 1.5; stroke-dasharray: 3 7; opacity: .55; animation: dash 30s linear infinite; }
.ol-inner { stroke: var(--ink-3); stroke-width: 1; opacity: .25; }
@keyframes dash { to { stroke-dashoffset: -400; } }

/* موج‌هایی که از هاب پخش می‌شوند */
.wave {
    position: absolute; left: 50%; top: 50%; width: 160px; height: 68px; margin: -34px 0 0 -80px;
    border-radius: 50%; border: 1.5px solid rgba(69, 96, 241, .45);
    animation: wave 6s cubic-bezier(.2, .6, .3, 1) infinite;
    opacity: 0;
}
.wave { animation-delay: calc(var(--i) * .35s); }
@keyframes wave {
    0%, 22% { transform: scale(.6); opacity: 0; }
    26% { opacity: .9; }
    60%, 100% { transform: scale(4.4); opacity: 0; }
}

/* هاب مرکزی: کاشی شیشه‌ای با نشان سوشال هاب */
.core {
    position: absolute; left: 50%; top: 50%; z-index: 2;
    width: 132px; height: 132px; margin: -76px 0 0 -66px;
    display: grid; place-items: center; border-radius: 38px;
    background: linear-gradient(150deg, rgba(255, 255, 255, .98), rgba(236, 240, 255, .9));
    border: 1px solid #fff;
    box-shadow: 0 30px 60px rgba(47, 69, 200, .28), 0 0 0 10px rgba(255, 255, 255, .35), inset 0 -6px 16px rgba(69, 96, 241, .12);
    animation: core 6s ease-in-out infinite;
}
html.dark .core { background: linear-gradient(150deg, #20263a, #161b2a); border-color: rgba(255, 255, 255, .12); box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 10px rgba(255, 255, 255, .04); }
.core img { width: 76px; height: auto; }
@keyframes core {
    0%, 20%, 40%, 100% { transform: scale(1) translateY(0); }
    25% { transform: scale(1.1); box-shadow: 0 30px 80px rgba(69, 96, 241, .55), 0 0 0 16px rgba(69, 96, 241, .14), inset 0 -6px 16px rgba(69, 96, 241, .12); }
    70% { transform: translateY(-6px); }
}

/* پستی که وارد هاب می‌شود */
.incoming {
    position: absolute; z-index: 3; right: 20px; top: 40px; width: 150px; padding: 10px 12px;
    border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--line);
    box-shadow: 0 16px 34px var(--shadow); backdrop-filter: blur(12px);
    animation: incoming 6s cubic-bezier(.6, 0, .4, 1) infinite;
}
.incoming b { display: block; font-size: 11.5px; font-weight: 500; }
.incoming span { display: block; height: 5px; border-radius: 3px; background: var(--divider); margin-top: 6px; }
.incoming span + span { width: 70%; }
.incoming i { display: flex; gap: 4px; margin-top: 8px; }
.incoming em { width: 14px; height: 14px; border-radius: 4px; background: var(--c); }
@keyframes incoming {
    0% { opacity: 0; transform: translate(40px, -10px) rotate(6deg); }
    6%, 10% { opacity: 1; transform: translate(0, 0) rotate(4deg); }
    24% { opacity: .9; transform: translate(-220px, 110px) scale(.25) rotate(0); }
    26%, 100% { opacity: 0; transform: translate(-220px, 110px) scale(.1); }
}

/* پیام‌رسان‌ها روی مدار بیرونی */
.planet {
    position: absolute; left: 0; top: 0; z-index: 3;
    offset-path: var(--path); offset-rotate: 0deg; offset-distance: var(--d, 0%);
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px 8px 10px; border-radius: 999px; white-space: nowrap;
    background: var(--glass-strong); border: 1px solid var(--line);
    box-shadow: 0 14px 30px var(--shadow); backdrop-filter: blur(12px);
    font-size: 14px; font-weight: 500;
    animation: orbit 28s linear infinite, depth 28s linear infinite;
}
.planet i { width: 30px; height: 30px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 800; box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 45%, transparent); }
.planet { --d: calc(var(--i) * 25%); animation-delay: calc(var(--i) * -7s), calc(var(--i) * -7s); }
@keyframes orbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* نیمه‌ی پایینی بیضی جلوی هاب، نیمه‌ی بالایی پشت آن */
@keyframes depth {
    0% { z-index: 3; transform: scale(.95); opacity: 1; }
    25% { z-index: 3; transform: scale(1.08); opacity: 1; }
    49% { z-index: 3; transform: scale(.95); }
    51% { z-index: 1; transform: scale(.93); }
    75% { z-index: 1; transform: scale(.8); opacity: .7; }
    99% { z-index: 1; transform: scale(.93); opacity: 1; }
    100% { z-index: 3; transform: scale(.95); }
}

/* تیک «ارسال شد» بعد از تپیدن هاب */
.tick {
    position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--ok); color: #fff; font-size: 11px; display: grid; place-items: center;
    box-shadow: 0 0 0 3px var(--bg); transform: scale(0);
    animation: tick 6s ease-out infinite;
}
.tick { animation-delay: calc(var(--i) * .15s); }
@keyframes tick {
    0%, 30% { transform: scale(0); }
    34% { transform: scale(1.25); }
    37%, 78% { transform: scale(1); }
    84%, 100% { transform: scale(0); }
}

/* ذره‌هایی که روی مدار درونی می‌گردند */
.spark {
    position: absolute; left: 0; top: 0; z-index: 1; width: 8px; height: 8px; border-radius: 50%;
    background: var(--c); box-shadow: 0 0 12px var(--c);
    offset-path: var(--path-in); offset-distance: var(--d, 0%);
    animation: orbit 12s linear infinite;
}
.spark { --d: calc(var(--i) * 16.66%); animation-delay: calc(var(--i) * -2s); }

@media (max-width: 860px) {
    .orbit {
        --w: 340px; --h: 300px;
        --path: path('M 296 150 A 126 110 0 1 1 44 150 A 126 110 0 1 1 296 150 Z');
        --path-in: path('M 260 150 A 90 62 0 1 1 80 150 A 90 62 0 1 1 260 150 Z');
    }
    .orbit-lines { display: none; }
    .orbit::before, .orbit::after {
        content: ''; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none;
    }
    .orbit::before { width: 252px; height: 220px; margin: -110px 0 0 -126px; border: 1.5px dashed rgba(69, 96, 241, .35); }
    .orbit::after { width: 180px; height: 124px; margin: -62px 0 0 -90px; border: 1px solid var(--divider); }
    .halo { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
    .core { width: 96px; height: 96px; margin: -54px 0 0 -48px; border-radius: 28px; }
    .core img { width: 56px; }
    .incoming { right: 0; top: 0; width: 120px; }
    @keyframes incoming {
        0% { opacity: 0; transform: translate(30px, -10px) rotate(6deg); }
        6%, 10% { opacity: 1; transform: none; }
        24% { opacity: .9; transform: translate(-100px, 110px) scale(.25); }
        26%, 100% { opacity: 0; transform: translate(-100px, 110px) scale(.1); }
    }
    .planet { font-size: 12.5px; padding: 6px 12px 6px 8px; gap: 6px; }
    .planet i { width: 24px; height: 24px; font-size: 11px; }
    .wave { width: 110px; height: 80px; margin: -40px 0 0 -55px; }
}

@media (prefers-reduced-motion: reduce) {
    .planet, .spark { animation: none !important; }
    .tick { transform: scale(1); }
    .incoming { display: none; }
}

/* قبل و بعد */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 0 auto; }
.vs-col { border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); backdrop-filter: blur(14px); }
.vs-before { background: var(--glass); }
.vs-after { background: var(--glass-strong); box-shadow: 0 20px 40px var(--shadow); }
.vs-col h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.vs-col li { position: relative; padding: 11px 26px 11px 0; font-size: 13.5px; border-top: 1px solid var(--divider); }
.vs-col li::before { position: absolute; right: 0; top: 11px; font-size: 13px; font-weight: 700; }
.vs-before li { color: var(--ink-3); }
.vs-before li::before { content: '✕'; color: var(--bad); }
.vs-after li::before { content: '✓'; color: var(--ok); }

/* مخاطبان و امکانات */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature, .who { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.feature:hover, .who:hover { transform: translateY(-3px); background: var(--glass-strong); box-shadow: 0 16px 34px var(--shadow); }

/* ---------- پلن‌ها ---------- */
.billing-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.billing-toggle { display: inline-flex; gap: 4px; padding: 5px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.billing-btn { font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; padding: 7px 18px; border-radius: 8px; cursor: pointer; }
.billing-btn.is-active { background: var(--navy); color: var(--navy-ink); }
.save-pill { font-size: 12.5px; font-weight: 700; color: #0f8a50; background: rgba(31, 174, 99, .12); border: 1px solid rgba(31, 174, 99, .3); padding: 6px 14px; border-radius: 999px; }
html.dark .save-pill { color: #5fe39f; }
#pricing.is-yearly .save-pill { background: var(--ok); color: #fff; }
.save-hint { text-align: center; font-size: 13px; color: var(--ink-2); margin: 12px 0 30px; }
.save-hint strong { color: var(--ok); }
.trial-strip {
    display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
    margin: 18px auto 22px; padding: 12px 18px; max-width: 720px; text-align: center;
    font-size: 13.5px; line-height: 1.9; color: #0f6b47;
    background: rgba(31, 174, 99, .09); border: 1px solid rgba(31, 174, 99, .25); border-radius: 14px;
}
.trial-strip strong { font-weight: 800; }
html.dark .trial-strip { color: #8fe8bb; background: rgba(31, 174, 99, .14); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.plan {
    position: relative; display: flex; flex-direction: column;
    background: var(--glass); border: 1px solid var(--line); border-radius: 20px;
    padding: 24px 20px; backdrop-filter: blur(14px);
}
.plan-name { font-size: 17px; font-weight: 500; }
.plan-for { font-size: 12.5px; color: var(--ink-2); min-height: 44px; margin-top: 4px; }
.plan-trial { align-self: flex-start; display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 8px; font-size: 11.5px; font-weight: 700; color: #0f7a53; background: rgba(31, 174, 99, .1); }
.plan-featured .plan-trial { color: #a8f5cf; background: rgba(95, 227, 159, .16); }
.plan-old { font-size: 13px; color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--bad); margin-top: 6px; }
.plan-old:empty { display: none; }
.plan-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.plan-price strong { font-size: 40px; font-weight: 400; letter-spacing: -1px; line-height: 1.25; }
.plan-price span { font-size: 12.5px; color: var(--ink-2); }
.plan-price-text { font-size: 30px !important; }
.plan-billed { font-size: 12px; color: var(--ink-3); margin: 4px 0 2px; }
.plan-save { display: none; font-size: 12px; font-weight: 700; color: #0f8a50; background: rgba(31, 174, 99, .12); border-radius: 8px; padding: 3px 10px; margin-top: 4px; align-self: flex-start; }
#pricing.is-yearly .plan-save { display: block; }
.plan .btn { margin-top: 16px; }
.plan-list { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--divider); }
.plan-list li { position: relative; padding: 5px 22px 5px 0; font-size: 13px; color: var(--ink-2); }
.plan-list li::before { content: '✓'; position: absolute; right: 0; top: 5px; font-size: 12px; font-weight: 700; color: var(--ok); }
.plan-list li:has(strong)::before { content: none; }
.plan-list li:has(strong) { padding-right: 0; }
.plan-list strong { font-weight: 500; color: var(--ink); }

.plan-featured {
    background: #1b2230; color: #fff; border-color: #1b2230;
    box-shadow: 0 30px 60px rgba(27, 34, 48, .28);
    transform: translateY(-8px);
}
html.dark .plan-featured { background: #1f2740; border-color: rgba(142, 160, 255, .35); }
.plan-featured .plan-for, .plan-featured .plan-price span, .plan-featured .plan-list li { color: #b3bac8; }
.plan-featured .plan-billed, .plan-featured .plan-old { color: #8b93a3; }
.plan-featured .plan-list { border-color: rgba(255, 255, 255, .1); }
.plan-featured .plan-list strong { color: #fff; }
.plan-featured .plan-list li::before { color: #5fe39f; }
.plan-featured .plan-save { color: #5fe39f; background: rgba(95, 227, 159, .14); }
.plan-badge {
    position: absolute; top: -12px; right: 20px;
    font-size: 11px; font-weight: 700; color: #fff;
    background: linear-gradient(90deg, var(--brand), var(--violet));
    padding: 3px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(69, 96, 241, .35);
}

.support-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.support-tier { padding: 18px; }
.support-tier h3 { font-size: 14.5px; }
.support-tier p { font-size: 12.5px; }
.tier-tag { display: inline-block; font-size: 11px; font-weight: 500; color: var(--ink-3); margin-bottom: 4px; }

/* جدول مقایسه */
.compare-table { margin-top: 18px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); }
.compare-table summary { list-style: none; cursor: pointer; text-align: center; padding: 14px; }
.compare-table summary::-webkit-details-marker { display: none; }
.compare-table summary span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; padding: 8px 20px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--line); }
.compare-table summary span::after { content: '⌄'; font-size: 16px; line-height: 1; margin-top: -6px; transition: transform .2s; }
.compare-table[open] summary span::after { transform: rotate(180deg); margin-top: 4px; }
.table-scroll { overflow-x: auto; padding: 0 16px 16px; }
.compare-table table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.compare-table th, .compare-table td { padding: 10px 8px; text-align: center; border-top: 1px solid var(--divider); }
.compare-table tbody th { text-align: right; font-weight: 500; color: var(--ink-2); }
.compare-table thead th { font-size: 14px; font-weight: 500; border-top: 0; padding: 14px 8px; }
.compare-table thead th.col-popular { background: #1b2230; color: #fff; border-radius: 12px 12px 0 0; }
html.dark .compare-table thead th.col-popular { background: #1f2740; }
.compare-table thead th.col-popular span { display: block; font-size: 10.5px; color: #a9b6ff; }
.compare-table td:nth-child(4) { background: rgba(69, 96, 241, .06); }
.mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; flex: none; }
.mark::before { font-size: 12px; font-weight: 900; line-height: 1; }
.mark.yes { background: var(--ok); }
.mark.yes::before { content: '✓'; color: #fff; }
.mark.no { background: rgba(228, 72, 95, .1); border: 1.5px solid rgba(228, 72, 95, .45); }
.mark.no::before { content: '✕'; color: var(--bad); font-size: 11px; }
.swipe-hint { display: none; text-align: center; font-size: 12px; color: var(--ink-3); margin: 0 0 10px; }

/* مسیر خرید */
.buyflow { margin-top: 18px; border-radius: 22px; padding: 26px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--glass-strong), rgba(221, 228, 251, .7)); }
html.dark .buyflow { background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(69, 96, 241, .12)); }
.buyflow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.buyflow-head h3 { font-size: 20px; font-weight: 500; }
.time-pill { font-size: 12px; color: var(--ink-2); background: var(--glass-strong); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.buyflow-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.buyflow-steps li { background: var(--glass-strong); border-radius: 14px; padding: 16px 18px; }
.buyflow-steps b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: var(--navy-ink); font-size: 12.5px; margin-bottom: 8px; }
.buyflow-steps strong { display: block; font-size: 14px; font-weight: 500; }
.buyflow-steps p { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; }

/* ---------- نحوه‌ی شروع ---------- */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: none; }
.journey-step { display: flex; flex-direction: column; }
.journey-num { font-size: 52px; font-weight: 400; line-height: 1.1; color: var(--ink-3); opacity: .55; margin-bottom: 10px; }
.mini { margin-top: auto; padding-top: 16px; }
.mini-otp { display: flex; gap: 5px; direction: ltr; justify-content: flex-end; }
.mini-otp i { width: 28px; height: 34px; border-radius: 8px; background: var(--glass-strong); border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: 14px; font-weight: 500; }
.mini-code { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 11.5px; }
.mini-code span { font-family: monospace; font-size: 12px; background: var(--glass-strong); border: 1px dashed var(--ink-3); padding: 4px 10px; border-radius: 8px; }
.mini-code em { font-style: normal; color: var(--ok); font-weight: 500; }
.mini-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.mini-chips span { font-size: 11px; color: #fff; background: var(--c); padding: 2px 10px; border-radius: 999px; }
.mini-done { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; }
.mini-done b { width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 11px; }

/* ---------- امنیت ---------- */
.sec { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 28px; align-items: center; }
.sec-card { min-height: 290px; display: flex; flex-direction: column; justify-content: flex-end; }
.sec-art { flex: 1; display: grid; place-items: center; padding-bottom: 12px; }
.otp { display: flex; gap: 7px; direction: ltr; }
.otp b { width: 40px; height: 50px; border-radius: 10px; background: var(--glass-strong); border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; font-weight: 500; box-shadow: 0 6px 14px var(--shadow); }
.otp b.cur { box-shadow: 0 0 0 2px var(--brand); }
.claim { display: grid; gap: 10px; justify-items: center; }
.claim span { font-family: monospace; font-size: 16px; letter-spacing: 1px; background: var(--glass-strong); border: 1px dashed var(--ink-3); padding: 8px 16px; border-radius: 10px; }
.claim em { font-style: normal; font-size: 12.5px; font-weight: 500; color: #fff; background: var(--ok); padding: 3px 12px; border-radius: 999px; }
.sec-mid { text-align: center; }
.shield { width: 130px; height: 150px; margin: 0 auto 14px; filter: drop-shadow(0 24px 30px rgba(22, 163, 95, .28)); animation: float 6s ease-in-out infinite; }
.sec-mid h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; letter-spacing: -.8px; line-height: 1.45; }
.sec-lead { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
.sec-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.sec-points li { position: relative; padding: 14px 44px 14px 16px; font-size: 13px; color: var(--ink-2); border-radius: 14px; background: var(--glass); border: 1px solid var(--line); }
.sec-points li::before { content: '✓'; position: absolute; right: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; }

/* ---------- سوالات ---------- */
.faq { max-width: 780px; }
.faq-group { font-size: 13px; font-weight: 500; color: var(--ink-3); margin: 26px 4px 10px; }
.faq details { background: var(--glass); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 8px; backdrop-filter: blur(14px); transition: background-color .2s; }
.faq details[open] { background: var(--glass-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-size: 14.5px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 17px; background: var(--glass-strong); border: 1px solid var(--line); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 18px 16px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 24px; }
.cta h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 400; letter-spacing: -1.2px; line-height: 1.4; }
.cta p { font-size: 14.5px; color: var(--ink-2); max-width: 440px; margin: 16px 0 22px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-stage { position: relative; height: 340px; }
.plane-sm { width: 140px; right: auto; left: 10px; top: 0; }
.post-card {
    position: absolute; right: 30px; top: 40px; width: 280px;
    background: var(--glass-strong); border: 1px solid var(--line); border-radius: 20px;
    padding: 14px; transform: rotate(-5deg); backdrop-filter: blur(14px);
    box-shadow: 30px 40px 60px rgba(27, 34, 48, .16);
}
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head img { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, #7b93ff, #4560f1); }
.post-head b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.5; }
.post-head span { font-size: 10.5px; color: var(--ink-3); }
.post-media { display: grid; grid-template-columns: 1.4fr 1fr; gap: 6px; margin: 12px 0 10px; }
.post-media span { height: 92px; border-radius: 12px; background: linear-gradient(135deg, #dfe5fb, #c9d3fa); }
.post-media span + span { background: linear-gradient(135deg, #ffe7d6, #ffd2b8); }
.post-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.9; }
.post-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.dots { display: flex; gap: 4px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.post-foot em { font-style: normal; font-size: 11px; color: var(--ok); font-weight: 500; }

/* ---------- فوتر ---------- */
.site-footer { padding: 30px 0 24px; }
.footer-panel {
    position: relative; overflow: hidden;
    border-radius: 28px; padding: 40px 40px 22px;
    background: linear-gradient(160deg, var(--glass-strong), var(--glass));
    border: 1px solid var(--line); backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px var(--shadow);
}
.footer-panel::before {
    content: ''; position: absolute; width: 420px; height: 420px; left: -120px; top: -160px; border-radius: 50%;
    background: radial-gradient(circle, rgba(69, 96, 241, .18), transparent 65%); pointer-events: none;
}
.footer-top { position: relative; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 28px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 14px; max-width: 300px; }
.footer-messengers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.footer-messengers span { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 3px 10px 3px 12px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line); }
.footer-messengers span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.footer-col h3 { font-size: 12.5px; font-weight: 500; color: var(--ink-3); margin-bottom: 4px; }
.footer-col a { width: fit-content; position: relative; transition: color .2s; }
.footer-col a:not(.contact-chip)::after { content: ''; position: absolute; right: 0; bottom: 2px; width: 0; height: 1px; background: currentColor; transition: width .25s ease; }
.footer-col a:hover { color: var(--ink); }
.footer-col a:hover::after { width: 100%; }
.contact-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border-radius: 12px; background: var(--glass-strong); border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.contact-chip:hover { transform: translateY(-2px); box-shadow: 0 10px 22px var(--shadow); }
.contact-chip svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.footer-mark {
    position: relative; margin: 26px 0 -28px; text-align: center; white-space: nowrap;
    font-size: clamp(64px, 13vw, 168px); font-weight: 900; line-height: 1.1; letter-spacing: -2px;
    color: rgba(20, 24, 34, .07);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 90%); mask-image: linear-gradient(180deg, #000 30%, transparent 90%);
    user-select: none;
}
html.dark .footer-mark { color: rgba(255, 255, 255, .06); }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--divider); }
.copyright { font-size: 12px; color: var(--ink-3); }
.to-top { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.to-top span { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--navy); color: var(--navy-ink); transition: transform .2s; }
.to-top:hover span { transform: translateY(-3px); }

.mobile-bar { display: none; }

/* ---------- ظاهر شدن هنگام اسکرول ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1020px) {
    .main-nav { display: none; position: absolute; top: 70px; right: 24px; left: 24px; }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; background: var(--glass-strong); padding: 8px; box-shadow: 0 20px 40px var(--shadow); }
    .main-nav a { padding: 10px 14px; font-size: 14px; }
    .nav-toggle { display: grid; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .who-grid, .plans, .support-tiers, .journey, .stats, .cards4 { grid-template-columns: repeat(2, 1fr); }
    .plan-featured { transform: none; }
    .sec { grid-template-columns: 1fr 1fr; }
    .sec-mid { grid-column: 1 / -1; order: -1; }
}

@media (max-width: 860px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { min-height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
    .vs, .buyflow-steps, .sec-points, .cta { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-panel { padding: 28px 22px 18px; border-radius: 22px; }
    .cta-stage { height: 320px; max-width: 380px; width: 100%; margin: 0 auto; }
}

@media (max-width: 640px) {
    body { font-size: 14px; }
    .hide-sm { display: none; }
    .header-inner { height: 58px; }
    .brand { font-size: 15px; }
    .hero { padding-top: 16px; }
    .hero-lead { font-size: 15px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-visual { min-height: 380px; }
    .composer { width: 86%; }
    .toast { right: 2%; bottom: 0; font-size: 12px; }
    .section { padding: 52px 0; }
    .section-head { margin-bottom: 28px; }
    .who-grid, .feature-grid, .plans, .support-tiers, .journey, .sec, .cards4 { grid-template-columns: 1fr; }
    .stats { gap: 10px; }
    .stat { padding: 16px; }
    .stat strong { font-size: 32px; }
    .sec-card { min-height: 0; }
    .sec-art { padding: 10px 0 18px; }
    .swipe-hint { display: block; }
    .compare-table th:first-child, .compare-table td:first-child { position: sticky; right: 0; background: var(--bg-2); z-index: 1; }
    .post-card { right: 50%; margin-right: -140px; }
    .plane-sm { width: 100px; }
    body { padding-bottom: 72px; }
    .mobile-bar {
        display: flex; gap: 8px; position: fixed; z-index: 60; right: 12px; left: 12px; bottom: 12px;
        padding: 8px; border-radius: 16px; background: var(--glass-strong); border: 1px solid var(--line);
        backdrop-filter: blur(16px); box-shadow: 0 16px 40px var(--shadow);
        transform: translateY(140%); transition: transform .3s ease;
    }
    .mobile-bar.show { transform: none; }
    .mobile-bar .btn { flex: 1; }
}

/* ---------- ویدیوی معرفی ---------- */
.video-link-icon {
    position: relative; width: 34px; height: 34px; border-radius: 50%; flex: none;
    background: var(--glass-strong); border: 1px solid var(--line); box-shadow: 0 6px 16px var(--shadow);
    transition: transform .2s;
}
.video-link-icon::after {
    content: ''; position: absolute; top: 50%; left: 50%; translate: -38% -50%;
    border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 10px solid var(--brand);
}
.btn .video-link-icon { width: 26px; height: 26px; box-shadow: none; }
.btn:hover .video-link-icon { transform: scale(1.08); }

.video-frame {
    position: relative; max-width: 960px; margin: 0 auto; scroll-margin-top: 90px; padding: 10px;
    border-radius: 28px; background: var(--glass); border: 1px solid var(--line);
    backdrop-filter: blur(14px); box-shadow: 0 30px 70px var(--shadow);
}
.video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 20px; background: #e9ebef; object-fit: cover; }
.video-play {
    position: absolute; bottom: 4.5%; left: 50%; translate: -50% 0;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 22px 10px 12px; border-radius: 999px; border: 0; cursor: pointer;
    font: inherit; font-size: 15px; font-weight: 500; color: var(--navy-ink);
    background: var(--navy); box-shadow: 0 18px 40px rgba(27, 34, 48, .3), 0 0 0 8px rgba(255, 255, 255, .45);
    transition: transform .2s, opacity .3s;
}
.video-play small { font-size: 12.5px; opacity: .65; }
.video-play-icon {
    position: relative; width: 38px; height: 38px; border-radius: 50%; flex: none;
    background: rgba(255, 255, 255, .14);
}
html.dark .video-play-icon { background: rgba(14, 17, 23, .1); }
.video-play-icon::after {
    content: ''; position: absolute; top: 50%; left: 50%; translate: -38% -50%;
    border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 13px solid currentColor;
}
.video-play-icon::before {
    content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(142, 160, 255, .55);
    animation: video-ring 2.2s ease-out infinite;
}
.video-play:hover { transform: translateY(-2px); }
@keyframes video-ring { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
    .video-frame { padding: 6px; border-radius: 18px; }
    .video-frame video { border-radius: 13px; }
    .video-frame { text-align: center; }
    .video-play { position: static; translate: none; margin: 10px auto 4px; padding: 6px 16px 6px 8px; font-size: 13.5px; gap: 8px; box-shadow: 0 10px 24px rgba(27, 34, 48, .25); }
    .video-frame.is-playing .video-play { display: none; }
    .video-play-icon { width: 28px; height: 28px; }
}

/* ---------- نگاهی به پنل ---------- */
.shots { max-width: 1040px; margin: 0 auto; }
.shot-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: fit-content; margin: 0 auto 18px; padding: 5px; border-radius: 14px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.shot-tab { font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: transparent; border: 0; padding: 8px 18px; border-radius: 10px; cursor: pointer; min-height: 40px; transition: background-color .2s, color .2s; }
.shot-tab:hover { color: var(--ink); background: var(--glass-strong); }
.shot-tab.is-active { background: var(--navy); color: var(--navy-ink); }
.shot-frame { border-radius: 22px; padding: 0 10px 10px; background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: 0 30px 70px var(--shadow); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 12px 6px; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--divider); }
.shot-bar span { margin-right: auto; font-size: 12px; color: var(--ink-3); }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--bg-2); }
.shot .shot-dark { display: none; }
html.dark .shot .shot-light { display: none; }
html.dark .shot .shot-dark { display: block; }
.shot-note { text-align: center; font-size: 12.5px; color: var(--ink-3); margin-top: 12px; }

/* ---------- دغدغه‌ها و راه‌حل‌ها ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1040px; margin: 0 auto; }
.case h3 { margin-bottom: 12px; }
.case p { display: grid; gap: 4px; font-size: 13.5px; padding: 12px 14px; border-radius: 12px; margin-top: 8px; }
.case p b { font-size: 12px; font-weight: 700; }
.case-pain { background: rgba(228, 72, 95, .06); }
.case-pain b { color: var(--bad); }
.case-fix { background: rgba(31, 174, 99, .08); color: var(--ink) !important; }
.case-fix b { color: #0f8a50; }
html.dark .case-fix b { color: #5fe39f; }
@media (max-width: 860px) { .case-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .shot-tab { padding: 8px 12px; font-size: 13px; } .shot-frame { padding: 0 6px 6px; border-radius: 16px; } }

/* =========================================================
   انیمیشن‌های صفحه
   ========================================================= */
/* نوار پیشرفت اسکرول */
.scroll-progress {
    position: fixed; top: 0; right: 0; left: 0; z-index: 70; height: 3px;
    transform-origin: right; transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--violet), var(--brand), #2aa7e8);
}
/* هدر بعد از اسکرول شیشه‌ای می‌شود */
.site-header .header-inner { transition: height .3s ease, padding .3s ease, background-color .3s, box-shadow .3s, border-color .3s; border: 1px solid transparent; border-radius: 16px; }
.site-header.scrolled .header-inner { height: 56px; padding: 0 12px; background: var(--glass-strong); border-color: var(--line); box-shadow: 0 12px 30px var(--shadow); backdrop-filter: blur(16px); }
.site-header::before { transition: opacity .3s; }
.site-header.scrolled::before { opacity: 0; }

/* ورود هیرو */
.js .hero-text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .hero-text > :nth-child(1) { animation-delay: .05s; }
.js .hero-text > :nth-child(2) { animation-delay: .15s; }
.js .hero-text > :nth-child(3) { animation-delay: .28s; }
.js .hero-text > :nth-child(4) { animation-delay: .4s; }
.js .hero-text > :nth-child(5) { animation-delay: .52s; }
.js .hero-text > :nth-child(6) { animation-delay: .62s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .composer { animation: composer-in 1s cubic-bezier(.2, .7, .2, 1) .25s backwards; }
@keyframes composer-in { from { opacity: 0; transform: translate(-50%, -38%) scale(.94); } }
.js .canvas-wrap { animation: rise 1.2s ease .5s backwards; }
.js .toast { animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) 1.1s backwards, float 4s ease-in-out 1.7s infinite; }
@keyframes pop { from { opacity: 0; scale: .5; } }

/* ردیف فعالِ هیرو خودکار عوض می‌شود */
.hero-rows li { transition: background-color .4s, color .4s, box-shadow .4s; }
.hero-rows li::before { transition: width .4s, height .4s, background-color .4s, opacity .4s; }
.hero-rows .go { display: none; }
.hero-rows li.is-on .go { display: block; animation: nudge 1.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(-4px); } }

/* نور روی کارت‌ها زیر نشانگر موس */
.card, .stat { position: relative; }
.card::after, .plan::after, .stat::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(69, 96, 241, .12), transparent 60%);
    transition: opacity .3s;
}
.card:hover::after, .plan:hover::after, .stat:hover::after { opacity: 1; }
.plan-featured::after { background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .1), transparent 60%); }

/* درخشش روی دکمه‌ی تیره */
.btn-dark { position: relative; overflow: hidden; }
.btn-dark::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
    transform: skewX(-20deg); transition: left .6s ease;
}
.btn-dark:hover::after { left: 120%; }


/* کارت‌ها با کمی بزرگ‌نمایی ظاهر می‌شوند */
.js .card.reveal, .js .plan.reveal, .js .stat.reveal { transform: translateY(22px) scale(.97); }
.js .card.reveal.in, .js .plan.reveal.in, .js .stat.reveal.in { transform: none; }
.js .plan-featured.reveal.in { transform: translateY(-8px); }

/* باز شدن نرم سوال‌ها */
.faq details[open] p { animation: rise .35s ease; }

/* مسیر خرید: عددها نوبتی روشن می‌شوند */
.buyflow.in .buyflow-steps b { animation: blink-step 4.5s ease-in-out infinite; }
.buyflow.in .buyflow-steps li:nth-child(2) b { animation-delay: 1.5s; }
.buyflow.in .buyflow-steps li:nth-child(3) b { animation-delay: 3s; }
@keyframes blink-step { 0%, 30%, 100% { box-shadow: 0 0 0 0 rgba(69, 96, 241, 0); } 10% { box-shadow: 0 0 0 6px rgba(69, 96, 241, .25); } }

/* نشان بزرگ فوتر هنگام دیده شدن بالا می‌آید */
.js .footer-panel.reveal { transform: none; }
.js .footer-panel.reveal .footer-mark { transform: translateY(40px); opacity: 0; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1) .2s, opacity 1.2s ease .2s; }
.js .footer-panel.reveal.in .footer-mark { transform: none; opacity: 1; }

@media (max-width: 1020px) {
    .js .plan-featured.reveal.in { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .feature, .who, .mobile-bar { transition: none; }
    .js .footer-panel.reveal .footer-mark { opacity: 1; transform: none; }
    .scroll-progress { display: none; }
}
