/* ===================================================================
   Ценвайз — лендинг. Стиль: тёмный e-commerce (StyleLoom-вдохновение).
   Near-black + белый, гротеск Unbounded/Manrope, фиолетовый акцент.
   Тёмная тема базовая; светлая — по системной настройке или тумблеру в шапке.
   =================================================================== */

:root {
  --bg:      #0b0b0d;   /* основной near-black */
  --bg-2:    #101013;   /* чередующиеся секции */
  --surface: #151519;   /* карточки */
  --surface-2: #1b1b21;
  --line:        rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);

  --text:   #f4f3ef;    /* почти белый */
  --muted:  #9b9ba4;    /* серый вторичный */
  --faint:  #6a6a73;

  --accent:     #8b6dff; /* лайм — «умная экономия» */
  --accent-dim: #7c5cff;
  --accent-ink: #ffffff; /* текст на акценте */

  --display: 'Unbounded', system-ui, sans-serif;
  --sans:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 40px 90px rgba(0, 0, 0, .55);
  --shadow-sm: 0 18px 44px rgba(0, 0, 0, .4);

  /* Цвета вердиктов вынесены в переменные: их же берёт «рублёвый дождь»,
     чтобы в светлой теме не сыпать бледно-жёлтым по белому. */
  --good: #5fd39a;
  --ok:   #f0c04a;
  --bad:  #f0748a;
  --footer-bg: #08080a;
  --header-bg: rgba(11, 11, 13, .78);
}

/* ── светлая тема ─────────────────────────────────────────────────────────
   Включается по системной настройке либо переключателем в шапке. Значения
   продублированы в двух правилах намеренно: CSS не даёт переиспользовать блок
   объявлений, а нужны оба случая — «система светлая, выбора нет» и «выбрана
   светлая вручную». Фиолетовый притемнён с #8b6dff до #6a45e0: исходный на
   белом даёт контраст около 3:1 и читается плохо. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg:      #f6f6f4;
    --bg-2:    #ffffff;
    --surface: #ffffff;
    --surface-2: #f1f1ee;
    --line:        rgba(20, 20, 26, .11);
    --line-strong: rgba(20, 20, 26, .22);
    --text:   #14141a;
    --muted:  #5b5b67;
    --faint:  #86868f;
    --accent:     #6a45e0;
    --accent-dim: #5936cc;
    --accent-ink: #ffffff;
    --shadow:    0 40px 90px rgba(20, 20, 26, .16);
    --shadow-sm: 0 18px 44px rgba(20, 20, 26, .12);
    --good: #17835a;
    --ok:   #a0670f;
    --bad:  #c8355a;
    --footer-bg: #eeeeea;
    --header-bg: rgba(246, 246, 244, .86);
  }
}

:root[data-theme='light'] {
  --bg:      #f6f6f4;
  --bg-2:    #ffffff;
  --surface: #ffffff;
  --surface-2: #f1f1ee;
  --line:        rgba(20, 20, 26, .11);
  --line-strong: rgba(20, 20, 26, .22);
  --text:   #14141a;
  --muted:  #5b5b67;
  --faint:  #86868f;
  --accent:     #6a45e0;
  --accent-dim: #5936cc;
  --accent-ink: #ffffff;
  --shadow:    0 40px 90px rgba(20, 20, 26, .16);
  --shadow-sm: 0 18px 44px rgba(20, 20, 26, .12);
  --good: #17835a;
  --ok:   #a0670f;
  --bad:  #c8355a;
  --footer-bg: #eeeeea;
  --header-bg: rgba(246, 246, 244, .86);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }

/* Переключатель темы. Был скрыт, пока светлой палитры не существовало. */
.theme-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
/* Копия в hero — единственная кнопка, доступная до прокрутки. */
.theme-toggle-hero { position: absolute; top: clamp(24px, 4vw, 40px); right: clamp(18px, 5vw, 52px); z-index: 5; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- buttons ---------- */
.btn, .premium-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover, .premium-btn:hover { transform: translateY(-2px); }

/* акцентная кнопка (лайм) */
.btn-primary, .premium-btn-primary, .btn-white {
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 16px 40px rgba(139, 109, 255, .22);
}
.btn-primary:hover, .premium-btn-primary:hover, .btn-white:hover { background: #9d86ff; box-shadow: 0 20px 48px rgba(139, 109, 255, .32); }

/* контурная (светлая) */
.premium-btn-secondary, .btn-outline {
  background: transparent; color: var(--text);
  border-color: var(--line-strong);
}
.premium-btn-secondary:hover, .btn-outline:hover { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .4); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* ---------- top nav (sticky) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; gap: 24px;
  padding: 14px clamp(18px, 5vw, 52px);
  background: var(--header-bg);
  backdrop-filter: saturate(150%) blur(16px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-102%); transition: transform .45s var(--ease);
}
.nav.visible { transform: none; }
.nav .brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--text); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .18s; }
.nav-links a:hover { color: var(--text); }
.brand-logo, .premium-logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--accent); display: grid; place-items: center; flex: none;
}
.brand-logo svg, .premium-logo svg { width: 21px; height: 21px; }
.brand-logo svg g, .premium-logo svg g { stroke: var(--accent-ink); }
.brand-logo svg path, .premium-logo svg path { fill: var(--accent-ink); }

