/* ===========================
   smm-leadpay — landing styles
   =========================== */

:root {
  /* light defaults — overridden under [data-theme="dark"] */
  --c-bg: #FAF9F6;
  --c-surface: #FFFFFF;
  --c-surface-2: #F4F4F8;
  --c-ink: #0E0F1A;
  --c-ink-2: #2A2C3D;
  --c-muted: #6B6E80;
  --c-line: #E8E6E0;
  --c-line-strong: #D8D5CC;
  --c-primary: #5B4FE9;
  --c-primary-2: #4338CA;
  --c-primary-soft: #ECEAFE;
  --c-accent: #C8FF3D;
  --c-accent-ink: #1A2B00;
  --c-fb: #1877F2;
  --c-vk: #0077FF;
  --c-success: #10B981;
  --c-warn: #F59E0B;
  --c-danger: #EF4444;

  --c-shadow-rgb: 14, 15, 26;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(var(--c-shadow-rgb), .04), 0 1px 3px rgba(var(--c-shadow-rgb), .04);
  --shadow-md: 0 6px 24px -8px rgba(var(--c-shadow-rgb), .12), 0 2px 6px rgba(var(--c-shadow-rgb), .04);
  --shadow-lg: 0 24px 60px -20px rgba(91, 79, 233, .25), 0 8px 24px -8px rgba(var(--c-shadow-rgb), .08);

  --container: 1200px;
  --gap: clamp(16px, 2vw, 28px);

  --t-fast: 160ms cubic-bezier(.2, .7, .3, 1);
  --t-med: 280ms cubic-bezier(.2, .7, .3, 1);

  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-display: "Manrope", var(--f-sans);
}

[data-theme="dark"] {
  --c-bg: #0B0C16;
  --c-surface: #14162A;
  --c-surface-2: #1B1E36;
  --c-ink: #F5F6FA;
  --c-ink-2: #DADDE9;
  --c-muted: #8B8FA3;
  --c-line: #242744;
  --c-line-strong: #2E3257;
  --c-primary: #8B7FFF;
  --c-primary-2: #A89BFF;
  --c-primary-soft: rgba(139, 127, 255, .14);
  --c-accent: #C8FF3D;
  --c-accent-ink: #0E1A00;
  --c-shadow-rgb: 0, 0, 0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 6px 24px -8px rgba(0,0,0,.5), 0 2px 6px rgba(0,0,0,.3);
  --shadow-lg: 0 24px 60px -20px rgba(91, 79, 233, .35), 0 8px 24px -8px rgba(0,0,0,.5);
}

/* reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background var(--t-med), color var(--t-med);
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; margin: 0 0 .4em; }
h1 { font-size: clamp(2rem, 4vw + .5rem, 4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 2.4vw + .8rem, 2.6rem); }
h3 { font-size: clamp(1.1rem, .6vw + 1rem, 1.4rem); letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 56px); }
.section__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section__eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.section__lead { font-size: clamp(1rem, .5vw + .9rem, 1.18rem); color: var(--c-muted); max-width: 60ch; }

/* ============ SCROLL PROGRESS ============ */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 60;
  transition: transform 80ms linear;
}

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  background: color-mix(in srgb, var(--c-bg) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.header.is-scrolled { border-bottom-color: var(--c-line); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-size: 18px; letter-spacing: -.02em;
}
.brand__mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--c-primary) 0%, #8B7FFF 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 6px 16px -4px rgba(91, 79, 233, .5);
}
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 24px; }
.nav__link {
  font-size: 15px; color: var(--c-ink-2); font-weight: 500;
  transition: color var(--t-fast);
}
.nav__link:hover { color: var(--c-primary); }
.nav__cta { display: inline-flex; gap: 10px; align-items: center; }
.lang-switch {
  display: inline-flex; gap: 2px; align-items: center;
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: 999px; padding: 3px;
}
.lang-switch a {
  padding: 5px 11px; font-size: 13px; font-weight: 600; color: var(--c-muted);
  border-radius: 999px; transition: all var(--t-fast);
}
.lang-switch a.is-active { background: var(--c-ink); color: var(--c-bg); }

