:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f9f9f9;
  --surface: #f4f4f4;
  --panel: #f4f4f4;
  --panel-strong: #ececec;
  --border: #e5e5e5;
  --border-strong: #d9d9d9;
  --header-bg: rgba(255, 255, 255, 0.82);
  --menu-bg: #ffffff;
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.10);

  --text: #0d0d0d;
  --text-dim: #5d5d5d;
  --text-faint: #8f8f8f;
  --btn-bg: #0d0d0d;
  --btn-fg: #ffffff;

  --brand1: #6a3dff;
  --brand2: #6a3dff;
  --brand3: #12b8ff;
  --accent: #5b3df5;
  --success: #10a37f;
  --gold: #f59e0b;
  --pink: #e934f0;

  --grad-brand: linear-gradient(135deg, #e934f0 0%, #6a3dff 55%, #12b8ff 100%);
  --grad-btn: linear-gradient(135deg, #8a3dff, #2f6bff);
  --grad-premium: linear-gradient(135deg, #e934f0, #6a3dff 55%, #12b8ff);
  --glow: none;
  --glow-sm: none;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 22px;
  --r-xl: 28px;

  --container: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #212121;
    --bg-soft: #171717;
    --surface: #2f2f2f;
    --panel: #2f2f2f;
    --panel-strong: #3a3a3a;
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.16);
    --header-bg: rgba(33, 33, 33, 0.82);
    --menu-bg: #2f2f2f;
    --shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    --text: #ececec;
    --text-dim: #b4b4b4;
    --text-faint: #8f8f8f;
    --btn-bg: #ececec;
    --btn-fg: #0d0d0d;
    --accent: #9b8cff;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- i18n visibility ---------- */
.i18n-en,
.i18n-ru,
.i18n-uk {
  display: none;
}
html[data-lang="en"] .i18n-en,
html[data-lang="ru"] .i18n-ru,
html[data-lang="uk"] .i18n-uk {
  display: revert;
}
html[data-lang="en"] .tr.i18n-en,
html[data-lang="ru"] .tr.i18n-ru,
html[data-lang="uk"] .tr.i18n-uk {
  display: block;
}

/* ---------- background ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: none;
  pointer-events: none;
}

/* ---------- header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px, 6vw, 64px);
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.3px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 30px;
  height: 26.25px;
  flex-shrink: 0;
}

.logo-com {
  background: none;
  -webkit-text-fill-color: currentColor;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.15s ease;
  white-space: nowrap;
}

nav.nav-links a:hover,
nav.nav-links a.active {
  color: var(--text);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* language switcher */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-dim);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.lang-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
}

.lang-btn svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--menu-bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  padding: 6px;
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  gap: 2px;
}

.lang-switch.open .lang-menu {
  display: flex;
}

.lang-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.lang-menu button:hover {
  background: var(--panel);
  color: var(--text);
}

.lang-menu button.active {
  color: var(--text);
}

.lang-menu button.active::after {
  content: "✓";
  color: var(--brand1);
  font-weight: 700;
}

.lang-more {
  padding: 8px 10px 4px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 11px;
}

.nav-toggle {
  display: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  flex-shrink: 0;
}

/* ---------- main / footer shell ---------- */
main {
  flex: 1;
  width: 100%;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 6vw, 64px);
}

footer {
  border-top: 1px solid var(--border);
  padding: 36px clamp(20px, 6vw, 64px) 40px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}

.footer-brand .logo {
  font-size: 18px;
}

.footer-brand p {
  color: var(--text-faint);
  font-size: 13px;
  margin: 0;
}

.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-faint);
  margin: 0 0 12px;
}

.footer-col a {
  display: block;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 13px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.97);
  opacity: 0.85;
}

.btn-primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: none;
}

.btn-primary:hover {
  box-shadow: var(--glow);
}

