/* MitzuVPN website. Colours are the apps' own Midnight theme. */

@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("fonts/montserrat-regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("fonts/montserrat-semibold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700 800; font-display: swap; src: url("fonts/montserrat-bold.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-display: swap; src: url("fonts/vazirmatn-regular.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 500 600; font-display: swap; src: url("fonts/vazirmatn-medium.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 700 800; font-display: swap; src: url("fonts/vazirmatn-bold.woff2") format("woff2"); }

:root {
  --bg: #050918;
  --bg-2: #0a1230;
  --bg-alt: #0e1a46;
  --surface: rgba(17, 26, 61, .72);
  --surface-2: #17214a;
  --surface-3: #1d2858;
  --border: rgba(76, 141, 255, .18);
  --border-strong: rgba(76, 141, 255, .34);
  --text: #f2f4ff;
  --muted: #8e9ad0;
  --faint: #5d6899;
  --accent: #4c8dff;
  --accent-strong: #2f6bff;
  --accent-soft: rgba(47, 107, 255, .15);
  --cyan: #34c6ff;
  --violet: #7a45f7;
  --orange: #ffa23a;
  --orange-deep: #ff6a13;
  --success: #48d7ff;
  --ok: #3ddc97;
  --warning: #ffb547;
  --danger: #ff6178;
  --gold: #ffc94d;
  --atmos: #6f45f2;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .65);
  --font: "Montserrat", "Vazirmatn", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-rtl: "Vazirmatn", "Montserrat", system-ui, "Segoe UI", Tahoma, sans-serif;
  --nav-h: 68px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-rtl); line-height: 1.8; }
html[lang="zh"] body { font-family: "Montserrat", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
body::before {
  /* the app's backdrop: deep navy with a violet glow, and a faint dot grid */
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 700px at 78% -8%, rgba(111, 69, 242, .28), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(47, 107, 255, .20), transparent 60%),
    radial-gradient(800px 800px at 50% 110%, rgba(52, 198, 255, .10), transparent 60%),
    linear-gradient(180deg, #050918 0%, #070d26 50%, #050918 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(142, 154, 208, .10) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { letter-spacing: 0; line-height: 1.45; }
p { margin: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; }
.ico.sm { width: 16px; height: 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 920px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.link:hover { color: var(--cyan); }
.ltr { direction: ltr; unicode-bidi: isolate; }
.glass {
  background: linear-gradient(180deg, rgba(23, 33, 74, .78), rgba(14, 22, 54, .72));
  border: 1px solid var(--border);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(52, 198, 255, .18); }
.dot.on { background: var(--success); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(72, 215, 255, 0); } }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn.lg { height: 54px; padding: 0 24px; font-size: 16px; border-radius: 16px; }
.btn.block { width: 100%; }
.btn small { font-size: 11px; font-weight: 700; opacity: .75; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .16); letter-spacing: .04em; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; box-shadow: 0 10px 26px -10px rgba(47, 107, 255, .8); }
.btn.primary:hover { box-shadow: 0 14px 30px -10px rgba(76, 141, 255, .95); }
.btn.cta { background: linear-gradient(135deg, var(--orange), var(--orange-deep)); color: #fff; box-shadow: 0 12px 30px -10px rgba(255, 106, 19, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.cta:hover { box-shadow: 0 16px 36px -10px rgba(255, 122, 26, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.ghost { background: rgba(23, 33, 74, .55); border-color: var(--border-strong); color: var(--text); }
.btn.ghost:hover { background: rgba(47, 107, 255, .16); border-color: var(--accent); }
.btn.danger { background: rgba(255, 97, 120, .1); border-color: rgba(255, 97, 120, .35); color: var(--danger); }
.btn.danger:hover { background: rgba(255, 97, 120, .18); }
.btn[disabled], .btn.busy { opacity: .55; pointer-events: none; }
.btn.busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--border); background: rgba(23, 33, 74, .6); cursor: pointer; color: var(--muted); }
.icon-btn:hover { color: var(--text); border-color: var(--accent); }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 40; height: var(--nav-h); transition: background .25s, border-color .25s, backdrop-filter .25s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5, 9, 24, .78); border-bottom-color: var(--border); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: .01em; direction: ltr; }
.brand img { filter: drop-shadow(0 4px 14px rgba(76, 141, 255, .5)); }
.brand b { color: var(--accent); font-weight: 700; }
.links { display: flex; align-items: center; gap: 6px; margin-inline-start: 8px; }
.links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.links a:hover, .links a.active { color: var(--text); background: rgba(47, 107, 255, .12); }
.links .only-mobile { display: none; }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(23, 33, 74, .55); cursor: pointer; place-items: center; }

