/* =========================================================
   پاپوس — سایت معرفی
   ========================================================= */

@font-face { font-family: Yekan; font-weight: 300; font-display: swap; src: url('../fonts/IRANYekanXFaNum-Light.woff2') format('woff2'); }
@font-face { font-family: Yekan; font-weight: 400; font-display: swap; src: url('../fonts/IRANYekanXFaNum-Regular.woff2') format('woff2'); }
@font-face { font-family: Yekan; font-weight: 700; font-display: swap; src: url('../fonts/IRANYekanXFaNum-Bold.woff2') format('woff2'); }
@font-face { font-family: Yekan; font-weight: 900; font-display: swap; src: url('../fonts/IRANYekanXFaNum-Black.woff2') format('woff2'); }
@font-face { font-family: Yekan; font-weight: 950; font-display: swap; src: url('../fonts/IRANYekanXFaNum-ExtraBlack.woff2') format('woff2'); }
@font-face { font-family: YekanEn; font-weight: 400; font-display: swap; src: url('../fonts/IRANYekanX-Regular.woff2') format('woff2'); }
@font-face { font-family: YekanEn; font-weight: 700; font-display: swap; src: url('../fonts/IRANYekanX-Bold.woff2') format('woff2'); }

/* ---------- توکن‌ها (برگرفته از رنگ‌های لوگو) ---------- */
:root {
  --font: Yekan, Tahoma, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Consolas, monospace;

  --bg: #fafcfc;
  --bg-2: #f3f8f7;
  --surface: #ffffff;
  --surface-2: #f6faf9;
  --ink: #15293d;
  --ink-2: #4b5e6c;
  --ink-3: #82939d;
  --line: #e2ebe9;
  --line-2: #d3e1de;

  --teal-50: #edf6f5;
  --teal-100: #d6eae8;
  --teal-300: #8fc2bf;
  --teal-400: #6aa3a1;
  --teal-500: #4b8a8a;
  --teal-600: #3a7374;
  --teal-700: #2b5a60;
  --navy: #17304a;
  --navy-900: #0d1f30;

  --primary: var(--teal-500);
  --primary-ink: #ffffff;
  --accent: #f2b84b;           /* زرد گل قاصدک — فقط برای تاکید */
  --violet: #8b6cf0;
  --pink: #e8628f;
  --amber: #e79a2e;

  --grad-brand: linear-gradient(135deg, #7db6b2 0%, #4b8a8a 45%, #1c3b53 100%);
  --grad-text: linear-gradient(100deg, #5fa29f 0%, #3a7c7f 55%, #24506a 100%);

  --shadow-sm: 0 1px 2px rgba(21, 41, 61, .05), 0 2px 8px rgba(21, 41, 61, .04);
  --shadow-md: 0 4px 12px rgba(21, 41, 61, .06), 0 12px 32px rgba(43, 90, 96, .08);
  --shadow-lg: 0 10px 30px rgba(21, 41, 61, .08), 0 30px 70px rgba(43, 90, 96, .14);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1824;
  --bg-2: #0f2030;
  --surface: #12263a;
  --surface-2: #162d43;
  --ink: #e6eff1;
  --ink-2: #a7bbc4;
  --ink-3: #7590a0;
  --line: #1f3a50;
  --line-2: #284860;
  --teal-50: #133044;
  --teal-100: #1a3c50;
  --primary: #5fa3a1;
  --grad-text: linear-gradient(100deg, #9ad3cf 0%, #6ab2ae 55%, #4b9197 100%);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, .3);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .45);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1824;
    --bg-2: #0f2030;
    --surface: #12263a;
    --surface-2: #162d43;
    --ink: #e6eff1;
    --ink-2: #a7bbc4;
    --ink-3: #7590a0;
    --line: #1f3a50;
    --line-2: #284860;
    --teal-50: #133044;
    --teal-100: #1a3c50;
    --primary: #5fa3a1;
    --grad-text: linear-gradient(100deg, #9ad3cf 0%, #6ab2ae 55%, #4b9197 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, .3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(90px + var(--tb-h, 0px)); }
body.has-topbar { --tb-h: 40px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s, color .4s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; }
p { margin: 0; }
.en { font-family: YekanEn, var(--font); }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

.container { width: 100%; max-width: var(--container, 1200px); margin-inline: auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 16px; } }

::selection { background: var(--teal-300); color: var(--navy); }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px;
  border-radius: var(--btn-radius, 14px);
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic { transform: translateX(-4px); }
.btn:active { transform: scale(.97); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; border-radius: max(0px, calc(var(--btn-radius, 14px) - 2px)); }
.btn-lg { height: 56px; padding: 0 30px; font-size: 16px; border-radius: calc(var(--btn-radius, 14px) + 2px); }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad-brand); background-size: 160% 160%; background-position: 0% 0%;
  color: #fff;
  box-shadow: 0 8px 20px -6px rgba(var(--brand-rgb, 58, 115, 116), .55), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn-primary:hover { background-position: 100% 100%; box-shadow: 0 14px 28px -8px rgba(var(--brand-rgb, 58, 115, 116), .65), inset 0 1px 0 rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid var(--line-2); color: var(--primary); background: var(--surface); }
.btn-outline:hover { border-color: var(--primary); background: var(--teal-50); transform: translateY(-2px); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .5); }
.btn-ghost-light { color: #fff; border: 1.5px solid rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); color: var(--primary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px 5px 14px;
  border-radius: 999px;
  background: var(--teal-50);
  color: var(--primary);
  font-size: 13px; font-weight: 700;
  border: 1px solid var(--teal-100);
}
.eyebrow .ic { width: 15px; height: 15px; }

/* ---------- ناوبری ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.nav {
  position: relative;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 76px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 26px; height: auto; transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-size: 22px; font-weight: 950; color: var(--navy); letter-spacing: -.3px; }
:root[data-theme="dark"] .brand-name { color: var(--ink); }
:root[data-theme="dark"] .brand img { filter: brightness(1.75) saturate(.9); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-name { color: var(--ink); } :root:not([data-theme="light"]) .brand img { filter: brightness(1.75) saturate(.9); } }

.nav-links { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-links > a {
  position: relative;
  padding: 8px 14px; border-radius: 10px;
  font-size: 15px; color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-links > a:hover, .nav-links > a.active { color: var(--primary); }
.nav-links > a.active::after {
  content: ''; position: absolute; bottom: 2px; right: 50%; transform: translateX(50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--primary);
}
.nav-links-mobile-cta { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; }

.ic-sun { display: none; }
:root[data-theme="dark"] .ic-sun { display: block; }
:root[data-theme="dark"] .ic-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .ic-sun { display: block; }
  :root:not([data-theme="light"]) .ic-moon { display: none; }
}

@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .nav-links {
    position: fixed; top: calc(76px + var(--tb-h, 0px)); inset-inline: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav.open { background: var(--bg); }
  .nav-links > a { padding: 12px 14px; }
  .nav-links > a.active::after { display: none; }
  .nav-links-mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
}

/* ---------- هیرو ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(120px + var(--tb-h, 0px)) 0 80px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 50% 45%, color-mix(in srgb, var(--teal-100) 35%, transparent) 0%, transparent 70%),
    var(--bg);
}
.hero::after {   /* محو شدن پایین */
  content: ''; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-rings { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; pointer-events: none; }
.hero-rings > * { grid-area: 1 / 1; border-radius: 50%; }
.ring { border: 1px solid var(--line-2); opacity: .75; }
.r1 { width: 240px; height: 240px; }
.r2 { width: 420px; height: 420px; opacity: .65; }
.r3 { width: 600px; height: 600px; opacity: .55; }
.r4 { width: 790px; height: 790px; opacity: .45; }
.r5 { width: 990px; height: 990px; opacity: .35; }
.r6 { width: 1200px; height: 1200px; opacity: .25; }
.pulse {
  width: 240px; height: 240px;
  border: 1.5px solid var(--teal-300);
  animation: pulse 6s var(--ease) infinite;
}
.pulse.p2 { animation-delay: 3s; }
@keyframes pulse {
  0% { transform: scale(.6); opacity: 0; }
  10% { opacity: .9; }
  100% { transform: scale(5); opacity: 0; }
}
.orbit { position: relative; animation: spin linear infinite; }
.orbit i {
  position: absolute; top: -5px; left: 50%; margin-left: -5px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--teal-400);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--teal-400) 18%, transparent);
}
.o1 { width: 420px; height: 420px; animation-duration: 26s; }
.o2 { width: 790px; height: 790px; animation-duration: 48s; animation-direction: reverse; }
.o2 i { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); }
.o3 { width: 600px; height: 600px; animation-duration: 36s; transform: rotate(140deg); }
.o3 i { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; background: var(--navy); }
:root[data-theme="dark"] .o3 i { background: var(--teal-300); }
@keyframes spin { to { transform: rotate(360deg); } }

