/* اپلیکاتو — applicatoo.ir — نسخهٔ «ویترین شیشه‌ای»
   ایده: سایت ویترین مغازهٔ ماست. صحنه‌های تیره با نور بنفش (ویترین روشن در شب) و بخش‌های روشنِ محتوا به نوبت.
   شیشهٔ مایع فقط روی لایهٔ کنترل‌ها: منوی شناور، نوار پایین موبایل، دکمه‌ها، اعلان‌ها و دستگاه صندوقِ داخل ویترین.
   محتوا (متن، کارت‌ها، قیمت‌ها) همیشه مات و خوانا. شیشه روی شیشه نمی‌رود.
   تنظیم «کاهش شفافیت»، «کنتراست بیشتر» و «کاهش حرکت» سیستم رعایت می‌شود. */

@font-face { font-family: "Noto Sans Arabic"; src: url("fonts/NotoSansArabic-fa.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "AppDigits"; src: url("fonts/Vazirmatn-digits.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0660-066C, U+06F0-06F9; }
@font-face { font-family: "Outfit"; src: url("fonts/Outfit-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0020-007E, U+00A9, U+00AE, U+2013-2014, U+2022; }

:root {
  /* برند */
  --violet: #5B21B6;
  --violet-deep: #4C1D95;
  --violet-soft: #EDE7FB;
  --lilac: #C4B5FD;
  --lilac-soft: #DDD6FE;
  --night: #1E1240;
  --stage: #120A2A;          /* زمینهٔ صحنه، کمی تیره‌تر از night تا نور بنفش دیده شود */
  --stage-2: #24164F;
  --ink-muted: #5A4E7A;
  --mist: #F6F3FD;
  --white: #FFFFFF;
  --line: #E4DCF7;
  --success: #15803D;
  --warning: #B45309;

  /* شیشه */
  --glass-dark: rgba(24, 14, 54, 0.58);
  --glass-light: rgba(255, 255, 255, 0.80);
  --glass-tint: rgba(91, 33, 182, 0.82);
  --glass-blur: 18px;
  --glass-blur-clear: 7px;
  --rim-hi: rgba(255, 255, 255, 0.62);
  --rim-lo: rgba(255, 255, 255, 0.10);
  --glass-shadow: 0 18px 40px rgba(8, 3, 24, 0.38);

  --font-fa: "AppDigits", "Outfit", "Noto Sans Arabic", Tahoma, sans-serif;
  --font-latin: "Outfit", "AppDigits", "Noto Sans Arabic", sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 36px; --space-7: 48px; --space-8: 88px;
  --radius-sm: 12px; --radius-md: 16px; --radius-lg: 24px; --radius-xl: 32px; --capsule: 999px;
  --wrap: 1160px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--stage); }
body { margin: 0; direction: rtl; background: var(--stage); color: var(--white); font-family: var(--font-fa); font-size: 16px; line-height: 1.85; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.38; letter-spacing: -0.01em; }
h2 { font-size: clamp(27px, 3.8vw, 42px); line-height: 1.45; }
h3 { font-size: 20px; line-height: 1.6; }
p { margin: 0; }
.lat { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 12px; inset-inline-start: -9999px; z-index: 100; background: var(--white); color: var(--night); padding: 8px 14px; border-radius: var(--radius-sm); }
.skip:focus { inset-inline-start: 16px; }
:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; border-radius: 8px; }
.light :focus-visible { outline-color: var(--violet); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); position: relative; }
.band { padding-block: var(--space-8); position: relative; }
.light { background: var(--mist); color: var(--night); }
.light.white { background: var(--white); }
.eyebrow { display: inline-flex; align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--lilac); }
.light .eyebrow { color: var(--violet); }
.lead { font-size: 18px; color: var(--lilac-soft); max-width: 60ch; }
.light .lead { color: var(--ink-muted); }
.tu { color: var(--lilac); }
.light .tu { color: var(--violet); }
.section-head { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-7); max-width: 760px; }