.btn-secondary {
  background: var(--panel);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-secondary:hover {
  background: var(--panel-strong);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: 96px;
  padding-bottom: 64px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 22px;
}

.hero h1 .accent-word {
  color: var(--brand1);
}

.hero .lead {
  color: var(--text-dim);
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 460px;
  margin: 0 0 36px;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-art {
  position: relative;
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
}

.hero-phone {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-bubble-row {
  display: flex;
  margin-bottom: 10px;
}

.hero-bubble-row.right {
  justify-content: flex-end;
}

.hero-bubble {
  max-width: 78%;
  padding: 11px 15px;
  border-radius: 18px 18px 18px 4px;
  background: var(--panel);
  border: 1px solid var(--border);
  font-size: 13.5px;
  text-align: left;
  color: var(--text-dim);
}

.hero-bubble-row.right .hero-bubble {
  border-radius: 18px 18px 4px 18px;
  background: var(--grad-btn);
  color: #fff;
  border: none;
}

.hero-bubble .tr {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--text-faint);
}

.hero-bubble-row.right .hero-bubble .tr {
  color: rgba(255, 255, 255, 0.78);
}

/* stats strip */
.stats {
  display: flex;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  margin: 0 0 8px;
}

.stat {
  flex: 1;
  text-align: left;
  padding: 0 28px;
  position: relative;
}

.stat:first-child {
  padding-left: 0;
}

.stat:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 1px;
  background: var(--border);
}

.stat b {
  display: block;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 700;
  color: var(--brand1);
}

.stat span {
  color: var(--text-faint);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ---------- mission ---------- */
.mission {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 0 32px;
}

.mission .statement {
  font-size: clamp(18px, 2.6vw, 23px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 14px;
}

.mission .note {
  color: var(--text-faint);
  font-size: 13.5px;
  margin: 0;
}

/* ---------- section shell ---------- */
.section {
  padding: 88px 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 16px;
  margin: 0;
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  border-top: 1px solid var(--border);
}

.feature-row {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.feature-row .icon {
  width: 24px;
  height: 24px;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.feature-row .icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.feature-row:hover .icon {
  color: var(--brand1);
}

.feature-row h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
}

.feature-row p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* premium banner */
.premium-banner {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 32px clamp(24px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.premium-banner .txt h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.premium-banner .txt h3 .accent-word {
  color: var(--gold);
}

.premium-banner .txt p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14.5px;
  max-width: 480px;
}

.premium-chip {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.premium-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- how it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.step .num {
  display: block;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--border-strong);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 14px;
}

/* ---------- download ---------- */
.download-section {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(32px, 6vw, 56px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.download-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}

.download-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin: 0 auto 22px;
  box-shadow: var(--glow);
  position: relative;
}

.store-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 28px 0 16px;
  position: relative;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text-faint);
  text-decoration: none;
  cursor: default;
  opacity: 0.85;
}

.store-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  opacity: 0.7;
}

.store-btn .lines {
  text-align: left;
  line-height: 1.25;
}

.store-btn .lines small {
  display: block;
  font-size: 10.5px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.store-btn .lines strong {
  display: block;
  font-size: 15px;
  color: var(--text-dim);
  font-weight: 700;
}

.notify-hint {
  color: var(--text-faint);
  font-size: 13px;
  position: relative;
}

.notify-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.notify-hint a:hover {
  text-decoration: underline;
}

/* ---------- legal / doc pages ---------- */
.doc {
  padding: 56px 0 32px;
  max-width: 760px;
  margin: 0 auto;
}

.doc-head {
  margin-bottom: 40px;
}

.doc h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
}

.doc .updated {
  color: var(--text-faint);
  font-size: 13px;
}

.doc section {
  margin-bottom: 30px;
}

.doc h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc h2 .n {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc p,
.doc li {
  color: var(--text-dim);
  font-size: 15px;
}

.doc ul {
  padding-left: 20px;
  margin: 10px 0;
}

.doc li {
  margin-bottom: 6px;
}

.doc a {
  color: var(--accent);
}

.callout {
  background: var(--panel);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand1);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--text-dim);
  margin-bottom: 40px;
}

/* ---------- support page ---------- */
.support-hero {
  text-align: center;
  padding: 56px 0 8px;
}

.support-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 12px;
}

.support-hero p {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 40px 0 88px;
}

.support-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px;
}

.support-card .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--panel-strong);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.support-card .icon svg {
  width: 19px;
  height: 19px;
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
}

.support-card p {
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 14.5px;
}

.faq {
  max-width: 760px;
  margin: 0 auto 40px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--panel);
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--text-faint);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 22px 18px;
  color: var(--text-dim);
  font-size: 14.5px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  nav.nav-links {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    background: var(--menu-bg);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-lg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    box-shadow: var(--shadow);
    display: none;
  }

  nav.nav-links.open {
    display: flex;
  }

  nav.nav-links a {
    padding: 13px 12px;
    border-radius: 10px;
  }

  nav.nav-links a:hover {
    background: var(--panel);
  }

  .nav-toggle {
    display: flex;
  }

  .features,
  .steps {
    grid-template-columns: 1fr;
  }

  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-art {
    max-width: 340px;
  }

  .stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat {
    padding: 0;
  }

  .stat:not(:first-child) {
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .stat:not(:first-child)::before {
    display: none;
  }

  .footer-top {
    flex-direction: column;
  }

  .premium-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.hero h1,
.section-head h2,
.doc h1,
.support-hero h1 {
  letter-spacing: -0.03em;
}

.hero h1 .accent-word,
.premium-banner .txt h3 .accent-word {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-row,
.support-card,
.faq-item,
.step,
.premium-banner {
  background: var(--panel);
  border-color: transparent;
}
