/*
 * سایت عمومی — همان سیستم طراحی پنل درگاه (cg.css): توکن‌های رنگ، قلم‌ها،
 * پنل «جوهری» با نقش‌مایهٔ لوزی و کارت‌های گرد بدون سایه.
 * توکن‌ها عیناً از crypto-gateway/public/css/cg.css برداشته شده‌اند؛ اگر آنجا
 * عوض شدند، این بخش را هم هم‌گام کنید.
 */

/* ══════════════════ TOKENS ══════════════════ */
:root,
[data-theme="light"] {
    --bg: #FFFFFF;
    --panel: #F3F5F8;
    --surface: #FFFFFF;
    --surface2: #F6F7F9;
    --line: #E8EBF0;
    --line-strong: #DCE0E7;
    --text: #0E1420;
    --text2: #465064;
    --text3: #7A8394;
    --accent: #1F5BD6;
    --accent-hover: #1747A8;
    --accentSoft: #EBF1FD;
    --onAccent: #FFFFFF;
    --good: #0B7A50;  --goodSoft: #E4F4EC;
    --warn: #965400;  --warnSoft: #FCF0DA;
    --bad: #B42335;   --badSoft: #FBE8EA;
    --info: #0A6684;  --infoSoft: #E1F1F6;
    --ink: #0D2350;
    --graphite: #161B23;
    --shadow-pop: 0 16px 40px -12px rgba(14, 20, 32, .22), 0 2px 6px rgba(14, 20, 32, .06);
    color-scheme: light;
}

[data-theme="dark"] {
    --bg: #0B0E14;
    --panel: #11151D;
    --surface: #181D27;
    --surface2: #1D2330;
    --line: #262D3A;
    --line-strong: #323B4B;
    --text: #E9EDF3;
    --text2: #A5AEBE;
    --text3: #7F8A9C;
    --accent: #7AA4FF;
    --accent-hover: #9DBCFF;
    --accentSoft: rgba(122, 164, 255, .14);
    --onAccent: #08101F;
    --good: #3CCB8B;  --goodSoft: rgba(60, 203, 139, .13);
    --warn: #F2B13C;  --warnSoft: rgba(242, 177, 60, .12);
    --bad: #F27783;   --badSoft: rgba(242, 119, 131, .13);
    --info: #4CC9E6;  --infoSoft: rgba(76, 201, 230, .12);
    --ink: #12224A;
    --graphite: #1A1F29;
    --shadow-pop: 0 18px 44px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
    color-scheme: dark;
}

:root {
    --font-fa: 'Vazirmatn', 'Inter', system-ui, sans-serif;
    --font-en: 'Inter', 'Vazirmatn', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --wrap: 1240px;
    --gutter: 24px;
    --section-y: clamp(56px, 7vw, 104px);
}

/* ══════════════════ BASE ══════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0; min-height: 100vh;
    background: var(--bg); color: var(--text);
    font-family: var(--font-fa); font-size: 15px; line-height: 1.8;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { color: var(--text); margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }
::selection { background: var(--accentSoft); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.en { font-family: var(--font-en); }
.mono { font-family: var(--font-mono); }
.num { font-family: var(--font-en); font-feature-settings: 'tnum'; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-panel { background: var(--panel); }
@media (max-width: 575.98px) { :root { --gutter: 16px; } }

/* ══════════════════ BRAND ══════════════════ */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; background: var(--accent); display: grid; place-items: center; flex: none; }
.logo-mark::before { content: ""; width: 11px; height: 11px; border: 2.5px solid var(--onAccent); border-radius: 3px; transform: rotate(45deg); }
.logo-name { font-weight: 900; font-size: 22px; letter-spacing: -.3px; line-height: 1; }