/* ───────── صحنهٔ ویترین: نور بنفش زنده ───────── */
.stage { position: relative; overflow: hidden; isolation: isolate; background: var(--stage); }
.aurora { position: absolute; inset: -20% -10%; z-index: -2; pointer-events: none; }
.aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .85; will-change: transform; }
.aurora .a1 { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; background: radial-gradient(closest-side, #6D28D9, transparent); top: 4%; left: 2%; animation: drift1 26s ease-in-out infinite alternate; }
.aurora .a2 { width: 40vw; height: 40vw; max-width: 600px; max-height: 600px; background: radial-gradient(closest-side, #A78BFA, transparent); top: 30%; left: 30%; opacity: .45; animation: drift2 32s ease-in-out infinite alternate; }
.aurora .a3 { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; background: radial-gradient(closest-side, #4C1D95, transparent); top: 0; right: 0; animation: drift3 28s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.12); } }
@keyframes drift2 { to { transform: translate(-10vw, -4vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-6vw, 10vh) scale(1.08); } }
/* نور سقفی ویترین */
.spot { position: absolute; z-index: -1; top: -10%; left: 50%; width: min(1100px, 120vw); height: 120%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 160deg, rgba(221, 214, 254, 0.10) 172deg, rgba(221, 214, 254, 0.16) 180deg, rgba(221, 214, 254, 0.10) 188deg, transparent 200deg); pointer-events: none; }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .05; background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 3px 3px; pointer-events: none; }

/* ───────── شیشهٔ مایع ───────── */
.glass {
  position: relative; isolation: isolate;
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(175%);
  backdrop-filter: blur(var(--glass-blur)) saturate(175%);
  box-shadow: inset 0 1px 0 var(--rim-hi), inset 0 -1px 1px var(--rim-lo), var(--glass-shadow);
  color: var(--white);
}
/* لبهٔ نوری (rim) با گرادیان؛ بالا روشن، پایین محو، مثل لبهٔ شیشهٔ ضخیم */
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.75), rgba(255,255,255,.10) 38%, rgba(255,255,255,.04) 62%, rgba(255,255,255,.38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
/* برق سطح شیشه که با نشانگر جابه‌جا می‌شود */
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(160px 110px at var(--mx, 28%) var(--my, -10%), rgba(255,255,255,.26), transparent 70%); }
.glass.light-glass { background: var(--glass-light); color: var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 1px rgba(30,18,64,.06), 0 14px 34px rgba(30,18,64,.16); }
.glass.light-glass::after { background: linear-gradient(160deg, rgba(255,255,255,1), rgba(255,255,255,.3) 40%, rgba(30,18,64,.06) 62%, rgba(255,255,255,.8)); }
.glass.clear { -webkit-backdrop-filter: blur(var(--glass-blur-clear)) saturate(160%); backdrop-filter: blur(var(--glass-blur-clear)) saturate(160%); background: rgba(36, 22, 79, 0.34); }
/* شکست نور لبه‌ها فقط در کروم و اج (ویندوز و اندروید)؛ بقیه همان شیشهٔ مات تمیز را می‌بینند */
.lg-on .glass.refract { -webkit-backdrop-filter: url(#lg-refract) blur(var(--glass-blur-clear)) saturate(165%); backdrop-filter: url(#lg-refract) blur(var(--glass-blur-clear)) saturate(165%); }
.lg-on .glass.refract-soft { backdrop-filter: url(#lg-refract-soft) blur(var(--glass-blur)) saturate(175%); }

/* ───────── دکمه‌ها ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); font: 800 15px/24px var(--font-fa); border-radius: var(--capsule); padding: 13px 24px; border: 0; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .2s cubic-bezier(.2,.8,.2,1.2), background-color .2s ease; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.96); }
.btn-prominent { background: var(--glass-tint); color: var(--white); }
.btn-prominent.glass { background: var(--glass-tint); }
.btn-prominent:hover { background: rgba(109, 40, 217, 0.92); }
.btn-clear { color: var(--white); }
.btn-clear.glass { background: rgba(255,255,255,.08); }
.btn-clear:hover { background: rgba(255,255,255,.16); }
.light .btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 20px rgba(91,33,182,.25); }
.light .btn-primary:hover { background: var(--violet-deep); }
.light .btn-secondary { background: var(--white); color: var(--violet); box-shadow: inset 0 0 0 2px var(--violet); }
.light .btn-secondary:hover { background: var(--violet-soft); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ───────── منوی شناور بالا ───────── */
.topbar { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); inset-inline: 0; z-index: 40; display: flex; justify-content: center; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); pointer-events: none; }
.nav-capsule { pointer-events: auto; display: flex; align-items: center; gap: var(--space-2); border-radius: var(--capsule); padding: 7px 7px 7px 7px; width: min(100%, 980px); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.brand { display: flex; align-items: center; padding-inline: 10px 6px; flex: none; }
.brand img { height: 34px; width: auto; }
.brand .on-light { display: none; }
.nav-links { display: flex; gap: 2px; margin-inline: auto; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: var(--capsule); color: inherit; opacity: .9; transition: background-color .2s ease; }
.nav-links a:hover { background: rgba(255,255,255,.12); opacity: 1; }
.nav-links a[aria-current="page"] { background: rgba(255,255,255,.16); opacity: 1; }
.nav-capsule .btn { padding: 10px 20px; }
/* وقتی منو روی بخش روشن است، شیشه روشن می‌شود */
.nav-capsule.tone-light { background: var(--glass-light); color: var(--night); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 30px rgba(30,18,64,.14); }
.nav-capsule.tone-light .brand .on-dark { display: none; }
.nav-capsule.tone-light .brand .on-light { display: block; }
.nav-capsule.tone-light .nav-links a:hover, .nav-capsule.tone-light .nav-links a[aria-current="page"] { background: rgba(91,33,182,.10); }

/* نوار شناور پایین در موبایل (مثل تب‌بار) */
.tabbar { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-capsule { justify-content: space-between; width: 100%; }
  .brand img { height: 30px; }
  .tabbar { display: flex; position: fixed; z-index: 40; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); transform: translateX(-50%); width: min(calc(100% - 24px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)), 460px); border-radius: var(--capsule); padding: 6px; justify-content: space-between; transition: width .35s cubic-bezier(.2,.8,.2,1), background-color .35s ease, color .35s ease; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 2px; border-radius: var(--capsule); text-decoration: none; font-size: 11px; font-weight: 700; line-height: 1.5; color: inherit; min-width: 0; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { background: rgba(255,255,255,.16); }
  .tabbar.tone-light { background: var(--glass-light); color: var(--night); }
  .tabbar.tone-light a[aria-current="page"] { background: rgba(91,33,182,.12); color: var(--violet); }
  /* با اسکرول به پایین جمع می‌شود، با اسکرول به بالا باز می‌شود */
  .tabbar.mini { width: 200px; }
  .tabbar.mini a span { display: none; }
  .tabbar.mini a:nth-child(n+4) { display: none; }
  body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }
}

/* ───────── هیرو ───────── */
.hero { padding-top: calc(env(safe-area-inset-top, 0px) + 150px); padding-bottom: var(--space-8); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; border-radius: var(--capsule); padding: 6px 14px; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lilac); box-shadow: 0 0 10px var(--lilac); }
.hero-facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); font-size: 14px; color: var(--lilac-soft); padding: 0; margin: 0; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: var(--space-2); }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lilac); flex: none; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero { padding-top: calc(env(safe-area-inset-top, 0px) + 116px); } }