/* دانه‌های قاصدک شناور */
.seeds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.seed {
  position: absolute;
  width: var(--s, 28px); height: calc(var(--s, 28px) * 1.55);
  color: var(--teal-400);
  opacity: 0;
  animation: drift var(--d, 20s) linear var(--delay, 0s) infinite;
  will-change: transform, opacity;
}
.seed svg { width: 100%; height: 100%; overflow: visible; animation: sway calc(var(--d, 20s) / 5) ease-in-out infinite alternate; transform-origin: 50% 30%; }
@keyframes drift {
  0%   { transform: translate(0, 0); opacity: 0; }
  8%   { opacity: var(--o, .7); }
  85%  { opacity: var(--o, .7); }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
@keyframes sway {
  from { transform: rotate(calc(var(--r, 0deg) - 14deg)) translateY(-6px); }
  to   { transform: rotate(calc(var(--r, 0deg) + 14deg)) translateY(6px); }
}
/* استایل نماد دانه */
symbol#seed path, .seed svg, .mini-seed svg { stroke: currentColor; fill: none; stroke-width: 1.1; stroke-linecap: round; }
.seed-tips circle { fill: currentColor; stroke: none; }
.seed-body { fill: currentColor; stroke: none; }

.hero-content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title {
  margin-top: 22px;
  font-size: clamp(36px, 5.6vw, 66px);
  font-weight: 950;
  letter-spacing: -1px;
  color: var(--navy);
  line-height: 1.3;
}
:root[data-theme="dark"] .hero-title { color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-title { color: var(--ink); } }
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: .08em;
}
.hero-sub {
  margin-top: 22px;
  max-width: 680px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-2);
  line-height: 2.1;
}

/* شعار ماشین‌تحریری: عرض جایگاه قبل از تایپ هر شعار اندازه آن شعار می‌شود تا عنوان وسط‌چین بماند و هنگام تایپ نپرد */
.tw { display: inline-grid; vertical-align: top; text-align: start; max-width: 100%; transition: width .5s var(--ease); }
.tw > * { grid-area: 1 / 1; }
.tw-ghost { visibility: hidden; pointer-events: none; }
.tw-measure { position: absolute; top: 0; right: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.tw-ghost::before { content: attr(data-text); }
.tw-live { white-space: pre-wrap; }
.tw-caret {
  display: inline-block; width: .07em; height: .95em; margin-inline-start: .06em;
  vertical-align: -.08em; border-radius: 2px;
  background: var(--primary);
  animation: tw-blink 1s steps(1) infinite;
}
.tw.typing .tw-caret { animation: none; }
@keyframes tw-blink { 50% { opacity: 0; } }

/* زیرعنوان‌های چرخان با افکت محو */
.hero-subs { display: grid; }
.hero-subs > * {
  grid-area: 1 / 1;
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease), visibility 0s .7s;
}
.hero-subs > :not(.on) { opacity: 0; transform: translateY(10px); filter: blur(6px); visibility: hidden; }
.hero-subs > .on { transition-delay: .15s, .15s, .15s, 0s; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-cta .btn-outline { min-width: 200px; }

.stats {
  margin-top: 64px;
  display: grid; grid-template-columns: repeat(var(--n, 3), auto); gap: 0;
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.stat { padding: 18px 40px; display: flex; flex-direction: column; align-items: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font-size: 26px; font-weight: 900; color: var(--ink); line-height: 1.5; }
.stat small { font-size: 13px; color: var(--ink-3); }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(var(--n, 3), 1fr); width: 100%; }
  .stat { padding: 14px 6px; }
  .stat b { font-size: 18px; }
  .stat small { font-size: 11.5px; text-align: center; }
}

