/* فونت وزیرمتن (محلی، مجوز SIL OFL) */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Variable.woff2") format("woff2-variations"), url("fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* =========================================================
   زرین هور — قالب خام v2
   پالت از رنگ لوگو (#6E54F3) و موتیف «مدار» لوگو گرفته شده
   ========================================================= */

:root, .dark {
  /* زمینه‌ها */
  --bg:        #0F0A24;
  --bg-2:      #140D30;
  --surface:   #1B1340;
  --surface-2: #241A52;
  --line:      rgba(167, 150, 255, .14);
  --line-2:    rgba(167, 150, 255, .30);

  /* برند */
  --brand:     #6E54F3;   /* رنگ دقیق لوگو */
  --brand-2:   #8F7BFF;
  --brand-3:   #B9ADFF;
  --orchid:    #D35CFF;
  --mint:      #4FE3C1;   /* فقط برای وضعیت‌های مثبت */

  --text:      #F2EFFF;
  --muted:     #A49CC8;

  --grad:      linear-gradient(120deg, var(--brand) 0%, #9B5CFF 55%, var(--orchid) 100%);

  /* تایپوگرافی */
  --font: "Vazirmatn", Tahoma, sans-serif;
  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   clamp(1.85rem, 1.3rem + 2vw, 2.75rem);
  --fs-hero: clamp(2.3rem, 1.2rem + 3.8vw, 4.1rem);

  /* اندازه‌ها */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 9vw, 130px);
  --r-sm: 12px;
  --r:    20px;
  --r-lg: 30px;
}

/* ---------- پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.4; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 8px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100;
  background: var(--brand); color: #fff; padding: 8px 16px; border-radius: var(--r-sm); font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* آیکن‌های خطی */
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(110, 84, 243, .16); color: var(--brand-3);
  border: 1px solid rgba(110, 84, 243, .3);
}
.ico svg { width: 24px; height: 24px; }
.ico--lg { width: 64px; height: 64px; border-radius: 18px; background: var(--grad); color: #fff; border: 0; }
.ico--lg svg { width: 30px; height: 30px; }
.ico--sm { width: 38px; height: 38px; border-radius: 11px; }
.ico--sm svg { width: 18px; height: 18px; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border: 0; border-radius: 999px;
  background: var(--grad); background-size: 140% 100%;
  color: #fff; font-weight: 700; white-space: nowrap; cursor: pointer;
  box-shadow: 0 12px 30px -12px rgba(110, 84, 243, .9), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: transform .2s, box-shadow .2s, background-position .4s;
}
.btn:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 38px -12px rgba(211, 92, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { background: rgba(110, 84, 243, .06); color: var(--brand-3); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: rgba(110, 84, 243, .16); box-shadow: inset 0 0 0 1.5px var(--brand-2); }
.btn--sm { padding: 9px 20px; font-size: var(--fs-sm); }
.btn--lg { padding: 15px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- برند ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 4px; }
.brand__text { display: grid; line-height: 1.3; }
.brand__text strong { font-size: 1.2rem; font-weight: 900; }
.brand__text small { font-size: .72rem; color: var(--muted); }

/* =========================================================
   نوار بالا و هدر
   ========================================================= */
.topbar { background: #0A0619; border-bottom: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__links { display: flex; gap: 24px; }
.topbar a:hover { color: var(--text); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 10, 36, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 2px; }
.nav__list > li > a {
  display: block; padding: 8px 15px; border-radius: 999px;
  color: var(--muted); font-weight: 500; transition: .2s;
}
.nav__list > li > a:hover, .nav__list > li > a[aria-current="page"] { color: var(--text); background: rgba(110, 84, 243, .16); }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__login { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-sm); }
.nav__login svg { width: 18px; height: 18px; }
.nav__login:hover { color: var(--text); }

/* مگامنو خدمات */
.nav__has-mega { position: relative; }
.nav__has-mega > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-inline-start: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.mega {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -40px;
  width: 560px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease;
}
.nav__has-mega:hover .mega, .nav__has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega__item { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: var(--r-sm); }
.mega__item:hover { background: var(--surface-2); }
.mega__item .ico { width: 42px; height: 42px; }
.mega__item strong { display: block; font-size: var(--fs-sm); }
.mega__item small { color: var(--muted); font-size: var(--fs-xs); }

/* منوی موبایل */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; place-items: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); position: relative; transition: .25s; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; inset-inline: 0; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-toggle:focus-visible + .nav-burger { outline: 2px solid var(--brand-3); outline-offset: 3px; }

/* =========================================================
   هیرو
   ========================================================= */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__glow--a { width: 620px; height: 620px; left: -120px; top: -80px; background: rgba(110, 84, 243, .45); }
.hero__glow--b { width: 420px; height: 420px; left: 30%; bottom: -200px; background: rgba(211, 92, 255, .28); }
.hero__grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(167, 150, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 150, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
}

.hero__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 64px); }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 14px; border-radius: 999px;
  background: rgba(110, 84, 243, .12); border: 1px solid var(--line-2);
  color: var(--brand-3); font-size: var(--fs-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(79, 227, 193, .18); }

.hero__title { margin-top: 24px; font-size: var(--fs-hero); font-weight: 900; line-height: 1.3; }
.hero__title-line {
  display: block;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .1em;
}
.hero__lead { margin-top: 22px; max-width: 34em; color: var(--muted); font-size: var(--fs-md); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust p { color: var(--muted); font-size: var(--fs-sm); max-width: 22em; }
.avatars { display: flex; flex: none; }
.avatars img, .avatars span {
  width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--bg); object-fit: cover; object-position: top;
  margin-inline-start: -12px; background: var(--surface-2);
}
.avatars img:first-child { margin-inline-start: 0; }
.avatars span { display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--brand); }

/* صحنه هیرو: مدار لوگو + سه اسکرین‌شات */
.hero__stage { position: relative; aspect-ratio: 1 / .95; }
.orbit {
  position: absolute; inset: 6% 2%;
  border-radius: 50%;
  border: 1.5px solid rgba(143, 123, 255, .35);
  transform: rotate(-28deg);
}
.orbit--2 { inset: 16% 12%; border-color: rgba(211, 92, 255, .22); border-style: dashed; transform: rotate(18deg); }
.orbit--1::after {
  content: ""; position: absolute; top: 50%; left: -7px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--brand-2); box-shadow: 0 0 20px var(--brand-2);
}
.hero__logo {
  position: absolute; z-index: 4; width: 88px; height: 88px; padding: 10px;
  top: 2%; right: 8%;
  background: #fff; border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(110, 84, 243, .8);
}

.shot {
  position: absolute; margin: 0;
  width: 58%; aspect-ratio: 10 / 12;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
  animation: fan-in 1.1s cubic-bezier(.2, .8, .2, 1) both;
}
.shot img { width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; }
.shot--back  { left: 0;   top: 14%; transform: rotate(-8deg); z-index: 1; opacity: .75; animation-delay: .05s; --from: rotate(0) translateX(40%); }
.shot--mid   { left: 22%; top: 6%;  transform: rotate(-1deg); z-index: 2; animation-delay: .15s; --from: rotate(0) translateY(10%); }
.shot--front { right: 0;  top: 22%; transform: rotate(6deg);  z-index: 3; animation-delay: .25s; --from: rotate(0) translateX(-40%); }
@keyframes fan-in { from { transform: var(--from); opacity: 0; } }

.shot__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 12px; background: rgba(10, 6, 25, .85); border-bottom: 1px solid var(--line); direction: ltr; }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a2e6b; }
.shot__bar i:nth-child(1) { background: #FF6B9A; }
.shot__bar i:nth-child(2) { background: #FFC75A; }
.shot__bar i:nth-child(3) { background: #4FE3C1; }
.shot__bar span { margin-inline-start: 10px; font-size: .68rem; color: var(--muted); }

.chip {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px;
  background: rgba(27, 19, 64, .92); border: 1px solid var(--line-2); border-radius: 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
  animation: fan-in .9s .6s cubic-bezier(.2, .8, .2, 1) both; --from: translateY(14px);
}
.chip small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.4; }
.chip strong { font-size: .95rem; }
.chip--speed { bottom: 4%; left: 4%; }
.chip--order { top: 46%; right: -4%; }
.chip__ring {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--mint) 0 98%, rgba(255, 255, 255, .1) 0);
  position: relative;
}
.chip__ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--surface); }
.chip__ring b { position: relative; color: var(--mint); font-size: .95rem; }
.chip__ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.chip__ico svg { width: 20px; height: 20px; }

/* =========================================================
   مارکی نام پروژه‌ها
   ========================================================= */