/* ویترین: نشانهٔ بزرگ برند پشت شیشه، دستگاه صندوق جلو */
.vitrine { position: relative; min-width: 0; padding: 84px 0 96px; }
.vitrine .mark-bg { position: absolute; width: 62%; inset-inline-start: -4%; top: 6%; z-index: -1; filter: drop-shadow(0 30px 60px rgba(109, 40, 217, .5)); }
.device { border-radius: var(--radius-xl); padding: var(--space-4); display: grid; gap: var(--space-3); font-size: 14px; max-width: 440px; margin-inline-start: auto; }
.device-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding-inline: var(--space-2); }
.device-top b { font-weight: 800; }
.dot-status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #FCD34D; }
.dot-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.device-list { background: rgba(255,255,255,.94); color: var(--night); border-radius: var(--radius-lg); padding: var(--space-2) var(--space-4); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: var(--space-3); padding-block: 9px; border-bottom: 1px solid var(--line); align-items: baseline; }
.row:last-child { border-bottom: 0; }
.row small { display: block; font-size: 11px; color: var(--ink-muted); }
.row .q { color: var(--ink-muted); }
.device-total { display: flex; justify-content: space-between; align-items: baseline; padding-inline: var(--space-2); }
.device-total b { font-size: 24px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--capsule); background: rgba(255,255,255,.10); }
.seg span { text-align: center; padding: 7px; border-radius: var(--capsule); font-weight: 700; }
.seg span.on { background: rgba(255,255,255,.92); color: var(--violet); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.device .btn { width: 100%; font-size: 16px; padding-block: 14px; }
.device .queue { font-size: 12px; color: var(--lilac-soft); text-align: center; }
/* اعلان‌های شناور؛ کنار دستگاه، نه رویش (شیشه روی شیشه نمی‌رود) */
.toast { position: absolute; display: flex; align-items: center; gap: 10px; border-radius: var(--radius-md); padding: 10px 14px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.toast i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; flex: none; }
.toast i svg { width: 16px; height: 16px; }
.toast small { display: block; font-weight: 400; font-size: 11px; color: var(--lilac-soft); }
.toast.t1 { top: 0; inset-inline-end: 2%; }
.toast.t1 i { background: #FCD34D; color: #3B2600; }
.toast.t2 { bottom: 0; inset-inline-start: 6%; }
.toast.t2 i { background: #4ADE80; color: #052E16; }
@media (max-width: 920px) { .device { margin-inline: auto; } .vitrine .mark-bg { width: 56%; inset-inline-start: -2%; top: 4%; } }
@media (max-width: 480px) { .toast.t1 { inset-inline-end: -4px; } .toast { font-size: 12px; } }
/* برق شیشه یک‌بار هنگام باز شدن صفحه */
.sweep { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 2; }
.sweep::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-12deg); animation: sweep 1.6s .5s cubic-bezier(.4,0,.2,1) 1 both; }
@keyframes sweep { to { left: 130%; } }

/* ───────── محصولات (محتوا: مات) ───────── */
.products { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: var(--space-5); }
.product { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; box-shadow: 0 1px 0 var(--line), 0 20px 40px rgba(30,18,64,.06); text-decoration: none; color: var(--night); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.product:hover { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 28px 50px rgba(30,18,64,.12); }
.product.main { background: var(--night); color: var(--white); }
.product .tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--violet); background: var(--violet-soft); border-radius: var(--capsule); padding: 2px 12px; }
.product.main .tag { color: var(--night); background: var(--lilac); }
.product p { color: var(--ink-muted); flex-grow: 1; }
.product.main p { color: var(--lilac-soft); }
.product .more { font-weight: 800; color: var(--violet); }
.product.main .more { color: var(--lilac); }
.product .art { height: 120px; border-radius: var(--radius-lg); background: var(--mist); display: grid; place-items: center; margin-bottom: var(--space-2); overflow: hidden; }
.product.main .art { background: var(--stage-2); }
.product .art svg { width: 64px; height: 64px; color: var(--violet); }
.product.main .art svg { color: var(--lilac); }
@media (max-width: 960px) { .products { grid-template-columns: minmax(0, 1fr); } }

