/* Carsa: shared by / (fa, RTL) and /en/ (en, LTR).
   Neon brand: deep navy, electric cyan to blue. Logical properties throughout. */

@font-face { font-family: "IRANSans"; src: url("../fonts/IRANSansWebFaNum.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/IRANSansWebFaNum_Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IRANSans"; src: url("../fonts/IRANSansWebFaNum_Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "IRANSans EN"; src: url("../fonts/IRANSansWeb.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IRANSans EN"; src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IRANSans EN"; src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #030817;
  --bg-2: #050d22;
  --panel: rgba(13, 27, 62, .55);
  --panel-2: rgba(19, 38, 84, .5);
  --stroke: rgba(125, 175, 255, .13);
  --stroke-2: rgba(125, 175, 255, .26);
  --text: #eaf2ff;
  --muted: #98a8c8;
  --dim: #6b7ca3;
  --cyan: #3ee3ff;
  --blue: #2a8bff;
  --deep-blue: #1d5cff;
  --grad: linear-gradient(115deg, #6ff0ff 0%, #2fb4ff 45%, #2470ff 100%);
  --grad-soft: linear-gradient(180deg, rgba(36, 72, 150, .32), rgba(10, 20, 48, .2));
  --ok: #34d399;
  --amber: #fbbf24;
  --stop: #fb4b6b;
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
[lang|="fa"] { font-family: "IRANSans", Tahoma, sans-serif; }
[lang|="en"] { font-family: "IRANSans EN", "Segoe UI", system-ui, sans-serif; }
body {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(en) body, body:lang(en) { line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul, ol, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; font-weight: 700; text-wrap: balance; }
:lang(en) h1, :lang(en) h2, :lang(en) h3 { line-height: 1.12; letter-spacing: -.025em; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(62, 227, 255, .3); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-inline { display: inline-block; vertical-align: -.2em; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--text); color: var(--bg); }
.skip-link:focus { inset-block-start: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 10px 24px;
  border: 1px solid transparent; border-radius: 14px;
  font: inherit; font-weight: 700; font-size: .98rem; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-sm { min-height: 42px; padding: 6px 18px; font-size: .9rem; border-radius: 12px; }
.btn-primary {
  background: var(--grad); color: #021028;
  box-shadow: 0 10px 30px -10px rgba(42, 139, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(62, 227, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-ghost { background: rgba(255, 255, 255, .03); border-color: var(--stroke-2); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(62, 227, 255, .6); background: rgba(62, 227, 255, .07); transform: translateY(-2px); }
.btn-store { justify-content: flex-start; min-width: 190px; padding-inline: 16px 22px; text-align: start; }
.btn-store .icon { width: 26px; height: 26px; }
.btn-store small { display: block; font-size: .72rem; font-weight: 500; opacity: .75; line-height: 1.3; }
.btn-store strong { display: block; font-size: 1.02rem; line-height: 1.35; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--cyan); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; inset-block-start: 0; z-index: 50;
  background: rgba(3, 8, 23, .55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-block-end: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.site-header.is-scrolled, .site-header.is-open { border-block-end-color: var(--stroke); background: rgba(3, 8, 23, .82); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .brand-mark { width: 46px; height: auto; filter: drop-shadow(0 0 10px rgba(42, 139, 255, .45)); }
.brand .brand-word { height: 24px; width: auto; }
:lang(en) .brand .brand-word { height: 20px; }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav a { padding: 8px 14px; border-radius: 10px; font-size: .93rem; text-decoration: none; color: var(--muted); transition: color .15s ease, background-color .15s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.header-end { display: flex; align-items: center; gap: 16px; }
.lang-switch { font-size: .9rem; text-decoration: none; color: var(--muted); padding-inline-start: 16px; border-inline-start: 1px solid var(--stroke); }
.lang-switch:hover { color: var(--text); }
.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  margin-inline-start: auto; border: 1px solid var(--stroke-2); border-radius: 12px;
  background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer;
}
.menu-toggle .icon-close, .is-open .menu-toggle .icon-open { display: none; }
.is-open .menu-toggle .icon-close { display: block; }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .header-end { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav {
    display: grid; max-height: 0; overflow: hidden; padding-inline: 16px;
    transition: max-height .3s var(--ease), padding .3s var(--ease);
  }
  .is-open .mobile-nav { max-height: 460px; padding-block: 4px 18px; }
  .mobile-nav a { padding: 14px 4px; border-block-end: 1px solid var(--stroke); text-decoration: none; color: var(--text); }
  .mobile-nav .btn { margin-block-start: 14px; border: 0; color: #021028; }
}

/* ---------- Shared section parts ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { max-width: 760px; margin-inline: auto; text-align: center; }
.section-head h2 { margin-block-start: 18px; font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.section-head p { margin-block-start: 16px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 14px; border-radius: 999px;
  border: 1px solid rgba(62, 227, 255, .28);
  background: linear-gradient(90deg, rgba(62, 227, 255, .1), rgba(42, 139, 255, .06));
  color: #9eeeff; font-size: .85rem; font-weight: 500; line-height: 1.7;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

.card {
  position: relative; overflow: hidden;
  border: 1px solid var(--stroke); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(22, 42, 92, .45), rgba(8, 17, 42, .55));
  transition: border-color .25s ease, transform .25s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(62, 227, 255, .08), transparent 40%);
}
.card:hover { border-color: var(--stroke-2); }
.card-icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(180deg, rgba(62, 227, 255, .18), rgba(42, 139, 255, .06));
  border: 1px solid rgba(62, 227, 255, .25); color: var(--cyan);
  box-shadow: 0 0 24px -6px rgba(62, 227, 255, .5);
}
.card-icon .icon { width: 22px; height: 22px; }

/* Ambient glows and grid used behind sections */
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(125, 175, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 175, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero .glow-1 { width: 620px; height: 620px; inset-block-start: -220px; inset-inline-start: -160px; background: rgba(29, 92, 255, .38); }
.hero .glow-2 { width: 520px; height: 520px; inset-block-start: 120px; inset-inline-end: -180px; background: rgba(62, 227, 255, .2); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { margin-block-start: 22px; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.3; }
:lang(en) .hero h1 { line-height: 1.06; }
.hero-lead { max-width: 34em; margin-block-start: 22px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 36px; }
.hero-more { margin-block-start: 18px; font-size: .93rem; color: var(--muted); }
.hero-more a { margin-inline-start: 4px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-block-start: 36px; padding-block-start: 24px; border-block-start: 1px solid var(--stroke); color: var(--muted); font-size: .92rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--cyan); }

/* Phone mockup */
.device-wrap { position: relative; display: grid; place-items: center; }
.device-wrap::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 139, 255, .45), transparent 65%); filter: blur(30px);
}
.device-ring { position: absolute; width: min(118%, 560px); aspect-ratio: 1; opacity: .5; pointer-events: none; }
.phone {
  position: relative; width: 330px; max-width: 100%;
  padding: 11px; border-radius: 48px;
  background: linear-gradient(160deg, #2a3a63, #0b1430 40%, #172650);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(150, 190, 255, .18), 0 0 60px -20px rgba(42, 139, 255, .6);
}
.screen {
  position: relative; overflow: hidden; border-radius: 38px;
  background: linear-gradient(180deg, #071029, #050b1f);
  min-height: 600px; display: flex; flex-direction: column;
}
.screen::before { content: ""; position: absolute; inset-block-start: 10px; inset-inline-start: 50%; translate: -50% 0; width: 96px; height: 26px; border-radius: 20px; background: #000; z-index: 2; }
[dir="rtl"] .screen::before { translate: 50% 0; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 48px 18px 14px; border-block-end: 1px solid var(--stroke); }
.app-bar img { width: 34px; height: 34px; border-radius: 10px; }
.app-bar strong { display: block; font-size: .92rem; line-height: 1.3; }
.app-bar small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.4; }
.app-bar .live { margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.chat { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 16px 14px; font-size: .8rem; line-height: 1.75; }
.bubble { max-width: 86%; padding: 9px 13px; border-radius: 16px; }
.bubble-user { align-self: flex-end; background: var(--grad); color: #021028; font-weight: 500; border-end-end-radius: 5px; }
.bubble-ai { align-self: flex-start; width: 92%; max-width: none; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); border-end-start-radius: 5px; }
.bubble-ai > p { color: var(--muted); }
.mini-cause { margin-block-start: 8px; }
.mini-cause > span { display: flex; justify-content: space-between; gap: 8px; }
.mini-cause em { font-style: normal; color: var(--cyan); font-weight: 700; font-size: .72rem; }
.meter { display: block; height: 5px; margin-block-start: 4px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: calc(var(--p) * 100%); border-radius: 3px; background: var(--grad); box-shadow: 0 0 10px rgba(62, 227, 255, .6); }
.mini-lamps { display: flex; gap: 6px; margin-block-start: 8px; }
.mini-lamps span { flex: 1; padding: 3px 0; border-radius: 8px; text-align: center; font-size: .7rem; border: 1px solid var(--stroke); color: var(--dim); }
.mini-lamps .is-lit { background: rgba(251, 191, 36, .14); border-color: rgba(251, 191, 36, .6); color: var(--amber); font-weight: 700; box-shadow: 0 0 14px -2px rgba(251, 191, 36, .45); }
.mini-shop { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(42, 139, 255, .1); border: 1px solid rgba(62, 227, 255, .25); }
.mini-shop .pin { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; background: var(--grad); color: #021028; }
.mini-shop strong { display: block; font-size: .78rem; line-height: 1.4; }
.mini-shop small { display: block; font-size: .68rem; color: var(--muted); }
.mini-shop b { color: var(--cyan); font-size: .74rem; white-space: nowrap; }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 12px 14px; padding: 8px 8px 8px 14px; padding-inline: 14px 8px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); color: var(--dim); font-size: .78rem; }
.composer span { flex: 1; }
.composer i { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #021028; }
.composer .icon { width: 16px; height: 16px; }

.float-chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 16px;
  background: rgba(10, 20, 48, .75); border: 1px solid var(--stroke-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  font-size: .85rem; line-height: 1.4; white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.float-chip small { display: block; color: var(--muted); font-size: .72rem; }
.float-chip strong { display: block; }
.float-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.float-chip .card-icon { width: 36px; height: 36px; border-radius: 11px; }
.float-chip .card-icon .icon { width: 18px; height: 18px; }
.chip-a { inset-block-start: 18%; inset-inline-end: -4%; }
.chip-b { inset-block-end: 16%; inset-inline-start: -6%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .chip-a { inset-inline-end: 0; }
  .chip-b { inset-inline-start: 0; }
}
@media (max-width: 480px) {
  .btn-store { flex: 1 1 100%; justify-content: center; }
  .phone { width: 290px; }
  .screen { min-height: 540px; }
  .float-chip { display: none; }
}

/* ---------- Marquee ---------- */
.marquee-band { position: relative; padding-block: 28px; border-block: 1px solid var(--stroke); background: rgba(8, 16, 40, .55); }
.marquee-label { text-align: center; color: var(--dim); font-size: .85rem; margin-block-end: 14px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, .03); color: var(--text); font-size: .95rem;
}
.marquee-track li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
@keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
@keyframes marquee-rtl { to { transform: translateX(calc(50% + 7px)); } }

/* ---------- Bento: diagnosis ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: clamp(44px, 6vw, 72px); }
.bento .card { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.bento .wide { grid-column: span 2; }
.bento h3 { margin-block-start: 20px; font-size: 1.25rem; }
.bento .card > p { margin-block-start: 8px; color: var(--muted); font-size: .98rem; }
.demo { margin-block-start: auto; padding-block-start: 26px; }

.demo-causes { display: grid; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--stroke); background: rgba(3, 8, 23, .45); }
.demo-causes .row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; }
.demo-causes .row em { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--cyan); }
.demo-causes .meter { grid-column: 1 / -1; height: 7px; }

.levels { display: grid; gap: 10px; }
.levels li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(3, 8, 23, .4); }
.levels strong { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; }
.levels strong::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.levels p { grid-column: 1 / -1; color: var(--muted); font-size: .86rem; line-height: 1.7; }
.level-ok { --c: var(--ok); }
.level-check { --c: var(--amber); }
.level-stop { --c: var(--stop); }

.demo-ask { display: grid; gap: 8px; font-size: .9rem; }
.demo-ask .q { justify-self: start; padding: 9px 14px; border-radius: 14px; border-end-start-radius: 4px; background: rgba(255, 255, 255, .05); border: 1px solid var(--stroke); }
.demo-ask .opts { display: flex; flex-wrap: wrap; gap: 6px; }
.demo-ask .opts span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(62, 227, 255, .35); color: #9eeeff; font-size: .82rem; }

.safety { display: flex; flex-wrap: wrap; gap: 8px; }
.safety span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: rgba(251, 75, 107, .1); border: 1px solid rgba(251, 75, 107, .35); color: #ffb3c1; font-size: .88rem; font-weight: 500; }

.history { display: grid; gap: 8px; }
.history li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--stroke); background: rgba(3, 8, 23, .4); font-size: .9rem; }
.history li .icon { color: var(--cyan); }
.history li small { margin-inline-start: auto; color: var(--dim); font-size: .78rem; white-space: nowrap; }

@media (max-width: 960px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento .wide { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Shops ---------- */
.shops-section { background: linear-gradient(180deg, var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); overflow: hidden; }
.shops-section .glow { width: 560px; height: 560px; inset-block-start: 20%; inset-inline-end: -10%; background: rgba(29, 92, 255, .22); }
.split { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.split-copy h2 { margin-block-start: 18px; font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.split-copy > p { margin-block-start: 16px; color: var(--muted); font-size: 1.08rem; max-width: 32em; }
.checks { display: grid; gap: 14px; margin-block-start: 30px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; }
.checks .tick { flex: none; width: 26px; height: 26px; display: grid; place-items: center; margin-block-start: 3px; border-radius: 8px; background: rgba(62, 227, 255, .12); border: 1px solid rgba(62, 227, 255, .3); color: var(--cyan); }
.checks .tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }

.map-card { padding: 14px; }
.map { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #061128; border: 1px solid var(--stroke); }
.map svg { width: 100%; height: 100%; }
.map .route { stroke-dasharray: 6 8; animation: dash 1.6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -28; } }
.map .ping { transform-origin: center; transform-box: fill-box; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.shop-list { display: grid; gap: 10px; margin-block-start: 14px; }
.shop {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px;
  padding: 14px 16px; border-radius: 16px; border: 1px solid var(--stroke); background: rgba(3, 8, 23, .45);
}
.shop.is-best { border-color: rgba(62, 227, 255, .4); background: linear-gradient(90deg, rgba(42, 139, 255, .14), rgba(62, 227, 255, .04)); box-shadow: 0 0 30px -12px rgba(62, 227, 255, .5); }
.shop-rank { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .88rem; font-weight: 700; border: 1px solid var(--stroke-2); color: var(--muted); }
.is-best .shop-rank { background: var(--grad); border-color: transparent; color: #021028; }
.shop strong { display: block; font-weight: 500; line-height: 1.5; }
.shop small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.shop small .icon { width: 13px; height: 13px; color: var(--amber); fill: var(--amber); stroke: none; }
.shop .dist { white-space: nowrap; color: var(--cyan); font-weight: 700; font-size: .92rem; }
.shop.is-closed { opacity: .6; }
.shop.is-closed .dist { color: var(--muted); }
.open-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.is-closed .open-dot { background: var(--stop); box-shadow: none; }
.shop-actions { grid-column: 2 / -1; display: flex; gap: 8px; margin-block-start: 8px; }
.shop-actions span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 10px; font-size: .8rem; font-weight: 500; background: rgba(255, 255, 255, .06); border: 1px solid var(--stroke); }
.shop-actions .icon { width: 14px; height: 14px; color: var(--cyan); }

@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: clamp(44px, 6vw, 72px); }
.steps::before {
  content: ""; position: absolute; inset-block-start: 63px; inset-inline: 16.6%;
  height: 1px; background: linear-gradient(90deg, transparent, rgba(62, 227, 255, .6), rgba(42, 139, 255, .6), transparent);
}
.steps li { position: relative; padding: 32px 28px; text-align: center; }
.step-num {
  position: relative; z-index: 1; width: 62px; height: 62px; margin-inline: auto; display: grid; place-items: center;
  border-radius: 20px; font-size: 1.5rem; font-weight: 700; color: #021028; background: var(--grad);
  box-shadow: 0 0 0 8px var(--bg), 0 0 40px -4px rgba(62, 227, 255, .7);
}
.steps h3 { margin-block-start: 26px; font-size: 1.25rem; }
.steps p { margin-block-start: 8px; color: var(--muted); font-size: .98rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { inset-inline: auto; inset-inline-start: 50%; inset-block: 60px; width: 1px; height: auto; background: linear-gradient(180deg, transparent, rgba(62, 227, 255, .5), transparent); }
}

/* ---------- Install ---------- */
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-block-start: clamp(44px, 6vw, 64px); }
.platform { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; }
.platform.is-suggested { border-color: rgba(62, 227, 255, .5); box-shadow: 0 0 0 1px rgba(62, 227, 255, .2), 0 30px 80px -40px rgba(62, 227, 255, .6); }
.platform-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.platform h3 { margin-block-start: 20px; font-size: 1.3rem; }
.suggested-tag { display: none; padding: 3px 12px; border-radius: 999px; background: var(--grad); color: #021028; font-size: .75rem; font-weight: 700; }
.is-suggested .suggested-tag { display: inline-block; }
.platform-body { display: flex; flex-direction: column; flex: 1; margin-block-start: 10px; color: var(--muted); font-size: .96rem; }
.install-steps { display: grid; gap: 10px; counter-reset: s; }
.install-steps li { counter-increment: s; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; }
.install-steps li::before { content: counter(s, persian); width: 26px; height: 26px; display: grid; place-items: center; margin-block-start: 3px; border-radius: 8px; border: 1px solid var(--stroke-2); color: var(--text); font-size: .8rem; font-weight: 700; line-height: 1; }
:lang(en) .install-steps li::before { content: counter(s); }
.platform-actions { display: grid; gap: 10px; margin-block-start: auto; padding-block-start: 26px; }
.platform-actions .btn { width: 100%; }
@media (max-width: 960px) { .platforms { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-grid .section-head { text-align: start; margin: 0; position: sticky; inset-block-start: calc(var(--header-h) + 32px); }
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--stroke); border-radius: 18px; background: rgba(13, 27, 62, .35); transition: border-color .2s ease, background-color .2s ease; }
.faq details[open] { border-color: rgba(62, 227, 255, .35); background: rgba(19, 38, 84, .4); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 1.05rem; font-weight: 700; line-height: 1.6; cursor: pointer; list-style: none;
}
:lang(en) .faq summary { line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--stroke-2); color: var(--cyan); transition: transform .25s var(--ease), background-color .2s ease; }
.faq details[open] .plus { transform: rotate(45deg); background: rgba(62, 227, 255, .12); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }
@media (max-width: 860px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-grid .section-head { position: static; text-align: center; margin-inline: auto; }
}

/* ---------- Closing CTA ---------- */
.cta { padding-block: 0 clamp(80px, 10vw, 120px); }
.cta-panel {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px);
  border-radius: 36px; border: 1px solid rgba(62, 227, 255, .3);
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(42, 139, 255, .45), transparent 70%),
    radial-gradient(ellipse 40% 60% at 90% 100%, rgba(62, 227, 255, .2), transparent 70%),
    linear-gradient(180deg, #0a1a44, #050d24);
}
.cta-panel .grid-bg { -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 20%, #000 20%, transparent 75%); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-icon { width: 104px; height: 104px; margin-inline: auto; border-radius: 26px; box-shadow: 0 0 60px -6px rgba(42, 139, 255, .9); }
.cta-panel h2 { max-width: 16em; margin: 28px auto 0; font-size: clamp(1.8rem, 3.8vw, 3rem); }
.cta-panel p { max-width: 34em; margin: 14px auto 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-block-start: 34px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-block: 64px 28px; border-block-start: 1px solid var(--stroke); background: #02060f; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)) auto; gap: 40px; }
.footer-about p { max-width: 24em; margin-block-start: 16px; }
.footer-title { font-size: .95rem; color: var(--text); margin-block-end: 14px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: var(--cyan); }
.footer-trust a { display: inline-block; padding: 8px; border-radius: 14px; background: #fff; }
.footer-trust img { width: auto; max-width: 96px; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-block-start: 48px; padding-block-start: 22px; border-block-start: 1px solid var(--stroke); font-size: .85rem; color: var(--dim); }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-about { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .play .step { opacity: 0; transform: translateY(10px) scale(.98); }
.js .play.is-live .step { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js .play .meter i { transform: scaleX(0); transform-origin: right; }
.js .play .meter i:dir(ltr) { transform-origin: left; }
.js .play.is-live .meter i { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms + 300ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .reveal, .js .play .step, .js .play .meter i { opacity: 1; transform: none; transition: none; }
}