/* THEME TOGGLE */
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: var(--c-surface);
  display: inline-grid; place-items: center;
  color: var(--c-ink-2);
  transition: all var(--t-fast);
  position: relative;
}
.theme-toggle:hover { color: var(--c-primary); border-color: var(--c-primary); }
.theme-toggle .ico { width: 18px; height: 18px; }
.theme-toggle .ico-sun, .theme-toggle .ico-moon, .theme-toggle .ico-auto { display: none; }
[data-theme="light"] .theme-toggle[data-mode="light"] .ico-sun,
[data-theme="dark"]  .theme-toggle[data-mode="dark"]  .ico-moon { display: block; }
.theme-toggle[data-mode="system"] .ico-auto { display: block; }
.theme-toggle[data-mode="light"]:not([data-mode="system"]) .ico-sun { display: block; }
.theme-toggle[data-mode="dark"]:not([data-mode="system"]) .ico-moon { display: block; }

.menu-toggle { display: none; }

@media (max-width: 880px) {
  .nav__list { display: none; }
  .nav__cta .btn { display: none; }
  .menu-toggle {
    display: inline-grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px; border: 1px solid var(--c-line);
    background: var(--c-surface);
  }
  .nav.is-open .nav__list {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--c-surface); border-bottom: 1px solid var(--c-line);
    padding: 20px clamp(16px, 4vw, 32px) 24px; gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__list .nav__link { font-size: 17px; padding: 6px 0; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
  position: relative; isolation: isolate;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-ink); color: var(--c-bg); }
.btn--primary:hover { background: var(--c-primary); color: #fff; box-shadow: 0 12px 28px -10px rgba(91, 79, 233, .55); }
.btn--accent { background: var(--c-accent); color: var(--c-accent-ink); }
.btn--accent:hover { box-shadow: 0 12px 28px -10px rgba(200, 255, 61, .7); }
.btn--ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn--ghost:hover { border-color: var(--c-ink); }
.btn--lg { padding: 17px 28px; font-size: 16px; border-radius: 14px; }
.btn--block { display: flex; width: 100%; }

/* ============ HERO ============ */
.hero { position: relative; padding-block: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 64px); overflow: hidden; }
.hero__bg {
  position: absolute; inset: -10% -10% auto auto; width: 70%; height: 80%;
  background: radial-gradient(60% 60% at 70% 30%, rgba(91, 79, 233, .14), transparent 70%),
              radial-gradient(40% 40% at 30% 80%, rgba(200, 255, 61, .18), transparent 70%);
  pointer-events: none; z-index: 0;
  filter: blur(2px);
}
[data-theme="dark"] .hero__bg {
  background: radial-gradient(60% 60% at 70% 30%, rgba(139, 127, 255, .22), transparent 70%),
              radial-gradient(40% 40% at 30% 80%, rgba(200, 255, 61, .12), transparent 70%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-surface); border: 1px solid var(--c-line);
  padding: 6px 6px 6px 14px; border-radius: 999px;
  font-size: 13px; color: var(--c-ink-2); font-weight: 500;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero__pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-success); box-shadow: 0 0 0 4px rgba(16, 185, 129, .15); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .35); } 50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); } }
.hero__pill b { background: var(--c-ink); color: var(--c-bg); padding: 4px 10px; border-radius: 999px; font-size: 12px; }

.hero h1 strong { color: var(--c-primary); font-weight: inherit; position: relative; }
.hero h1 strong::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .35em;
  background: var(--c-accent); z-index: -1; opacity: .8; border-radius: 4px;
}