.ticker { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding-block: 20px; direction: ltr; }
.ticker__track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker ul { display: flex; gap: 56px; padding-inline-end: 56px; }
.ticker li { display: flex; align-items: center; gap: 56px; font-size: 1.15rem; font-weight: 800; color: rgba(185, 173, 255, .55); white-space: nowrap; }
.ticker li::after { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--brand-2); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* =========================================================
   بخش‌های عمومی
   ========================================================= */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.head { max-width: 660px; margin-bottom: clamp(40px, 5vw, 64px); }
.head h2 { font-size: var(--fs-xl); font-weight: 900; }
.head p { margin-top: 12px; color: var(--muted); font-size: var(--fs-md); }
.head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.head--row > div { max-width: 660px; }
.head--center { margin-inline: auto; text-align: center; }

/* ---------- خدمات (بنتو) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.tile .ico { margin-bottom: 10px; }
.tile h3 { font-size: var(--fs-lg); }
.tile p { color: var(--muted); }

.tile--hero {
  grid-column: span 2; grid-row: span 2;
  display: grid; grid-template-rows: auto 1fr; gap: 28px;
  padding: clamp(28px, 3vw, 40px);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(110, 84, 243, .35), transparent 70%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  overflow: hidden;
}
.tile--hero h3 { font-size: var(--fs-xl); }
.tile--hero p { font-size: var(--fs-md); max-width: 30em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tags li { padding: 4px 14px; border-radius: 999px; background: rgba(110, 84, 243, .14); border: 1px solid var(--line-2); color: var(--brand-3); font-size: var(--fs-xs); }
.tile__visual { position: relative; min-height: 220px; margin-bottom: calc(-1 * clamp(28px, 3vw, 40px)); }
.mini-browser {
  position: absolute; inset: 0 8% 0 8%;
  border: 1px solid var(--line-2); border-bottom: 0; border-radius: 16px 16px 0 0;
  overflow: hidden; background: var(--bg);
  box-shadow: 0 -20px 60px -20px rgba(110, 84, 243, .6);
}
.mini-browser img { width: 100%; height: calc(100% - 34px); object-fit: cover; object-position: top; transition: object-position 3s ease; }
.tile--hero:hover .mini-browser img { object-position: bottom; }

.tile--accent {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 24px;
  background: var(--grad); border: 0;
}
.tile--accent .ico { margin-bottom: 0; }
.tile--accent .ico { background: rgba(255, 255, 255, .18); color: #fff; border-color: rgba(255, 255, 255, .3); }
.tile--accent p { color: rgba(255, 255, 255, .85); }

/* ---------- درباره + ویدیو ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__media { position: relative; }
.video {
  aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2); background: var(--surface);
  box-shadow: 0 40px 80px -30px rgba(110, 84, 243, .55);
}
.video iframe { width: 100%; height: 100%; border: 0; }
.about__badge {
  position: absolute; bottom: -26px; inset-inline-end: 24px;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8);
}
.about__badge img { background: #fff; border-radius: 10px; padding: 4px; }
.about__badge strong { display: block; font-size: .95rem; }
.about__badge small { color: var(--muted); font-size: .72rem; }
.about__text h2 { font-size: var(--fs-xl); font-weight: 900; }
.about__text .lead { margin-top: 16px; color: var(--muted); font-size: var(--fs-md); }
.checks { display: grid; gap: 12px; margin-top: 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 8px;
  background: rgba(79, 227, 193, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234FE3C1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.call { display: inline-flex; align-items: center; gap: 12px; }
.call__ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); color: var(--brand-3); }
.call__ico svg { width: 20px; height: 20px; }
.call small { display: block; color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.call strong { font-size: 1.15rem; }
.call:hover .call__ico { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- آمار ---------- */
.stats { background: var(--bg); }
.stats__row { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 12px; }
.stat { padding: 36px 24px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat strong {
  display: block; font-size: clamp(2.2rem, 1.4rem + 2vw, 3.2rem); font-weight: 900; line-height: 1.2;
  background: linear-gradient(180deg, #fff, var(--brand-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- نمونه‌کارها: اسکرول صفحه با هاور ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work { display: flex; flex-direction: column; gap: 14px; }
.work--tall { grid-row: span 2; }
.work__frame {
  flex: 1; display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .25s, box-shadow .25s;
}
.work__screen { position: relative; flex: 1; min-height: 240px; overflow: hidden; }
.work__screen img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: object-position 4.5s cubic-bezier(.45, 0, .55, 1);
}
.work:hover .work__screen img, .work:focus-visible .work__screen img { object-position: bottom; }
.work:hover .work__frame { border-color: var(--brand-2); box-shadow: 0 30px 60px -30px rgba(110, 84, 243, .9); }
.work__meta h3 { font-size: var(--fs-md); }
.work__meta span { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- فرآیند ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 32px 26px 28px;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--bg);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 56px; inset-inline-end: -21px; width: 22px; height: 2px;
  background: var(--brand-2); opacity: .6;
}
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px;
  border-radius: 16px; font-size: 1.4rem; font-weight: 900;
  background: rgba(110, 84, 243, .14); border: 1px solid var(--line-2); color: var(--brand-3);
}
.step:last-child .step__num { background: var(--grad); color: #fff; border: 0; }
.step h3 { font-size: var(--fs-lg); margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- تعرفه‌ها ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: center; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg);
  border: 1px solid var(--line); background: var(--bg-2);
}
.plan header h3 { font-size: var(--fs-lg); }
.plan header p { color: var(--muted); font-size: var(--fs-sm); }
.plan__price { padding-block: 18px; border-block: 1px solid var(--line); color: var(--muted); }
.plan__price strong { font-size: 2rem; font-weight: 900; color: var(--text); margin-inline-end: 6px; }
.plan ul { display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%;
  background: rgba(110, 84, 243, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9ADFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--featured {
  padding-block: clamp(40px, 4vw, 56px);
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(110, 84, 243, .45), transparent 70%),
    var(--surface);
  border: 1.5px solid var(--brand);
  box-shadow: 0 40px 80px -30px rgba(110, 84, 243, .8);
}
.plan__badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  padding: 4px 18px; border-radius: 999px; background: var(--grad);
  font-size: var(--fs-xs); font-weight: 800; white-space: nowrap;
}

/* ---------- مجله ---------- */
.posts { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.post { display: grid; grid-template-columns: 160px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); }
.post__img { display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.06); }
.post time { color: var(--brand-2); font-size: var(--fs-xs); }
.post h3 { font-size: 1.02rem; line-height: 1.7; margin-top: 4px; }
.post h3 a:hover { color: var(--brand-3); }
.post p { color: var(--muted); font-size: var(--fs-sm); margin-top: 8px; }
.post--lead { grid-row: span 2; grid-template-columns: 1fr; align-content: start; padding: 16px 16px 26px; }
.post--lead .post__img { aspect-ratio: 16 / 9; }
.post--lead .post__body { padding-inline: 8px; }
.post--lead h3 { font-size: var(--fs-lg); }