/* ===================================================================
   HERO
   =================================================================== */
.premium-hero {
  position: relative; background: var(--bg); color: var(--text);
  padding: clamp(30px, 5vw, 46px) clamp(18px, 5vw, 52px) clamp(56px, 7vw, 92px);
  overflow: hidden;
}
.premium-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(48% 44% at 82% 6%, rgba(139, 109, 255, .12), transparent 62%),
    radial-gradient(46% 50% at 4% 96%, rgba(139, 109, 255, .06), transparent 60%);
}
.premium-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(82% 70% at 50% 28%, #000, transparent 78%);
  mask-image: radial-gradient(82% 70% at 50% 28%, #000, transparent 78%);
}
.premium-shell {
  position: relative; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.premium-copy { max-width: 580px; }
.premium-brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 30px; }

.premium-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 8px 16px; margin-bottom: 26px;
}
.premium-pill::before { content: "✦"; color: var(--accent); font-size: 12px; }

.premium-copy h1 {
  font-size: clamp(36px, 4.9vw, 58px); line-height: 1.03; letter-spacing: -0.03em;
  text-transform: uppercase; margin-bottom: 22px; position: relative; z-index: 2;
}
.premium-copy h1 span { color: var(--accent); }
.premium-copy > p {
  font-size: clamp(16px, 1.5vw, 18.5px); color: var(--muted);
  max-width: 470px; margin: 0 0 34px;
}
.premium-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.premium-metrics { display: grid; grid-template-columns: repeat(4, auto); gap: clamp(18px, 3vw, 40px); }
.premium-metrics div { display: flex; flex-direction: column; gap: 3px; }
.premium-metrics strong { font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); font-weight: 700; color: var(--text); }
.premium-metrics span { font-size: 12px; color: var(--faint); letter-spacing: .04em; text-transform: uppercase; }

/* showcase — «браузерное окно» с реальным скрином виджета */
.premium-showcase { position: relative; }
.premium-showcase::before {
  content: "✦"; position: absolute; top: -26px; right: 6px; z-index: 3;
  color: var(--accent); font-size: 30px; line-height: 1;
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.laptop { position: relative; }
.laptop-lid {
  border-radius: 16px; overflow: hidden;
  background: #0e0e11; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); position: relative;
}
.laptop-lid::before {
  content: ""; display: block; height: 40px; background: #141419;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.laptop-lid::after {
  content: ""; position: absolute; top: 16px; left: 18px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #ff5f57; box-shadow: 16px 0 #febc2e, 32px 0 #28c840;
}
.laptop-cam { display: none; }
.laptop-screen { position: relative; }
.laptop-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255, 255, 255, .05), transparent 32%); }
.laptop-base { display: none; }