/* کارت‌های شناور */
.float-card {
  position: absolute; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  animation: bob 7s ease-in-out infinite;
}
.float-card b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); line-height: 1.6; }
.float-card small { display: block; font-size: 12.5px; color: var(--ink-3); }
.fc-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.fc-icon .ic { width: 22px; height: 22px; }
.fc-icon.teal { background: var(--teal-50); color: var(--primary); }
.fc-icon.amber { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }
.fc-icon.pink, .feat-icon.pink { background: color-mix(in srgb, var(--pink) 13%, transparent); color: var(--pink); }
.fc-icon.violet, .feat-icon.violet { background: color-mix(in srgb, var(--violet) 13%, transparent); color: var(--violet); }
.fc-1 { top: 17%; right: 9%; animation-delay: -1s; }
.fc-2 { bottom: 16%; left: 9%; animation-delay: -3.5s; }
.fc-3 { top: 15%; left: 7%; animation-delay: -2s; }
.fc-4 { bottom: 19%; right: 7%; animation-delay: -5s; }
.fc-sms { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 18px; min-width: 200px; border-radius: 18px 18px 18px 6px; }
.fc-4.fc-sms { border-radius: 18px 18px 6px 18px; }
.sms-head { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink-3); }
.sms-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 0 3px var(--teal-50); }
.sms-body { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.sms-body b { display: inline; font-size: inherit; color: var(--primary); letter-spacing: 2px; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}
@media (max-width: 1100px) {
  .fc-3, .fc-4 { display: none; }
  .fc-1 { top: 14%; right: 4%; }
  .fc-2 { bottom: 6%; left: 4%; }
}
@media (max-width: 760px) {
  .float-card { display: none; }
  .r5, .r6, .o2 { display: none; }
}

/* ---------- اپراتورها ---------- */
.operators { padding: 8px 0 36px; }
.operators-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.operators-label { font-size: 14px; color: var(--ink-3); }
.operator-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.operator-list li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.operator-list li:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.op-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }

/* ---------- بخش‌ها ---------- */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--bg-2); }
.section-tint::before, .section-tint::after {
  content: ''; position: absolute; inset-inline: 0; height: 60px; pointer-events: none;
}
.section-tint::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.section-tint::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.section-head h1, .section-head h2 { margin-top: 16px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 950; letter-spacing: -.5px; }
.section-head p { max-width: 680px; margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }
@media (max-width: 640px) { .section { padding: 80px 0; } .section-head { margin-bottom: 40px; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- امکانات (بنتو) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat {
  position: relative; overflow: hidden;
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.feat h3 { margin-top: 18px; font-size: 19px; font-weight: 900; }
.feat p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.feat-wide { grid-column: span 2; flex-direction: row; gap: 32px; align-items: center; }
.feat-wide .feat-text { flex: 1 1 45%; }
.feat-wide .viz { flex: 1 1 55%; margin-top: 0; }
.feat-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--teal-50); color: var(--primary);
  border: 1px solid var(--teal-100);
}
.feat-icon.pink, .feat-icon.violet, .feat-icon.amber { border: 0; }
.feat-icon.amber { background: color-mix(in srgb, var(--amber) 14%, transparent); color: var(--amber); }
.feat-icon .ic { width: 24px; height: 24px; }
.viz { margin-top: 24px; position: relative; }

/* ارسال انبوه */
.viz-bulk { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.bulk-head { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.badge-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--teal-500); background: var(--teal-50); padding: 2px 10px; border-radius: 999px; }
.badge-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bulk-count { margin-top: 14px; }
.bulk-count b { font-size: 34px; font-weight: 950; color: var(--ink); }
.bulk-count small { color: var(--ink-3); font-size: 14px; }
.bulk-bar { margin-top: 10px; height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bulk-bar i {
  display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(270deg, var(--teal-300), var(--teal-500), var(--navy));
  background-size: 200% 100%;
  animation: shimmer 2s linear infinite;
  transition: width .3s linear;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.bulk-ops { margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink-2); }
.bulk-ops span { display: inline-flex; align-items: center; gap: 6px; }
.bulk-ops i { width: 8px; height: 8px; border-radius: 3px; background: var(--c); }
.bulk-ops b { color: var(--ink); }

/* موج صوت */
.viz-wave { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--surface-2); border-radius: 18px; border: 1px solid var(--line); margin-top: auto; }
.feat > .viz-wave, .feat > .viz-map, .feat > .viz-chips, .feat > .viz-donut, .feat > .viz-tpl { margin-top: 22px; }
.play { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); flex-shrink: 0; box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--violet) 60%, transparent); }
.play svg { width: 16px; height: 16px; fill: #fff; transform: scaleX(-1); }
.wave { flex: 1; display: flex; align-items: center; gap: 3px; height: 34px; }
.wave i { flex: 1; border-radius: 3px; background: color-mix(in srgb, var(--violet) 55%, transparent); height: 30%; animation: wave 1.2s ease-in-out infinite alternate; }
.wave i:nth-child(3n) { animation-delay: -.3s; }
.wave i:nth-child(3n+1) { animation-delay: -.7s; }
.wave i:nth-child(4n) { animation-delay: -1s; animation-duration: .9s; }
.wave i:nth-child(5n) { animation-duration: 1.5s; }
.wave i:nth-child(-n+9) { background: var(--violet); }
@keyframes wave { from { height: 18%; } to { height: 100%; } }
.wave-time { font-size: 12.5px; color: var(--ink-3); }

/* نقشه */
.viz-map { height: 130px; border-radius: 18px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 85%);
}
.map-area {
  position: absolute; left: 50%; top: 48%; width: 110px; height: 76px; transform: translate(-50%, -50%) rotate(-8deg);
  border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%;
  background: color-mix(in srgb, var(--amber) 16%, transparent);
  border: 1.5px dashed var(--amber);
  animation: breathe 3s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translate(-50%, -50%) rotate(-8deg) scale(1.08); } }
.map-pin { position: absolute; left: 50%; top: 18%; transform: translateX(-50%); color: var(--amber); animation: drop 3s var(--ease) infinite; }
.map-pin .ic { width: 28px; height: 28px; fill: var(--surface); }
@keyframes drop { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.map-dot { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); opacity: .4; }
.map-dot.on { background: var(--amber); opacity: 1; box-shadow: 0 0 0 4px color-mix(in srgb, var(--amber) 22%, transparent); }

