/* ==========================================================================
   GetBox Downloader — official site
   --------------------------------------------------------------------------
   One stylesheet, no framework, no build step. It is organised as:

     1. tokens            colours, spacing, radii, type scale
     2. reset             a short one, only what the page actually needs
     3. primitives        buttons, pills, cards, section frames
     4. header + language picker
     5. hero              copy column, phone mockup, stats
     6. features          card grid
     7. gallery           screenshot strip
     8. download          release card, install steps
     9. pricing           plan cards + comparison table
    10. faq               native <details> accordion
    11. cta band, footer
    12. responsive + motion

   Direction: everything is written with *logical* properties
   (margin-inline-start, inset-inline, text-align: start). There is not a
   single `left:` or `right:` positioning rule below, which is what makes the
   four right-to-left locales work without a second stylesheet.
   ========================================================================== */

/* ============================================================== 1. tokens */
:root {
  --brand:        #6f6ff0;
  --brand-hi:     #8f8fff;
  --brand-deep:   #4a4ad0;
  --accent:       #b197fc;
  --good:         #3ddc97;
  --warn:         #ffb454;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --wrap: 1160px;
  --gutter: 22px;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-ar: 'Vazirmatn', 'Inter', system-ui, Tahoma, sans-serif;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / .18);
  --shadow:    0 14px 40px -18px rgb(0 0 0 / .55);
  --shadow-lg: 0 40px 90px -40px rgb(0 0 0 / .7);

  --ease: cubic-bezier(.22, .68, .32, 1);
}

/* Dark is the default and the one the app ships in. */
html[data-theme='dark'] {
  --bg:        #08080f;
  --bg-soft:   #0c0c16;
  --bg-elev:   #11111d;
  --surface:   rgb(255 255 255 / .045);
  --surface-2: rgb(255 255 255 / .075);
  --border:    rgb(255 255 255 / .09);
  --border-hi: rgb(255 255 255 / .18);
  --text:      #f4f4fa;
  --text-soft: #a2a2bd;
  --text-dim:  #74748f;
  --glass:     rgb(10 10 20 / .72);
  --code-bg:   rgb(255 255 255 / .05);
  color-scheme: dark;
}

html[data-theme='light'] {
  --bg:        #f6f6fb;
  --bg-soft:   #ffffff;
  --bg-elev:   #ffffff;
  --surface:   #ffffff;
  --surface-2: #f1f1f8;
  --border:    rgb(18 18 50 / .10);
  --border-hi: rgb(18 18 50 / .20);
  --text:      #12122a;
  --text-soft: #55556f;
  --text-dim:  #7c7c94;
  --glass:     rgb(255 255 255 / .8);
  --code-bg:   rgb(18 18 50 / .05);
  --shadow:    0 14px 40px -20px rgb(30 30 80 / .22);
  --shadow-lg: 0 40px 90px -44px rgb(30 30 80 / .3);
  color-scheme: light;
}

/* Arabic-script locales get a font with real Persian/Urdu glyph coverage. */
html[lang='fa'], html[lang='ps'], html[lang='ur'], html[lang='ar'] { --font: var(--font-ar); }

/* =============================================================== 2. reset */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-block-start: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.02em; font-weight: 800; }
p  { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: .82rem;
  background: var(--code-bg);
  border-radius: 8px;
  padding: 3px 8px;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 2.5px solid var(--brand-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--brand); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--text-soft); }
.small { font-size: .84rem; }

.skip-link {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: 12px;
  z-index: 200;
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  transition: inset-block-start .18s var(--ease);
}
.skip-link:focus { inset-block-start: 0; }

/* =========================================================== 3. primitives */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 650;
  font-size: .95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .16s var(--ease), box-shadow .22s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg  { padding: 15px 28px; font-size: 1.02rem; }
.btn-sm  { padding: 9px 17px; font-size: .88rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep));
  color: #fff;
  box-shadow: 0 12px 30px -12px rgb(111 111 240 / .75);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgb(111 111 240 / .9); }

.btn-outline { border-color: var(--border-hi); color: var(--text); }
.btn-outline:hover { background: var(--surface-2); }

.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-hi); }

.btn[aria-disabled='true'], .btn.is-disabled { opacity: .45; pointer-events: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 11px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: .01em;
}
.pill-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 3px rgb(61 220 151 / .18);
}