/* --- сгенерированный мокап виджета Ценвайз (в рамке браузера) --- */
.cw-scene {
  position: relative; padding: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(70% 60% at 78% 12%, rgba(139, 109, 255, .16), transparent 60%),
    #0e0e11;
  display: flex; justify-content: flex-end; min-height: 380px;
}
.cw-panel {
  width: 100%; max-width: 300px; align-self: center;
  background: #16161c; border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px; padding: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  font-family: var(--sans);
}
.cw-head { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; }
.cw-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; flex: none; }
.cw-logo svg { width: 18px; height: 18px; }
.cw-brand { display: flex; flex-direction: column; font-weight: 700; font-size: 14px; color: var(--text); line-height: 1.2; }
.cw-brand em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--faint); }
.cw-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: #ff6b6b; }
.cw-live i { width: 6px; height: 6px; border-radius: 50%; background: #ff6b6b; }
.cw-prod { display: flex; align-items: center; gap: 10px; padding: 10px; background: #1c1c23; border-radius: 12px; margin-bottom: 12px; }
.cw-pthumb { width: 38px; height: 38px; border-radius: 8px; flex: none; background: linear-gradient(135deg, #3d7de0, #1b4aa0); display: grid; place-items: center; }
.cw-pthumb svg { width: 21px; height: 21px; }
.cw-pname { font-size: 12.5px; font-weight: 600; color: var(--text); line-height: 1.25; }
.cw-pname em { display: block; font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); }
.cw-best { background: rgba(139, 109, 255, .1); border: 1px solid rgba(139, 109, 255, .28); border-radius: 12px; padding: 12px 14px; margin-bottom: 13px; }
.cw-best-lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.cw-best-lbl > span:first-child { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cw-save { font-size: 10.5px; font-weight: 700; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 9px; }
.cw-best-val { font-family: var(--display); font-size: 27px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.cw-rows { display: flex; flex-direction: column; gap: 9px; margin-bottom: 13px; }
.cw-rows div { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.cw-rows span { color: var(--muted); }
.cw-rows b { color: var(--text); font-weight: 700; }
.cw-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #f0c04a; background: rgba(240, 192, 74, .1); border: 1px solid rgba(240, 192, 74, .22); border-radius: 999px; padding: 8px 14px; }
.cw-dot { width: 8px; height: 8px; border-radius: 50%; background: #f0c04a; }
@media (max-width: 620px) { .cw-scene { justify-content: center; min-height: 340px; } }

/* строка магазинов под геро */
.premium-stores {
  position: relative; max-width: var(--max); margin: clamp(38px, 5vw, 58px) auto 0;
  display: flex; align-items: center; gap: clamp(18px, 4vw, 46px);
  padding-top: 30px; border-top: 1px solid var(--line);
}
.stores-label { font-size: 12.5px; line-height: 1.4; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; flex: none; }
.stores-row { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 3vw, 34px); }
.stores-row b { font-family: var(--display); font-weight: 600; font-size: clamp(15px, 1.7vw, 20px); color: rgba(244, 243, 239, .78); }
.stores-row b.more { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--accent); }

/* ===================================================================
   STATS
   =================================================================== */
.stats { background: var(--bg-2); padding: clamp(46px, 6vw, 74px) clamp(18px, 5vw, 52px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats-inner div { text-align: center; padding: 20px 14px; border-right: 1px solid var(--line); }
.stats-inner div:last-child { border-right: none; }
.stats-inner strong { display: block; font-family: var(--display); font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--accent); }
.stats-inner span { font-size: 13.5px; color: var(--muted); }

/* ===================================================================
   SECTIONS
   =================================================================== */
.section { padding: clamp(64px, 8vw, 116px) clamp(18px, 5vw, 52px); max-width: var(--max); margin: 0 auto; }
.section-alt { background: var(--bg-2); max-width: none; margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > .eyebrow, .section-alt > .section-title, .section-alt > .section-sub,
.section-alt > .grid, .section-alt > .faq {
  max-width: var(--max); margin-left: auto; margin-right: auto;
}

.eyebrow {
  display: block; text-align: center; font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  text-align: center; font-size: clamp(28px, 4vw, 48px); color: var(--text);
  text-transform: uppercase; letter-spacing: -0.02em;
  max-width: 780px; margin: 0 auto 16px;
}
.section-sub {
  text-align: center; font-size: clamp(15.5px, 1.5vw, 18px); color: var(--muted);
  max-width: 560px; margin: 0 auto clamp(42px, 5vw, 64px); line-height: 1.6;
}

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 30px; transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.step:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-2); }
.step-n {
  font-family: var(--display); font-size: 30px; font-weight: 700;
  color: var(--accent); line-height: 1; margin-bottom: 18px;
}
.step h3 { font-size: 20px; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 10px; color: var(--text); }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- feature grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 24px); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--line-strong); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 24px;
  background: rgba(139, 109, 255, .12); border: 1px solid rgba(139, 109, 255, .2);
  margin-bottom: 20px;
}
.card h3 { font-size: 19px; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 9px; color: var(--text); }
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- store chips ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; max-width: 900px; margin: 0 auto; }
.chips span {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px; transition: .2s var(--ease);
}
.chips span:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-2px); }
.chips span.more { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 4px 24px; transition: border-color .2s;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 0;
  font-family: var(--display); font-size: 16.5px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 24px; font-weight: 400; color: var(--accent); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 20px; font-size: 15.5px; color: var(--muted); line-height: 1.65; }