.hero__lead { font-size: clamp(1.05rem, .4vw + .95rem, 1.22rem); color: var(--c-muted); max-width: 56ch; margin-bottom: 32px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__cta .btn svg { width: 18px; height: 18px; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 16px 28px; font-size: 14px; color: var(--c-muted); }
.hero__meta-item { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta-item svg { width: 16px; height: 16px; color: var(--c-primary); flex: none; }

/* hero visual: mock dashboard */
.hero__visual { position: relative; }
.mock {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 22px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.mock__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mock__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; }
.mock__title small { display: block; color: var(--c-muted); font-size: 12px; font-weight: 500; margin-top: 2px; }
.mock__badge { background: var(--c-primary-soft); color: var(--c-primary); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 8px; }
.mock__stat { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.mock__stat b { font-family: var(--f-display); font-size: clamp(1.6rem, 1.8vw + 1rem, 2.4rem); letter-spacing: -.03em; }
.mock__stat span { font-size: 14px; font-weight: 600; color: var(--c-success); display: inline-flex; align-items: center; gap: 3px; }
.mock__hint { font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }
.mock__chart { width: 100%; height: 96px; }

.mock__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 16px; }
.mock__cell {
  background: linear-gradient(180deg, var(--c-surface) 0%, var(--c-surface-2) 100%);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--c-line);
}
.mock__cell-label { font-size: 12px; color: var(--c-muted); margin-bottom: 4px; }
.mock__cell-value { font-family: var(--f-display); font-weight: 700; font-size: 18px; }

.mock__float {
  position: absolute;
  background: var(--c-ink);
  color: var(--c-bg);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
}
.mock__float--tl { top: -18px; left: -22px; }
.mock__float--br { bottom: -18px; right: -22px; background: var(--c-accent); color: var(--c-accent-ink); }
.mock__float .ico { width: 28px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.mock__float--br .ico { background: rgba(0,0,0,.12); }
.mock__float b { display: block; font-size: 14px; font-weight: 700; }

@media (max-width: 980px) {
  .mock__float--tl { left: 0; top: -16px; }
  .mock__float--br { right: 0; bottom: -16px; }
}
@media (max-width: 480px) {
  .mock { padding: 18px; }
  .mock__float { padding: 10px 12px; font-size: 12px; }
  .mock__float--tl { left: -8px; }
  .mock__float--br { right: -8px; }
}

/* ============ ACTIVITY TICKER ============ */
.activity {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  margin-top: 14px;
  max-width: 100%;
  overflow: hidden;
}
.activity__pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
  animation: pulse 2s ease-in-out infinite;
  flex: none;
}
.activity__cards {
  position: relative;
  flex: 1; min-width: 0;
  height: 20px;
}
.activity__card {
  position: absolute; inset: 0;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.3,1);
  font-size: 13px; line-height: 1.4;
  white-space: nowrap; overflow: hidden;
}
.activity__card.is-in { opacity: 1; transform: none; }
.activity__card.is-out { opacity: 0; transform: translateY(-6px); }
.activity__line { color: var(--c-ink-2); overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.activity__line strong { color: var(--c-ink); font-weight: 600; }
.activity__time { color: var(--c-muted); font-size: 12px; flex: none; }
@media (max-width: 480px) {
  .activity__time { display: none; }
}

/* ============ TRUST STRIP ============ */
.trust {
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  background: var(--c-surface);
  padding-block: 22px;
}
.trust__inner {
  display: flex; align-items: center; gap: 36px;
  font-size: 14px; color: var(--c-muted); flex-wrap: wrap;
}
.trust__label { font-weight: 600; color: var(--c-ink-2); }
.trust__items { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; }
.trust__item { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.trust__item svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }

/* ============ PLATFORMS ============ */
.platforms { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
@media (max-width: 820px) { .platforms { grid-template-columns: 1fr; } }

.platform {
  position: relative; overflow: hidden;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 22px;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.platform:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }

.platform__bg { position: absolute; inset: 0; opacity: .04; pointer-events: none; }
[data-theme="dark"] .platform__bg { opacity: .08; }
.platform__bg svg { width: 100%; height: 100%; }

.platform__head { display: flex; align-items: center; gap: 14px; position: relative; }
.platform__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.platform--fb .platform__icon { background: var(--c-fb); }
.platform--vk .platform__icon { background: var(--c-vk); }
.platform__icon svg { width: 28px; height: 28px; }
.platform__name { font-family: var(--f-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.platform__name small { display: block; font-size: 13px; font-weight: 500; color: var(--c-muted); letter-spacing: 0; }

.platform__list { display: grid; gap: 10px; position: relative; }
.platform__list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--c-ink-2); }
.platform__list svg { width: 18px; height: 18px; color: var(--c-primary); flex: none; }

.platform__pricing {
  display: flex; align-items: baseline; gap: 8px;
  padding-top: 18px; border-top: 1px dashed var(--c-line);
}
.platform__pricing .from { font-size: 13px; color: var(--c-muted); }
.platform__pricing .price { font-family: var(--f-display); font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.platform__pricing .unit { color: var(--c-muted); font-size: 14px; }

.platform__cta { margin-top: auto; }

/* ============ SERVICES ============ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 920px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .services { grid-template-columns: 1fr; } }

.service {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: transform var(--t-fast), border-color var(--t-fast);
}
.service:hover { transform: translateY(-3px); border-color: var(--c-primary); }
.service__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--c-primary-soft); color: var(--c-primary);
  margin-bottom: 16px;
}
.service__icon svg { width: 22px; height: 22px; }
.service h3 { margin-bottom: 6px; }
.service p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); position: relative; counter-reset: step; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; counter-increment: step; padding-top: 50px; }
.step::before {
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--f-display); font-weight: 800; font-size: 14px;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  letter-spacing: 0;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--c-muted); margin: 0; }

/* ============ COMPARE ============ */
.compare {
  background: #0E0F1A; color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 48px);
  position: relative; overflow: hidden;
}
[data-theme="dark"] .compare { background: var(--c-surface); border: 1px solid var(--c-line); }
.compare::before {
  content: ""; position: absolute; inset: -50% -20% auto auto; width: 60%; height: 100%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(200, 255, 61, .14), transparent 70%);
  pointer-events: none;
}
.compare__head { max-width: 640px; margin-bottom: 32px; position: relative; }
.compare__head .section__eyebrow { background: rgba(200, 255, 61, .14); color: var(--c-accent); }
.compare__head .section__eyebrow::before { background: var(--c-accent); }
.compare h2 { color: #fff; }
[data-theme="dark"] .compare h2 { color: var(--c-ink); }
.compare__lead { color: rgba(255,255,255,.7); }
[data-theme="dark"] .compare__lead { color: var(--c-muted); }

.compare__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 0;
  background: rgba(255,255,255,.06); border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
[data-theme="dark"] .compare__grid { background: var(--c-surface-2); border-color: var(--c-line); }
.compare__cell { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 15px; }
[data-theme="dark"] .compare__cell { border-bottom-color: var(--c-line); color: var(--c-ink-2); }
.compare__cell--head { font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; background: rgba(255,255,255,.04); color: rgba(255,255,255,.7); }
[data-theme="dark"] .compare__cell--head { background: var(--c-surface); color: var(--c-muted); }
.compare__cell--us { background: rgba(200, 255, 61, .08); border-left: 1px solid rgba(200, 255, 61, .2); border-right: 1px solid rgba(200, 255, 61, .2); }
.compare__cell--us.compare__cell--head { color: var(--c-accent); background: rgba(200, 255, 61, .16); }
.compare__grid > .compare__cell:nth-last-child(-n+3) { border-bottom: 0; }
.compare__cell .y { color: var(--c-accent); font-weight: 600; }
[data-theme="dark"] .compare__cell .y { color: #6BB300; }
.compare__cell .n { color: rgba(255,255,255,.4); }

@media (max-width: 720px) {
  .compare__grid { grid-template-columns: 1fr; }
  .compare__cell { border-bottom: 1px solid rgba(255,255,255,.06) !important; }
  .compare__cell--head:not(:first-child) { padding-top: 20px; }
}

/* ============ COUNTER ============ */
.counter {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--c-primary) 0%, #7C6FFF 100%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(28px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.counter::before {
  content: ""; position: absolute; right: -10%; top: -50%; width: 60%; height: 200%;
  background: radial-gradient(closest-side, rgba(200, 255, 61, .25), transparent);
  pointer-events: none;
}
.counter__num {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; letter-spacing: -.04em;
  display: flex; align-items: baseline; gap: 6px;
  position: relative;
  font-variant-numeric: tabular-nums;
}
.counter__num sup { font-size: .35em; color: var(--c-accent); top: -1.4em; font-weight: 800; }
.counter__txt { max-width: 360px; position: relative; }
.counter__txt h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.counter__txt p { color: rgba(255,255,255,.85); margin: 0; font-size: 15px; }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast);
}
.faq__item[open] { border-color: var(--c-primary); }
.faq__sum {
  list-style: none; cursor: pointer;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--f-display); font-weight: 600; font-size: 17px;
}
.faq__sum::-webkit-details-marker { display: none; }
.faq__sum::after {
  content: ""; flex: none;
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235B4FE9' stroke-width='2' stroke-linecap='round'><path d='M5 8l5 5 5-5'/></svg>");
  background-size: contain; background-repeat: no-repeat;
  transition: transform var(--t-fast);
}
.faq__item[open] .faq__sum::after { transform: rotate(180deg); }
.faq__body { padding: 0 22px 22px; color: var(--c-muted); font-size: 15px; line-height: 1.6; }
.faq__body p:last-child { margin-bottom: 0; }

