/* MoboPing website — components. Logical properties keep RTL and LTR in step. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: var(--fs); line-height: 1.85;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
:root[lang='en'] body { line-height: 1.65; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
:root[lang='en'] h1, :root[lang='en'] h2 { letter-spacing: -.03em; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
img, svg { display: inline-block; vertical-align: middle; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--on-green); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--green-ink); outline-offset: 3px; border-radius: 6px;
}
.ltr { direction: ltr; unicode-bidi: isolate; }
:root[lang='en'] .only-fa, :root[lang='fa'] .only-en { display: none !important; }
.mono { font-family: var(--font-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; inset-block-start: 10px; inset-inline-start: 10px; padding: 10px 18px; background: var(--green); color: var(--on-green); border-radius: var(--r-sm); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.container { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section.tight { padding-block: calc(var(--section) * .55); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.flip-rtl { transform: scaleX(1); }
[dir='rtl'] .flip-rtl { transform: scaleX(-1); }

/* ---------- page backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.backdrop::after {
  content: ''; position: absolute; inset-inline: -20%; inset-block-start: -35vh; height: 90vh;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--glow-blue), transparent 70%);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 22px;
  border-radius: var(--pill); border: 1px solid transparent; font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--green); color: var(--on-green); box-shadow: 0 8px 28px var(--glow-green); }
.btn-primary:hover { box-shadow: 0 10px 34px rgba(85, 255, 138, .3); }
.btn-ghost { border-color: var(--line-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--green-ink); color: var(--green-ink); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 26px rgba(0, 106, 255, .3); }
.btn-sm { min-height: 40px; padding: 6px 16px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 12px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn small { font-weight: 500; opacity: .7; font-size: 12px; }
.link { color: var(--green-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: transparent; color: var(--muted); transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--surface); }

/* ---------- top status strip ---------- */
.ipbar { font-size: 12.5px; color: var(--muted); background: var(--bg-2); border-block-end: 1px solid var(--line); }
.ipbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; }
.ipbar-msg { display: flex; align-items: center; gap: 9px; min-width: 0; }
.ipbar-msg span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--subtle); flex: 0 0 auto; }
.dot.ok { background: var(--green-2); box-shadow: 0 0 0 4px rgba(23, 233, 173, .18); }
.dot.bad { background: var(--bad); box-shadow: 0 0 0 4px rgba(255, 59, 59, .16); }
.dot.warn { background: var(--yellow); }
.dot.pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid currentColor; animation: pulse 1.6s infinite; color: inherit; opacity: .6; }
.ipbar-ip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; direction: ltr; white-space: nowrap; color: var(--muted); }
.ipbar-ip .flag { width: 18px; height: 12px; border-radius: 2px; }
.ipbar-msg { min-width: 0; flex: 1; }

/* ---------- announcement bar (dashboard) ---------- */
.announce { color: #fff; font-size: 13.5px; font-weight: 600; }
.announce-in { display: flex; justify-content: center; align-items: center; min-height: 36px; text-align: center; }
.announce a { display: inline-flex; align-items: center; gap: 6px; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--header); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-block-end: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; flex: 0 0 auto; direction: ltr; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 4px 14px rgba(232, 35, 47, .35)); }
.brand b { color: var(--red-2); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.nav-links a { padding: 8px 12px; border-radius: var(--r-sm); color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--text); background: var(--surface); }
.mega { position: relative; }
.mega-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--muted); font-size: 14.5px; transition: color .2s, background .2s; }
.mega-btn:hover, .mega.open .mega-btn, .mega-btn[aria-current='page'] { color: var(--text); background: var(--surface); }
.mega-caret { transition: transform .2s; }
.mega.open .mega-caret { transform: rotate(180deg); }
.mega-panel { position: absolute; inset-block-start: calc(100% + 10px); left: 50%; margin-left: -310px; z-index: 60; display: none; grid-template-columns: 1.15fr 1fr; gap: 8px 22px; width: 620px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--menu); box-shadow: var(--shadow); animation: pop .18s var(--ease); }
.mega.open .mega-panel { display: grid; }
.mega-panel h4 { font-size: 12px; color: var(--subtle); margin: 4px 10px 8px; font-weight: 700; }
:root[lang='en'] .mega-panel h4, :root[lang='en'] .drawer-h { text-transform: uppercase; letter-spacing: .12em; }
.mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: var(--r); transition: background .15s; }
.mega-item:hover, .mega-item[aria-current='page'] { background: var(--surface-2); }
.mega-item > .icon { color: var(--green-ink); margin-block-start: 2px; }
.mega-item b { display: block; font-size: 14.5px; color: var(--text); }
.mega-item small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.drawer-h { font-size: 12px; color: var(--subtle); margin: 14px 14px 2px; font-weight: 700; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-btn { width: auto; padding-inline: 12px; border-radius: var(--pill); font-size: 13px; font-weight: 700; font-family: var(--font-en); gap: 6px; display: inline-flex; align-items: center; }
.menu-btn { display: none; }

.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); animation: fade .2s; }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(340px, 88vw); background: var(--bg); border-inline-start: 1px solid var(--line);
  padding: 18px; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; animation: slide-in .25s var(--ease);
}
[dir='rtl'] .drawer-panel { animation-name: slide-in-rtl; }
.drawer-panel a:not(.btn) { padding: 12px 14px; border-radius: var(--r); font-weight: 600; display: flex; align-items: center; gap: 12px; }
.drawer-panel a:not(.btn):hover { background: var(--surface); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 10px; }
.drawer-foot { margin-block-start: auto; display: grid; gap: 10px; padding-block-start: 16px; }