.section { padding-block: clamp(64px, 9vw, 116px); }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 680px; margin-block-end: clamp(34px, 4.5vw, 54px); }
.section-head h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
.section-head p { margin-block-start: 14px; color: var(--text-soft); font-size: clamp(.98rem, 1.6vw, 1.08rem); }

/* ============================================================== 4. header */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 90;
  background: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
  border-block-end: 1px solid transparent;
}
.site-header.is-stuck {
  background: var(--glass);
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  border-block-end-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  block-size: 70px;
}

.brand { display: flex; align-items: center; gap: 11px; margin-inline-end: auto; }
.brand-mark { border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.02rem; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { font-size: .7rem; color: var(--text-dim); letter-spacing: .07em; text-transform: uppercase; }

.site-nav { display: flex; gap: 4px; }
.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 550;
  color: var(--text-soft);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.site-nav a:hover { color: var(--text); background: var(--surface); }

.header-tools { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  block-size: 40px;
  min-inline-size: 40px;
  padding-inline: 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-soft);
  transition: color .18s var(--ease), border-color .18s var(--ease), background-color .18s var(--ease);
}
.icon-btn:hover { color: var(--text); border-color: var(--border-hi); background: var(--surface-2); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* The theme button shows the icon of the theme you would switch *to*. */
#themeToggle .i-moon { display: none; }
html[data-theme='light'] #themeToggle .i-sun  { display: none; }
html[data-theme='light'] #themeToggle .i-moon { display: block; }

.lang { position: relative; }
.lang-btn { padding-inline: 12px; font-size: .86rem; font-weight: 600; }
.lang-current { max-inline-size: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-menu {
  position: absolute;
  inset-block-start: calc(100% + 9px);
  inset-inline-end: 0;
  z-index: 120;
  inline-size: 232px;
  max-block-size: 62vh;
  overflow-y: auto;
  padding: 7px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
}
.lang-menu.is-open { display: grid; }
.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  inline-size: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: .9rem;
  text-align: start;
  color: var(--text-soft);
  transition: background-color .14s var(--ease), color .14s var(--ease);
}
.lang-menu button:hover { background: var(--surface-2); color: var(--text); }
.lang-menu button[aria-selected='true'] { background: var(--brand); color: #fff; font-weight: 650; }
.lang-menu .native { font-weight: 600; }
.lang-menu .code { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: .88rem;
  font-weight: 550;
  text-align: center;
  background: linear-gradient(90deg, var(--brand-deep), var(--brand-hi));
  color: #fff;
}
.announce[hidden] { display: none; }
.announce-dot { inline-size: 7px; block-size: 7px; border-radius: 50%; background: #fff; animation: pulse 1.9s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.72); }
}

/* ================================================================ 5. hero */
.hero {
  position: relative;
  padding-block: clamp(40px, 6vw, 74px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.blob-a {
  inline-size: 460px; block-size: 460px;
  inset-block-start: -140px; inset-inline-start: -80px;
  background: radial-gradient(circle, var(--brand), transparent 68%);
  animation: drift 22s ease-in-out infinite;
}
.blob-b {
  inline-size: 400px; block-size: 400px;
  inset-block-start: 60px; inset-inline-end: -110px;
  background: radial-gradient(circle, var(--accent), transparent 68%);
  animation: drift 27s ease-in-out infinite reverse;
}
html[data-theme='light'] .blob { opacity: .28; }

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(28px, 34px, 0) scale(1.1); }
}

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 78% 58% at 50% 34%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 58% at 50% 34%, #000 20%, transparent 76%);
  opacity: .55;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(34px, 5vw, 66px);
}

.hero-copy h1 { font-size: clamp(2.3rem, 5.6vw, 3.75rem); margin-block-start: 20px; }
.hero-copy h1 .grad {
  background: linear-gradient(120deg, var(--brand-hi), var(--accent) 55%, var(--brand-hi));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-block-start: 8px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 650;
  color: var(--brand-hi);
  letter-spacing: -.01em;
}
.hero-lead {
  margin-block-start: 18px;
  max-inline-size: 50ch;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
  color: var(--text-soft);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 30px; }
.hero-note { margin-block-start: 16px; font-size: .85rem; color: var(--text-dim); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 24px; }
.chips li {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 13px;
}

/* ---- phone mockup ------------------------------------------------------- */
.hero-visual { position: relative; display: flex; justify-content: center; }

.phone {
  position: relative;
  z-index: 1;
  inline-size: min(298px, 78vw);
  aspect-ratio: 9 / 18.6;
  border-radius: 40px;
  padding: 9px;
  background: linear-gradient(160deg, #2b2b44, #14141f 45%, #23233a);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgb(255 255 255 / .09);
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.phone:hover { transform: perspective(1400px) rotateY(-4deg) rotateX(1deg) translateY(-8px); }
html[dir='rtl'] .phone { transform: perspective(1400px) rotateY(9deg) rotateX(3deg); }
html[dir='rtl'] .phone:hover { transform: perspective(1400px) rotateY(4deg) rotateX(1deg) translateY(-8px); }

.phone-notch {
  position: absolute;
  inset-block-start: 15px;
  inset-inline-start: 50%;
  translate: -50% 0;
  inline-size: 78px; block-size: 20px;
  background: #08080f;
  border-radius: 999px;
  z-index: 3;
}
html[dir='rtl'] .phone-notch { translate: 50% 0; }

.phone-screen {
  block-size: 100%;
  border-radius: 32px;
  background: #08080f;
  color: #f4f4fa;
  padding: 12px 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  font-size: 11px;
}

.ph-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10px; font-weight: 700; padding: 5px 5px 2px; color: #d8d8e8;
}
.ph-status-r { display: flex; gap: 4px; align-items: center; }
.ph-sig, .ph-wifi, .ph-batt { display: block; background: #d8d8e8; border-radius: 2px; }
.ph-sig  { inline-size: 12px; block-size: 8px; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.ph-wifi { inline-size: 11px; block-size: 8px; clip-path: polygon(0 100%, 50% 25%, 100% 100%); }
.ph-batt { inline-size: 16px; block-size: 8px; border-radius: 2px; }

.ph-appbar { display: flex; align-items: center; gap: 8px; padding: 5px 5px 9px; }
.ph-logo {
  inline-size: 19px; block-size: 19px; border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep));
}
.ph-title { font-weight: 800; font-size: 12.5px; }
.ph-dots { margin-inline-start: auto; color: #6b6b86; font-size: 14px; line-height: 1; }

.ph-card {
  background: #14141f;
  border: 1px solid rgb(255 255 255 / .07);
  border-radius: 13px;
  padding: 10px 11px;
}
.ph-active { border-color: rgb(111 111 240 / .5); box-shadow: 0 0 0 1px rgb(111 111 240 / .18); }
.ph-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ph-name { font-weight: 650; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-pct { font-weight: 800; font-size: 10.5px; color: var(--brand-hi); flex: none; }
.ph-pct.ph-done { color: var(--good); }
.ph-pct.ph-paused { color: var(--warn); }

.ph-bar {
  margin-block-start: 8px;
  block-size: 5px;
  border-radius: 999px;
  background: rgb(255 255 255 / .09);
  overflow: hidden;
}
.ph-bar i {
  display: block; block-size: 100%; inline-size: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-hi));
  animation: fill 3.4s var(--ease) infinite alternate;
}
.ph-bar-idle i { background: linear-gradient(90deg, #6b6b86, #9a9ab4); animation: none; }

@keyframes fill { from { inline-size: 30%; } to { inline-size: var(--w); } }

.ph-meta {
  display: flex; gap: 10px; margin-block-start: 7px;
  font-size: 9.5px; color: #8b8ba6; font-weight: 600;
}
.ph-segs { display: flex; gap: 3px; margin-block-start: 7px; }
.ph-segs i {
  block-size: 3px; flex: 1; border-radius: 999px;
  background: var(--brand-hi);
  animation: seg 1.6s ease-in-out infinite;
}
.ph-segs i:nth-child(2n)   { animation-delay: .18s; }
.ph-segs i:nth-child(3n)   { animation-delay: .36s; }
.ph-segs i:nth-child(4n)   { animation-delay: .54s; }
@keyframes seg { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }

.ph-tabs {
  margin-block-start: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  padding: 9px 2px 12px;
  border-block-start: 1px solid rgb(255 255 255 / .07);
}
.ph-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 8px; font-weight: 650; color: #6b6b86;
}
.ph-tab i { inline-size: 14px; block-size: 14px; border-radius: 4px; background: currentColor; opacity: .5; }
.ph-tab.is-on { color: var(--brand-hi); }

.phone-glow {
  position: absolute;
  inset-block-start: 12%;
  inset-inline-start: 50%;
  translate: -50% 0;
  inline-size: 330px; block-size: 330px;
  background: radial-gradient(circle, rgb(111 111 240 / .5), transparent 66%);
  filter: blur(70px);
  z-index: 0;
}
html[dir='rtl'] .phone-glow { translate: 50% 0; }

/* ---- stats -------------------------------------------------------------- */
.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-block-start: clamp(46px, 6vw, 76px);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stats li {
  background: var(--bg);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.section-alt .stats li, .stats li { background: var(--bg-soft); }
.stats b {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stats span { font-size: .84rem; color: var(--text-soft); }

/* ============================================================ 6. features */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  padding: 26px 24px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform .28s var(--ease), border-color .28s var(--ease),
              background-color .28s var(--ease), box-shadow .28s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hi);
  background: var(--surface-2);
  box-shadow: var(--shadow);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 46px; block-size: 46px;
  border-radius: 14px;
  background: linear-gradient(140deg, rgb(111 111 240 / .22), rgb(177 151 252 / .14));
  border: 1px solid rgb(111 111 240 / .28);
  margin-block-end: 17px;
}
.card-icon svg {
  inline-size: 23px; block-size: 23px;
  fill: none; stroke: var(--brand-hi);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { font-size: 1.05rem; margin-block-end: 9px; }
.card p { font-size: .9rem; color: var(--text-soft); }

/* ============================================================= 7. gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 18px;
}
.shot { margin: 0; }
.shot img {
  inline-size: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.shot figcaption { margin-block-start: 10px; font-size: .84rem; color: var(--text-soft); }

/* ============================================================ 8. download */
.dl-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 20px;
  align-items: start;
}

.dl-card {
  padding: 28px 26px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.dl-head { display: flex; align-items: center; gap: 15px; }
.dl-head img { border-radius: 15px; box-shadow: var(--shadow-sm); }
.dl-head h3 { font-size: 1.18rem; }
.dl-head .muted { font-size: .86rem; margin-block-start: 3px; }

.badge-stable {
  margin-inline-start: auto;
  flex: none;
  font-size: .7rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--good);
  background: rgb(61 220 151 / .12);
  border: 1px solid rgb(61 220 151 / .3);
  border-radius: 999px;
  padding: 5px 12px;
}

.dl-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-block: 24px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.dl-specs > div { background: var(--bg); padding: 15px 16px; }
html[data-theme='light'] .dl-specs > div { background: var(--bg-soft); }
.dl-specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-weight: 700; }
.dl-specs dd { margin: 6px 0 0; font-weight: 700; font-size: .98rem; font-variant-numeric: tabular-nums; }

.dl-actions { display: grid; gap: 10px; }
.dl-actions .btn svg { stroke-width: 2; }

.dl-empty {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: rgb(255 180 84 / .09);
  border: 1px solid rgb(255 180 84 / .3);
}
.dl-empty strong { display: block; color: var(--warn); margin-block-end: 6px; }
.dl-empty p { font-size: .88rem; color: var(--text-soft); }

.dl-verify { margin-block-start: 22px; border-block-start: 1px solid var(--border); padding-block-start: 18px; }
.dl-verify summary { cursor: pointer; font-weight: 650; font-size: .9rem; }
.dl-verify p { margin-block: 10px 9px; font-size: .84rem; }
.dl-verify code { display: block; padding: 11px 13px; }

.dl-side { display: grid; gap: 16px; }
.note-card {
  padding: 22px 22px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.note-card h3 { font-size: 1rem; margin-block-end: 15px; }
.note-card p { font-size: .88rem; color: var(--text-soft); }
.note-warn { border-color: rgb(255 180 84 / .32); background: rgb(255 180 84 / .06); }

.steps { display: grid; gap: 15px; }
.steps li { display: flex; gap: 13px; align-items: flex-start; }
.steps span {
  flex: none;
  inline-size: 25px; block-size: 25px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-hi), var(--brand-deep));
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
}
.steps p { font-size: .88rem; color: var(--text-soft); }

/* ============================================================= 9. pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-block-end: 30px;
}
.plan {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .26s var(--ease), border-color .26s var(--ease), box-shadow .26s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.plan.is-highlight {
  border-color: rgb(111 111 240 / .55);
  background: linear-gradient(160deg, rgb(111 111 240 / .13), transparent 62%);
  box-shadow: var(--shadow);
}
.plan-tag {
  position: absolute;
  inset-block-start: -11px;
  inset-inline-start: 24px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--brand-hi), var(--brand-deep));
  color: #fff;
  padding: 4px 11px;
  border-radius: 999px;
}
.plan h3 { font-size: .95rem; color: var(--text-soft); font-weight: 650; }
.plan-price { font-size: 2.3rem; font-weight: 850; letter-spacing: -.035em; line-height: 1.1; }
.plan-price small { font-size: .85rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.plan p { font-size: .85rem; color: var(--text-soft); margin-block-start: 4px; }
.plan .btn { margin-block-start: 18px; }

.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare th, .compare td { padding: 15px 18px; text-align: start; font-size: .9rem; }
.compare thead th {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-dim);
  font-weight: 750;
  border-block-end: 1px solid var(--border);
}
.compare thead th.is-pro { color: var(--brand-hi); }
.compare tbody th { font-weight: 600; color: var(--text-soft); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-block-start: 1px solid var(--border); }
.compare td { font-weight: 650; }
.compare td.is-pro { color: var(--brand-hi); background: rgb(111 111 240 / .06); }

/* ================================================================= 10. faq */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .22s var(--ease), background-color .22s var(--ease);
}
.faq details[open] { border-color: var(--border-hi); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 650;
  font-size: .98rem;
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  margin-inline-start: auto;
  flex: none;
  inline-size: 9px; block-size: 9px;
  border-inline-end: 2px solid var(--text-dim);
  border-block-end: 2px solid var(--text-dim);
  transform: rotate(45deg);
  transition: transform .24s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq p { padding: 0 22px 20px; font-size: .91rem; color: var(--text-soft); }

/* ========================================================= 11. cta + footer */
.cta-band {
  position: relative;
  padding-block: clamp(56px, 7vw, 88px);
  background:
    radial-gradient(ellipse 70% 130% at 50% 0%, rgb(111 111 240 / .2), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--border);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
.cta-inner p { margin-block-start: 8px; color: var(--text-soft); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { padding-block: 52px 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 34px;
  padding-block-end: 34px;
  border-block-end: 1px solid var(--border);
}
.footer-brand { display: flex; gap: 13px; align-items: flex-start; }
.footer-brand img { border-radius: 12px; }
.footer-brand strong { font-size: 1rem; }
.footer-brand p { margin-block-start: 4px; font-size: .85rem; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  margin-block-end: 2px;
}
.footer-col a { font-size: .89rem; color: var(--text-soft); transition: color .16s var(--ease); }
.footer-col a:hover { color: var(--brand-hi); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-block-start: 24px;
}

/* ================================================== 12. responsive + motion */
@media (max-width: 1040px) {
  .site-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-lead { max-inline-size: none; }
  .dl-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 17px; }
  .header-cta { display: none; }
  .lang-current { display: none; }
  .lang-btn { padding-inline: 10px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .dl-specs { grid-template-columns: 1fr; }
  .phone { transform: none; }
  html[dir='rtl'] .phone { transform: none; }
  .compare th, .compare td { padding: 12px 13px; font-size: .84rem; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { inline-size: 100%; }
  .cta-actions .btn { flex: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 460px) {
  .hero-actions .btn { inline-size: 100%; }
  .brand-text small { display: none; }
  .stats b { font-size: 1.4rem; }
  .dl-head { flex-wrap: wrap; }
  .badge-stable { margin-inline-start: 0; }
}

/* Scroll reveal. The `no-js` class is removed by app.js, so if scripting is
   off nothing is hidden — the page is fully readable without it. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-visual, .cta-band, .announce { display: none; }
  body { background: #fff; color: #000; }
}