/* ============ CTA block ============ */
.cta {
  background: #0E0F1A; color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .cta { background: var(--c-surface); border: 1px solid var(--c-line); }
.cta::before {
  content: ""; position: absolute; inset: auto auto -40% -10%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(91, 79, 233, .35), transparent);
}
.cta::after {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 50%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(200, 255, 61, .22), transparent);
}
.cta > * { position: relative; }
.cta h2 { color: #fff; }
[data-theme="dark"] .cta h2 { color: var(--c-ink); }
.cta p { color: rgba(255,255,255,.75); margin: 0; font-size: 17px; max-width: 50ch; }
[data-theme="dark"] .cta p { color: var(--c-muted); }
.cta__buttons { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ============ CONTACT FORM ============ */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.form {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; gap: 16px; margin-bottom: 16px; }
.form__row--two { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .form__row--two { grid-template-columns: 1fr; } }
.form__field { display: grid; gap: 6px; }
.form__field label { font-size: 13px; font-weight: 600; color: var(--c-ink-2); }
.form__field input,
.form__field textarea,
.form__field select {
  font: inherit; color: var(--c-ink);
  padding: 13px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  background: var(--c-bg);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none; border-color: var(--c-primary); background: var(--c-surface);
  box-shadow: 0 0 0 4px rgba(91, 79, 233, .12);
}
.form__field textarea { min-height: 120px; resize: vertical; }
.form__hint { font-size: 12px; color: var(--c-muted); }
.form__msg { padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; margin-top: 12px; display: none; }
.form__msg.is-show { display: block; }
.form__msg--ok { background: rgba(16, 185, 129, .12); color: #047857; }
.form__msg--err { background: rgba(239, 68, 68, .12); color: #b91c1c; }
[data-theme="dark"] .form__msg--ok { color: #6EE7B7; }
[data-theme="dark"] .form__msg--err { color: #FCA5A5; }

.contact__info h3 { font-size: 24px; margin-bottom: 12px; }
.contact__info p { color: var(--c-muted); }
.contact__list { display: grid; gap: 12px; margin-top: 20px; }
.contact__list a { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); font-weight: 500; }
.contact__list a:hover { color: var(--c-primary); }
.contact__list svg { width: 20px; height: 20px; color: var(--c-primary); }

/* ============ BACK TO TOP ============ */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--c-ink); color: var(--c-bg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-fast), transform var(--t-fast), background var(--t-fast);
}
.to-top.is-show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--c-primary); }
.to-top svg { width: 18px; height: 18px; }

/* ============ FOOTER ============ */
.footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  padding-block: 48px 28px;
  margin-top: 40px;
}
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line);
}
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__top { grid-template-columns: 1fr; } }
.footer__about { font-size: 14px; color: var(--c-muted); max-width: 36ch; margin-top: 12px; }
.footer__title { font-family: var(--f-display); font-weight: 700; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--c-ink-2); }
.footer__list { display: grid; gap: 10px; }
.footer__list a { font-size: 14px; color: var(--c-muted); transition: color var(--t-fast); }
.footer__list a:hover { color: var(--c-primary); }
.footer__bottom {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 13px; color: var(--c-muted);
}