/* ---------- headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--green-ink); letter-spacing: .02em; }
:root[lang='en'] .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.head { max-width: 720px; margin-block-end: clamp(32px, 4vw, 52px); }
.head.center { margin-inline: auto; text-align: center; }
.head h2 { font-size: var(--fs-h2); margin-block: 10px 14px; }
.head p { color: var(--muted); font-size: var(--fs-lg); }
.hl { color: var(--green-ink); }
.hl-red { color: var(--red-2); }
.grad { background: linear-gradient(90deg, var(--green), var(--green-2) 50%, #6aa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root.light .grad { background: linear-gradient(90deg, #0e8a43, #0a9d78 50%, #0055cd); -webkit-background-clip: text; background-clip: text; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 100px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(28px, 5vw, 64px); }
.hero h1 { font-size: var(--fs-h1); margin-block: 18px 20px; }
.hero-lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block-start: 30px; }
.hero-note { margin-block-start: 14px; font-size: 13px; color: var(--subtle); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note .icon { width: 15px; height: 15px; color: var(--green-ink); }
.pill-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
[dir='rtl'] .pill-tag { padding: 5px 6px 5px 12px; }
.pill-tag b { background: var(--green); color: var(--on-green); border-radius: var(--pill); padding: 1px 9px; font-size: 11.5px; font-weight: 800; }

/* hero visual: CSS replica of the app window */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 500px; }
.orbit { position: absolute; border: 1px dashed var(--line-2); border-radius: 50%; aspect-ratio: 1; animation: spin 60s linear infinite; }
.orbit.o1 { width: 92%; } .orbit.o2 { width: 66%; animation-duration: 40s; animation-direction: reverse; }
.orbit i { position: absolute; inset-block-start: 8%; inset-inline-start: 14%; width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 18px var(--green); }
.orbit.o2 i { background: var(--red-2); box-shadow: 0 0 18px var(--red-2); inset-block-start: auto; inset-block-end: 6%; }
.appwin {
  position: relative; z-index: 2; width: min(360px, 100%); direction: ltr; font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif; color: #fff;
  background: #090e19; border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .3); animation: float 7s ease-in-out infinite;
}
[data-tilt-target] { transition: transform .45s var(--ease); transform-style: preserve-3d; will-change: transform; }
[data-tilt] [data-tilt-target] { animation: none; }
.hero-visual[data-tilt] > .hero-float { animation: float 7s ease-in-out infinite; position: relative; z-index: 2; display: grid; place-items: center; }
.appwin-top { position: relative; padding: 14px 16px 18px; background: linear-gradient(180deg, #0055cd 0%, rgba(0, 85, 205, 0) 80%); }
.appwin-bar { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.appwin-bar img { width: 22px; height: 22px; }
.appwin-bar b { color: #ff5a63; }
.appwin-bar .pro { margin-inline-start: 6px; font-size: 9px; padding: 1px 6px; border: 1px solid #55ff8a; color: #55ff8a; transform: skewX(-12deg); border-radius: 3px; }
.appwin-bar .menu { margin-inline-start: auto; opacity: .7; }
.appwin-state { display: flex; align-items: center; gap: 8px; margin-block-start: 22px; font-size: 12px; }
.state-pill { padding: 2px 10px; border-radius: 10px; font-weight: 700; color: #17e9ad; background: rgba(23, 233, 173, .2); }
.proto { color: rgba(255, 255, 255, .7); }
.appwin-loc { margin-block-start: 10px; font-size: 26px; font-weight: 700; line-height: 1.15; }
.appwin-loc small { font-weight: 400; opacity: .8; }
.cbtn { position: absolute; inset-block-start: 56px; inset-inline-end: 18px; width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; border: 3px solid #17e9ad; box-shadow: 0 0 30px rgba(23, 233, 173, .45); }
.cbtn::before { content: ''; width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.cbtn svg { position: absolute; width: 26px; height: 26px; color: #090e19; }
.appwin-rows { padding: 6px 12px 14px; display: grid; gap: 6px; }
.appwin-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 13px; }
.appwin-row .flag { width: 22px; height: 15px; border-radius: 2px; overflow: hidden; flex: 0 0 auto; }
.appwin-row .ring { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #55ff8a; flex: 0 0 auto; }
.appwin-row .ring.mid { border-color: #ffef02; }
.appwin-row .ms { margin-inline-start: auto; color: #55ff8a; font-family: var(--font-mono); font-size: 12px; }
.appwin-row .ms.mid { color: #ffef02; }
.appwin-row .tag { font-size: 9px; padding: 0 5px; border-radius: 4px; border: 1px solid rgba(255, 255, 255, .25); opacity: .8; }
.hero-shot { display: block; width: min(340px, 80vw); border-radius: 16px; overflow: hidden; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .1); }
.hero-shot img { display: block; width: 100%; height: auto; }
:root.light .hero-shot { box-shadow: 0 40px 80px rgba(9, 14, 25, .25); }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r); background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.float-card .icon { color: var(--green-ink); }
.float-card small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }
.fc-1 { top: 40%; right: -4%; animation: float 8s ease-in-out infinite reverse; }
.fc-2 { bottom: 14%; left: -6%; animation: float 9s ease-in-out infinite; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.stat { padding: 26px 24px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat b { display: block; direction: ltr; text-align: end; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; font-weight: 800; font-family: var(--font-en); letter-spacing: -.03em; }
.stat b em { font-style: normal; color: var(--green-ink); }
[dir='ltr'] .stat b { text-align: start; }
.stat > span { color: var(--muted); font-size: 14px; }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s var(--ease), background .25s; }
a.card:hover, .card.hover:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card h3 { font-size: var(--fs-h3); margin-block: 14px 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .link { margin-block-start: 14px; font-size: 14px; }
.ico { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r); background: var(--green-soft); color: var(--green-ink); }
.ico.red { background: var(--red-soft); color: var(--red-2); }
.ico.blue { background: rgba(0, 106, 255, .12); color: var(--blue-ink); }
.ico.yellow { background: rgba(255, 239, 2, .1); color: var(--yellow); }
.ico .icon { width: 23px; height: 23px; }
.card-glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(85, 255, 138, .07), transparent 45%); opacity: 0; transition: opacity .3s; }
.card-glow:hover::after { opacity: 1; }

/* why: numbered pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { padding: 26px 24px 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.pillar .num { font-family: var(--font-en); font-weight: 800; color: var(--green-ink); font-size: 14px; }
.pillar h3 { font-size: 18px; margin-block: 16px 8px; }
.pillar p { color: var(--muted); font-size: 14.5px; }

/* platforms row */
.platforms { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.platform { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14.5px; transition: border-color .2s, transform .2s var(--ease); text-align: center; }
.platform:hover { border-color: var(--green-ink); transform: translateY(-3px); }
.platform svg { width: 34px; height: 34px; }
.platform small { color: var(--muted); font-weight: 500; font-size: 12px; }
.platform.current { border-color: var(--green-ink); background: var(--green-soft); }

/* feature rows (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); }
.feature + .feature { margin-block-start: clamp(64px, 8vw, 110px); }
.feature:nth-child(even) .feature-art { order: -1; }
.feature h3 { font-size: clamp(24px, 2.6vw, 34px); margin-block: 12px 14px; }
.feature p { color: var(--muted); font-size: var(--fs-lg); }
.feature ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; align-items: flex-start; }
.feature li .icon { color: var(--green-ink); margin-block-start: 4px; width: 18px; height: 18px; }
.feature-art { position: relative; min-height: 320px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(circle at 30% 20%, var(--glow-blue), transparent 60%), var(--surface); overflow: hidden; display: grid; place-items: center; padding: 28px; }

/* art: protocol stack */
.proto-stack { display: grid; gap: 10px; width: min(360px, 100%); direction: ltr; font-family: var(--font-en); }
.proto-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: var(--surface-solid); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.proto-item .sig { margin-inline-start: auto; display: flex; gap: 3px; align-items: flex-end; height: 14px; }
.proto-item .sig i { width: 4px; border-radius: 2px; background: var(--green-ink); }
.proto-item .sig i:nth-child(1) { height: 40%; } .proto-item .sig i:nth-child(2) { height: 70%; } .proto-item .sig i:nth-child(3) { height: 100%; }
.proto-item.on { border-color: var(--green-ink); box-shadow: 0 0 0 3px var(--green-soft); }
.proto-item .badge { margin-inline-start: 0; }

/* art: route diagram */
.route { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; direction: ltr; }
.route-node { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 12.5px; font-weight: 600; z-index: 1; font-family: var(--font-en); }
.route-node span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--surface-solid); border: 1px solid var(--line-2); }
.route-node.mid span { border-color: var(--green-ink); box-shadow: 0 0 30px var(--glow-green); }
.route-node img { width: 34px; height: 34px; }
.route-line { flex: 1; height: 2px; min-width: 30px; max-width: 110px; margin-block-end: 26px; background: repeating-linear-gradient(90deg, var(--green-ink) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1s linear infinite; }

/* art: devices */
.devices { display: flex; align-items: flex-end; justify-content: center; gap: 4%; direction: ltr; width: 100%; max-width: 440px; }
.dev { border: 2px solid var(--line-2); background: var(--surface-solid); display: grid; place-items: center; color: var(--green-ink); }
.dev.laptop { width: 44%; aspect-ratio: 19 / 12; border-radius: 10px 10px 4px 4px; }
.dev.phone { width: 15%; aspect-ratio: 8 / 15; border-radius: 14px; }
.dev.tv { width: 33%; aspect-ratio: 15 / 9.2; border-radius: 8px; }
.dev .icon { width: 30px; height: 30px; }
.devices-count { position: absolute; inset-block-start: 22px; inset-inline-end: 22px; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: var(--pill); background: var(--green); color: var(--on-green); }

/* art: smart routing */
.split { display: grid; gap: 10px; width: min(340px, 100%); }
.split-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: var(--r); background: var(--surface-solid); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.split-row .badge { margin-inline-start: auto; }

/* ---------- badges / chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: var(--pill); font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.badge.green { background: var(--green-soft); color: var(--green-ink); }
.badge.red { background: var(--red-soft); color: var(--red-2); }
.badge.blue { background: rgba(0, 106, 255, .12); color: var(--blue-ink); }
.badge.yellow { background: rgba(255, 239, 2, .12); color: var(--yellow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted); transition: .2s; }
.chip:hover { color: var(--text); border-color: var(--line-2); }
.chip[aria-selected='true'], .chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- flags (country-flag rendering via emoji fallback + css) ---------- */
.flag { display: inline-block; width: 28px; height: 20px; border-radius: 4px; overflow: hidden; flex: 0 0 auto; background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); background-size: cover; background-position: center; }
.flag.round { width: 30px; height: 30px; border-radius: 50%; }

/* ---------- locations marquee ---------- */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); direction: ltr; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14px; white-space: nowrap; font-family: var(--font-en); }
.marquee + .marquee { margin-block-start: 12px; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.marquee.slow .marquee-track { animation-duration: 55s; }

/* ---------- reviews ---------- */
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin-block-end: 18px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.review-head { display: flex; align-items: center; gap: 12px; margin-block-end: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; flex: 0 0 auto; }
.review-head b { display: block; font-size: 14.5px; }
.review-head small { color: var(--muted); font-size: 12px; }
.stars { display: inline-flex; gap: 2px; color: #ffc93c; margin-inline-start: auto; }
.stars svg { width: 15px; height: 15px; }
.stars .off { color: var(--line-2); }
.review p { color: var(--muted); font-size: 14.5px; }
.review-src { display: inline-flex; align-items: center; gap: 6px; margin-block-start: 12px; font-size: 12px; color: var(--subtle); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); border: 1px solid var(--line); background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(0, 106, 255, .35), transparent 60%), radial-gradient(ellipse 60% 100% at 0% 100%, rgba(85, 255, 138, .14), transparent 60%), var(--bg-2); display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: 30px; }
.cta-band h2 { font-size: clamp(28px, 4vw, 48px); margin-block: 10px 14px; }
.cta-band p { color: var(--muted); font-size: var(--fs-lg); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 26px; }
.cta-logo { justify-self: center; width: min(220px, 60%); filter: drop-shadow(0 20px 50px rgba(232, 35, 47, .4)); animation: float 6s ease-in-out infinite; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 90px) clamp(24px, 4vw, 40px); text-align: center; }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); margin-block: 14px 16px; }
.page-hero p { color: var(--muted); font-size: var(--fs-lg); max-width: 680px; margin-inline: auto; }
.page-hero .hero-actions { justify-content: center; }

/* ---------- tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-block-end: 32px; }
.tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14.5px; color: var(--muted); transition: .2s; }
.tab svg { width: 18px; height: 18px; }
.tab:hover { color: var(--text); }
.tab[aria-selected='true'] { background: var(--green); border-color: var(--green); color: var(--on-green); }
.tabpanel { animation: fade .3s; }

/* ---------- download page ---------- */
.dl-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.dl-main h2 { font-size: clamp(26px, 3vw, 38px); margin-block: 10px 12px; }
.dl-main p { color: var(--muted); }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 6px; }
.app-list { display: grid; gap: 12px; }
.app-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.app-item .ico { width: 42px; height: 42px; font-weight: 800; font-family: var(--font-en); }
.app-item b { display: block; }
.app-item small { color: var(--muted); font-size: 13px; }
.app-item .btn { margin-inline-start: auto; }
.steps { counter-reset: s; display: grid; gap: 14px; }
.step { position: relative; padding: 20px 22px; padding-inline-start: 70px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.step::before { counter-increment: s; content: counter(s); position: absolute; inset-inline-start: 20px; inset-block-start: 18px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); font-weight: 800; font-family: var(--font-en); }
:root[lang='fa'] .step::before { content: counter(s, persian); font-family: var(--font-fa); }
.step h4 { font-size: 16.5px; margin-block-end: 4px; }
.step p { color: var(--muted); font-size: 14.5px; }
.step code, code.inline { font-family: var(--font-mono); font-size: 13px; padding: 1px 7px; border-radius: 6px; background: var(--surface-2); direction: ltr; unicode-bidi: isolate; }

/* ---------- pricing ---------- */
.plan-groups { display: grid; gap: 40px; }
.plan-group h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-block-end: 16px; flex-wrap: wrap; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.plan:hover { border-color: var(--line-2); transform: translateY(-3px); }
.plan.featured { border-color: var(--green-ink); box-shadow: 0 0 0 3px var(--green-soft); }
.plan.featured::before { content: attr(data-flag); position: absolute; inset-block-start: -12px; inset-inline-start: 20px; padding: 2px 12px; border-radius: var(--pill); font-size: 12px; font-weight: 800; background: var(--green); color: var(--on-green); }
.plan-name { font-weight: 800; font-size: 17px; }
.plan-sub { color: var(--muted); font-size: 13px; margin-block-start: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-block: 18px 6px; direction: ltr; justify-content: flex-end; font-family: var(--font-en); }
[dir='ltr'] .plan-price { justify-content: flex-start; }
.plan-price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-size: 14px; font-weight: 600; }
.plan-per { color: var(--subtle); font-size: 12.5px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 9px; font-size: 14px; }
.plan li { display: flex; align-items: center; gap: 9px; }
.plan li .icon { width: 17px; height: 17px; color: var(--green-ink); }
.plan .btn { margin-block-start: auto; }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.range { display: grid; gap: 8px; margin-block-end: 22px; }
.range label { display: flex; justify-content: space-between; font-weight: 700; font-size: 14.5px; }
.range output { color: var(--green-ink); font-family: var(--font-en); }
input[type='range'] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: var(--surface-2); outline-offset: 6px; }
input[type='range']::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green); border: 4px solid var(--bg); box-shadow: 0 0 0 1px var(--green); cursor: pointer; }
input[type='range']::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--green); border: 4px solid var(--bg); cursor: pointer; }
.calc-out { display: grid; align-content: center; gap: 6px; text-align: center; padding: 24px; border-radius: var(--r-lg); background: var(--bg-2); border: 1px solid var(--line); }
.calc-out b { font-size: 46px; font-family: var(--font-en); letter-spacing: -.03em; color: var(--green-ink); line-height: 1.1; direction: ltr; }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th, td { padding: 14px 18px; text-align: start; border-block-end: 1px solid var(--line); white-space: nowrap; }
th { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--surface-2); }
tr:last-child td { border-block-end: 0; }
td .icon { width: 18px; height: 18px; color: var(--green-ink); }
td .icon.no { color: var(--subtle); }