.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(23, 33, 74, .55); cursor: pointer; font-weight: 600; font-size: 14px; }
.lang-btn:hover { border-color: var(--accent); }
.flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  list-style: none; margin: 0; padding: 6px; min-width: 200px;
  border-radius: 16px; background: #0d1638; border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  max-height: min(70vh, 460px); overflow: auto;
}
.lang-menu li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 15px; }
.lang-menu li:hover, .lang-menu li:focus { background: rgba(47, 107, 255, .16); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--accent); }
.lang-menu li[aria-selected="true"]::after { content: ""; margin-inline-start: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 48px 0 24px; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; min-height: min(640px, calc(100vh - var(--nav-h) - 120px)); }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(52, 198, 255, .08); border: 1px solid rgba(52, 198, 255, .28); color: #bfeaff; font-weight: 600; font-size: 14px; }
.hero h1 { margin-top: 22px; font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.025em; background: linear-gradient(180deg, #ffffff 30%, #b9c6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[dir="rtl"] .hero h1 { letter-spacing: 0; font-size: clamp(34px, 4.8vw, 58px); }
.lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted); max-width: 580px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.platforms { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-weight: 600; font-size: 14px; }
.platforms li { display: inline-flex; align-items: center; gap: 8px; }
.platforms .ico { color: var(--text); opacity: .85; }

.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: center; }
.globe { width: 100%; height: 100%; display: block; }
.status-card, .speed-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; animation: float 7s ease-in-out infinite; }
.status-card { inset-inline-start: 2%; bottom: 12%; min-width: 220px; }
.speed-card { inset-inline-end: 0; top: 10%; gap: 18px; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.sc-flag img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 6px 16px rgba(0, 0, 0, .4); }
.sc-text { display: grid; line-height: 1.35; }
.sc-text b { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.sc-text small { color: var(--muted); font-size: 13px; font-weight: 500; }
.sp { display: inline-flex; align-items: baseline; gap: 6px; color: var(--muted); }
.sp .ico { align-self: center; color: var(--cyan); }
.sp b { font-size: 20px; color: var(--text); font-variant-numeric: tabular-nums; }
.sp small { font-size: 12px; }

.stats { list-style: none; margin: 36px 0 0; padding: 22px 8px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(90deg, rgba(47, 107, 255, .07), rgba(111, 69, 242, .07)); }
.stats li { display: grid; justify-items: center; text-align: center; gap: 2px; padding: 4px 12px; }
.stats li + li { border-inline-start: 1px solid var(--border); }
.stats b { font-size: clamp(26px, 3vw, 36px); font-weight: 800; background: linear-gradient(135deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; font-weight: 500; }

/* ---------------------------------------------------------------- sections */
.sec { padding: 96px 0 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; display: grid; justify-items: center; gap: 14px; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 17px; }
.eyebrow { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid var(--border-strong); color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 13.5px; }

/* features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat {
  position: relative; padding: 24px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(23, 33, 74, .62), rgba(13, 20, 50, .55));
  border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 160px at 0% 0%, rgba(76, 141, 255, .14), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
html[dir="rtl"] .feat::before { background: radial-gradient(420px 160px at 100% 0%, rgba(76, 141, 255, .14), transparent 70%); }
.feat:hover { transform: translateY(-3px); border-color: var(--border-strong); box-shadow: 0 20px 40px -24px rgba(47, 107, 255, .6); }
.feat:hover::before { opacity: 1; }
.feat h3 { font-size: 18px; margin-top: 16px; }
.feat p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.f-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--border-strong); }
.f-ico .ico { width: 22px; height: 22px; }
.f-ico.grad-a { color: #fff; background: linear-gradient(135deg, var(--cyan), var(--accent-strong)); border: 0; box-shadow: 0 10px 24px -10px rgba(52, 198, 255, .8); }
.f-ico.grad-b { color: #fff; background: linear-gradient(135deg, var(--violet), var(--accent-strong)); border: 0; box-shadow: 0 10px 24px -10px rgba(122, 69, 247, .8); }
.feat.big { grid-column: span 1; padding: 28px; min-height: 260px; display: flex; flex-direction: column; }
.f-free { grid-column: span 2 !important; background: radial-gradient(600px 280px at 85% 100%, rgba(52, 198, 255, .14), transparent 65%), linear-gradient(180deg, rgba(23, 33, 74, .7), rgba(13, 20, 50, .6)); }
.feat.big h3 { font-size: 22px; }
.feat.big p { font-size: 16px; max-width: 520px; }
.route-viz { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 0; direction: ltr; }
.route-viz .node { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--muted); }
.route-viz .node.hub { width: 64px; height: 64px; border-radius: 20px; background: radial-gradient(circle at 30% 30%, #20306e, #0f1844); box-shadow: 0 0 0 6px rgba(76, 141, 255, .08), 0 0 40px rgba(76, 141, 255, .35); }
.route-viz .wire { position: relative; flex: 1; height: 2px; margin: 0 10px; background: linear-gradient(90deg, rgba(76, 141, 255, .15), rgba(76, 141, 255, .5), rgba(76, 141, 255, .15)); border-radius: 2px; overflow: hidden; }
.route-viz .wire i { position: absolute; top: -2px; width: 40px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: flow 2.2s linear infinite; }
.route-viz .wire + .node + .wire i { animation-delay: -1.1s; }
@keyframes flow { from { left: -40px; } to { left: 100%; } }
.chips { list-style: none; padding: 0; margin: auto 0 0; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; direction: ltr; }
html[dir="rtl"] .chips { justify-content: flex-end; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(23, 33, 74, .9); border: 1px solid var(--border-strong); }

/* showcase */
.showcase { overflow: hidden; }
.show-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.show-copy h2 { margin-top: 14px; font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; }
.show-copy > p { margin-top: 14px; color: var(--muted); font-size: 17px; }
.tabs { margin-top: 28px; display: grid; gap: 8px; }
.tabs button { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: start; border-radius: 16px; border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--muted); transition: background .2s, border-color .2s, color .2s; }
.tabs button .ico { width: 22px; height: 22px; color: var(--faint); transition: color .2s; }
.tabs button span { display: grid; gap: 2px; }
.tabs button b { color: var(--text); font-size: 16px; font-weight: 700; }
.tabs button small { font-size: 14px; line-height: 1.45; }
.tabs button:hover { background: rgba(23, 33, 74, .5); }
.tabs button[aria-selected="true"] { background: linear-gradient(90deg, rgba(47, 107, 255, .16), rgba(47, 107, 255, .04)); border-color: var(--border-strong); }
html[dir="rtl"] .tabs button[aria-selected="true"] { background: linear-gradient(270deg, rgba(47, 107, 255, .16), rgba(47, 107, 255, .04)); }
.tabs button[aria-selected="true"] .ico { color: var(--accent); }
.phone-stage { position: relative; display: grid; place-items: center; padding: 20px 0; }
.phone { position: relative; z-index: 1; width: min(330px, 78vw); aspect-ratio: 540 / 1200; border-radius: 46px; padding: 11px; background: linear-gradient(145deg, #2a3466, #0c1336 60%, #1d2858); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(142, 154, 208, .25), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.phone img { width: 100%; height: 100%; border-radius: 36px; object-fit: cover; transition: opacity .35s ease; background: #050918; }
.phone img.fade { opacity: 0; }
.phone-glow { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(111, 69, 242, .45), rgba(47, 107, 255, .18) 45%, transparent 70%); filter: blur(10px); }

/* compare */
.compare { border-radius: var(--radius); padding: 8px; }
.cmp-row { display: grid; grid-template-columns: 1fr 150px 150px; align-items: center; padding: 14px 18px; border-radius: 12px; font-weight: 500; }
.cmp-row:nth-child(even):not(.cmp-head) { background: rgba(47, 107, 255, .05); }
.cmp-head { color: var(--muted); font-size: 14px; font-weight: 600; }
.cmp-head .tier { justify-self: center; }
.cmp-head .tier b { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 13px; text-align: center; white-space: nowrap; }
.cmp-head .prem b { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #241400; }
.cmp-row i { justify-self: center; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.cmp-row i.yes { background: rgba(61, 220, 151, .14); }
.cmp-row i.yes::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: translateY(-2px) rotate(-45deg); }
.cmp-row i.no { background: rgba(93, 104, 153, .15); }
.cmp-row i.no::after { content: ""; width: 11px; height: 2.5px; border-radius: 2px; background: var(--faint); }

/* downloads */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dl { border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, border-color .25s; }
.dl:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.dl-top { display: flex; align-items: center; gap: 14px; }
.dl-top h3 { font-size: 19px; }
.dl-logo { width: 56px; height: 56px; flex: none; border-radius: 17px; display: grid; place-items: center; color: #fff; }
.dl-logo .ico { width: 30px; height: 30px; }
.dl-logo.android { background: linear-gradient(135deg, #3ddc84, #1a9e5a); box-shadow: 0 12px 26px -12px rgba(61, 220, 132, .8); }
.dl-logo.windows { background: linear-gradient(135deg, #36a3ff, #0067c0); box-shadow: 0 12px 26px -12px rgba(54, 163, 255, .8); }
.dl-logo.chrome { background: linear-gradient(135deg, #fbbc05, #ea4335 55%, #4285f4); box-shadow: 0 12px 26px -12px rgba(234, 67, 53, .7); }
.dl-logo.iphone { background: linear-gradient(135deg, #8e9ad0, #3b4677); box-shadow: 0 12px 26px -12px rgba(142, 154, 208, .7); }
.req { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin-top: 2px; }
.ver { color: var(--muted); font-size: 14px; min-height: 22px; flex: 1; }
.ver b { color: var(--text); }
.howto { border-top: 1px solid var(--border); padding-top: 10px; }
.howto summary, .faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; }
.howto summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.howto summary { font-size: 14px; color: var(--accent); }
.howto summary .ico, .faq summary .ico { transition: transform .25s; color: var(--muted); }
.howto[open] summary .ico, .faq details[open] summary .ico { transform: rotate(180deg); }
.howto ol { margin: 10px 0 0; padding-inline-start: 20px; color: var(--muted); font-size: 14px; display: grid; gap: 6px; }
#allFiles { margin-top: 26px; }

/* pricing */
.paywith { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; color: var(--muted); font-size: 14px; font-weight: 600; margin-top: 4px; }
.pw { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; background: rgba(23, 33, 74, .8); border: 1px solid var(--border-strong); color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.plan { position: relative; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, rgba(23, 33, 74, .8), rgba(12, 19, 48, .75)); border: 1px solid var(--border); transition: transform .25s, border-color .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.plan.hot { border-color: rgba(255, 201, 77, .5); box-shadow: 0 30px 60px -30px rgba(255, 162, 58, .55); background: radial-gradient(400px 200px at 50% 0%, rgba(255, 162, 58, .12), transparent 70%), linear-gradient(180deg, rgba(29, 40, 88, .9), rgba(12, 19, 48, .8)); }
.plan.current { border-color: var(--accent); }
.plan.skeleton { min-height: 360px; background: linear-gradient(90deg, rgba(23, 33, 74, .5) 0%, rgba(35, 48, 100, .6) 50%, rgba(23, 33, 74, .5) 100%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-head h3 { font-size: 20px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pill .ico { width: 13px; height: 13px; }
.pill.gold { color: var(--gold); background: rgba(255, 201, 77, .14); }
.pill.blue { color: var(--accent); background: var(--accent-soft); }
.pill.ok { color: var(--ok); background: rgba(61, 220, 151, .14); }
.pill.warn { color: var(--warning); background: rgba(255, 181, 71, .14); }
.pill.bad { color: var(--danger); background: rgba(255, 97, 120, .14); }
.price { font-size: 34px; font-weight: 800; color: var(--text); line-height: 1.1; }
.price small { font-size: 15px; color: var(--muted); font-weight: 600; margin-inline-start: 6px; }
.plan-desc { color: var(--muted); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fact { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 12px; background: rgba(5, 9, 24, .45); border: 1px solid var(--border); text-align: center; font-size: 13px; font-weight: 600; line-height: 1.35; }
.fact .ico { color: var(--accent); width: 18px; height: 18px; }
.protos { display: flex; flex-wrap: wrap; gap: 6px; }
.protos span { padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: rgba(47, 107, 255, .1); color: #c9d6ff; direction: ltr; }
.plan .btn { margin-top: auto; }
.plan-empty { grid-column: 1 / -1; text-align: center; padding: 48px 24px; border-radius: var(--radius); color: var(--muted); display: grid; gap: 16px; justify-items: center; }
.plan-empty .ico { width: 36px; height: 36px; color: var(--accent); }
#purchaseNote { margin-top: 22px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; border: 1px solid var(--border); background: rgba(14, 22, 54, .6); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--border-strong); background: rgba(23, 33, 74, .7); }
.faq summary { padding: 18px 22px; font-size: 16.5px; }
.faq p { padding: 0 22px 20px; color: var(--muted); }

/* cta band */
.cta-band { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 44px 48px; border-radius: 28px; background: radial-gradient(500px 300px at 90% 0%, rgba(255, 162, 58, .2), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(111, 69, 242, .35), transparent 70%), linear-gradient(135deg, #14205a, #0b1236); border: 1px solid var(--border-strong); }
.cta-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.cta-band p { margin-top: 8px; color: #c3cdf5; font-size: 17px; }
.cta-band .cta-row { margin-top: 0; }

/* footer */
.foot { margin-top: 96px; border-top: 1px solid var(--border); background: rgba(5, 9, 24, .6); }
.foot-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.foot-brand p { margin-top: 14px; color: var(--muted); max-width: 340px; font-size: 15px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(23, 33, 74, .55); color: var(--muted); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--text); border-color: var(--accent); }
.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h4 { font-size: 14px; color: var(--text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
html[dir="rtl"] .foot-col h4 { letter-spacing: 0; }
.foot-col a { color: var(--muted); font-size: 15px; width: fit-content; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--border); color: var(--faint); font-size: 14px; }
.foot-bottom a { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

/* ---------------------------------------------------------------- dialog */
.dlg { padding: 0; border: 0; background: transparent; color: var(--text); width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: visible; }
.dlg::backdrop { background: rgba(3, 6, 18, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg-card { border-radius: 26px; background: linear-gradient(180deg, #121c48, #0a1131); border: 1px solid var(--border-strong); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9); max-height: calc(100dvh - 24px); display: flex; flex-direction: column; overflow: hidden; }
.dlg-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 10px 22px; }
html[dir="rtl"] .dlg-head { padding: 16px 22px 10px 16px; }
.dlg-head h3 { flex: 1; font-size: 19px; }
html[dir="rtl"] #dlgBack .ico { transform: scaleX(-1); }
.dlg-body { padding: 8px 22px 24px; overflow: auto; display: grid; gap: 14px; }
.dlg-body .note { color: var(--muted); font-size: 14.5px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: rgba(5, 9, 24, .6); border: 1px solid var(--border); }
.seg button { height: 40px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--muted); font-weight: 700; }
.seg button[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .7); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.field input { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--border-strong); background: rgba(5, 9, 24, .55); color: var(--text); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(76, 141, 255, .16); }
.field input.ltr { direction: ltr; text-align: left; }
html[dir="rtl"] .field input.ltr::placeholder { text-align: right; }
.err { padding: 10px 14px; border-radius: 12px; background: rgba(255, 97, 120, .12); border: 1px solid rgba(255, 97, 120, .3); color: #ffc2cc; font-size: 14px; }
.okmsg { padding: 10px 14px; border-radius: 12px; background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .3); color: #b8f5da; font-size: 14px; }
.hint { color: var(--muted); font-size: 13.5px; }
.hint a, .note a, .linkbtn { color: var(--accent); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
.box .linkbtn { justify-self: start; font-size: 13.5px; width: fit-content; }
.hint a:hover, .note a:hover, .linkbtn:hover { color: var(--cyan); }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.stack { display: grid; gap: 10px; }

.acct-head { display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--violet)); text-transform: uppercase; }
.acct-head b { font-size: 18px; display: block; direction: ltr; text-align: start; }
.box { border-radius: 16px; padding: 14px 16px; background: rgba(5, 9, 24, .5); border: 1px solid var(--border); display: grid; gap: 8px; }
.box h4 { font-size: 13px; color: var(--muted); font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-weight: 600; text-align: end; }
.bar { height: 8px; border-radius: 8px; background: rgba(93, 104, 153, .25); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--cyan), var(--accent)); }
.copyline { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(23, 33, 74, .7); border: 1px solid var(--border); cursor: pointer; text-align: start; width: 100%; color: inherit; }
.copyline:hover { border-color: var(--accent); }
.copyline span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.copyline small { color: var(--muted); font-size: 12px; font-weight: 600; }
.copyline code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14px; overflow-wrap: anywhere; color: var(--text); direction: ltr; text-align: left; }
.copyline em { font-style: normal; font-weight: 700; font-size: 15px; }
.copyline .ico { color: var(--accent); }
.qr { display: grid; place-items: center; padding: 14px; border-radius: 18px; background: #fff; width: fit-content; margin: 4px auto 0; }
.qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.method { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--border-strong); background: rgba(5, 9, 24, .45); cursor: pointer; width: 100%; text-align: start; transition: border-color .2s, background .2s; }
.method:hover { border-color: var(--accent); background: rgba(47, 107, 255, .1); }
.method .ico { width: 24px; height: 24px; color: var(--accent); }
.method > span { flex: 1; display: grid; }
.method small { color: var(--muted); font-size: 13px; }
.method em { font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; }
.coins { display: flex; flex-wrap: wrap; gap: 8px; }
.coin { display: grid; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(23, 33, 74, .7); cursor: pointer; text-align: start; }
.coin:hover { border-color: var(--orange); }
.coin b { font-size: 14px; }
.coin small { font-size: 12px; color: var(--muted); }
.paycard { border-radius: 20px; padding: 20px; color: #fff; background: linear-gradient(135deg, var(--accent-strong), var(--violet)); box-shadow: 0 20px 40px -20px rgba(122, 69, 247, .8); cursor: pointer; display: grid; gap: 14px; border: 0; width: 100%; text-align: start; }
.paycard .num { font-size: 22px; font-weight: 700; letter-spacing: .08em; text-align: center; direction: ltr; font-variant-numeric: tabular-nums; }
.paycard .row { justify-content: space-between; }
.status { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; font-size: 14.5px; }
.status.wait { background: var(--accent-soft); color: #d5e2ff; }
.status.ok { background: rgba(61, 220, 151, .12); color: #c4f7e0; }
.status.warn { background: rgba(255, 181, 71, .12); color: #ffe4b8; }
.status.bad { background: rgba(255, 97, 120, .12); color: #ffd0d8; }
.status .spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .9s linear infinite; }
.status .ico { flex: none; }
.amount { font-size: 30px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.timer { font-variant-numeric: tabular-nums; font-weight: 700; direction: ltr; }
.timer.low { color: var(--danger); }
.filepick { position: relative; }
.filepick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.orders { display: grid; gap: 8px; }
.order-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: rgba(23, 33, 74, .55); cursor: pointer; width: 100%; text-align: start; }
.order-row:hover { border-color: var(--accent); }
.order-row > span { flex: 1; display: grid; min-width: 0; }
.order-row small { color: var(--muted); font-size: 12.5px; }
.order-row em { font-style: normal; font-weight: 700; white-space: nowrap; }
.terms h3 { font-size: 16px; margin: 10px 0 4px; color: var(--text); }
.terms p, .terms li { color: var(--muted); font-size: 14.5px; }
.terms ul { margin: 4px 0; padding-inline-start: 20px; display: grid; gap: 4px; }
.terms pre { white-space: pre-wrap; font: inherit; color: var(--muted); font-size: 14.5px; margin: 0; }

.toast { position: fixed; z-index: 100; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: #1b2659; border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-weight: 600; font-size: 14.5px; max-width: calc(100vw - 32px); animation: toast .25s ease-out; }
.toast.bad { background: #3a1830; border-color: rgba(255, 97, 120, .4); }
@keyframes toast { from { opacity: 0; transform: translate(-50%, 10px); } }
.noscript { text-align: center; padding: 16px; color: var(--muted); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .f-free { grid-column: span 2 !important; }
  .f-proto { grid-column: span 2 !important; }
}
@media (max-width: 920px) {
  :root { --nav-h: 62px; }
  .links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 39;
    flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 16px 18px;
    background: rgba(5, 9, 24, .97); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .links.open { transform: none; opacity: 1; pointer-events: auto; }
  .links a { padding: 12px 14px; font-size: 16px; }
  .links .only-mobile { display: block; }
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .hero { padding-top: 28px; }
  .hero-in { grid-template-columns: 1fr; gap: 12px; min-height: 0; }
  .hero-copy { text-align: center; display: grid; justify-items: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
  .platforms { justify-content: center; }
  .hero-art { max-width: 480px; }
  .show-in { grid-template-columns: 1fr; }
  .show-copy { text-align: center; }
  .tabs { grid-template-columns: repeat(2, 1fr); text-align: start; }
  .phone-stage { order: -1; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-in { gap: 10px; }
  .brand span { font-size: 17px; }
  .lang-btn { padding: 0 10px; }
  .lang-btn .lang-name { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .stats li:nth-child(3) { border-inline-start: 0; }
  .sec { padding-top: 72px; }
  .sec-head { margin-bottom: 32px; }
  .bento, .dl-grid { grid-template-columns: 1fr; }
  .f-free, .f-proto { grid-column: auto !important; }
  .tabs { grid-template-columns: 1fr; }
  .cmp-row { grid-template-columns: 1fr 72px 72px; padding: 12px 10px; font-size: 14px; }
  .cmp-head .tier b { font-size: 11.5px; padding: 5px 8px; white-space: normal; }
  .cta-band { padding: 30px 22px; }
  .cta-band .cta-row, .cta-band .btn { width: 100%; }
  .status-card { min-width: 0; bottom: 4%; }
  .speed-card { top: 2%; padding: 10px 12px; gap: 12px; }
  .sp b { font-size: 17px; }
  .btn.lg { width: 100%; }
  .foot-in { grid-template-columns: 1fr 1fr; gap: 26px; }
  .dlg-body { padding: 6px 16px 20px; }
}