/* ---------- سؤالات متداول ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq .head { position: sticky; top: 120px; margin-bottom: 0; }
.faq .call { margin-top: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__list details { border-radius: var(--r); border: 1px solid var(--line); background: var(--bg-2); transition: border-color .2s; }
.faq__list details[open] { border-color: var(--line-2); background: var(--surface); }
.faq__list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; font-weight: 700; list-style: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(110, 84, 243, .16); color: var(--brand-3); font-size: 1.3rem; font-weight: 500; transition: transform .25s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq__list details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- فرم سفارش ---------- */
.order { padding-bottom: var(--section); }
.order__card {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px);
  padding: clamp(28px, 5vw, 64px); border-radius: 36px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(110, 84, 243, .5), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(211, 92, 255, .3), transparent 65%),
    var(--surface);
  border: 1px solid var(--line-2);
  position: relative; overflow: hidden;
}
.order__card::before {
  content: ""; position: absolute; width: 520px; height: 260px; top: -60px; right: -120px;
  border: 1.5px solid rgba(185, 173, 255, .2); border-radius: 50%; transform: rotate(-25deg);
}
.order__logo { background: #fff; border-radius: 18px; padding: 8px; margin-bottom: 24px; }
.order__text h2 { font-size: var(--fs-xl); font-weight: 900; }
.order__text > p { margin-top: 12px; color: var(--brand-3); font-size: var(--fs-md); }
.contact-list { display: grid; gap: 14px; margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a:hover { color: var(--brand-3); }

.form { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { font-size: var(--fs-sm); color: var(--brand-3); font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(15, 10, 36, .65); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field ::placeholder { color: rgba(164, 156, 200, .6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(110, 84, 243, .25); }
.field input:user-invalid { border-color: #FF6B9A; }

.choices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; }
.choices span {
  display: grid; place-items: center; text-align: center; min-height: 48px; padding: 8px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(15, 10, 36, .65);
  font-size: var(--fs-sm); color: var(--muted); transition: .2s;
}
.choices input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.choices input:focus-visible + span { outline: 2px solid var(--brand-3); outline-offset: 2px; }

.check { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--muted); }
.check input { width: 18px; height: 18px; accent-color: var(--brand); }
.check a { color: var(--brand-3); text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   فوتر
   ========================================================= */
.footer { background: #0A0619; border-top: 1px solid var(--line); }
.footer__news {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-block: 40px; border-bottom: 1px solid var(--line);
}
.footer__news h2 { font-size: var(--fs-lg); }
.footer__news p { color: var(--muted); font-size: var(--fs-sm); }
.news-form { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); width: min(100%, 440px); }
.news-form input { flex: 1; min-width: 0; padding: 8px 18px; background: transparent; border: 0; }
.news-form input:focus { outline: none; }

.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px; }
.footer__about p { margin-top: 18px; color: var(--muted); font-size: var(--fs-sm); max-width: 28em; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { font-size: 1rem; margin-bottom: 6px; }
.footer__col a { color: var(--muted); font-size: var(--fs-sm); width: fit-content; }
.footer__col a:hover { color: var(--text); }
.enamad { display: inline-block; padding: 8px; border-radius: var(--r-sm); background: #fff; width: fit-content; }
.enamad img { width: 96px; height: auto; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-block: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs);
}
.footer__bottom nav { display: flex; gap: 20px; }
.footer__bottom a:hover { color: var(--text); }

/* =========================================================
   واکنش‌گرا
   ========================================================= */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stage { max-width: 600px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-column: 1 / -1; grid-row: auto; }
  .about { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .work--tall { grid-column: 1 / -1; grid-row: auto; }
  .work--tall .work__screen { min-height: 360px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .posts { grid-template-columns: 1fr; }
  .post--lead { grid-row: auto; }
  .faq { grid-template-columns: 1fr; }
  .faq .head { position: static; }
  .order__card { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .nav-burger { display: grid; }
  .nav {
    position: fixed; inset: 80px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 28px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 80px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav-toggle:checked ~ .nav { opacity: 1; visibility: visible; transform: none; }
  .nav-toggle:checked + .nav-burger span { background: transparent; }
  .nav-toggle:checked + .nav-burger span::before { top: 0; transform: rotate(45deg); }
  .nav-toggle:checked + .nav-burger span::after { top: 0; transform: rotate(-45deg); }
  .nav__list { flex-direction: column; }
  .nav__list > li > a { border-radius: var(--r-sm); padding: 12px 14px; }
  .nav__has-mega > a::after { display: none; }
  .mega { position: static; width: auto; opacity: 1; visibility: inherit; transform: none; grid-template-columns: 1fr; box-shadow: none; background: transparent; border: 0; padding: 0 8px; }
  .mega__item small { display: none; }
  .nav__actions { justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }

  .stats__row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .head--row { flex-direction: column; align-items: flex-start; }
  .choices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .brand__text small { display: none; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__trust { flex-direction: column; align-items: flex-start; }
  .hero__logo { width: 64px; height: 64px; border-radius: 18px; }
  .chip--order { right: 0; }
  .chip { padding: 8px 12px 8px 10px; }
  .bento, .works, .process, .form { grid-template-columns: 1fr; }
  .tile--accent { grid-template-columns: 1fr; }
  .tile__visual { min-height: 180px; }
  .post { grid-template-columns: 96px 1fr; }
  .about__badge { inset-inline-end: 12px; }
  .footer__grid { grid-template-columns: 1fr; }
  .news-form { border-radius: var(--r); flex-direction: column; }
  .news-form .btn { width: 100%; }
}

/* احترام به تنظیم کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   پوسته روشن — بخش‌ها یکی‌درمیان روشن و بنفش
   فقط توکن‌ها عوض می‌شوند؛ همه اجزا خودکار تطبیق پیدا می‌کنند
   ========================================================= */
.light {
  --bg:        #FFFFFF;
  --bg-2:      #F5F3FF;
  --surface:   #FFFFFF;
  --surface-2: #EFEBFF;
  --line:      rgba(45, 30, 120, .10);
  --line-2:    rgba(45, 30, 120, .18);
  --text:      #17112F;
  --muted:     #5F5884;
  --brand-3:   #5B41E6;
  --shadow:    0 1px 2px rgba(35, 20, 90, .05), 0 18px 40px -22px rgba(35, 20, 90, .28);
  background: var(--bg);
  color: var(--text);
}
.dark { color: var(--text); }

/* ورقه‌ها: هر بخش با گوشه‌های گرد روی بخش قبلی می‌نشیند */
:root { --sheet: clamp(28px, 4vw, 56px); }
.section {
  position: relative;
  background: var(--bg);
  border-radius: var(--sheet) var(--sheet) 0 0;
  margin-top: calc(-1 * var(--sheet));
  padding-top: calc(var(--section) + var(--sheet) * .4);
}
.section--alt { background: var(--bg-2); border-block: 0; }
.dark.section, .section:not(.light) {
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(110, 84, 243, .22), transparent 70%),
    var(--bg-2);
}
/* لبه نورانی بالای بخش‌های تیره */
.section:not(.light)::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(185, 173, 255, .5), transparent);
}

/* نوار مشتریان: باند گرادیانی بین هیرو و بخش روشن */
.ticker {
  background: var(--grad); border: 0;
  padding-block: 22px calc(22px + var(--sheet));
}
.ticker li { color: rgba(255, 255, 255, .88); }
.ticker li::after { border-color: rgba(255, 255, 255, .7); }

/* آمار روی زمینه روشن */
.stats.light { background: var(--bg-2); padding-bottom: var(--sheet); border-top: 1px solid var(--line); }
.light .stat strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; }

/* سایه نرم برای کارت‌ها در بخش روشن */
.light .tile, .light .plan, .light .work__frame, .light .faq__list details, .light .post {
  box-shadow: var(--shadow);
}
.light .tile { background: #fff; }
.light .tile--hero {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(110, 84, 243, .16), transparent 70%),
    linear-gradient(180deg, #fff, var(--bg-2));
}
.light .tile--accent { background: var(--grad); color: #fff; }
.light .tile--accent h3 { color: #fff; }
.light .faq__list details[open] { background: #fff; border-color: rgba(110, 84, 243, .35); }
.light .plan { background: #fff; }
.light .plan--featured {
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(110, 84, 243, .14), transparent 70%),
    #fff;
}
.light .plan li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B41E6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E");
}
.light .work__frame { border-color: var(--line); }
.light .ico { background: rgba(110, 84, 243, .10); border-color: rgba(110, 84, 243, .2); }
.light .tags li { background: rgba(110, 84, 243, .08); }
.light .call__ico { border-color: rgba(110, 84, 243, .3); }

/* فرم سفارش: کارت بنفش روی زمینه روشن */
.order.light { background: linear-gradient(180deg, #fff 0%, var(--bg-2) 100%); }
.order__card.dark { box-shadow: 0 50px 100px -40px rgba(60, 30, 160, .55); }

/* =========================================================
   صفحات داخلی
   ========================================================= */

/* ---------- سربرگ صفحه ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(48px, 7vw, 96px) calc(clamp(56px, 7vw, 96px) + var(--sheet));
}
.page-hero .hero__glow--a { width: 520px; height: 520px; left: -160px; top: -200px; }
.page-hero .hero__glow--b { width: 360px; height: 360px; left: 45%; bottom: -220px; }
.page-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); font-weight: 900; line-height: 1.3; margin-top: 18px; }
.page-hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero__lead { margin-top: 16px; max-width: 38em; color: var(--muted); font-size: var(--fs-md); }
.page-hero__aside { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs li + li::before { content: "/"; margin-inline-end: 8px; opacity: .5; }
.crumbs [aria-current] { color: var(--brand-3); }

.meta-chip {
  display: grid; gap: 2px; padding: 14px 18px; min-width: 130px;
  border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(27, 19, 64, .6);
  backdrop-filter: blur(8px);
}
.meta-chip small { color: var(--muted); font-size: var(--fs-xs); }
.meta-chip strong { font-size: 1.05rem; }

/* ---------- باند دعوت به اقدام ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(211, 92, 255, .45), transparent 60%),
    linear-gradient(120deg, #2A1A6E, #4B2FC9);
  color: #fff;
  box-shadow: 0 40px 80px -40px rgba(60, 30, 160, .6);
}
.cta-band::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 200px; left: -80px; bottom: -90px;
  border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 50%; transform: rotate(-20deg);
}
.cta-band h2 { font-size: var(--fs-xl); font-weight: 900; }
.cta-band p { margin-top: 8px; color: rgba(255, 255, 255, .78); max-width: 34em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.section--end { padding-bottom: var(--section); }

/* ---------- فهرست خدمات ---------- */
.svc-list { display: grid; gap: 20px; }
.svc {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: start;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s;
}
.svc:hover { border-color: rgba(110, 84, 243, .45); }
.svc h2 { font-size: var(--fs-lg); }
.svc > div > p { margin-top: 8px; color: var(--muted); max-width: 46em; }
.svc ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; }
.svc li { display: flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text); }
.svc li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.svc .btn { align-self: center; }

/* ---------- محتوای دوستونه + سایدبار ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 18px; }
.side-card { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.side-card h3 { font-size: var(--fs-md); margin-bottom: 14px; }
.side-card dl { display: grid; gap: 0; margin: 0 0 22px; }
.side-card dl div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-2); }
.side-card dt { color: var(--muted); font-size: var(--fs-sm); }
.side-card dd { margin: 0; font-weight: 700; }
.side-card--brand { background: var(--grad); border: 0; color: #fff; }
.side-card--brand p { color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); }
.side-card--brand .call strong { color: #fff; }
.side-card--brand .call__ico { border-color: rgba(255, 255, 255, .5); color: #fff; }
.side-card--brand .call small { color: rgba(255, 255, 255, .75); }

/* ---------- متن مقاله (prose) ---------- */
.prose { font-size: 1.0625rem; line-height: 2.05; color: var(--text); max-width: 46em; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-lg); font-weight: 900; margin-top: 2em; scroll-margin-top: 120px; }
.prose h3 { font-size: var(--fs-md); font-weight: 800; margin-top: 1.6em; }
.prose p, .prose li { color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-3); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote {
  margin-inline: 0; padding: 18px 24px; border-radius: var(--r);
  border-inline-start: 4px solid var(--brand); background: var(--bg-2); font-weight: 600;
}
.prose figure { margin-inline: 0; }
.prose figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: var(--fs-sm); text-align: center; }
.prose .lead { font-size: var(--fs-md); font-weight: 500; }
.callout {
  display: flex; gap: 14px; padding: 18px 22px; border-radius: var(--r);
  background: rgba(110, 84, 243, .08); border: 1px solid rgba(110, 84, 243, .25);
}
.callout strong { color: var(--brand-3); }

/* فهرست مطالب */
.toc ol { display: grid; gap: 4px; counter-reset: toc; }
.toc a {
  display: flex; gap: 10px; padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--muted); font-size: var(--fs-sm); counter-increment: toc;
}
.toc a::before { content: counter(toc, persian); color: var(--brand-3); font-weight: 800; }
.toc a:hover { background: var(--bg-2); color: var(--text); }

/* ---------- فیلتر فقط با CSS ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-input { position: absolute; opacity: 0; pointer-events: none; }
.filters label {
  padding: 9px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-weight: 600; font-size: var(--fs-sm);
  transition: .2s;
}
.filters label:hover { color: var(--text); border-color: rgba(110, 84, 243, .45); }
.filters label span { margin-inline-start: 6px; opacity: .6; font-weight: 500; }
#f-all:checked ~ .filters [for="f-all"],
#f-shop:checked ~ .filters [for="f-shop"],
#f-corp:checked ~ .filters [for="f-corp"],
#f-edu:checked ~ .filters [for="f-edu"],
#f-med:checked ~ .filters [for="f-med"],
#f-app:checked ~ .filters [for="f-app"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-input:focus-visible ~ .filters label { outline: none; }
#f-all:focus-visible ~ .filters [for="f-all"], #f-shop:focus-visible ~ .filters [for="f-shop"],
#f-corp:focus-visible ~ .filters [for="f-corp"], #f-edu:focus-visible ~ .filters [for="f-edu"],
#f-med:focus-visible ~ .filters [for="f-med"], #f-app:focus-visible ~ .filters [for="f-app"] { outline: 2px solid var(--brand-3); outline-offset: 3px; }
#f-shop:checked ~ .gallery .work:not([data-cat~="shop"]),
#f-corp:checked ~ .gallery .work:not([data-cat~="corp"]),
#f-edu:checked ~ .gallery .work:not([data-cat~="edu"]),
#f-med:checked ~ .gallery .work:not([data-cat~="med"]),
#f-app:checked ~ .gallery .work:not([data-cat~="app"]) { display: none; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.gallery .work__screen { min-height: 300px; }
.badge { display: inline-block; padding: 2px 12px; border-radius: 999px; background: rgba(110, 84, 243, .12); color: var(--brand-3); font-size: var(--fs-xs); font-weight: 700; }

/* ---------- جزئیات پروژه ---------- */
.showcase { position: relative; margin-top: calc(-1 * var(--sheet) - 40px); z-index: 2; }
.showcase .work__frame { box-shadow: 0 50px 100px -40px rgba(30, 15, 90, .55); border-color: var(--line-2); }
.showcase .work__screen { min-height: clamp(320px, 50vw, 620px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.fact .ico { margin-bottom: 14px; }
.fact h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: var(--fs-sm); }
.tech { display: flex; flex-wrap: wrap; gap: 10px; }
.tech li { padding: 8px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-weight: 700; font-size: var(--fs-sm); direction: ltr; }
.pager-next {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  padding: 28px 32px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface);
}
.pager-next small { color: var(--muted); }
.pager-next strong { display: block; font-size: var(--fs-lg); }
.pager-next:hover { border-color: var(--brand-2); }
.arrow { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; }
.arrow svg { width: 24px; height: 24px; }

/* ---------- وبلاگ ---------- */
.searchbar {
  display: flex; gap: 8px; padding: 6px; margin-top: 28px; max-width: 520px;
  border-radius: 999px; background: rgba(27, 19, 64, .8); border: 1px solid var(--line-2);
}
.searchbar input { flex: 1; min-width: 0; padding: 8px 18px; background: transparent; border: 0; }
.searchbar input:focus { outline: none; }
.searchbar:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(110, 84, 243, .25); }

.feature-post {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
  padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  margin-bottom: 40px;
}
.feature-post .post__img { aspect-ratio: 16/10; }
.feature-post h2 { font-size: var(--fs-xl); line-height: 1.5; margin-block: 10px; }
.feature-post p { color: var(--muted); }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: var(--fs-sm); }
.byline .avatar { width: 36px; height: 36px; font-size: .85rem; color: #fff; }
.byline b { color: var(--text); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card-post { display: flex; flex-direction: column; gap: 10px; padding: 12px 12px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.card-post .post__img { aspect-ratio: 16/10; border-radius: 16px; }
.card-post > :not(.post__img) { padding-inline: 8px; }
.card-post time { color: var(--brand-3); font-size: var(--fs-xs); font-weight: 600; }
.card-post h3 { font-size: 1.02rem; line-height: 1.7; }
.card-post h3 a:hover { color: var(--brand-3); }
.card-post p { color: var(--muted); font-size: var(--fs-sm); }
.card-post:hover .post__img img { transform: scale(1.05); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span {
  min-width: 46px; height: 46px; padding-inline: 14px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface); font-weight: 700;
}
.pagination [aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a:hover { border-color: var(--brand-2); }

/* ---------- مقاله ---------- */
.article-hero h1 { max-width: 22em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: var(--fs-sm); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta svg { width: 16px; height: 16px; color: var(--brand-3); }
.article-cover { position: relative; z-index: 2; margin-top: calc(-1 * var(--sheet) - 48px); }
.article-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(30, 15, 90, .5); background: var(--surface-2); }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 48px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.author-box .avatar { width: 64px; height: 64px; font-size: 1.4rem; color: #fff; flex: none; }
.author-box p { color: var(--muted); font-size: var(--fs-sm); }
.share { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); }
.share a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--brand-3); }
.share a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.share svg { width: 18px; height: 18px; }

/* ---------- درباره ما ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story__visual { position: relative; aspect-ratio: 1; max-width: 460px; margin-inline: auto; width: 100%; }
.story__visual .orbit { inset: 4%; border-color: rgba(110, 84, 243, .35); }
.story__visual .orbit--2 { inset: 18%; border-color: rgba(211, 92, 255, .3); }
.story__logo { position: absolute; inset: 30%; display: grid; place-items: center; border-radius: 32%; background: #fff; box-shadow: 0 30px 70px -20px rgba(110, 84, 243, .7); }
.story__logo img { width: 70%; }
.story__tag { position: absolute; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-weight: 700; font-size: var(--fs-sm); box-shadow: var(--shadow, none); }
.story__tag:nth-of-type(1) { top: 6%; right: 8%; }
.story__tag:nth-of-type(2) { top: 46%; left: -2%; }
.story__tag:nth-of-type(3) { bottom: 6%; right: 18%; }
.story__text h2 { font-size: var(--fs-xl); font-weight: 900; }
.story__text p { margin-top: 16px; color: var(--muted); font-size: var(--fs-md); }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); }
.value .ico { margin-bottom: 16px; }
.value h3 { font-size: var(--fs-md); margin-bottom: 6px; }
.value p { color: var(--muted); font-size: var(--fs-sm); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { text-align: center; padding: 28px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.member__photo {
  width: 112px; height: 112px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 2rem; font-weight: 900; color: #fff;
  background: var(--grad); box-shadow: 0 0 0 6px rgba(110, 84, 243, .12);
}
.member__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.member h3 { font-size: var(--fs-md); }
.member p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- تماس ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 2; }
.c-card {
  display: grid; gap: 6px; align-content: start; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
a.c-card:hover { border-color: var(--brand-2); transform: translateY(-3px); }
.c-card .ico { margin-bottom: 10px; }
.c-card small { color: var(--muted); font-size: var(--fs-sm); }
.c-card strong { font-size: 1.05rem; }
.map {
  position: relative; overflow: hidden; min-height: 380px; border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(circle at 55% 45%, rgba(110, 84, 243, .35), transparent 40%),
    repeating-linear-gradient(0deg, rgba(167, 150, 255, .07) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(90deg, rgba(167, 150, 255, .07) 0 1px, transparent 1px 48px),
    var(--surface);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__pin {
  position: absolute; left: 55%; top: 45%; transform: translate(-50%, -100%);
  display: grid; justify-items: center; gap: 10px;
}
.map__pin span { padding: 10px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: var(--fs-sm); white-space: nowrap; }
.map__pin i { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--grad); box-shadow: 0 0 0 8px rgba(110, 84, 243, .25); }
.hours { display: grid; gap: 0; }
.hours li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours li span:last-child { font-weight: 700; }
.hours .off { color: var(--muted); }

/* ---------- قوانین ---------- */
.legal-note { margin-bottom: 28px; }
.updated { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- ۴۰۴ ---------- */
.nf { min-height: calc(100vh - 118px); display: grid; place-items: center; text-align: center; padding-block: 64px; position: relative; overflow: hidden; isolation: isolate; }
.nf__stage { position: relative; width: min(420px, 80vw); aspect-ratio: 1; margin: 0 auto 8px; }
.nf__stage .orbit { inset: 0; }
.nf__stage .orbit--2 { inset: 16%; }
.nf__code {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; line-height: 1;
  background: linear-gradient(180deg, #fff, var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf h1 { font-size: var(--fs-xl); font-weight: 900; }
.nf p { margin: 12px auto 0; max-width: 32em; color: var(--muted); }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- واکنش‌گرا: صفحات داخلی ---------- */
@media (max-width: 1100px) {
  .page-hero__inner { grid-template-columns: 1fr; align-items: start; }
  .page-hero__aside { justify-content: flex-start; }
  .split { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .gallery, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-post { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .values, .team, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .svc .btn { justify-self: start; }
  .gallery, .post-grid, .values, .team, .contact-cards, .facts { grid-template-columns: 1fr; }
  .meta-chip { min-width: 0; flex: 1 1 40%; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .pager-next { padding: 22px; }
  .story__tag:nth-of-type(2) { left: 0; }
}

/* آیکن سبد خرید در هدر */
.nav__icon { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--muted); border: 1px solid var(--line); }
.nav__icon:hover { color: var(--text); border-color: var(--line-2); }
.nav__icon svg { width: 20px; height: 20px; }
.nav__count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
@media (max-width: 1240px) and (min-width: 901px) { .nav__list > li > a { padding-inline: 10px; } .nav__login { display: none; } }

/* =========================================================
   فروشگاه محصولات دیجیتال
   ========================================================= */

/* کاور محصول — بدون عکس، فقط CSS؛ با --h رنگش عوض می‌شود */
.cover {
  --h: 260;
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 16 / 11; border-radius: 16px;
  background:
    radial-gradient(80% 80% at 100% 0%, hsl(calc(var(--h) + 40) 90% 65% / .55), transparent 60%),
    linear-gradient(150deg, hsl(var(--h) 70% 22%), hsl(calc(var(--h) + 20) 75% 12%));
  color: #fff; direction: ltr;
}
.cover::before {
  content: ""; position: absolute; z-index: -1; width: 120%; height: 70%; left: -30%; bottom: -30%;
  border: 1.5px solid hsl(var(--h) 90% 80% / .25); border-radius: 50%; transform: rotate(-18deg);
}
.cover__type { position: absolute; top: 14px; left: 14px; padding: 3px 10px; border-radius: 8px; background: rgba(255, 255, 255, .14); font-size: .7rem; font-weight: 700; letter-spacing: .02em; backdrop-filter: blur(6px); }
.cover__name { position: absolute; z-index: 1; left: 16px; bottom: 14px; max-width: 52%; font-size: 1.2rem; font-weight: 900; line-height: 1.15; letter-spacing: -.01em; text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.cover__ui {
  position: absolute; right: -6%; top: 24%; width: 50%; height: 70%;
  border-radius: 10px 0 0 0; background: rgba(255, 255, 255, .92);
  box-shadow: -20px 20px 50px -10px rgba(0, 0, 0, .45);
  background-image:
    linear-gradient(hsl(var(--h) 60% 50%), hsl(var(--h) 60% 50%)),
    linear-gradient(hsl(var(--h) 30% 88%), hsl(var(--h) 30% 88%)),
    linear-gradient(hsl(var(--h) 30% 88%), hsl(var(--h) 30% 88%)),
    linear-gradient(hsl(var(--h) 30% 92%), hsl(var(--h) 30% 92%)),
    linear-gradient(hsl(var(--h) 30% 92%), hsl(var(--h) 30% 92%));
  background-size: 100% 18%, 55% 7%, 40% 7%, 28% 30%, 28% 30%;
  background-position: 0 0, 10% 32%, 10% 45%, 10% 85%, 52% 85%;
  background-repeat: no-repeat;
}
.cover--phone .cover__ui { right: 14%; width: 30%; height: 92%; top: 18%; border-radius: 18px 18px 0 0; background-size: 100% 12%, 70% 6%, 50% 6%, 80% 22%, 80% 22%; background-position: 0 0, 50% 22%, 50% 32%, 50% 58%, 50% 90%; }
.cover--code .cover__ui { background: #1A1433; background-image: repeating-linear-gradient(180deg, transparent 0 10px, hsl(var(--h) 80% 75% / .5) 10px 12px, transparent 12px 22px); background-size: 70% 100%; background-position: 14px 18px; }

/* نوار ابزار فروشگاه */
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-side { position: sticky; top: 110px; display: grid; gap: 18px; }
.shop-side fieldset { margin: 0; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.shop-side legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.shop-side form { margin: 0; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; cursor: pointer; font-size: var(--fs-sm); }
.opt span { display: flex; align-items: center; gap: 10px; }
.opt input { width: 18px; height: 18px; accent-color: var(--brand); }
.opt small { color: var(--muted); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.shop-bar p { color: var(--muted); font-size: var(--fs-sm); }
.sort { display: flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); }
.sort a { padding: 6px 14px; border-radius: 999px; font-size: var(--fs-sm); color: var(--muted); }
.sort [aria-current] { background: var(--surface); color: var(--text); font-weight: 700; box-shadow: var(--shadow, none); }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 12px 12px 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.product:hover { border-color: rgba(110, 84, 243, .45); transform: translateY(-3px); }
.product > :not(.cover) { padding-inline: 6px; }
.product__kind { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--muted); }
.kind { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: var(--fs-xs); }
.kind--src { background: rgba(79, 227, 193, .14); color: #129E7E; }
.kind--lic { background: rgba(110, 84, 243, .12); color: var(--brand-3); }
.dark .kind--src, .section:not(.light) .kind--src { color: var(--mint); }
.product h3 { font-size: 1.02rem; line-height: 1.6; }
.product h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.product p { color: var(--muted); font-size: var(--fs-sm); }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.price { display: grid; line-height: 1.3; }
.price del { color: var(--muted); font-size: var(--fs-xs); }
.price strong { font-size: 1.15rem; font-weight: 900; }
.price strong small { font-size: .72rem; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.add-btn { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(110, 84, 243, .9); }
.add-btn svg { width: 20px; height: 20px; }
.ribbon { position: absolute; z-index: 1; top: 22px; right: 22px; padding: 3px 12px; border-radius: 999px; background: #FFC75A; color: #2A1450; font-size: var(--fs-xs); font-weight: 800; }
.stars { display: inline-flex; align-items: center; gap: 4px; color: #F5B83D; font-size: var(--fs-xs); font-weight: 700; }
.stars svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* نوار مزایای خرید */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.perk { display: flex; gap: 14px; align-items: flex-start; }
.perk h3 { font-size: 1rem; }
.perk p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- صفحه محصول ---------- */
.pd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.pd__gallery { display: grid; gap: 14px; position: relative; z-index: 2; margin-top: calc(-1 * var(--sheet) - 64px); }
.pd__gallery > .cover { aspect-ratio: 16 / 10; border-radius: var(--r-lg); box-shadow: 0 40px 80px -40px rgba(30, 15, 90, .6); }
.pd__gallery > .cover .cover__name { font-size: 2.2rem; left: 28px; bottom: 24px; max-width: 45%; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumbs .cover { aspect-ratio: 4/3; border-radius: 12px; outline: 2px solid transparent; outline-offset: 2px; }
.thumbs .cover:first-child { outline-color: var(--brand); }
.thumbs .cover__name, .thumbs .cover__type { display: none; }

.buy { position: sticky; top: 110px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.buy h2 { font-size: var(--fs-md); margin-bottom: 14px; }
.tiers { display: grid; gap: 10px; }
.tier { position: relative; cursor: pointer; }
.tier input { position: absolute; opacity: 0; }
.tier > span {
  display: grid; grid-template-columns: auto 1fr auto; gap: 4px 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--r); border: 1.5px solid var(--line-2); transition: .2s;
}
.tier > span::before { content: ""; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); transition: .2s; }
.tier b { font-size: 1rem; }
.tier em { font-style: normal; font-weight: 900; grid-row: span 2; }
.tier small { color: var(--muted); font-size: var(--fs-xs); }
.tier input:checked + span { border-color: var(--brand); background: rgba(110, 84, 243, .07); }
.tier input:checked + span::before { border-color: var(--brand); background: radial-gradient(circle, var(--brand) 0 45%, transparent 50%); }
.tier input:focus-visible + span { outline: 2px solid var(--brand-3); outline-offset: 2px; }
.buy__total { display: flex; justify-content: space-between; align-items: baseline; margin-block: 22px 16px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.buy__total span { color: var(--muted); }
.buy__total strong { font-size: 1.7rem; font-weight: 900; }
/* قیمت کل با انتخاب لایسنس عوض می‌شود (فقط CSS) */
.buy__total [data-tier] { display: none; }
.buy:has(#t1:checked) [data-tier="1"],
.buy:has(#t2:checked) [data-tier="2"],
.buy:has(#t3:checked) [data-tier="3"] { display: inline; }
.buy__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.buy__demo { width: 52px; padding: 0; }
.buy__list { display: grid; gap: 10px; margin-top: 20px; font-size: var(--fs-sm); }
.buy__list li { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.buy__list svg { width: 18px; height: 18px; color: var(--brand-3); flex: none; }

.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; text-align: left; }

.compare { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--muted); }
.compare thead th { font-size: 1rem; color: var(--text); }
.compare .yes { color: #12A981; font-weight: 900; }
.compare .no { color: var(--muted); opacity: .6; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }

.changelog { display: grid; gap: 14px; }
.changelog li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.changelog b { direction: ltr; text-align: right; color: var(--brand-3); }
.changelog p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- سبد خرید و تسویه ---------- */
.steps-bar { display: flex; align-items: center; gap: 0; margin-top: 28px; max-width: 560px; }
.steps-bar li { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--muted); font-size: var(--fs-sm); font-weight: 600; }
.steps-bar li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--line-2); margin-inline: 10px; }
.steps-bar i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; border: 1.5px solid var(--line-2); flex: none; }
.steps-bar .done i, .steps-bar [aria-current] i { background: var(--grad); border-color: transparent; color: #fff; }
.steps-bar [aria-current] { color: var(--text); }
.steps-bar .done::after { background: var(--brand) !important; }

.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cart-items { display: grid; gap: 16px; }
.line {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line);
}
.line .cover { aspect-ratio: 4/3; border-radius: 12px; }
.line .cover__name { font-size: .85rem; left: 10px; bottom: 8px; }
.line .cover__type { display: none; }
.line h3 { font-size: 1rem; }
.line__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 8px; color: var(--muted); font-size: var(--fs-xs); }
.line__meta span { display: inline-flex; align-items: center; gap: 6px; }
.line__end { display: grid; justify-items: end; gap: 10px; }
.line__end .price strong { font-size: 1.05rem; }
.remove { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: var(--fs-xs); }
.remove:hover { color: #E5486F; }
.remove svg { width: 16px; height: 16px; }
.field--light input, .field--light textarea, .field--light select {
  width: 100%; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field--light input:focus, .field--light textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(110, 84, 243, .18); }
.field--light label, .field--light .field__label { color: var(--text); }
.field__hint { color: var(--muted); font-size: var(--fs-xs); }

.panel { padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.panel + .panel { margin-top: 18px; }
.panel h2 { font-size: var(--fs-md); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel h2 .ico { width: 36px; height: 36px; border-radius: 10px; }
.panel h2 .ico svg { width: 18px; height: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.summary { position: sticky; top: 110px; }
.summary dl { display: grid; margin: 0; }
.summary dl div { display: flex; justify-content: space-between; padding: 12px 0; font-size: var(--fs-sm); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 700; }
.summary .disc dd { color: #12A981; }
.summary .total { margin-top: 6px; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.summary .total dt { color: var(--text); font-weight: 700; }
.summary .total dd { font-size: 1.5rem; font-weight: 900; }
.coupon { display: flex; gap: 8px; margin-block: 18px; }
.coupon input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: var(--r-sm); border: 1px dashed var(--line-2); background: var(--bg-2); }
.coupon .btn { padding-inline: 18px; }
.gateways { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.gateways label { cursor: pointer; position: relative; }
.gateways input { position: absolute; opacity: 0; }
.gateways span { display: grid; place-items: center; gap: 4px; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--line-2); font-weight: 700; font-size: var(--fs-sm); text-align: center; }
.gateways small { color: var(--muted); font-weight: 500; font-size: .72rem; }
.gateways input:checked + span { border-color: var(--brand); background: rgba(110, 84, 243, .07); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: var(--fs-xs); }
.secure svg { width: 16px; height: 16px; color: #12A981; }

/* ---------- ورود و ثبت‌نام ---------- */
.auth { min-height: calc(100vh - 118px); display: grid; grid-template-columns: 1fr 1fr; }
.auth__art {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 18px;
  padding: clamp(32px, 5vw, 72px);
}
.auth__art .orbit { inset: 10% -20% auto auto; width: 520px; height: 520px; }
.auth__art .orbit--2 { inset: 22% -6% auto auto; width: 340px; height: 340px; }
.auth__art h2 { font-size: var(--fs-xl); font-weight: 900; max-width: 14em; }
.auth__art ul { display: grid; gap: 12px; }
.auth__art li { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.auth__art li .ico { width: 40px; height: 40px; border-radius: 12px; }
.auth__art li .ico svg { width: 20px; height: 20px; }
.auth__logo { position: absolute; top: clamp(32px, 5vw, 72px); right: clamp(32px, 5vw, 72px); width: 96px; padding: 12px; border-radius: 26px; background: #fff; box-shadow: 0 24px 60px -16px rgba(110, 84, 243, .8); }
.auth__main { display: grid; place-items: center; padding: clamp(32px, 5vw, 72px) var(--gutter); background: var(--bg); }
.auth__box { width: min(100%, 440px); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 30px; }
.auth-tabs label { padding: 10px; text-align: center; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--muted); transition: .2s; }
.tab-input { position: absolute; opacity: 0; pointer-events: none; }
#tab-login:checked ~ .auth-tabs [for="tab-login"],
#tab-register:checked ~ .auth-tabs [for="tab-register"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow, none); }
#tab-login:focus-visible ~ .auth-tabs [for="tab-login"],
#tab-register:focus-visible ~ .auth-tabs [for="tab-register"] { outline: 2px solid var(--brand-3); outline-offset: 2px; }
.auth-pane { display: none; }
#tab-login:checked ~ .auth-pane--login,
#tab-register:checked ~ .auth-pane--register { display: grid; gap: 16px; }
.auth-pane h1 { font-size: var(--fs-xl); font-weight: 900; }
.auth-pane > p { color: var(--muted); margin-top: -8px; }
.otp { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; direction: ltr; }
.otp input { text-align: center; font-size: 1.3rem; font-weight: 800; padding: 12px 0 !important; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--fs-sm); }
.row-between a { color: var(--brand-3); }
.divider { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: var(--fs-xs); }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }

/* ---------- پنل کاربری ---------- */
.dash { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-nav { position: sticky; top: 110px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.dash-user { display: flex; align-items: center; gap: 12px; padding: 6px 6px 18px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.dash-user .avatar { width: 48px; height: 48px; color: #fff; flex: none; }
.dash-user strong { display: block; }
.dash-user small { color: var(--muted); font-size: var(--fs-xs); }
.dash-nav label, .dash-nav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r-sm);
  color: var(--muted); font-weight: 600; cursor: pointer; transition: .2s;
}
.dash-nav label:hover, .dash-nav a:hover { background: var(--bg-2); color: var(--text); }
.dash-nav svg { width: 20px; height: 20px; flex: none; }
.dash-nav .n { margin-inline-start: auto; min-width: 22px; height: 22px; border-radius: 999px; display: grid; place-items: center; font-size: .72rem; background: var(--bg-2); color: var(--brand-3); }
.dash-nav hr { border: 0; height: 1px; background: var(--line); margin: 10px 0; }
.dash-nav .logout { color: #E5486F; }
#d-home:checked ~ .dash .dash-nav [for="d-home"],
#d-lic:checked ~ .dash .dash-nav [for="d-lic"],
#d-dl:checked ~ .dash .dash-nav [for="d-dl"],
#d-ord:checked ~ .dash .dash-nav [for="d-ord"],
#d-tic:checked ~ .dash .dash-nav [for="d-tic"],
#d-pro:checked ~ .dash .dash-nav [for="d-pro"] { background: var(--grad); color: #fff; }
#d-home:checked ~ .dash .dash-nav [for="d-home"] .n,
#d-lic:checked ~ .dash .dash-nav [for="d-lic"] .n { background: rgba(255,255,255,.25); color: #fff; }
.dash-pane { display: none; gap: 22px; }
#d-home:checked ~ .dash [data-pane="home"],
#d-lic:checked ~ .dash [data-pane="lic"],
#d-dl:checked ~ .dash [data-pane="dl"],
#d-ord:checked ~ .dash [data-pane="ord"],
#d-tic:checked ~ .dash [data-pane="tic"],
#d-pro:checked ~ .dash [data-pane="pro"] { display: grid; }
.dash-pane > header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.dash-pane > header h2 { font-size: var(--fs-lg); }
.dash-pane > header p { color: var(--muted); font-size: var(--fs-sm); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-size: var(--fs-sm); }
.kpi strong { display: block; font-size: 1.9rem; font-weight: 900; line-height: 1.4; }
.kpi--brand { background: var(--grad); border: 0; color: #fff; }
.kpi--brand small { color: rgba(255,255,255,.8); }

.lic { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.lic .cover { aspect-ratio: 1; border-radius: 14px; }
.lic .cover__name, .lic .cover__type { display: none; }
.lic__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.lic h3 { font-size: 1.02rem; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--ok { background: rgba(18, 169, 129, .12); color: #0E9A75; }
.status--warn { background: rgba(245, 184, 61, .16); color: #B7801A; }
.status--off { background: rgba(229, 72, 111, .12); color: #D23C62; }
.status--info { background: rgba(110, 84, 243, .12); color: var(--brand-3); }
.keybox { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 6px 6px 6px; border-radius: var(--r-sm); background: var(--bg-2); border: 1px dashed var(--line-2); }
.keybox input { flex: 1; min-width: 0; padding: 6px 10px; border: 0; background: transparent; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9rem; letter-spacing: .06em; direction: ltr; }
.keybox input:focus { outline: none; }
.keybox .btn { padding: 7px 14px; font-size: var(--fs-xs); }
.lic__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: var(--fs-sm); color: var(--muted); }
.lic__meta b { color: var(--text); font-weight: 700; }
.meter { margin-top: 12px; }
.meter div { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 6px; }
.meter progress { width: 100%; height: 8px; border: 0; border-radius: 999px; overflow: hidden; background: var(--bg-2); appearance: none; }
.meter progress::-webkit-progress-bar { background: var(--bg-2); }
.meter progress::-webkit-progress-value { background: var(--grad); border-radius: 999px; }
.meter progress::-moz-progress-bar { background: var(--grad); border-radius: 999px; }
.lic__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.dl-list { display: grid; gap: 12px; }
.dl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.dl .ico { width: 44px; height: 44px; }
.dl h3 { font-size: .98rem; }
.dl p { color: var(--muted); font-size: var(--fs-xs); direction: rtl; }
.dl p bdi { direction: ltr; }

.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 640px; }
.data-table th { text-align: start; padding: 14px 18px; color: var(--muted); font-weight: 600; background: var(--bg-2); }
.data-table td { padding: 16px 18px; border-top: 1px solid var(--line); }
.data-table td a { color: var(--brand-3); font-weight: 700; }

.ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.ticket h3 { font-size: .98rem; }
.ticket p { grid-column: 1; color: var(--muted); font-size: var(--fs-xs); }

/* ---------- واکنش‌گرا: فروشگاه ---------- */
@media (max-width: 1100px) {
  .shop-layout, .pd, .cart, .dash { grid-template-columns: 1fr; }
  .shop-side, .buy, .summary, .dash-nav { position: static; }
  .shop-side { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .pd__gallery { margin-top: calc(-1 * var(--sheet) - 40px); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth__art { min-height: 380px; }
  .dash-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 6px; padding: 10px; }
  .dash-user, .dash-nav hr { display: none; }
  .dash-nav label, .dash-nav a { white-space: nowrap; flex: none; }
}
@media (max-width: 700px) {
  .products, .perks, .shop-side, .form-grid, .specs { grid-template-columns: 1fr; }
  .line { grid-template-columns: 96px minmax(0, 1fr); }
  .line__end { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .lic { grid-template-columns: 1fr; }
  .lic .cover { aspect-ratio: 16/7; }
  .dl { grid-template-columns: auto minmax(0, 1fr); }
  .dl .btn { grid-column: 1 / -1; }
  .changelog li { grid-template-columns: 1fr; gap: 4px; }
  .steps-bar li span { display: none; }
}
.steps-bar { max-width: 640px; }
.steps-bar li span { white-space: nowrap; }
.filters__a { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-weight: 600; font-size: var(--fs-sm); transition: .2s; }
.filters__a:hover { color: var(--text); border-color: rgba(110, 84, 243, .45); }
.filters__a.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cta-band .news-form { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.cta-band .news-form input { color: #fff; }
.cta-band .news-form input::placeholder { color: rgba(255,255,255,.65); }
@media (max-width: 1100px) {
  .pd > div:first-child { display: contents; }
  .pd__gallery { order: 0; }
  .buy { order: 1; }
  .pd .prose { order: 2; margin-top: 8px !important; }
}
@media (max-width: 700px) {
  .shop-side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop-side fieldset { padding: 14px; }
  .shop-side .side-card--brand { display: none; }
}
.order.light { padding-top: calc(var(--section) * .7); }


/* =========================================================
   نسخه پویا — اجزای اضافه
   ========================================================= */
.toasts { position: fixed; z-index: 90; top: 130px; inset-inline-start: 50%; transform: translateX(50%); display: grid; gap: 10px; width: min(92vw, 520px); }
.toast { padding: 14px 20px; border-radius: 16px; background: #1F1650; color: #fff; border: 1px solid rgba(185,173,255,.35); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7); font-weight: 600; animation: toast-in .4s cubic-bezier(.2,.8,.2,1), toast-out .4s 6s forwards; }
.toast--ok { border-inline-start: 4px solid #4FE3C1; }
.toast--err { border-inline-start: 4px solid #FF6B9A; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px 0; }
.empty-state { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 48px 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-2); }
.empty-state h2 { font-size: var(--fs-lg); }
.empty-state p { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--brand-3); cursor: pointer; font: inherit; font-size: var(--fs-sm); }
.linkish[disabled] { color: var(--muted); cursor: default; }
.otp-input { text-align: center; font-size: 1.8rem !important; font-weight: 800; letter-spacing: .6em; padding: 14px !important; }
.auth-pane.is-on { display: grid; gap: 16px; }
.inline-form { display: flex; gap: 8px; margin-top: 10px; }
.inline-form input { flex: 1; min-width: 0; padding: 9px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); }
.lic__domain { margin-top: 12px; }
.lic__domain summary { list-style: none; display: inline-flex; }
.lic__domain summary::-webkit-details-marker { display: none; }
.dash-nav a.is-on { background: var(--grad); color: #fff; }
.dash-nav a.is-on .n { background: rgba(255,255,255,.25); color: #fff; }
.dash-pane.is-on { display: grid; gap: 22px; align-content: start; }
a.ticket:hover { border-color: rgba(110, 84, 243, .45); }
.thread { display: grid; gap: 14px; }
.msg { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); max-width: 85%; }
.msg--staff { margin-inline-start: auto; background: rgba(110, 84, 243, .08); border-color: rgba(110, 84, 243, .3); }
.msg__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.msg__head small { color: var(--muted); }
.msg p { color: var(--text); white-space: normal; }
.choices--6 { grid-template-columns: repeat(3, 1fr); }
.on-brand { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5) !important; }
.h2-lg { font-size: var(--fs-xl); font-weight: 900; margin-bottom: 20px; }
.cover--img { background: var(--surface-2); }
.cover--img img { width: 100%; height: 100%; object-fit: cover; }
.shop-filter { display: grid; gap: 18px; }
.product__kind small { color: var(--muted); margin-inline-start: auto; }
.result-icon { width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; }
.result-icon svg { width: 44px; height: 44px; stroke-width: 2.4; }
.result-icon.is-ok { background: rgba(79, 227, 193, .15); color: #4FE3C1; box-shadow: 0 0 0 10px rgba(79, 227, 193, .06); }
.result-icon.is-err { background: rgba(255, 107, 154, .15); color: #FF6B9A; box-shadow: 0 0 0 10px rgba(255, 107, 154, .06); }
.invoice-sheet .inv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px dashed var(--line-2); }
.invoice-sheet .inv-head > div { display: grid; gap: 2px; }
.invoice-sheet .inv-head img { background: #fff; border-radius: 12px; padding: 4px; margin-bottom: 6px; }
.invoice-sheet .inv-head small { color: var(--muted); font-size: var(--fs-xs); }
.invoice-sheet .data-table { min-width: 0; }
.paid-note { display: flex; gap: 8px; align-items: center; color: #0E9A75; font-weight: 700; margin-top: 18px; }
.paid-note svg { width: 20px; height: 20px; }
.btn svg { width: 18px; height: 18px; }

/* نظرات محصول */
.reviews { display: grid; gap: 14px; }
.review { padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.review__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.rating { color: #F5B83D; letter-spacing: 2px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 1.6rem; color: var(--line-2); cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #F5B83D; }

/* صفحه فرود سئو */
.lp-hero__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.lp-points { display: grid; gap: 12px; }
.lp-points li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: var(--r); background: rgba(27, 19, 64, .7); border: 1px solid var(--line-2); backdrop-filter: blur(8px); font-weight: 600; }
.lp-points .ico { width: 38px; height: 38px; border-radius: 11px; }
.lp-points .ico svg { width: 18px; height: 18px; }
.lp-links { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-links a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: var(--fs-sm); font-weight: 600; }
.lp-links a:hover { border-color: var(--brand-2); color: var(--brand-3); }

@media (max-width: 1100px) { .lp-hero__inner { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .choices--6 { grid-template-columns: repeat(2, 1fr); } .msg { max-width: 100%; } .toasts { top: 90px; } }

@media print {
  .topbar, .header, .footer, .no-print, .page-hero .crumbs, .secure, form { display: none !important; }
  body { background: #fff; color: #000; }
  .page-hero { padding: 0 0 12px; } .page-hero h1 span { color: #000; -webkit-text-fill-color: #000; }
  .section { margin: 0; padding: 0; border-radius: 0; }
  .panel, .summary { box-shadow: none !important; border: 1px solid #ccc; position: static; }
  .cart { grid-template-columns: 1fr; }
}

/* تیم: عکس، معرفی، لینکدین */
.member__photo { overflow: hidden; }
.member__bio { margin-top: 8px; font-size: .85rem !important; line-height: 1.9; }
.member__link { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-top: 10px; border-radius: 50%; color: var(--brand); border: 1px solid var(--line); }
.member__link svg { width: 16px; height: 16px; }
.author-box img.avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.team { grid-template-columns: repeat(auto-fit, minmax(220px, 270px)); justify-content: center; }

/* ===== چندزبانگی ===== */
.langs { display: flex; gap: 2px; align-items: center; }
.langs a { padding: 2px 8px; border-radius: 6px; }
.langs a[aria-current] { background: rgba(167, 150, 255, .18); color: #fff; font-weight: 700; }
.cur-switch { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; }
@media (max-width: 720px) { .topbar__links > a[href^="mailto"] { display: none; } .topbar__links { gap: 10px; } }
/* چپ‌به‌راست (انگلیسی) */
[dir="ltr"] .i-arrow { transform: scaleX(-1); }
[dir="ltr"] .specs dd { text-align: right; }
[dir="ltr"] .changelog b { text-align: left; }
[dir="ltr"] .shot--back { left: auto; right: 0; }
[dir="ltr"] .shot--mid { left: auto; right: 22%; }
[dir="ltr"] .shot--front { right: auto; left: 0; }
[dir="ltr"] body { letter-spacing: 0; }
/* کوردی: فاصله خطوط کمی بیشتر برای حروف ڵ ڕ ێ */
[lang="ckb"] body { line-height: 1.95; }

/* ===== پرداخت تتر ===== */
.page-hero--slim .page-hero__inner { padding-block: clamp(36px, 6vw, 64px) clamp(28px, 4vw, 44px); }
.page-hero--slim h1 span { font-size: .55em; color: #26A17B; margin-inline-start: 8px; white-space: nowrap; }
.usdt { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.usdt__steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 26px; }
.usdt__steps > li { position: relative; padding-inline-start: 46px; counter-increment: s; display: grid; gap: 8px; }
.usdt__steps > li::before { content: counter(s); position: absolute; inset-inline-start: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #26A17B; color: #fff; font-weight: 800; }
.usdt__label { font-weight: 800; }
.usdt__amount, .usdt__addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2, #F5F3FF); border: 1px dashed rgba(38, 161, 123, .55); }
.usdt__amount b { font-size: 1.7rem; letter-spacing: .02em; }
.usdt__addr code { font-size: .92rem; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.copy { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font: inherit; font-size: .85rem; }
.copy svg { width: 16px; height: 16px; }
.usdt__warn { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF6E5; color: #7A4B00; font-size: .85rem; }
.usdt__warn svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.usdt__status { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #EEF9F4; color: #135C45; }
.usdt__status.is-ok { background: #D7F5E8; font-weight: 800; }
.spinner { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 3px solid rgba(38, 161, 123, .25); border-top-color: #26A17B; animation: spin 1s linear infinite; }
.usdt__status.is-ok .spinner { animation: none; border-color: #26A17B; background: #26A17B; }
@keyframes spin { to { transform: rotate(360deg); } }
.usdt__qr { width: min(240px, 100%); margin: 0 auto 10px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.usdt__qr svg { display: block; width: 100%; height: 100%; }
.usdt__tx { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.usdt__tx label { font-size: .85rem; font-weight: 700; }
.usdt__tx input { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2, #DDD6FE); font-family: ui-monospace, monospace; font-size: .8rem; }
.usdt__done { text-align: center; grid-column: 1 / -1; display: grid; gap: 14px; justify-items: center; }
.pay-methods { display: grid; gap: 8px; margin-bottom: 14px; }
.pay-method { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); cursor: pointer; }
.pay-method:has(input:checked) { border-color: var(--brand); background: rgba(110, 84, 243, .06); }
.pay-method input { accent-color: var(--brand); }
.pay-method b { display: block; font-size: .92rem; }
.pay-method small { color: var(--muted); font-size: .78rem; }
.pay-method .usd { margin-inline-start: auto; font-weight: 800; white-space: nowrap; }
@media (max-width: 860px) { .usdt { grid-template-columns: 1fr; } }
/* منوی موبایل بسته: هیچ لینک نامرئی‌ای نباید لمس را بگیرد */
@media (max-width: 900px) {
  .nav { pointer-events: none; }
  .nav-toggle:checked ~ .nav { pointer-events: auto; }
}