/* pricing: toolbar, currency toggle, groups */
.price-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-block-end: 26px; }
.cur-toggle { display: flex; align-items: center; gap: 12px; }
.cur-toggle small { font-size: 12.5px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: var(--pill); background: var(--surface-2); border: 1px solid var(--line); min-width: 184px; }
.seg button { position: relative; z-index: 1; border: 0; background: none; padding: 8px 18px; border-radius: var(--pill); font-weight: 700; font-size: 14px; color: var(--muted); transition: color .25s; }
.seg button[aria-checked='true'] { color: var(--on-green); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }
.seg-thumb { position: absolute; inset-block: 4px; inset-inline-start: 4px; width: calc(50% - 4px); border-radius: var(--pill); background: var(--green); box-shadow: 0 4px 14px var(--glow-green); transition: transform .3s var(--ease); }
.seg[data-pos='1'] .seg-thumb { transform: translateX(100%); }
[dir='rtl'] .seg[data-pos='1'] .seg-thumb { transform: translateX(-100%); }
.notice.offer { margin-block-end: 24px; border-color: var(--green-ink); color: var(--text); }
.notice.offer .icon { color: var(--green-ink); }
.plan-groups { gap: 48px; }
.plan-group-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 30px; flex-wrap: wrap; margin-block-end: 18px; }
.plan-group-head h3 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0; }
.plan-group-head p { color: var(--muted); font-size: 14px; max-width: 560px; }
.plan-flags { display: inline-flex; flex-direction: row-reverse; }
.plan-flags .flag.round { width: 28px; height: 28px; object-fit: cover; border: 2px solid var(--bg); margin-inline-start: -8px; box-shadow: none; }
.plan-flags .flag.round:last-child { margin-inline-start: 0; }
.plan-cdn .plan-group-head { padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid rgba(255, 239, 2, .3); background: rgba(255, 239, 2, .05); }
.plan-cdn .plan-group-head h3::after { content: 'PRO'; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--yellow); color: var(--yellow); transform: skewX(-10deg); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.plan-was { display: flex; align-items: center; gap: 8px; margin-block-start: 14px; color: var(--subtle); text-decoration: line-through; font-size: 14px; direction: ltr; justify-content: flex-end; }
[dir='ltr'] .plan-was { justify-content: flex-start; }
.plan-was .badge { text-decoration: none; }
.plan-was.free { text-decoration: none; }
.plan-was + .plan-price { margin-block-start: 4px; }