/* ───────── داستان آفلاین (صحنه) ───────── */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; counter-reset: s; }
.timeline li { counter-increment: s; display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-5); border-radius: var(--radius-xl); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); min-width: 0; }
.timeline li::before { content: counter(s, persian); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(255,255,255,.1); color: var(--lilac); }
.timeline li.done::before { background: var(--lilac); color: var(--night); }
.timeline p { color: var(--lilac-soft); }
@media (max-width: 860px) { .timeline { grid-template-columns: minmax(0, 1fr); } }

/* ───────── ویترین نمونه‌کار ───────── */
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.shelf a { display: flex; flex-direction: column; text-decoration: none; color: var(--white); border-radius: var(--radius-lg); overflow: hidden; background: var(--stage-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 24px 50px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.shelf a:hover { transform: translateY(-6px); }
.shelf .win { aspect-ratio: 4 / 3; max-width: 100%; background: linear-gradient(160deg, #2E1D63, #160C33); padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.shelf .win .bar { display: flex; gap: 4px; }
.shelf .win .bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.shelf .win b { margin: auto; font-family: var(--font-latin); font-size: 22px; letter-spacing: .08em; }
.shelf .cap { padding: 12px 14px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--lilac-soft); }
@media (max-width: 960px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───────── ویژگی‌ها ───────── */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-7); }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.feature .ic { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--violet-soft); color: var(--violet); display: grid; place-items: center; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--ink-muted); }
.stage .feature .ic { background: rgba(255,255,255,.08); color: var(--lilac); }
.stage .feature p { color: var(--lilac-soft); }
.soon { font-size: 12px; font-weight: 700; color: var(--warning); background: #FEF3C7; border-radius: var(--capsule); padding: 1px 8px; margin-inline-start: 6px; vertical-align: middle; }
@media (max-width: 800px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* ───────── قیمت ───────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.plan { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-6) var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; box-shadow: 0 1px 0 var(--line), 0 20px 40px rgba(30,18,64,.06); }
.plan.best { background: var(--night); color: var(--white); box-shadow: 0 30px 60px rgba(30,18,64,.3); }
.plan .name { font-weight: 800; font-size: 18px; }
.plan .price { font-size: 44px; font-weight: 800; line-height: 1.2; }
.plan .price small { font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.plan.best .price small { color: var(--lilac-soft); }
.plan .note { color: var(--ink-muted); font-size: 14px; }
.plan.best .note { color: var(--lilac-soft); }
.plan .save { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--success); background: #DCFCE7; border-radius: var(--capsule); padding: 2px 12px; }
.plan .btn { margin-top: auto; }
.plan.best .btn { background: var(--lilac); color: var(--night); box-shadow: none; }
.plan.best .btn:hover { background: var(--white); }
.plan-includes { margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding: 0; list-style: none; color: var(--ink-muted); font-size: 15px; }
.plan-includes li::before { content: "✓"; color: var(--success); font-weight: 800; margin-inline-end: 6px; font-family: var(--font-latin); }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ───────── پرسش‌ها ───────── */
.faq { display: grid; gap: var(--space-3); max-width: 840px; }
.faq details { background: var(--white); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-5); box-shadow: 0 1px 0 var(--line); }
.faq summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); padding-block: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-latin); font-size: 22px; line-height: 1; color: var(--violet); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-muted); padding-bottom: var(--space-3); }