/* چیپ‌ها */
.viz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 13px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line-2); color: var(--ink-3); transition: all .3s; }
.chip.on { background: color-mix(in srgb, var(--pink) 12%, transparent); border-color: color-mix(in srgb, var(--pink) 40%, transparent); color: var(--pink); font-weight: 700; }
.chips-result { width: 100%; margin-top: 6px; font-size: 13.5px; color: var(--ink-2); padding: 10px 14px; background: var(--surface-2); border-radius: 14px; }
.chips-result b { color: var(--ink); font-size: 15px; }

/* دونات */
.viz-donut { display: flex; align-items: center; gap: 20px; }
.donut { width: 104px; height: 104px; transform: rotate(-90deg); flex-shrink: 0; }
.donut circle { fill: none; stroke-width: 5.5; }
.donut-bg { stroke: var(--line); }
.donut-seg { stroke-linecap: round; transition: stroke-dasharray 1.4s var(--ease); }
.donut-seg.s1 { stroke: var(--teal-500); }
.donut-seg.s2 { stroke: var(--accent); }
.viz-donut:not(.in) .donut-seg { stroke-dasharray: 0 100 !important; }
.donut-legend { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--ink-2); }
.donut-legend span { display: flex; align-items: center; gap: 8px; }
.donut-legend b { color: var(--ink); margin-inline-start: auto; padding-inline-start: 10px; }
.donut-legend i { width: 9px; height: 9px; border-radius: 3px; }
.l1 { background: var(--teal-500); } .l2 { background: var(--accent); } .l3 { background: var(--line-2); }