/* pricing: four combined products */
.price-bar.center { justify-content: center; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.products .skeleton { min-height: 520px; }
.product { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); transition: transform .25s var(--ease), border-color .25s; }
.product:hover { transform: translateY(-4px); border-color: var(--line-2); }
.product.featured { border-color: var(--green-ink); background: radial-gradient(120% 60% at 50% 0%, var(--glow-green), transparent 70%), var(--surface); box-shadow: 0 0 0 1px var(--green-ink), 0 24px 60px rgba(0, 0, 0, .25); }
.product.gold { border-color: rgba(255, 201, 60, .45); background: radial-gradient(120% 60% at 50% 0%, rgba(255, 201, 60, .1), transparent 70%), var(--surface); }
.product-head { display: flex; align-items: center; gap: 10px; }
.product { overflow: hidden; }
.ribbon { position: absolute; z-index: 2; inset-block-start: 26px; inset-inline-end: -52px; width: 190px; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 0; font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #e8232f, #ff4d57); box-shadow: 0 6px 18px rgba(232, 35, 47, .4); transform: rotate(45deg); pointer-events: none; }
[dir='rtl'] .ribbon { transform: rotate(-45deg); }
.ribbon .icon { width: 14px; height: 14px; }
.product-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--pill); background: var(--surface-2); color: var(--muted); }
.product.featured .product-tag { background: var(--green); color: var(--on-green); }
.product.gold .product-tag { background: rgba(255, 201, 60, .15); color: #ffc93c; }
:root.light .product.gold .product-tag { color: #9a6b00; }
.product h3 { font-size: 24px; margin: 0; font-family: var(--font-en); letter-spacing: -.01em; }
.product-desc { color: var(--muted); font-size: 14px; line-height: 1.85; min-height: 5.6em; }
.product-price { padding-block: 14px; border-block: 1px solid var(--line); }
.product-price small { display: block; color: var(--muted); font-size: 12.5px; }
.price-line { display: flex; align-items: baseline; gap: 4px; direction: ltr; justify-content: flex-end; margin-block: 2px; font-family: var(--font-en); }
[dir='ltr'] .price-line { justify-content: flex-start; }
.price-line .cur { font-size: 22px; font-weight: 700; color: var(--muted); align-self: flex-start; margin-block-start: 6px; }
.price-line .amt { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price-line .frac { font-size: 22px; font-weight: 700; color: var(--muted); }
.price-line .unit { font-size: 15px; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }
:root[lang='fa'] .price-line { direction: rtl; justify-content: flex-start; font-family: var(--font-fa); }
:root[lang='fa'] .price-line .amt, :root[lang='fa'] .price-line .frac { letter-spacing: 0; font-weight: 700; }
:root[lang='fa'] .price-line .cur { order: 3; margin-inline-start: 4px; }
:root[lang='fa'] .price-line .frac { order: 1; }
:root[lang='fa'] .price-line .amt { order: 2; }
.product ul { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 9px; font-size: 14px; flex: 1; }
.product li { display: flex; gap: 9px; align-items: flex-start; }
.product li .icon { color: var(--green-ink); margin-block-start: 5px; }
.product .plan-flags { justify-content: flex-start; }
.products-note { text-align: center; font-size: 13px; margin-top: 22px; }
.calc-out b { display: flex; justify-content: center; }
.calc-out .price-line { justify-content: center; }

/* payments */
.pay-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; align-items: stretch; }
.wallet-card { padding: 28px; border-radius: var(--r-xl); border: 1px solid var(--line); background: radial-gradient(circle at 0 0, var(--glow-green), transparent 60%), var(--surface); }
.wallet-card h3 { font-size: 20px; margin-block: 14px 16px; }
.wallet-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: w; }
.wallet-steps li { position: relative; padding-inline-start: 44px; display: grid; gap: 2px; }
.wallet-steps li::before { counter-increment: w; content: counter(w); position: absolute; inset-inline-start: 0; inset-block-start: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green-ink); font-weight: 800; font-size: 14px; }
:root[lang='fa'] .wallet-steps li::before { content: counter(w, persian); }
.wallet-steps span { color: var(--muted); font-size: 14px; }
.pay-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pay { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 12px; row-gap: 10px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.pay:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pay-logo { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; flex: 0 0 auto; }
.pay-logo svg { width: 22px; height: 22px; }
.pay-logo.usdt, .pay-logo.bnb, .pay-logo.btc { background: none; padding: 0; }
.pay-logo.usdt svg, .pay-logo.bnb svg, .pay-logo.btc svg { width: 42px; height: 42px; display: block; }
.pay-logo.usdt { background: #26a17b; }
.pay-logo.bnb { background: #f3ba2f; color: #1e2329; }
.pay-logo.btc { background: #f7931a; }
.pay-logo.cardpay { background: var(--blue); }
.pay-txt { display: grid; min-width: 0; }
.pay-txt b { font-size: 16px; white-space: nowrap; }
.pay-net { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay small { grid-column: 1 / -1; color: var(--muted); font-size: 12.5px; padding-block-start: 10px; border-block-start: 1px dashed var(--line); }

/* ---------- radar / locations ---------- */
.net-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-block-end: 26px; }
.net-tile { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.net-tile > span { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.net-tile b { display: block; font-size: 30px; font-family: var(--font-en); letter-spacing: -.02em; margin-block-start: 4px; direction: ltr; text-align: end; }
[dir='ltr'] .net-tile b { text-align: start; }
:root[lang='fa'] .stat b, :root[lang='fa'] .plan-price b, :root[lang='fa'] .calc-out b, :root[lang='fa'] .net-tile b,
:root[lang='fa'] .loc-metrics b, :root[lang='fa'] .plan-price, :root[lang='fa'] .range output { letter-spacing: 0; font-feature-settings: 'ss01' 0; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.loc { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; }
.loc-head { display: flex; align-items: center; gap: 12px; }
.loc-head b { font-size: 16.5px; font-family: var(--font-en); }
.loc-head small { display: block; color: var(--muted); font-size: 12.5px; }
.loc-head .badge { margin-inline-start: auto; }
.loc-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.loc-metrics div { padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface-2); }
.loc-metrics span { display: block; color: var(--muted); font-size: 11.5px; }
.loc-metrics b { font-family: var(--font-en); font-size: 17px; }
.bars { display: flex; gap: 3px; height: 26px; align-items: stretch; direction: ltr; }
.bars i { flex: 1; border-radius: 2px; background: var(--green-2); opacity: .9; }
.bars i.degraded { background: var(--yellow); }
.bars i.offline { background: var(--bad); }
.bars i.none { background: var(--surface-2); }
.bars-legend { direction: ltr; display: flex; justify-content: space-between; color: var(--subtle); font-size: 11.5px; margin-block-start: -6px; }
.spark { width: 100%; height: 44px; direction: ltr; }
.spark path.line { fill: none; stroke: var(--blue-ink); stroke-width: 2; }
.spark path.area { fill: url(#sparkfill); }
.load { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); }
.load-track { flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.load-track i { display: block; height: 100%; border-radius: inherit; background: var(--green-2); }
.load-track i.mid { background: var(--yellow); }
.load-track i.high { background: var(--bad); }
.skeleton { background: linear-gradient(90deg, var(--surface) 25%, var(--surface-2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-lg); min-height: 220px; border: 1px solid var(--line); }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14.5px; }
.notice .icon { color: var(--yellow); margin-block-start: 3px; }
.notice.error .icon { color: var(--bad); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq details { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; flex: 0 0 auto; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.faq .ans p + p { margin-block-start: 10px; }
.faq-cats { margin-block-end: 26px; justify-content: center; }

/* ---------- help ---------- */
.help-search { position: relative; max-width: 620px; margin: 28px auto 0; }
.help-search input { width: 100%; height: 56px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--surface); padding-inline: 52px 22px; font-size: 16px; }
.help-search .icon { position: absolute; inset-inline-start: 20px; inset-block-start: 18px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.topic { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.topic h4 { font-size: 16px; margin-block-end: 4px; }
.topic p { color: var(--muted); font-size: 14px; }

/* ---------- my-ip ---------- */
.ip-card { max-width: 760px; margin-inline: auto; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.ip-big { font-family: var(--font-mono); font-size: clamp(26px, 5vw, 48px); font-weight: 700; letter-spacing: -.02em; direction: ltr; margin-block: 14px; word-break: break-all; }
.ip-rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-block-start: 24px; text-align: start; }
.ip-rows div { padding: 14px; border-radius: var(--r); background: var(--surface-2); }
.ip-rows span { display: block; color: var(--muted); font-size: 12.5px; }
.ip-rows b { font-family: var(--font-en); }

/* ---------- prose (legal) ---------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 22px; margin-block: 36px 12px; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-inline-start: 22px; display: grid; gap: 8px; }
.prose .updated { color: var(--subtle); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { margin-block-start: var(--section); border-block-start: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 32px; padding-block: 56px 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-block: 14px 18px; max-width: 300px; }
.footer-social { display: flex; gap: 8px; }
.footer-col h4 { font-size: 13px; color: var(--subtle); font-weight: 700; margin-block-end: 14px; }
:root[lang='en'] .footer-col h4 { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px 28px; border-block-start: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.footer-bottom .switches { display: flex; gap: 8px; }

/* ---------- chat widget ---------- */
.chat-fab { position: fixed; z-index: 80; inset-block-end: 20px; inset-inline-end: 20px; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--surface-solid); box-shadow: var(--shadow); font-weight: 700; font-size: 14px; transition: transform .2s var(--ease); }
[dir='rtl'] .chat-fab { padding: 8px 8px 8px 18px; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab img { width: 38px; height: 38px; border-radius: 50%; background: #090e19; padding: 5px; }
.chat-fab small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; line-height: 1.2; }
.chat-fab span { line-height: 1.3; text-align: start; }
.chat { position: fixed; z-index: 85; inset-block-end: 20px; inset-inline-end: 20px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 40px)); display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line-2); background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); overflow: hidden; animation: pop .25s var(--ease); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(180deg, rgba(0, 85, 205, .45), transparent); border-block-end: 1px solid var(--line); }
.chat-head img { width: 38px; height: 38px; border-radius: 50%; background: #090e19; padding: 5px; }
.chat-head b { display: block; font-size: 15px; }
.chat-head small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat-head .icon-btn { margin-inline-start: auto; width: 36px; height: 36px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.75; white-space: pre-wrap; word-wrap: break-word; }
.msg.bot { align-self: flex-start; background: var(--surface-2); border-end-start-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--green); color: var(--on-green); border-end-end-radius: 4px; }
.msg.err { align-self: center; background: var(--red-soft); color: var(--red-2); font-size: 13px; }
.msg a { color: var(--blue-ink); text-decoration: underline; }
.msg.user a { color: inherit; }
.msg-actions { align-self: flex-start; display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: -2px; }
.msg-actions .btn { min-height: 36px; padding: 6px 14px; font-size: 13px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; }
.chat-suggest button { padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.chat-suggest button:hover { color: var(--text); border-color: var(--line-2); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-block-start: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; height: 46px; max-height: 120px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14.5px; line-height: 1.5; }
.chat-form button { width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--green); color: var(--on-green); display: grid; place-items: center; flex: 0 0 auto; }
.chat-form button:disabled { opacity: .5; cursor: not-allowed; }
.chat-foot { padding: 0 14px 10px; font-size: 11px; color: var(--subtle); text-align: center; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- keyframes ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes dash { to { background-position: 28px 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-in-rtl { from { transform: translateX(-100%); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 992px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions .hide-md { display: none; }
  .hero-grid, .feature, .dl-main, .calc, .cta-band, .pay-wrap { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-art { order: 0; }
  .hero-visual { min-height: 380px; }
  .g4, .pillars, .products { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .platforms { grid-template-columns: repeat(3, 1fr); }
  .stats, .net-summary { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .cta-logo { display: none; }
}
@media (max-width: 768px) {
  :root { --fs: 15px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .ip-rows { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { right: 0; } .fc-2 { left: 0; }
  .ipbar-ip { font-size: 10.5px; letter-spacing: 0; }
  .ipbar { font-size: 12px; }
  .hero-visual { overflow: clip; overflow-clip-margin: 12px; }
  .chat-fab span { display: none; }
  .chat-fab, [dir='rtl'] .chat-fab { padding: 6px; }
}
@media (max-width: 480px) {
  .g4, .pillars, .products { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .pay-grid { grid-template-columns: 1fr; }
  .price-bar { justify-content: center; }
  .hero-actions .btn { width: 100%; }
  .nav { gap: 10px; }
  .brand span { display: none; }
  .nav-actions { gap: 6px; }
  .nav-actions .btn { display: none; }
  .loc-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .route-node span { width: 50px; height: 50px; }
  .devices .dev.tv { display: none; }
  .chat { inset: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .app-item { flex-wrap: wrap; }
  .app-item .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