/* ───────── مراحل و جریان ───────── */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; counter-reset: p; }
.process li { counter-increment: p; display: flex; flex-direction: column; gap: var(--space-2); background: var(--white); border-radius: var(--radius-xl); padding: var(--space-5); min-width: 0; box-shadow: 0 1px 0 var(--line); }
.process li::before { content: counter(p, persian); width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: var(--white); display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.process p { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 960px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .process { grid-template-columns: minmax(0, 1fr); } }

/* ───────── هیروی صفحه‌های داخلی ───────── */
.page-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 150px); padding-bottom: var(--space-8); }
.page-hero .hero-copy { max-width: 760px; }
@media (max-width: 920px) { .page-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 116px); } }
/* کارت QR میز در لانژ */
.table-card { border-radius: var(--radius-xl); padding: var(--space-5); max-width: 340px; margin-inline: auto; display: grid; gap: var(--space-4); justify-items: center; text-align: center; }
.qr { width: 150px; height: 150px; border-radius: var(--radius-md); background: var(--white); padding: 12px; }
.qr svg { width: 100%; height: 100%; color: var(--night); }
.table-card .seg { width: 100%; }

/* ───────── تماس ───────── */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-7); align-items: center; }
.contact-list { display: grid; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.contact-list a { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: var(--space-4); align-items: center; text-decoration: none; border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); transition: transform .2s ease; }
.contact-list a:hover { transform: translateX(-4px); }
.contact-list .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--violet); display: grid; place-items: center; }
.contact-list .ic svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--lilac-soft); font-size: 13px; }
.contact-list b { font-size: 17px; }
.contact-list .go { color: var(--lilac); font-weight: 800; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ───────── فوتر ───────── */
.site-footer { background: var(--stage); color: var(--lilac-soft); padding-block: var(--space-7) var(--space-6); font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.site-footer img { height: 44px; width: auto; }
.site-footer h2 { font-size: 15px; color: var(--white); margin-bottom: var(--space-2); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--lilac-soft); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-brand { display: flex; flex-direction: column; gap: var(--space-3); }
.copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--space-4); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }


/* ───────── دموی زندهٔ صندوق ───────── */
.demo .section-head { margin-inline: auto; text-align: center; align-items: center; }
.demo .section-head .eyebrow { align-self: center; }
.app { position: relative; border-radius: var(--radius-xl); padding: 10px; max-width: 1120px; margin-inline: auto; }
.app-bar { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: 6px 10px 12px; flex-wrap: wrap; }
.app-id { display: flex; align-items: center; gap: 10px; }
.app-id img { width: 26px; height: auto; }
.app-id b { display: block; font-size: 15px; line-height: 1.4; }
.app-id small { color: var(--lilac-soft); font-size: 12px; }
.app-net { display: flex; align-items: center; gap: 8px; }
.q-badge { font-size: 12px; font-weight: 800; color: #3B2600; background: #FCD34D; border-radius: var(--capsule); padding: 3px 10px; }
.net-switch { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; font: 700 13px/1 var(--font-fa); color: var(--white); background: rgba(255,255,255,.10); border-radius: var(--capsule); padding: 5px 6px 5px 14px; }
.net-switch .knob { width: 44px; height: 26px; border-radius: 13px; background: #6B5B95; position: relative; transition: background-color .25s ease; flex: none; }
.net-switch .knob::after { content: ""; position: absolute; top: 3px; right: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 6px rgba(0,0,0,.3); transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
.net-switch.on .knob { background: #22C55E; }
.net-switch:not(.on) .knob::after { transform: translateX(-18px); }
.app-body { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; }
.app-tabs { display: flex; flex-direction: column; gap: 4px; }
.app-tabs button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--lilac-soft); font: 700 14px/1.4 var(--font-fa); padding: 11px 12px; border-radius: var(--radius-md); cursor: pointer; text-align: start; }
.app-tabs button svg { width: 20px; height: 20px; flex: none; }
.app-tabs button:hover { background: rgba(255,255,255,.08); color: var(--white); }
.app-tabs button[aria-selected="true"] { background: rgba(255,255,255,.92); color: var(--violet); }
.app-pane { background: var(--mist); color: var(--night); border-radius: 22px; padding: var(--space-4); min-height: 560px; min-width: 0; }
.app.offline .app-pane { box-shadow: inset 0 0 0 2px #FCD34D; }
@media (max-width: 760px) {
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-tabs { flex-direction: row; overflow-x: auto; }
  .app-tabs button { flex: 1; justify-content: center; padding: 9px 8px; font-size: 13px; }
  .app-pane { padding: 12px; min-height: 0; }
}
/* فروش */
.sell { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--space-4); }
@media (max-width: 980px) { .sell { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .grid-p { grid-auto-flow: column; grid-template-columns: none; grid-template-rows: repeat(2, auto); grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .prod { scroll-snap-align: start; }
  .ph { height: 44px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .chip { flex: none; }
}
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip { border: 0; background: var(--white); color: var(--night); font: 700 13px/1 var(--font-fa); padding: 9px 14px; border-radius: var(--capsule); cursor: pointer; box-shadow: 0 1px 0 var(--line); }
.chip.on { background: var(--night); color: var(--white); }
.grid-p { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.prod { display: flex; flex-direction: column; align-items: stretch; gap: 2px; text-align: start; border: 0; background: var(--white); border-radius: var(--radius-md); padding: 8px 8px 10px; cursor: pointer; font-family: var(--font-fa); color: var(--night); box-shadow: 0 1px 0 var(--line); transition: transform .15s ease, box-shadow .15s ease; }
.prod:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(30,18,64,.10); }
.prod:active { transform: scale(.97); }
.prod:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.ph { height: 64px; border-radius: 10px; margin-bottom: 6px; background: linear-gradient(135deg, #EDE7FB, #C4B5FD); }
.ph.c2 { background: linear-gradient(135deg, #E0F2FE, #A5B4FC); }
.ph.c3 { background: linear-gradient(135deg, #F5F3FF, #DDD6FE); }
.ph.c4 { background: linear-gradient(135deg, #FDE68A, #F5D0FE); }
.ph.c5 { background: linear-gradient(135deg, #CCFBF1, #C4B5FD); }
.pn { font-weight: 700; font-size: 13px; line-height: 1.6; }
.pp { font-weight: 800; font-size: 14px; }
.ps { font-size: 11px; color: var(--ink-muted); }
.ps.low { color: var(--warning); font-weight: 700; }
.cart { background: var(--white); border-radius: var(--radius-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 0 var(--line); align-self: start; }
.cart-h { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-muted); }
.cart-h b { color: var(--night); font-size: 15px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ln small { display: block; font-size: 10px; color: var(--ink-muted); }
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button { width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--violet-soft); color: var(--violet); font: 800 15px/1 var(--font-latin); cursor: pointer; }
.lp { font-size: 13px; }
.empty { font-size: 13px; color: var(--ink-muted); text-align: center; padding: 14px 0; }
.sum { display: flex; justify-content: space-between; align-items: baseline; }
.sum b { font-size: 22px; }
.sum small { font-size: 12px; color: var(--ink-muted); }
.paygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.paygrid button { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: var(--mist); color: var(--night); border-radius: var(--radius-sm); padding: 9px 4px; font: 700 12px/1.3 var(--font-fa); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); }
.paygrid button i { width: 10px; height: 10px; border-radius: 50%; }
.paygrid button.on { background: var(--violet-soft); box-shadow: inset 0 0 0 2px var(--violet); color: var(--violet); }
.paynote { font-size: 12px; color: var(--ink-muted); line-height: 1.7; }
.cashq { display: grid; gap: 4px; font-size: 12px; }
.cashq span { background: #FEF3C7; color: #78350F; border-radius: 8px; padding: 4px 8px; }
.submit { border: 0; background: var(--violet); color: var(--white); font: 800 16px/1 var(--font-fa); border-radius: var(--capsule); padding: 15px; cursor: pointer; box-shadow: 0 10px 22px rgba(91,33,182,.3); }
.submit:hover { background: var(--violet-deep); }
.submit:disabled { background: var(--line); color: var(--ink-muted); box-shadow: none; cursor: not-allowed; }
.app-toast { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 2px; min-width: min(360px, 86%); padding: 12px 18px; border-radius: var(--radius-md); background: rgba(24,14,54,.92); color: var(--white); box-shadow: 0 18px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.3); font-size: 13px; animation: pop .35s cubic-bezier(.3,1.4,.5,1); }
.app-toast b { font-size: 14px; }
.app-toast span { color: var(--lilac-soft); }
.app-toast.ok b::before { content: "✓ "; color: #4ADE80; font-family: var(--font-latin); }
.app-toast.warn b::before { content: "● "; color: #FCD34D; }
@keyframes pop { from { transform: translateX(-50%) translateY(12px) scale(.96); opacity: 0; } }
/* داشبورد */
.dash-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.dash-h b { font-size: 17px; }
.muted { font-size: 13px; color: var(--ink-muted); }
.seg-r { display: inline-flex; gap: 3px; padding: 3px; background: var(--white); border-radius: var(--capsule); box-shadow: 0 1px 0 var(--line); }
.seg-r button { border: 0; background: transparent; font: 700 13px/1 var(--font-fa); color: var(--ink-muted); padding: 8px 14px; border-radius: var(--capsule); cursor: pointer; }
.seg-r button.on { background: var(--night); color: var(--white); }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 10px; }
.kpi { background: var(--white); border-radius: var(--radius-md); padding: 12px 14px; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.kpi small { font-size: 12px; color: var(--ink-muted); }
.kpi b { font-size: 21px; font-weight: 800; line-height: 1.5; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.kpi span { font-size: 11px; color: var(--ink-muted); }
.kpi.main { background: var(--night); color: var(--white); }
.kpi.main small, .kpi.main span { color: var(--lilac-soft); }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.card { background: var(--white); border-radius: var(--radius-md); padding: 12px 14px; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card h4 { margin: 0 0 6px; font-size: 14px; }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.chart { width: 100%; height: auto; overflow: visible; direction: ltr; }
.chart .grid { stroke: #ECE7F7; stroke-width: 1; }
.chart .base { stroke: #CFC5EA; stroke-width: 1; }
.chart .ax { font: 400 11px var(--font-fa); fill: var(--ink-muted); }
.chart .bar path { fill: #8B5CF6; transition: fill .15s ease; }
.chart .bar.hi path { fill: var(--violet); }
.chart .bar:hover path, .chart .bar:focus path { fill: var(--violet-deep); }
.chart .bar { outline: none; }
.chart .hit { fill: transparent; }
.donut { display: flex; align-items: center; gap: 14px; }
.donut svg { width: 120px; height: 120px; flex: none; overflow: visible; }
.donut circle { outline: none; transition: stroke-width .15s ease; cursor: default; }
.donut circle:hover, .donut circle:focus { stroke-width: 20; }
.d-val { font: 800 15px var(--font-fa); fill: var(--night); }
.d-cap { font: 400 10px var(--font-fa); fill: var(--ink-muted); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; flex: 1; min-width: 0; }
.legend li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
.hbars, .sellers { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 12px; }
.hbars li, .sellers li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.hbars .hl { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track { height: 8px; background: #F1EDFB; border-radius: 4px; overflow: hidden; }
.track i { display: block; height: 100%; background: #8B5CF6; border-radius: 4px; }
.chart-tip { position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 8px)); background: var(--night); color: var(--white); font-size: 12px; line-height: 1.6; padding: 6px 10px; border-radius: 10px; pointer-events: none; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.chart-tip b { display: block; color: var(--lilac); font-weight: 700; }
/* انبار */
.tbl-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 1px 0 var(--line); }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.tbl th { text-align: start; font-weight: 700; color: var(--ink-muted); padding: 10px 12px; background: #FAF8FE; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 12px; border-bottom: 1px solid #F1EDFB; }
.tbl tr:last-child td { border-bottom: 0; }
.st { font-size: 11px; font-weight: 700; border-radius: var(--capsule); padding: 2px 9px; white-space: nowrap; }
.st.ok { background: #DCFCE7; color: #166534; }
.st.warn { background: #FEF3C7; color: #92400E; }
.st.bad { background: #FEE2E2; color: #991B1B; }
.sync { font-size: 10px; color: #166534; background: #DCFCE7; border-radius: var(--capsule); padding: 1px 7px; margin-inline-start: 4px; }
.sync.off { color: #92400E; background: #FEF3C7; }
/* اتصال به سایت */
.flow-mini { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: var(--radius-md); padding: 14px; margin-bottom: 10px; font-size: 13px; font-weight: 700; box-shadow: 0 1px 0 var(--line); flex-wrap: wrap; }
.flow-mini span { background: var(--mist); border-radius: var(--capsule); padding: 6px 12px; }
.flow-mini i { flex: 1; min-width: 24px; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, #22C55E 0 8px, transparent 8px 14px); background-size: 28px 3px; animation: flow 1s linear infinite; }
.flow-mini i.cut { background: repeating-linear-gradient(90deg, #F59E0B 0 4px, transparent 4px 10px); animation: none; }
@keyframes flow { to { background-position: -28px 0; } }
.events { list-style: none; margin: 0; padding: 0; background: var(--white); border-radius: var(--radius-md); box-shadow: 0 1px 0 var(--line); }
.events li { display: grid; grid-template-columns: 52px 92px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 14px; border-bottom: 1px solid #F1EDFB; font-size: 13px; }
.events li:last-child { border-bottom: 0; }
.events .time { color: var(--ink-muted); }
.kind { font-size: 11px; font-weight: 700; border-radius: var(--capsule); padding: 2px 8px; text-align: center; }
.k-sale { background: var(--violet-soft); color: var(--violet); }
.k-site { background: #E0F2FE; color: #075985; }
.k-sync { background: #DCFCE7; color: #166534; }
.k-queue { background: #FEF3C7; color: #92400E; }
@media (max-width: 560px) { .events li { grid-template-columns: 44px minmax(0, 1fr); } .events li > span:last-child { grid-column: 1 / -1; } }
/* دکمه‌های دستگاه بالای صفحه */
.device .seg { grid-template-columns: repeat(3, 1fr); }
.device .seg button { border: 0; background: transparent; color: var(--white); font: 700 13px/1 var(--font-fa); padding: 9px 4px; border-radius: var(--capsule); cursor: pointer; }
.device .seg button.on { background: rgba(255,255,255,.92); color: var(--violet); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.device .btn.done { background: #16A34A; }

/* ───────── دسترس‌پذیری: هیچ‌کس مجبور به تنظیمات نشود، ولی تنظیماتش رعایت شود ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .glass.clear, .btn-clear.glass { background: var(--stage-2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .glass.light-glass, .nav-capsule.tone-light, .tabbar.tone-light { background: var(--white) !important; }
  .btn-prominent.glass { background: var(--violet) !important; }
}
@media (prefers-contrast: more) {
  .glass, .glass.clear { background: var(--night) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: inset 0 0 0 2px var(--white) !important; }
  .nav-capsule.tone-light, .tabbar.tone-light { background: var(--white) !important; box-shadow: inset 0 0 0 2px var(--night) !important; }
  .lead, .hero-facts, .timeline p { color: var(--white); }
  .light .lead { color: var(--night); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .glass.clear { background: rgba(30, 18, 64, .92); }
  .glass.light-glass, .nav-capsule.tone-light, .tabbar.tone-light { background: rgba(255,255,255,.96); }
}

/* ───────── زبان ───────── */
.lang-switch { flex: none; display: inline-grid; place-items: center; min-width: 42px; height: 40px; padding: 0 10px; border-radius: var(--capsule); font: 800 13px/1 var(--font-latin); text-decoration: none; color: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.lang-switch:hover { background: rgba(255,255,255,.12); }
.nav-capsule.tone-light .lang-switch { box-shadow: inset 0 0 0 1px rgba(30,18,64,.22); }
.nav-capsule.tone-light .lang-switch:hover { background: rgba(91,33,182,.10); }
@media (max-width: 880px) { .nav-capsule .lang-switch { margin-inline-start: auto; margin-inline-end: 6px; } }
html[lang="en"] { --font-fa: "Outfit", "Noto Sans Arabic", system-ui, sans-serif; }
html[lang="en"] body { direction: ltr; line-height: 1.7; }
html[lang="en"] h1 { letter-spacing: -0.02em; line-height: 1.15; }
html[lang="en"] h2 { letter-spacing: -0.01em; line-height: 1.25; }
html[lang="en"] .timeline li::before { content: counter(s); }
html[lang="en"] .process li::before { content: counter(p); }
html[lang="en"] .contact-list a:hover { transform: translateX(4px); }
html[lang="en"] .contact-list .go svg { transform: scaleX(-1); }
html[lang="en"] .faq summary::after { content: "+"; }
@media (max-width: 760px) { .kpi b { font-size: 17px; white-space: nowrap; overflow-wrap: normal; } .kpi { padding: 10px 12px; } }