/* کیف پول */
.feat-dark {
  background: radial-gradient(120% 140% at 0% 100%, var(--teal-700) 0%, transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  border-color: transparent;
  color: #e9f3f3;
}
.feat-dark p { color: #a9c3c8; }
.feat-icon.light { background: rgba(255, 255, 255, .08); color: #9ad3cf; border-color: rgba(255, 255, 255, .1); }
.viz-wallet { display: flex; flex-direction: column; gap: 10px; }
.tx {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  font-size: 13px;
}
.tx b { display: block; font-size: 14px; color: #fff; }
.tx small { color: #94b3b9; }
.tx-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.tx-ic .ic { width: 18px; height: 18px; }
.tx-ic.minus { background: rgba(255, 255, 255, .08); color: #c7d8db; }
.tx-ic.plus { background: rgba(122, 214, 170, .16); color: #7ad6aa; }
.tx-amt { margin-inline-start: auto; font-weight: 900; font-size: 14px; direction: ltr; }
.tx-amt.neg { color: #c7d8db; }
.tx-amt.pos { color: #7ad6aa; }
.tx-new { border-color: rgba(122, 214, 170, .35); background: rgba(122, 214, 170, .08); }
.feat-dark.in .tx-new { animation: slidein .8s var(--ease) .5s both; }
@keyframes slidein { from { opacity: 0; transform: translateY(14px) scale(.96); } }
.wallet-bal { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 4px 0; }
.wallet-bal small { color: #94b3b9; font-size: 12.5px; }
.wallet-bal b { font-size: 20px; color: #fff; }

/* تطبیقی */
.viz-tpl { display: flex; flex-direction: column; align-items: stretch; gap: 4px; text-align: center; }
.tpl-line { padding: 10px 14px; border-radius: 14px; background: var(--surface-2); border: 1px dashed var(--line-2); font-size: 14px; color: var(--ink-2); }
.tpl-line .var { color: var(--primary); font-weight: 700; background: var(--teal-50); padding: 1px 6px; border-radius: 6px; }
.tpl-line.out { border-style: solid; background: var(--teal-50); border-color: var(--teal-100); color: var(--ink); }
.tpl-line.out b { color: var(--primary); display: inline-block; min-width: 3.2em; transition: opacity .25s, transform .25s; }
.tpl-line.out b.swap { opacity: 0; transform: translateY(-6px); }
.tpl-arrow { color: var(--ink-3); font-size: 14px; line-height: 1.2; }

@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .feat-wide { grid-column: span 2; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .feat-wide { grid-column: auto; flex-direction: column; align-items: stretch; gap: 22px; }
  .feat { padding: 22px; }
}

/* امکانات تکمیلی */
.mini-feats { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: background .3s, transform .3s var(--ease);
}
.mini:hover { background: var(--surface); transform: translateY(-3px); }
.mini b { display: block; font-size: 14.5px; line-height: 1.6; }
.mini small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.mini-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; background: var(--teal-50); color: var(--primary); }
@media (max-width: 980px) { .mini-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .mini-feats { grid-template-columns: 1fr; } }

/* ---------- مارکی کاربردها ---------- */
.usecases { padding: 10px 0 20px; }
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee-ltr .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 700; font-size: 15px; color: var(--ink-2); white-space: nowrap;
  margin-inline-end: 14px;
}
.marquee-track span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300); }
.marquee-track span:nth-child(3n)::before { background: var(--accent); }
.marquee-track span:nth-child(4n)::before { background: var(--pink); }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- مراحل ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 28px; }
.steps-line { position: absolute; top: 18px; inset-inline: 10%; width: 80%; height: 120px; z-index: 0; overflow: visible; }
.steps-line path { fill: none; stroke: var(--teal-300); stroke-width: 2; stroke-dasharray: 2 10; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: dash 1.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.step { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 0 10px; }
.step-ic {
  position: relative;
  width: 92px; height: 92px; border-radius: 30px;
  display: grid; place-items: center;
  background: var(--surface); color: var(--primary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease);
}
.step:hover .step-ic { transform: translateY(-6px) rotate(-4deg); }
.step-ic .ic { width: 34px; height: 34px; stroke-width: 1.7; }
.step-num {
  position: absolute; top: -8px; right: calc(50% - 58px); z-index: 2;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-brand); color: #fff; font-weight: 900; font-size: 15px;
  box-shadow: 0 0 0 5px var(--bg);
}
.step h3 { margin-top: 22px; font-size: 19px; font-weight: 900; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; max-width: 280px; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps-line { display: none; }
}

/* ---------- تعرفه‌ها ---------- */
.seg {
  position: relative;
  display: flex; width: max-content; margin: 0 auto 40px;
  padding: 5px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.seg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 24px; border-radius: 12px; font-weight: 700; color: var(--ink-2); transition: color .3s; }
.seg-btn .ic { width: 18px; height: 18px; }
.seg-btn.active { color: #fff; }
.seg-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; border-radius: 12px; background: var(--grad-brand); box-shadow: 0 6px 16px -6px rgba(var(--brand-rgb, 58, 115, 116), .6); transition: left .4s var(--ease), width .4s var(--ease); }

.plans { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 22px; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.plan-top { position: relative; }
.plan h3 { font-size: 24px; font-weight: 950; }
.plan-desc { margin-top: 4px; color: var(--ink-3); font-size: 14px; }
.plan-price { margin-top: 26px; display: flex; flex-direction: column; }
.plan-price b { font-size: 52px; font-weight: 950; line-height: 1.15; letter-spacing: -1px; color: var(--ink); transition: opacity .25s, transform .25s; }
.plan-price b.swap { opacity: 0; transform: translateY(8px); }
.price-unit { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.plan-min { margin-top: 16px; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); font-size: 13.5px; color: var(--ink-2); }
.plan-min b { color: var(--ink); }
.plan-list { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.plan-list li { display: flex; align-items: center; gap: 10px; }
.plan-list .ic { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--teal-50); color: var(--primary); stroke-width: 3; }

/* دانه تزئینی کنار نام پلن */
.plan-seed { position: absolute; top: -6px; left: 0; width: 56px; height: 56px; border-radius: 50%; }
.plan-seed::before, .plan-seed::after { content: ''; position: absolute; border-radius: 50%; }
.plan-seed.s1::before { inset: 18px; background: var(--teal-100); }
.plan-seed.s1::after { inset: 24px; background: var(--teal-400); }
.plan-seed.s2::before { inset: 6px; border: 2px dotted var(--teal-300); animation: spin 18s linear infinite; }
.plan-seed.s2::after { inset: 20px; background: var(--grad-brand); }
.plan-seed.s3::before { inset: 0; border: 2px dotted var(--teal-300); animation: spin 24s linear infinite reverse; }
.plan-seed.s3::after { inset: 12px; background: radial-gradient(circle, var(--navy) 30%, var(--teal-500) 31%, var(--teal-500) 55%, var(--teal-100) 56%); }

.plan-featured {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
}
.plan-featured:hover { transform: translateY(-18px); }
.plan-badge {
  position: absolute; top: -14px; right: 50%; transform: translateX(50%);
  padding: 4px 16px; border-radius: 999px;
  background: var(--accent); color: #3d2a05;
  font-size: 12.5px; font-weight: 900;
  box-shadow: 0 6px 14px -4px rgba(242, 184, 75, .6);
}
@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; gap: 30px; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
}

/* ماشین‌حساب */
.calc { margin-top: 56px; display: grid; grid-template-columns: 1.35fr 1fr; overflow: hidden; }
.calc-form { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.calc-form h3 { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 900; }
.calc-form h3 .ic { color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-label { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14.5px; }
.tag { font-size: 12px; padding: 2px 10px; border-radius: 999px; background: var(--teal-50); color: var(--primary); font-weight: 700; }
.tag.strong { font-size: 14px; padding: 3px 12px; }
textarea {
  font: inherit; font-size: 15px; line-height: 1.9; color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  resize: vertical; min-height: 110px;
  transition: border-color .2s, box-shadow .2s;
}
textarea:focus { outline: none; border-color: var(--teal-400); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-400) 18%, transparent); }
.field-meta { display: flex; gap: 18px; font-size: 13px; color: var(--ink-3); }
.field-meta b { color: var(--ink); }
.calc-left { margin-inline-start: auto; }

.range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(to left, var(--teal-500) var(--p, 40%), var(--line) var(--p, 40%)); outline: none; direction: rtl; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--teal-500); box-shadow: var(--shadow-md); cursor: grab; transition: transform .2s; }
.range::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--teal-500); box-shadow: var(--shadow-md); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }

.calc-result {
  position: relative;
  padding: 32px;
  display: flex; flex-direction: column;
  color: #e9f3f3;
  background: radial-gradient(100% 80% at 100% 0%, var(--teal-600) 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  overflow: hidden;
}
.calc-result::before {   /* دانه تزئینی */
  content: ''; position: absolute; width: 260px; height: 260px; left: -90px; bottom: -110px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0 2deg, transparent 2deg 12deg);
  mask-image: radial-gradient(circle, transparent 18%, #000 20%, #000 60%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, transparent 18%, #000 20%, #000 60%, transparent 70%);
  animation: spin 60s linear infinite;
}
.calc-result > * { position: relative; }
.calc-result-label { font-size: 13.5px; color: #9fbcc2; }
.calc-plans { margin-top: 10px; display: flex; gap: 6px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.calc-plans button { flex: 1; height: 36px; border-radius: 10px; font-size: 14px; font-weight: 700; color: #b8d0d4; transition: background .25s, color .25s; }
.calc-plans button.active { background: #fff; color: var(--navy); }
.calc-total { margin-top: 26px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.calc-total b { font-size: clamp(34px, 4vw, 46px); font-weight: 950; color: #fff; letter-spacing: -1px; line-height: 1.2; }
.calc-total span { color: #9fbcc2; }
.calc-break { margin-top: 10px; font-size: 13.5px; color: #9fbcc2; line-height: 2; }
.calc-break b { color: #e9f3f3; }
.calc-note { margin: auto 0 18px; padding-top: 22px; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: #9ad3cf; }
.calc-note .ic { width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 860px) {
  .calc { grid-template-columns: 1fr; }
  .calc-form, .calc-result { padding: 24px; }
}

/* جدول تعرفه */
.tariff { margin-top: 24px; padding: 28px; }
.tariff-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tariff-head h3 { font-size: 20px; font-weight: 900; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.table th, .table td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table th:first-child, .table td:first-child { text-align: right; }
.table thead th { background: var(--surface-2); font-weight: 900; font-size: 14px; color: var(--ink-2); }
.table th.hl { color: var(--primary); }
.table td.hl { background: color-mix(in srgb, var(--teal-50) 60%, transparent); font-weight: 700; color: var(--ink); }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: var(--surface-2); }
.table .grp td { background: var(--bg-2); font-weight: 900; font-size: 13px; color: var(--ink-3); text-align: right; padding: 9px 18px; }
.op-cell { display: inline-flex; align-items: center; gap: 8px; }
.table td small { color: var(--ink-3); font-size: 12px; }

/* ---------- وب‌سرویس ---------- */
.dev { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.dev-text h1, .dev-text h2 { margin-top: 16px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 950; letter-spacing: -.5px; }
.dev-text > p { margin-top: 14px; color: var(--ink-2); font-size: 16px; }
.dev-list { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-direction: column; gap: 14px; }
.dev-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.dev-list .ic { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--teal-50); color: var(--primary); }

.code-win {
  border-radius: var(--radius-lg);
  background: #0e1d2b;
  border: 1px solid #1c3245;
  box-shadow: var(--shadow-lg), 0 0 0 8px color-mix(in srgb, var(--teal-100) 40%, transparent);
  overflow: hidden;
  min-width: 0;
}
.code-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid #1c3245; direction: ltr; }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff6159; }
.dots i:nth-child(2) { background: #ffbd2e; }
.dots i:nth-child(3) { background: #28c941; }
.code-tabs { display: flex; gap: 4px; overflow-x: auto; }
.code-tabs button { padding: 5px 12px; border-radius: 8px; font-family: YekanEn, var(--font); font-size: 13px; color: #7f9aac; transition: all .2s; white-space: nowrap; }
.code-tabs button:hover { color: #d6e4ea; }
.code-tabs button.active { background: #1a3044; color: #fff; }
.code-copy { margin-left: auto; width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: #7f9aac; transition: all .2s; }
.code-copy:hover { background: #1a3044; color: #fff; }
.code-copy.done { color: #7ad6aa; }
.code-copy .ic { width: 16px; height: 16px; }
.code {
  margin: 0; padding: 22px 24px;
  font-family: var(--mono); font-size: 13.5px; line-height: 1.85;
  color: #d6e4ea;
  overflow-x: auto;
  min-height: 300px;
  tab-size: 2;
}
.code .tk-str { color: #9ad3a6; }
.code .tk-key { color: #c792ea; }
.code .tk-com { color: #5d7a8c; font-style: italic; }
.code .tk-num { color: #f2b84b; }
.code .tk-fn { color: #82c8e8; }
.code .tk-fa { font-family: var(--font); }
.code-res { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid #1c3245; background: #0b1823; font-family: var(--mono); font-size: 12.5px; color: #9fbcc2; overflow-x: auto; white-space: nowrap; }
.res-status { padding: 2px 8px; border-radius: 6px; background: rgba(122, 214, 170, .14); color: #7ad6aa; font-weight: 700; flex-shrink: 0; }
@media (max-width: 960px) { .dev { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- سوالات ---------- */
.faq-wrap { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--surface-2); color: var(--ink-2); transition: transform .35s var(--ease), background .3s, color .3s; }
.faq-ic .ic { width: 18px; height: 18px; }
.faq details[open] .faq-ic { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq details .faq-a { padding: 0 24px 22px; color: var(--ink-2); font-size: 15px; line-height: 2.1; }
.faq details[open] .faq-a { animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- CTA قاصدک ---------- */
.cta { padding: 40px 0 110px; }
.cta-inner {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 20px;
  padding: 56px 64px;
  border-radius: 36px;
  background:
    radial-gradient(70% 90% at 15% 80%, rgba(var(--brand-rgb, 75, 138, 138), .35) 0%, transparent 60%),
    radial-gradient(50% 60% at 90% 0%, rgba(242, 184, 75, .12) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-inner::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to left, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
}
.cta h1, .cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 950; letter-spacing: -.5px; }
.cta p { margin-top: 14px; color: #a9c3c8; font-size: 16.5px; max-width: 440px; }
.cta .hero-cta { justify-content: flex-start; }
.dandelion-wrap { position: relative; display: grid; place-items: center; }
.dandelion { width: 100%; max-width: 380px; height: auto; overflow: visible; cursor: pointer; }
.dandelion .stalk { fill: none; stroke: var(--teal-400); stroke-width: 3; stroke-linecap: round; }
.dandelion .leaf { fill: var(--teal-700); }
.dandelion .head { fill: #b98d3a; }
.dandelion .seed-g { stroke: #e8f2f2; fill: none; stroke-linecap: round; }
.dandelion .seed-g .tip { fill: #e8f2f2; stroke: none; }
.dandelion .seed-g .body { fill: #c9a25a; stroke: none; }
.dandelion .seed-in { transition: transform 2.6s cubic-bezier(.3, .1, .3, 1), opacity 2.6s ease-in; transform-box: view-box; }
.dandelion .seed-in.gone { opacity: 0; }
.dandelion .seed-in.regrow { transition: transform .9s var(--ease), opacity .6s; }
.dandelion .sway { transform-origin: 200px 430px; animation: dsway 5s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes dsway { from { transform: rotate(-2deg); } to { transform: rotate(2.5deg); } }
@media (max-width: 860px) {
  .cta-inner { grid-template-columns: 1fr; padding: 40px 24px 20px; text-align: center; }
  .cta p { margin-inline: auto; }
  .cta .hero-cta { justify-content: center; }
  .dandelion { max-width: 280px; }
}

/* ---------- فوتر ---------- */
.footer { border-top: 1px solid var(--line); padding-top: 64px; background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: var(--tpl, 1.6fr 1fr 1fr 1.2fr); gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--ink-3); font-size: 14px; max-width: 320px; line-height: 2.1; }
.footer h4 { font-size: 15px; font-weight: 900; margin-bottom: 14px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:not(.brand) { font-size: 14px; color: var(--ink-3); transition: color .2s; width: max-content; }
.footer-grid a:not(.brand):hover { color: var(--primary); }
.contact { display: inline-flex; align-items: center; gap: 8px; }
.contact .ic { width: 16px; height: 16px; }
.footer-bottom { margin-top: 48px; padding-block: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); }
.footer-made { display: inline-flex; align-items: center; gap: 6px; }
.mini-seed { display: inline-block; width: 12px; height: 19px; color: var(--teal-400); animation: sway 2s ease-in-out infinite alternate; }
.mini-seed svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }

/* ---------- انیمیشن ورود ---------- */
.js .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
.reveal.revealing { transition: opacity .8s var(--ease), transform .8s var(--ease) !important; transition-delay: var(--rd, 0s) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .seeds { display: none; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* =========================================================
   سیستم سکشن‌ها (صفحه‌ساز)
   ========================================================= */
.sec { position: relative; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* دسترس‌پذیری: پرش به محتوا */
.skip-link {
  position: fixed; top: -60px; right: 16px; z-index: 100;
  padding: 10px 18px; border-radius: 12px;
  background: var(--navy); color: #fff; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2.5px solid var(--teal-400); outline-offset: 3px; border-radius: 6px; }

/* نوار اطلاع‌رسانی بالای سایت */
.topbar { height: 40px; display: flex; align-items: center; font-size: 13.5px; color: #fff; }
.topbar-brand { background: var(--grad-brand); }
.topbar-dark { background: var(--navy); }
.topbar-accent { background: var(--accent); color: #3d2a05; }
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 14px; white-space: nowrap; overflow: hidden; }
.topbar-inner > span { overflow: hidden; text-overflow: ellipsis; }
.topbar-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.topbar-link .ic { width: 14px; height: 14px; }

/* زمینه‌ها */
.sec.bg-tint { background: var(--bg-2); }
.sec.bg-tint::before, .sec.bg-tint::after { content: ''; position: absolute; inset-inline: 0; height: 60px; pointer-events: none; }
.sec.bg-tint::before { top: 0; background: linear-gradient(var(--bg), transparent); }
.sec.bg-tint::after { bottom: 0; background: linear-gradient(transparent, var(--bg)); }
.sec.bg-surface { background: var(--surface); }
.sec.bg-dark {
  background:
    radial-gradient(70% 90% at 15% 80%, rgba(var(--brand-rgb, 75, 138, 138), .28) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-900) 100%);
}
.sec.bg-custom { background: var(--sec-bg); }
.sec.bg-image { background: linear-gradient(var(--sec-overlay), var(--sec-overlay)), var(--sec-img) center / cover no-repeat; }
.sec.bg-dark::after, .sec.bg-custom::after, .sec.bg-image::after { display: none; }

/* رنگ متن روی زمینه تیره: توکن‌ها در همین سکشن بازتعریف می‌شوند تا همه اجزا خودکار هماهنگ شوند */
.txt-light {
  --ink: #eef5f6; --ink-2: #b9ced4; --ink-3: #8faab4;
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .12); --line-2: rgba(255, 255, 255, .2);
  --teal-50: rgba(255, 255, 255, .08); --teal-100: rgba(255, 255, 255, .14);
  --primary: var(--teal-300);
  --grad-text: linear-gradient(100deg, #ffffff 0%, var(--teal-300) 100%);
  color: var(--ink);
}
.txt-light .hero-title, .txt-light .brand-name { color: var(--ink); }
.txt-dark {
  --ink: #15293d; --ink-2: #4b5e6c; --ink-3: #82939d;
  --line: #e2ebe9; --line-2: #d3e1de; --surface: #ffffff; --surface-2: #f6faf9;
  color: var(--ink);
}

/* فاصله‌ها */
.sec.pt-0 { padding-top: 0 !important; }   .sec.pb-0 { padding-bottom: 0 !important; }
.sec.pt-xs { padding-top: 24px !important; } .sec.pb-xs { padding-bottom: 24px !important; }
.sec.pt-sm { padding-top: 48px !important; } .sec.pb-sm { padding-bottom: 48px !important; }
.sec.pt-md { padding-top: 80px !important; } .sec.pb-md { padding-bottom: 80px !important; }
.sec.pt-lg { padding-top: 110px !important; } .sec.pb-lg { padding-bottom: 110px !important; }
.sec.pt-xl { padding-top: 150px !important; } .sec.pb-xl { padding-bottom: 150px !important; }
@media (max-width: 640px) {
  .sec.pt-md { padding-top: 60px !important; } .sec.pb-md { padding-bottom: 60px !important; }
  .sec.pt-lg { padding-top: 80px !important; } .sec.pb-lg { padding-bottom: 80px !important; }
  .sec.pt-xl { padding-top: 100px !important; } .sec.pb-xl { padding-bottom: 100px !important; }
}
/* اولین سکشن صفحه (غیر از هیرو) زیر هدر ثابت نرود */
main > .sec:first-child:not(.hero) { padding-top: calc(130px + var(--tb-h, 0px)) !important; }
/* سکشن‌های عمومی پیش‌فرض فاصله متوسط دارند */
.sec-richtext, .sec-imageText, .sec-cards, .sec-stats, .sec-testimonials, .sec-video, .sec-visual { padding: 80px 0; }
.sec-banner, .sec-logos, .sec-html { padding: 40px 0; }

/* عرض */
.w-narrow .container { max-width: 820px; }
.w-wide .container { max-width: 1440px; }
.w-full .container { max-width: none; }

@media (max-width: 760px) { .hide-mobile { display: none !important; } }
@media (min-width: 761px) { .hide-desktop { display: none !important; } }

/* سرتیتر راست‌چین */
.section-head.head-start { text-align: start; align-items: flex-start; margin-inline: 0; }

/* متن قالب‌بندی‌شده */
.prose { color: var(--ink-2); font-size: 16px; line-height: 2.1; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: 900; margin-top: 1.6em; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 21px; } .prose h4 { font-size: 18px; }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.2em 0; padding: 14px 20px; border-inline-start: 4px solid var(--teal-300); background: var(--surface-2); border-radius: 12px; }
.prose img { border-radius: var(--radius); margin-inline: auto; }
.prose b, .prose strong { color: var(--ink); }
.prose-lg { font-size: 17px; }
.align-center { text-align: center; } .align-justify { text-align: justify; }

/* تصویر و متن */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-text { order: 2; }
.split-text h1, .split-text h2 { margin-top: 16px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 950; letter-spacing: -.5px; }
.split-text .prose { margin-top: 14px; }
.split-text .hero-cta { justify-content: flex-start; margin-top: 30px; }
.split-media { margin: 0; }
.split-media img { width: 100%; height: auto; }
.media-rounded img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-frame { padding: 14px; border-radius: calc(var(--radius-lg) + 10px); background: var(--grad-brand); }
.media-frame img { border-radius: var(--radius-lg); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 12px; color: var(--ink-2); }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .ic { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--teal-50); color: var(--primary); stroke-width: 3; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split-rev .split-text { order: 0; } }

/* کارت‌ها */
.grid-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.grid-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gcard { display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.gcard-elevated { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gcard-elevated:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gcard-outline { border: 1.5px solid var(--line-2); }
.gcard-outline:hover { border-color: var(--teal-300); }
.gcard-tinted { background: var(--teal-50); }
.gcard-plain { padding: 8px 0; }
.gcard-center { align-items: center; text-align: center; }
.gcard h3 { margin-top: 18px; font-size: 19px; font-weight: 900; }
.gcard p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 2; }
.gcard-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.gcard-link { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 700; font-size: 14.5px; }
.gcard-link .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.gcard-link:hover .ic { transform: translateX(-4px); }
@media (max-width: 980px) { .grid-cards.cols-3, .grid-cards.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-cards, .grid-cards.cols-2, .grid-cards.cols-3, .grid-cards.cols-4 { grid-template-columns: 1fr; } }

/* آمار */
.stat-grid { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 18px; }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat-item b { font-size: clamp(28px, 3.4vw, 40px); font-weight: 950; color: var(--ink); line-height: 1.4; }
.stat-item small { font-size: 14px; color: var(--ink-3); }
.stat-item .mini-ic { margin-bottom: 8px; }
.stat-cards .stat-item { padding: 26px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-band { gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-band .stat-item { padding: 26px 12px; }
.stat-band .stat-item + .stat-item { border-inline-start: 1px solid var(--line); }
@media (max-width: 760px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band .stat-item:nth-child(odd) { border-inline-start: 0; }
  .stat-band .stat-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* بنر */
.banner { display: flex; align-items: center; gap: 22px; padding: 28px 32px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.banner h1, .banner h2 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 950; }
.banner p { margin-top: 4px; font-size: 15px; opacity: .85; }
.banner-text { flex: 1; }
.banner-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.banner-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex-shrink: 0; background: rgba(255, 255, 255, .16); }
.banner-ic .ic { width: 26px; height: 26px; }
.banner-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--shadow-lg); }
.banner-dark { background: linear-gradient(135deg, var(--navy), var(--navy-900)); color: #fff; }
.banner-accent { background: var(--accent); color: #3d2a05; }
.banner-accent .banner-ic { background: rgba(0, 0, 0, .08); }
.banner-soft { background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--ink); }
.banner-soft .banner-ic { background: var(--surface); color: var(--primary); }
@media (max-width: 760px) { .banner { flex-direction: column; text-align: center; padding: 26px 20px; } .banner-cta { justify-content: center; } }

/* نظرات */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.quote blockquote { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 2.1; flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img, .quote-initial { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.quote-initial { display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-weight: 900; }
.quote figcaption b { display: block; font-size: 15px; }
.quote figcaption small { display: block; font-size: 13px; color: var(--ink-3); }
.stars { display: flex; gap: 2px; }
.stars .ic { width: 17px; height: 17px; color: var(--line-2); fill: currentColor; stroke: none; }
.stars .ic.on { color: var(--accent); }

/* لوگوها */
.logos-title { text-align: center; color: var(--ink-3); font-size: 14px; margin-bottom: 22px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.logos img { height: 40px; width: auto; max-width: 160px; object-fit: contain; transition: filter .3s, opacity .3s; }
.logos-gray img { filter: grayscale(1); opacity: .6; }
.logos-gray img:hover, .logos-gray a:hover img { filter: none; opacity: 1; }

/* ویدئو */
.video-box { position: relative; width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.video-box iframe, .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* فاصله */
.sec-spacer { padding: 0; }
.spacer { height: var(--h); display: grid; place-items: center; }
.spacer-solid::before { content: ''; width: min(100% - 48px, var(--container, 1200px)); height: 1px; background: var(--line); }
@media (max-width: 760px) { .spacer { height: var(--hm); } }

/* وب‌سرویس معکوس */
.dev-rev .dev-text { order: 2; }
.dev-cta { justify-content: flex-start; margin-top: 28px; }
@media (max-width: 960px) { .dev-rev .dev-text { order: 0; } }

/* CTA بدون تصویر */
.cta-solo { grid-template-columns: 1fr; text-align: center; }
.cta-solo p { margin-inline: auto; }
.cta-solo .hero-cta { justify-content: center; }
.cta-image img { border-radius: var(--radius-lg); max-height: 380px; width: auto; }

/* فوتر */
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.socials .ic { width: 18px; height: 18px; }
.footer-trust { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ویژوال (GrapesJS): بلوک‌های پایه سازگار با طراحی سایت */
.vb-root { position: relative; }
.vb-root img { height: auto; }
.vb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; align-items: start; }
.vb-col { min-height: 40px; }
.vb-card { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.vb-card h3 { font-size: 19px; font-weight: 900; }
.vb-card p { margin-top: 8px; color: var(--ink-2); }
.vb-center { text-align: center; }
.vb-quote { margin: 0; padding: 18px 24px; border-inline-start: 4px solid var(--teal-300); background: var(--surface-2); border-radius: 14px; font-size: 17px; color: var(--ink-2); }
.vb-hr { border: 0; height: 1px; background: var(--line); margin: 24px 0; }
.vb-h { font-size: clamp(26px, 3.2vw, 38px); font-weight: 950; letter-spacing: -.5px; }
.vb-p { color: var(--ink-2); font-size: 16px; line-height: 2.1; }
.vb-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.vb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; }
.vb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* متن‌های راهنمای صفحه‌ساز */
.ed-note { color: var(--ink-3); font-size: 14px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: 14px; display: block; text-align: center; }
.ed-empty { margin: 140px auto; max-width: 520px; text-align: center; color: var(--ink-3); padding: 40px; border: 2px dashed var(--line-2); border-radius: 24px; }
.site-editing .reveal { opacity: 1 !important; transform: none !important; }

/* هدر شفاف روی سکشن اول تیره */
.top-dark .nav:not(.scrolled):not(.open) .brand-name,
.top-dark .nav:not(.scrolled):not(.open) .nav-links > a,
.top-dark .nav:not(.scrolled):not(.open) .icon-btn { color: #eef5f6; }
.top-dark .nav:not(.scrolled):not(.open) .nav-links > a:hover { color: #fff; }
.top-dark .nav:not(.scrolled):not(.open) .brand img { filter: brightness(1.8) saturate(.9); }
.top-dark .nav:not(.scrolled):not(.open) .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