/* ===================================================================
   CTA
   =================================================================== */
.cta {
  background: var(--bg); color: var(--text);
  text-align: center; padding: clamp(70px, 9vw, 130px) clamp(18px, 5vw, 52px);
  position: relative; overflow: hidden; border-top: 1px solid var(--line);
}
.cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(48% 62% at 50% 0%, rgba(139, 109, 255, .14), transparent 66%);
}
.cta h2 { position: relative; font-size: clamp(32px, 5vw, 60px); text-transform: uppercase; letter-spacing: -0.02em; margin-bottom: 18px; }
.cta > p { position: relative; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 520px; margin: 0 auto 38px; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 22px; }
.cta-note { position: relative; font-size: 13px; color: var(--faint); }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--footer-bg); color: var(--muted); padding: clamp(52px, 6vw, 78px) clamp(18px, 5vw, 52px) 34px; border-top: 1px solid var(--line); }
.footer-cols {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px;
  padding-bottom: 40px; border-bottom: 1px solid var(--line);
}
.footer .brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.footer-tag { font-size: 14.5px; max-width: 260px; margin: 0; line-height: 1.6; color: var(--muted); }
.footer h4 { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-cols a { display: block; font-size: 14.5px; color: var(--muted); margin-bottom: 11px; transition: color .18s; }
.footer-cols a:hover { color: var(--text); }
.footer-bottom {
  max-width: var(--max); margin: 22px auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 13px; color: var(--faint);
}

/* ===================================================================
   СЕКЦИЯ «РАБОТАЕТ ВЕЗДЕ» — мини-мокапы виджета по маркетплейсам
   =================================================================== */
.mk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 24px); }
.mk-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.mk-tile:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.mk-bar { display: flex; align-items: center; gap: 6px; padding: 13px 16px; background: #141419; border-bottom: 1px solid var(--line); }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a42; }
.mk-bar i:first-child { background: #ff5f57; }
.mk-bar i:nth-child(2) { background: #febc2e; }
.mk-bar i:nth-child(3) { background: #28c840; }
.mk-bar span { margin-left: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mk-bar .mk-logo { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 800; line-height: 1; flex: none; }
.mk-bar .mk-logo + span { margin-left: 6px; }
.mk-body { padding: 20px; }
.mk-prod { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.mk-thumb { width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center; }
.mk-thumb svg { width: 24px; height: 24px; }
.mk-name { font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.25; }
.mk-name em { display: block; font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); }
.mk-price { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.mk-price span { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.mk-price b { font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; }
.mk-verdict { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 7px 13px; }
.mk-verdict i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.mk-ok { color: #f0c04a; background: rgba(240, 192, 74, .1); border: 1px solid rgba(240, 192, 74, .22); }
.mk-ok i { background: #f0c04a; }
.mk-good { color: #5fd39a; background: rgba(95, 211, 154, .1); border: 1px solid rgba(95, 211, 154, .22); }
.mk-good i { background: #5fd39a; }
.mk-bad { color: #f0748a; background: rgba(240, 116, 138, .1); border: 1px solid rgba(240, 116, 138, .22); }
.mk-bad i { background: #f0748a; }

/* ===================================================================
   АНИМАЦИИ
   =================================================================== */
/* рублёвый дождь: за контентом, справа (чтобы не мешал заголовку) */
.ruble-rain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 60%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 60%);
}
.premium-bg { z-index: 0; }
.premium-shell, .premium-stores { z-index: 2; }

/* мерцающие звёзды (в CTA) */
.twinkle { position: absolute; color: var(--accent); pointer-events: none; line-height: 1; animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .12; transform: scale(.7); } 50% { opacity: .9; transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .twinkle { animation: none; opacity: .3; } }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseDot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 107, 107, .5); } 50% { opacity: .55; box-shadow: 0 0 0 5px rgba(255, 107, 107, 0); } }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.cw-panel { animation: floatY 6s var(--ease) infinite; }
.cw-live i { animation: pulseDot 1.8s ease-in-out infinite; }

/* появление героя при загрузке (стаггер) */
.premium-pill, .premium-copy h1, .premium-copy > p, .premium-actions, .premium-metrics, .premium-showcase {
  animation: heroUp .9s var(--ease) both;
}
.premium-copy h1 { animation-delay: .08s; }
.premium-copy > p { animation-delay: .18s; }
.premium-actions { animation-delay: .28s; }
.premium-metrics { animation-delay: .38s; }
.premium-showcase { animation-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .cw-panel, .cw-live i, .premium-showcase::before,
  .premium-pill, .premium-copy h1, .premium-copy > p,
  .premium-actions, .premium-metrics, .premium-showcase { animation: none !important; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 960px) {
  .premium-shell { grid-template-columns: 1fr; }
  .premium-showcase { order: 2; max-width: 560px; }
  .steps, .grid, .mk-grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  .premium-stores { flex-direction: column; align-items: flex-start; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stats-inner div:nth-child(2) { border-right: none; }
  .steps, .grid, .mk-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .premium-metrics { grid-template-columns: 1fr 1fr; gap: 20px; }
  .premium-copy h1 { font-size: clamp(24px, 7.5vw, 38px); overflow-wrap: break-word; }
  .section-title, .cta h2 { overflow-wrap: break-word; }
}

/* Уведомление о куки. */
.cookie-note { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between; padding: 16px 18px;
  border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2);
  box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.cookie-text { flex: 1 1 320px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.cookie-text a { color: var(--accent); }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-note button { padding: 9px 16px; font-size: 13.5px; font-weight: 600;
  border-radius: 999px; cursor: pointer; border: 1px solid var(--line); }
.cookie-no { background: none; color: var(--muted); }
.cookie-yes { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
@media (max-width: 560px) {
  .cookie-note { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-actions { width: 100%; }
  .cookie-actions button { flex: 1; }
}