/* ══════════════════ BUTTONS ══════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
    font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; white-space: nowrap;
    cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s;
}
.btn i { font-size: 13px; }
.btn-primary { background: var(--accent); color: var(--onAccent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--onAccent); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--text); font-weight: 600; }
.btn-outline:hover { border-color: var(--line-strong); background: var(--panel); color: var(--text); }
.btn-white { background: #fff; color: #0D2350; font-weight: 800; }
.btn-white:hover { background: #E8EEFB; color: #0D2350; }
.btn-ghost-white { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; font-weight: 600; }
.btn-ghost-white:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-lg { height: 54px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.btn-md { height: 50px; padding: 0 22px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ══════════════════ NAV ══════════════════ */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav-bar { height: 72px; display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; gap: 4px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
    display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px;
    font-size: 15px; font-weight: 500; color: var(--text2); background: none; border: none; cursor: pointer;
}
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link.active { background: var(--panel); color: var(--text); }
.nav-link .chev { font-size: 10px; color: var(--text3); transition: transform .2s; }
.nav-item.open .chev { transform: rotate(180deg); }
.nav-menu {
    position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 300px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px;
    box-shadow: var(--shadow-pop); display: none; z-index: 60;
}
.nav-item.open .nav-menu { display: block; animation: fadeUp .18s var(--ease-out); }
.nav-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--text); }
.nav-menu a:hover { background: var(--panel); color: var(--text); }
.nav-menu .ic { width: 38px; height: 38px; flex: none; border-radius: 11px; background: var(--accentSoft); color: var(--accent); display: grid; place-items: center; font-size: 15px; }
.nav-menu .t { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.nav-menu .d { display: block; font-size: 13px; color: var(--text3); line-height: 1.7; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-login { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-login:hover { color: var(--accent); }
.icon-btn {
    width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
    color: var(--text); font-size: 16px; display: grid; place-items: center; cursor: pointer; flex: none;
}
.icon-btn:hover { background: var(--panel); }
.icon-btn.plain { border-color: transparent; background: transparent; color: var(--text2); width: 40px; height: 40px; }
.icon-btn.plain:hover { background: var(--panel); color: var(--text); }
.nav-burger { display: none; }
.nav-mobile { display: none; padding: 8px 16px 20px; flex-direction: column; gap: 2px; border-top: 1px solid var(--line); max-height: calc(100vh - 72px); overflow-y: auto; }
.nav.menu-open .nav-mobile { display: flex; }
.nav-mobile a.row {
    display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 10px;
    font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--line);
}
.nav-mobile a.row i { font-size: 11px; color: var(--text3); }
.nav-mobile .sub { padding: 4px 10px 10px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.nav-mobile .sub-title { font-size: 13px; font-weight: 700; color: var(--text3); padding: 12px 0 4px; }
.nav-mobile .sub a { padding: 9px 0; font-size: 15px; color: var(--text2); display: flex; gap: 10px; align-items: center; }
.nav-mobile .sub a i { width: 18px; color: var(--accent); font-size: 13px; text-align: center; }
.nav-mobile .btn { margin-top: 14px; height: 52px; font-size: 16px; }
@media (max-width: 991.98px) {
    .nav-links, .nav-actions .btn, .nav-actions .theme-desk { display: none; }
    .nav-bar { gap: 12px; }
    .nav-actions { margin-inline-start: auto; }
    .nav-burger { display: grid; }
}

/* ══════════════════ SECTION HEAD ══════════════════ */
.eyebrow { font-size: 14px; font-weight: 700; color: var(--accent); }
.s-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.s-head.center { margin-inline: auto; text-align: center; align-items: center; }
.s-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.35; font-weight: 900; text-wrap: balance; }
.s-lead { font-size: 16px; line-height: 1.9; color: var(--text2); text-wrap: pretty; }
.s-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 40px; }

.chip {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; color: var(--accent); background: var(--accentSoft);
    padding: 6px 14px; border-radius: 20px;
}
.chip::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); border-radius: 1px; }
.chip.on-ink { color: #9DBBFF; background: rgba(255, 255, 255, .08); }

/* ══════════════════ HERO ══════════════════ */
.hero {
    padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: clamp(36px, 5vw, 64px); align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(36px, 5vw, 62px); line-height: 1.25; font-weight: 900; letter-spacing: -1px; text-wrap: balance; }
.hero-text { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; color: var(--text2); max-width: 540px; text-wrap: pretty; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.checks { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--text2); }
.checks span { display: flex; align-items: center; gap: 8px; }
.checks i { color: var(--good); }

/* پنل جوهری با لوزی‌ها */
.ink {
    background: var(--ink); color: #fff; border-radius: 32px; position: relative; overflow: hidden;
}
.ink > :not(.dz) { position: relative; }
.dz { position: absolute; border: 1px solid rgba(255, 255, 255, .08); transform: rotate(45deg); pointer-events: none; }
.hero-art { padding: clamp(24px, 4vw, 44px); min-height: 480px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; }
.hero-art .dz.a { left: -160px; bottom: -160px; width: 480px; height: 480px; border-radius: 44px; }
.hero-art .dz.b { left: -70px; bottom: -70px; width: 300px; height: 300px; border-radius: 30px; border-color: rgba(255, 255, 255, .11); }
.hero-art .dz.c { right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 26px; border-color: rgba(255, 255, 255, .07); }

/* رسید نمونه — همیشه روشن، مستقل از تم */
.receipt { width: 100%; max-width: 360px; background: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); color: #0E1420; }
.receipt-top { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: #667085; }
.timer { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #965400; background: #FCF0DA; padding: 3px 9px; border-radius: 20px; }
.timer i { font-size: 10px; }
.receipt-amount { font-family: var(--font-en); font-feature-settings: 'tnum'; font-size: 30px; font-weight: 700; color: #0E1420; text-align: right; margin-top: -8px; direction: ltr; }
.receipt-amount small { font-size: 15px; color: #667085; }
.receipt-pay { display: flex; gap: 12px; align-items: center; }
.qr { width: 84px; height: 84px; flex: none; border-radius: 12px; border: 1px solid #E5E8EE; background: #fff; padding: 6px; }
.qr svg { width: 100%; height: 100%; display: block; }
.addr { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.addr code { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.6; color: #465064; word-break: break-all; background: #F3F5F8; padding: 8px 10px; border-radius: 9px; direction: ltr; text-align: left; }
.addr code b { color: #0E1420; }
.addr .net { align-self: flex-end; font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; color: #1F5BD6; background: #EBF1FD; padding: 2px 7px; border-radius: 6px; }
.toast-ok { align-self: flex-start; display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .45); color: #0E1420; animation: floatY 5s ease-in-out infinite; }
.toast-ok .ok { width: 34px; height: 34px; border-radius: 11px; background: #3CCB8B; color: #08291C; display: grid; place-items: center; transform: rotate(45deg); flex: none; }
.toast-ok .ok i { transform: rotate(-45deg); font-size: 13px; }
.toast-ok b { display: block; font-size: 13.5px; line-height: 1.5; }
.toast-ok span { display: block; font-size: 12px; color: #667085; line-height: 1.5; }

/* ══════════════════ COINS STRIP ══════════════════ */
.coins-strip { border-block: 1px solid var(--line); background: var(--panel); }
.coins-strip .wrap { padding-block: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.coins-strip .label { font-size: 15px; font-weight: 700; color: var(--text2); }
.coin-list { display: flex; gap: 10px; flex-wrap: wrap; direction: ltr; }
.coin-pill { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 6px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.coin-ic { width: 28px; height: 28px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; font-family: var(--font-mono); font-size: 8.5px; font-weight: 600; color: var(--text); flex: none; }
.coin-pill .sym { font-family: var(--font-en); font-size: 13.5px; font-weight: 600; color: var(--text); }
.coin-pill .net { font-family: var(--font-mono); font-size: 10.5px; color: var(--text3); }

/* ══════════════════ CARDS ══════════════════ */
.grid { display: grid; gap: 20px; }
.grid-270 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-420 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; }

.tile { background: var(--panel); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; color: var(--text); transition: background .15s; }
a.tile:hover { background: var(--accentSoft); color: var(--text); }
.tile.on-surface { background: var(--surface); }
.tile-ic { width: 52px; height: 52px; border-radius: 16px; background: var(--surface); color: var(--accent); display: grid; place-items: center; font-size: 20px; }
.tile-title { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.5; }
.tile-text { font-size: 15px; line-height: 1.85; color: var(--text2); flex: 1; }
.tile-link { display: flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--accent); }
.tile-link i { font-size: 10px; }
.step-n { width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 800; }

/* ══════════════════ DEVELOPERS BAND ══════════════════ */
.dev { padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 40px; align-items: center; }
.dev .dz.a { right: -140px; bottom: -160px; width: 420px; height: 420px; border-radius: 40px; border-color: rgba(255, 255, 255, .07); }
.dev-copy { display: flex; flex-direction: column; gap: 18px; }
.dev-copy .eyebrow { color: #9DBBFF; }
.dev-copy h2 { color: #fff; }
.dev-copy p { font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .78); }
.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks span { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #fff; }
.ticks i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; font-size: 11px; flex: none; }
.dev-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.code { direction: ltr; background: #0A1530; border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; overflow: hidden; min-width: 0; }
.code-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.code-bar .path { margin-left: 10px; font-family: var(--font-mono); font-size: 12px; color: rgba(255, 255, 255, .55); }
.code pre { margin: 0; padding: 20px; font-family: var(--font-mono); font-size: 13px; line-height: 1.85; color: #C9D6F2; white-space: pre-wrap; word-break: break-word; text-align: left; }
.code .k { color: #7AA4FF; } .code .s { color: #3CCB8B; } .code .p { color: #F2B13C; } .code .c { color: rgba(255, 255, 255, .45); }

/* ══════════════════ SECURITY LIST ══════════════════ */
.sticky-head { position: sticky; top: 100px; }
@media (max-width: 991.98px) { .sticky-head { position: static; } }
.feature-list > div { display: flex; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list .ic { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--accentSoft); color: var(--accent); display: grid; place-items: center; font-size: 16px; }
.feature-list .t { display: block; font-size: 17px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.feature-list .d { display: block; font-size: 15px; line-height: 1.85; color: var(--text2); }

/* ══════════════════ FAQ ══════════════════ */
.faq-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq { background: var(--surface); border-radius: 18px; overflow: hidden; }
.bg-panel .faq, .faq.on-panel { background: var(--surface); }
.faq.alt { background: var(--panel); }
.faq summary {
    min-height: 64px; padding: 16px 22px; display: flex; align-items: center; gap: 16px; cursor: pointer;
    font-size: 16.5px; font-weight: 700; color: var(--text); list-style: none; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { flex: 1; }
.faq summary .pm { width: 32px; height: 32px; flex: none; border-radius: 10px; background: var(--panel); color: var(--accent); display: grid; place-items: center; font-size: 12px; }
.faq.alt summary .pm { background: var(--surface); }
.faq summary .pm::before { content: "\2b"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.faq[open] summary .pm::before { content: "\f068"; }
.faq .a { padding: 0 22px 20px; font-size: 15px; line-height: 1.95; color: var(--text2); white-space: pre-line; }

/* ══════════════════ CTA ══════════════════ */
.cta { background: var(--accent); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta > :not(.dz) { position: relative; }
.cta .dz.a { left: -60px; top: -120px; width: 300px; height: 300px; border-radius: 32px; border-color: rgba(255, 255, 255, .18); }
.cta .dz.b { left: 80px; top: -40px; width: 160px; height: 160px; border-radius: 20px; border-color: rgba(255, 255, 255, .22); }
.cta-copy { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.cta-copy b { font-size: clamp(26px, 3vw, 38px); font-weight: 900; line-height: 1.4; color: var(--onAccent); }
.cta-copy span { font-size: 16px; line-height: 1.8; color: var(--onAccent); opacity: .9; }
.cta .btn-white { height: 56px; padding: 0 30px; border-radius: 14px; font-size: 16px; }

/* ══════════════════ FOOTER ══════════════════ */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col .h { font-size: 14px; font-weight: 800; color: var(--text); }
.foot-col a { font-size: 14.5px; color: var(--text2); }
.foot-col a:hover { color: var(--accent); }
.foot-brand { gap: 14px; }
.foot-brand p { font-size: 14px; line-height: 1.85; color: var(--text2); }
.foot-brand .mail { font-family: var(--font-en); font-size: 14px; color: var(--accent); direction: ltr; text-align: right; }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; background: var(--panel); color: var(--text2); display: grid; place-items: center; font-size: 15px; }
.socials a:hover { background: var(--accentSoft); color: var(--accent); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text3); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a { color: var(--text3); }
.foot-bottom a:hover { color: var(--accent); }

/* ══════════════════ INNER PAGES ══════════════════ */
.page-hero { padding-block: clamp(32px, 5vw, 64px) 0; }
.page-hero .ink { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; gap: 18px; }
.page-hero .ink .dz.a { left: -140px; bottom: -180px; width: 440px; height: 440px; border-radius: 40px; }
.page-hero .ink .dz.b { left: -40px; bottom: -80px; width: 240px; height: 240px; border-radius: 26px; border-color: rgba(255, 255, 255, .11); }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.3; font-weight: 900; letter-spacing: -.5px; max-width: 820px; text-wrap: balance; }
.page-hero .lead { font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.9; color: rgba(255, 255, 255, .78); max-width: 680px; }
.page-hero .hero-ic { width: 60px; height: 60px; border-radius: 18px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 24px; color: #fff; }
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: 9px; }

/* متن غنی مقاله‌ها و صفحه‌ها */
.prose { font-size: 16.5px; line-height: 2.05; color: var(--text2); overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; color: var(--text); line-height: 1.5; margin-top: 1.8em; }
.prose h3 { font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.6; margin-top: 1.5em; }
.prose h4 { font-size: 17px; font-weight: 800; color: var(--text); margin-top: 1.3em; }
.prose p, .prose ul, .prose ol { margin-block: 0; }
.prose * + p, .prose * + ul, .prose * + ol { margin-top: 1em; }
.prose strong, .prose b { color: var(--text); font-weight: 800; }
.prose a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: 18px 22px; border-radius: 16px; background: var(--panel); border-inline-start: 4px solid var(--accent); color: var(--text); }
.prose img { border-radius: 18px; margin-inline: auto; }
.prose figure { margin: 0; }
.prose figcaption { text-align: center; font-size: 13.5px; color: var(--text3); margin-top: 8px; }
.prose code { font-family: var(--font-mono); font-size: .86em; background: var(--panel); color: var(--text); padding: 2px 7px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.prose pre { direction: ltr; text-align: left; background: #0A1530; color: #C9D6F2; padding: 18px 20px; border-radius: 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.8; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: none; border-top: 1px solid var(--line); margin-block: 2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: start; }
.prose th { background: var(--panel); color: var(--text); font-weight: 800; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-left { text-align: left; }
.prose .ql-align-justify { text-align: justify; }
.prose .ql-indent-1 { padding-inline-start: 3em; }
.prose .ql-indent-2 { padding-inline-start: 6em; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
@media (max-width: 991.98px) { .article-layout { grid-template-columns: minmax(0, 1fr); } }
.side-card { background: var(--panel); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.side-card .h { font-size: 16px; font-weight: 800; }
.side-sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 991.98px) { .side-sticky { position: static; } }

/* ══════════════════ BLOG ══════════════════ */
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; color: var(--text); transition: border-color .15s, transform .2s var(--ease-out); }
.post-card:hover { border-color: var(--line-strong); color: var(--text); transform: translateY(-2px); }
.post-cover { aspect-ratio: 16 / 9; background: var(--ink); position: relative; overflow: hidden; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover.no-img::before, .post-cover.no-img::after { content: ""; position: absolute; border: 1px solid rgba(255, 255, 255, .12); transform: rotate(45deg); border-radius: 22px; }
.post-cover.no-img::before { width: 220px; height: 220px; left: -70px; bottom: -110px; }
.post-cover.no-img::after { width: 120px; height: 120px; right: -30px; top: -40px; border-color: rgba(255, 255, 255, .08); }
.post-cover .mark { position: absolute; inset: 0; display: grid; place-items: center; }
.post-cover .mark span { width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.post-cover .mark span::before { content: ""; width: 14px; height: 14px; border: 2.5px solid #fff; border-radius: 4px; transform: rotate(45deg); }
.post-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--text3); }
.post-meta .cat { color: var(--accent); font-weight: 700; background: var(--accentSoft); padding: 2px 10px; border-radius: 20px; }
.post-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }
.post-title { font-size: 19px; font-weight: 800; line-height: 1.6; color: var(--text); }
.post-excerpt { font-size: 14.5px; line-height: 1.9; color: var(--text2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: var(--panel); border-radius: 28px; overflow: hidden; color: var(--text); }
.post-feature:hover { color: var(--text); }
.post-feature .post-cover { aspect-ratio: auto; min-height: 300px; }
.post-feature .post-body { padding: clamp(24px, 4vw, 44px); justify-content: center; gap: 14px; }
.post-feature .post-title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter { height: 40px; padding: 0 16px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--text2); background: var(--panel); }
.filter:hover { color: var(--text); background: var(--line); }
.filter.active { background: var(--text); color: var(--bg); }
.filter small { font-size: 12px; opacity: .7; }
.search { position: relative; width: min(100%, 320px); }
.search input { width: 100%; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-family: inherit; font-size: 15px; padding: 0 16px 0 44px; }
.search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accentSoft); }
.search button { position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border: none; background: none; color: var(--text3); cursor: pointer; border-radius: 9px; }

.pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; font-size: 14.5px; font-weight: 600; color: var(--text2); background: var(--panel); }
.pager a:hover { color: var(--text); background: var(--line); }
.pager .on { background: var(--accent); color: var(--onAccent); }
.pager .off { opacity: .45; }

.cover-xl { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 8; background: var(--panel); }
.cover-xl img { width: 100%; height: 100%; object-fit: cover; }
.share { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 12px; background: var(--surface); border: none; color: var(--text2); display: grid; place-items: center; font-size: 15px; cursor: pointer; }
.share a:hover, .share button:hover { color: var(--accent); }

/* ══════════════════ PRICING ══════════════════ */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.price-card.ink { border: none; }
.price-big { font-size: clamp(48px, 7vw, 76px); font-weight: 900; line-height: 1; letter-spacing: -1px; }
.price-note { font-size: 15px; color: var(--text2); line-height: 1.8; }
.ink .price-note { color: rgba(255, 255, 255, .75); }
.price-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ink .price-rows > div { border-color: rgba(255, 255, 255, .12); }
.price-rows span { color: var(--text2); }
.ink .price-rows span { color: rgba(255, 255, 255, .72); }
.price-rows b { font-weight: 800; text-align: end; }
.incl { display: flex; flex-direction: column; gap: 12px; }
.incl span { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.8; color: var(--text); }
.incl i { width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--goodSoft); color: var(--good); display: grid; place-items: center; font-size: 10px; margin-top: 3px; }

/* ══════════════════ CURRENCIES TABLE ══════════════════ */
.coin-table { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.coin-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 2fr); gap: 16px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--line); }
.coin-row:first-child { border-top: none; }
.coin-row.head { background: var(--panel); font-size: 13.5px; font-weight: 700; color: var(--text3); padding-block: 12px; }
.coin-row .who { display: flex; gap: 12px; align-items: center; }
.coin-row .who .coin-ic { width: 40px; height: 40px; font-size: 10px; }
.coin-row .who b { display: block; font-family: var(--font-en); font-size: 15.5px; }
.coin-row .who small { display: block; font-size: 13px; color: var(--text3); }
.coin-row .note { font-size: 14px; color: var(--text2); }
.net-badge { justify-self: start; font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--accent); background: var(--accentSoft); padding: 3px 10px; border-radius: 8px; direction: ltr; }
@media (max-width: 640px) {
    .coin-row { grid-template-columns: minmax(0, 1fr) auto; }
    .coin-row .note { grid-column: 1 / -1; }
    .coin-row.head .note-h { display: none; }
}

/* ══════════════════ FORMS (CONTACT) ══════════════════ */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.field label small { font-weight: 500; color: var(--text3); }
.field input, .field textarea, .field select {
    width: 100%; height: 50px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
    color: var(--text); font-family: inherit; font-size: 15.5px; padding: 0 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 160px; padding: 14px 16px; line-height: 1.9; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accentSoft); }
.field input.ltr { text-align: left; font-family: var(--font-en); }
.field .err { font-size: 13px; color: var(--bad); margin-top: 6px; }
.field.has-err input, .field.has-err textarea { border-color: var(--bad); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; font-size: 15px; line-height: 1.85; }
.notice.ok { background: var(--goodSoft); color: var(--good); }
.notice.bad { background: var(--badSoft); color: var(--bad); }
.notice i { margin-top: 5px; }
.contact-list > a, .contact-list > div { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); }
.contact-list > :first-child { border-top: none; padding-top: 0; }
.contact-list .ic { width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--surface); color: var(--accent); display: grid; place-items: center; font-size: 16px; }
.contact-list small { display: block; font-size: 13px; color: var(--text3); }
.contact-list b { display: block; font-size: 15.5px; font-weight: 700; }

/* ══════════════════ EMPTY / 404 ══════════════════ */
.empty { text-align: center; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; background: var(--panel); border-radius: 24px; }
.empty .ic { width: 60px; height: 60px; border-radius: 18px; background: var(--surface); color: var(--text3); display: grid; place-items: center; font-size: 22px; }
.empty b { font-size: 18px; }
.empty p { color: var(--text2); max-width: 46ch; }

/* ══════════════════ MOTION ══════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* فقط وقتی جاوااسکریپت فعال است پنهان می‌شود، تا بدون JS محتوا گم نشود */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