/* ============ ANIM ============ */
.fx { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.fx.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__pill .dot, .activity__title::before { animation: none; }
}

/* ============ LEGAL pages ============ */
.legal { padding-block: clamp(40px, 6vw, 80px); }
.legal__wrap { max-width: 760px; margin-inline: auto; }
.legal__breadcrumb { font-size: 13px; color: var(--c-muted); margin-bottom: 18px; }
.legal__breadcrumb a:hover { color: var(--c-primary); }
.legal h1 { font-size: clamp(1.8rem, 3vw + 1rem, 3rem); margin-bottom: 16px; }
.legal__meta { color: var(--c-muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 1.4rem; margin-top: 40px; margin-bottom: 12px; }
.legal h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--c-ink-2); }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { text-decoration: none; }
.legal__toc {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 32px;
}
.legal__toc h4 { font-family: var(--f-display); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); margin-bottom: 10px; font-weight: 700; }
.legal__toc ol { padding-left: 22px; margin: 0; }
.legal__toc a { color: var(--c-ink); text-decoration: none; }

/* ============ ABOUT specific ============ */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: 40px; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }
.value {
  background: var(--c-surface); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 24px;
}
.value h3 { font-size: 17px; margin-bottom: 6px; }
.value p { font-size: 14px; color: var(--c-muted); margin: 0; }
.value__num { font-family: var(--f-display); font-size: 32px; font-weight: 800; color: var(--c-primary); letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }

/* utilities */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
