/* ============================================================================
   ATHERYX — главная в стиле «Codex» (2026-10-17)
   Первый экран с живописным свечением и мокапом окна клиента, ряды
   «панель + текст», сетка возможностей, тарифы колонками, FAQ, финал.
   ========================================================================== */

.cx-home main { overflow-x: clip; }

/* ── Первый экран ─────────────────────────────────────────────────────── */
.cx-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 110px));
}
.cx-hero::before {
  content: "";
  position: absolute;
  z-index: -4;
  inset: 0 0 auto;
  height: clamp(620px, 72vw, 900px);
  background-image: linear-gradient(to bottom, rgba(6, 7, 15, .30) 0%, rgba(6, 7, 15, .42) 38%, transparent 64%, var(--bg) 100%), url("/assets/hero-shader-bg.png");
  background-size: 100% 100%, cover;
  background-position: center, center top;
  background-repeat: no-repeat;
  pointer-events: none;
}
.cx-hero > .cx-paint { display: none; }
/* Свечение плавно уходит в чёрный под мокапом. */
.cx-hero-fade {
  position: absolute;
  z-index: -3;
  left: 0;
  right: 0;
  bottom: 34%;
  height: 36%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.cx-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.cx-appicon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff, #ecebf3);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 18px 40px -16px rgba(10, 8, 40, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.cx-appicon img { width: 46px; height: 46px; filter: brightness(0); }
.cx-hero-title {
  margin-top: clamp(24px, 4vw, 56px);
  max-width: 920px;
  color: #fff;
  font-size: clamp(38px, 6.2vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.cx-hero-sub {
  margin-top: 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 500;
  line-height: 1.45;
  text-wrap: balance;
}
.cx-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
/* На свечении кнопки всегда «как в тёмной теме»: белая и полупрозрачная. */
.cx-hero .ax-btn--primary,
.cx-final .ax-btn--primary { background: #fff; color: #000; }
.cx-hero .ax-btn--primary:hover,
.cx-final .ax-btn--primary:hover { background: #e9e9ee; }
.cx-hero .ax-btn--secondary { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.22); color: #fff; }
.cx-hero .ax-btn--secondary:hover { background: rgba(255, 255, 255, 0.22); }

.cx-trusted { margin-top: clamp(56px, 8vw, 90px); display: grid; gap: 22px; justify-items: center; }
.cx-hero-credit { display: inline-block; margin-top: 18px; color: rgba(255,255,255,.5); font-size: 11px; text-decoration: none; transition: color .2s ease; }
.cx-hero-credit:hover { color: rgba(255,255,255,.82); }
.cx-trusted-lbl { color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.cx-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 5vw, 64px); }
.cx-logos span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 600 clamp(18px, 2vw, 24px)/1 var(--font-display);
  letter-spacing: -0.03em;
  opacity: 0.92;
}
.cx-logos i { font-size: 1.05em; opacity: 0.85; }

/* ── Мокап окна клиента ──────────────────────────────────────────────── */
.cx-shot-wrap { margin-top: clamp(56px, 7vw, 84px); position: relative; }
.cx-window {
  --w-bg: #0c0c0e;
  --w-bg2: #131316;
  --w-line: rgba(255, 255, 255, 0.07);
  --w-fg: #f2f2f4;
  --w-fg2: rgba(242, 242, 244, 0.6);
  --w-fg3: rgba(242, 242, 244, 0.38);
  position: relative;
  border-radius: 18px;
  background: var(--w-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  color: var(--w-fg);
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
}
.cx-win-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--w-line);
  background: var(--w-bg2);
}
.cx-dots { display: inline-flex; gap: 7px; }
.cx-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.cx-dots i:nth-child(2) { background: #febc2e; }
.cx-dots i:nth-child(3) { background: #28c840; }
.cx-win-title { flex: 1; text-align: center; color: var(--w-fg2); font-size: 12.5px; }
.cx-win-pill { display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: var(--w-fg2); font-size: 12px; }
.cx-win-pill .ax-dot { background: #4ade80; animation: none; }

.cx-win-body { display: grid; grid-template-columns: 200px minmax(0, 1fr) 300px; min-height: 420px; }
.cx-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--w-line); }
.cx-side-brand { display: flex; align-items: center; gap: 9px; padding: 0 10px 14px; font-weight: 600; font-size: 14px; }
.cx-side-brand img { width: 18px; height: 18px; }
.cx-side-lbl { padding: 12px 10px 6px; color: var(--w-fg3); font-size: 11.5px; }
.cx-side a { display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 10px; border-radius: 9px; color: var(--w-fg2); }
.cx-side a i { font-size: 15px; }
.cx-side a.on { background: rgba(255, 255, 255, 0.08); color: var(--w-fg); }

.cx-list { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.cx-list-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 10px; font-weight: 600; font-size: 15px; }
.cx-search { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); color: var(--w-fg3); font-weight: 400; font-size: 12.5px; }
.cx-mod { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--w-line); }
.cx-mod b { display: block; font-weight: 500; font-size: 13.5px; }
.cx-mod small { color: var(--w-fg3); font-size: 12px; }
.cx-mod.on { background: rgba(169, 162, 255, 0.07); border-color: rgba(169, 162, 255, 0.18); }
.cx-tgl { position: relative; width: 32px; height: 19px; flex: none; border-radius: 99px; background: rgba(255, 255, 255, 0.12); }
.cx-tgl::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.cx-mod.on .cx-tgl, .cx-tgl.on { background: #a9a2ff; }
.cx-mod.on .cx-tgl::after, .cx-tgl.on::after { transform: translateX(13px); }

.cx-panel { display: flex; flex-direction: column; gap: 14px; padding: 16px 18px; border-left: 1px solid var(--w-line); background: var(--w-bg2); }
.cx-panel-head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
.cx-panel-head b { font-weight: 600; }
.cx-set { display: grid; grid-template-columns: 1fr auto; gap: 8px; color: var(--w-fg2); }
.cx-set em { font-style: normal; color: var(--w-fg); font-family: var(--font-mono); font-size: 12px; }
.cx-set.row { align-items: center; }
.cx-bar { grid-column: 1 / -1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cx-bar i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: inherit; background: linear-gradient(90deg, #8b84ea, #c2bdff); }
.cx-seg { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); }
.cx-seg i { font-style: normal; text-align: center; padding: 6px 0; border-radius: 7px; font-size: 12px; color: var(--w-fg3); }
.cx-seg i.on { background: rgba(255, 255, 255, 0.1); color: var(--w-fg); }
.cx-target { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--w-line); }
.cx-target b { display: block; font-weight: 500; }
.cx-target small { color: var(--w-fg3); font-size: 12px; }
.cx-ava {
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 10px;
  background:
    linear-gradient(#6b4a2f 0 0) 50% 18% / 60% 22% no-repeat,
    linear-gradient(#f0c8a0 0 0) 50% 62% / 60% 50% no-repeat,
    #3a2a1e;
  image-rendering: pixelated;
}
.cx-ava.big { width: 64px; height: 64px; border-radius: 14px; }
.cx-hp { margin-top: 7px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; width: 160px; max-width: 100%; }
.cx-hp i { display: block; height: 100%; width: calc(var(--hp, 0.9) * 100%); background: #4ade80; border-radius: inherit; }

/* ── Секции ──────────────────────────────────────────────────────────── */
.cx-section { position: relative; padding-block: clamp(72px, 8vw, 110px); }
.cx-section--tight { padding-top: clamp(24px, 3vw, 40px); }
.cx-head { display: grid; gap: 16px; justify-items: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.cx-head .ax-lead { max-width: 620px; }
.cx-head--grid { margin-top: clamp(100px, 12vw, 150px); }

/* Цифры — крупно, без рамок, через тонкие разделители. */
.cx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.cx-stats > div { display: grid; gap: 8px; padding: 28px 24px 0; border-left: 1px solid var(--line); }
.cx-stats > div:first-child { border-left: 0; padding-left: 0; }
.cx-stats b { font: 500 clamp(36px, 4.4vw, 56px)/1 var(--font-display); letter-spacing: -0.05em; }
.cx-stats span { color: var(--fg-3); font-size: 14.5px; line-height: 1.45; max-width: 220px; }

/* ── Ряды «панель + текст» ───────────────────────────────────────────── */
.cx-rows { display: grid; gap: clamp(80px, 11vw, 150px); }
.cx-row { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); }
.cx-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.cx-row--flip .cx-media { order: 2; }
/* Окошко по размеру кадра: кадр + небольшое поле, без лишней пустоты вокруг. */
.cx-media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2.4vw, 30px);
}
.cx-media:has(.cx-shot--hud) { justify-self: center; width: min(100%, 520px); }
/* Свечение — прямоугольник чуть больше окошка; края мягко растворяются в тёмном фоне. */
.cx-media > .cx-paint--panel {
  z-index: -1;
  inset: -26% -18%;
  opacity: 0.78;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.002) 2.0%, rgba(0,0,0,0.016) 4.0%, rgba(0,0,0,0.049) 6.0%, rgba(0,0,0,0.104) 8.0%, rgba(0,0,0,0.180) 10.0%, rgba(0,0,0,0.275) 12.0%, rgba(0,0,0,0.384) 14.0%, rgba(0,0,0,0.500) 16.0%, rgba(0,0,0,0.616) 18.0%, rgba(0,0,0,0.725) 20.0%, rgba(0,0,0,0.820) 22.0%, rgba(0,0,0,0.896) 24.0%, rgba(0,0,0,0.951) 26.0%, rgba(0,0,0,0.984) 28.0%, rgba(0,0,0,0.998) 30.0%, rgba(0,0,0,1.000) 32.0%, rgba(0,0,0,1.000) 68.0%, rgba(0,0,0,0.998) 70.0%, rgba(0,0,0,0.984) 72.0%, rgba(0,0,0,0.951) 74.0%, rgba(0,0,0,0.896) 76.0%, rgba(0,0,0,0.820) 78.0%, rgba(0,0,0,0.725) 80.0%, rgba(0,0,0,0.616) 82.0%, rgba(0,0,0,0.500) 84.0%, rgba(0,0,0,0.384) 86.0%, rgba(0,0,0,0.275) 88.0%, rgba(0,0,0,0.180) 90.0%, rgba(0,0,0,0.104) 92.0%, rgba(0,0,0,0.049) 94.0%, rgba(0,0,0,0.016) 96.0%, rgba(0,0,0,0.002) 98.0%, rgba(0,0,0,0.000) 100.0%), linear-gradient(to bottom, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.002) 2.0%, rgba(0,0,0,0.016) 4.0%, rgba(0,0,0,0.049) 6.0%, rgba(0,0,0,0.104) 8.0%, rgba(0,0,0,0.180) 10.0%, rgba(0,0,0,0.275) 12.0%, rgba(0,0,0,0.384) 14.0%, rgba(0,0,0,0.500) 16.0%, rgba(0,0,0,0.616) 18.0%, rgba(0,0,0,0.725) 20.0%, rgba(0,0,0,0.820) 22.0%, rgba(0,0,0,0.896) 24.0%, rgba(0,0,0,0.951) 26.0%, rgba(0,0,0,0.984) 28.0%, rgba(0,0,0,0.998) 30.0%, rgba(0,0,0,1.000) 32.0%, rgba(0,0,0,1.000) 68.0%, rgba(0,0,0,0.998) 70.0%, rgba(0,0,0,0.984) 72.0%, rgba(0,0,0,0.951) 74.0%, rgba(0,0,0,0.896) 76.0%, rgba(0,0,0,0.820) 78.0%, rgba(0,0,0,0.725) 80.0%, rgba(0,0,0,0.616) 82.0%, rgba(0,0,0,0.500) 84.0%, rgba(0,0,0,0.384) 86.0%, rgba(0,0,0,0.275) 88.0%, rgba(0,0,0,0.180) 90.0%, rgba(0,0,0,0.104) 92.0%, rgba(0,0,0,0.049) 94.0%, rgba(0,0,0,0.016) 96.0%, rgba(0,0,0,0.002) 98.0%, rgba(0,0,0,0.000) 100.0%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.002) 2.0%, rgba(0,0,0,0.016) 4.0%, rgba(0,0,0,0.049) 6.0%, rgba(0,0,0,0.104) 8.0%, rgba(0,0,0,0.180) 10.0%, rgba(0,0,0,0.275) 12.0%, rgba(0,0,0,0.384) 14.0%, rgba(0,0,0,0.500) 16.0%, rgba(0,0,0,0.616) 18.0%, rgba(0,0,0,0.725) 20.0%, rgba(0,0,0,0.820) 22.0%, rgba(0,0,0,0.896) 24.0%, rgba(0,0,0,0.951) 26.0%, rgba(0,0,0,0.984) 28.0%, rgba(0,0,0,0.998) 30.0%, rgba(0,0,0,1.000) 32.0%, rgba(0,0,0,1.000) 68.0%, rgba(0,0,0,0.998) 70.0%, rgba(0,0,0,0.984) 72.0%, rgba(0,0,0,0.951) 74.0%, rgba(0,0,0,0.896) 76.0%, rgba(0,0,0,0.820) 78.0%, rgba(0,0,0,0.725) 80.0%, rgba(0,0,0,0.616) 82.0%, rgba(0,0,0,0.500) 84.0%, rgba(0,0,0,0.384) 86.0%, rgba(0,0,0,0.275) 88.0%, rgba(0,0,0,0.180) 90.0%, rgba(0,0,0,0.104) 92.0%, rgba(0,0,0,0.049) 94.0%, rgba(0,0,0,0.016) 96.0%, rgba(0,0,0,0.002) 98.0%, rgba(0,0,0,0.000) 100.0%), linear-gradient(to bottom, rgba(0,0,0,0.000) 0.0%, rgba(0,0,0,0.002) 2.0%, rgba(0,0,0,0.016) 4.0%, rgba(0,0,0,0.049) 6.0%, rgba(0,0,0,0.104) 8.0%, rgba(0,0,0,0.180) 10.0%, rgba(0,0,0,0.275) 12.0%, rgba(0,0,0,0.384) 14.0%, rgba(0,0,0,0.500) 16.0%, rgba(0,0,0,0.616) 18.0%, rgba(0,0,0,0.725) 20.0%, rgba(0,0,0,0.820) 22.0%, rgba(0,0,0,0.896) 24.0%, rgba(0,0,0,0.951) 26.0%, rgba(0,0,0,0.984) 28.0%, rgba(0,0,0,0.998) 30.0%, rgba(0,0,0,1.000) 32.0%, rgba(0,0,0,1.000) 68.0%, rgba(0,0,0,0.998) 70.0%, rgba(0,0,0,0.984) 72.0%, rgba(0,0,0,0.951) 74.0%, rgba(0,0,0,0.896) 76.0%, rgba(0,0,0,0.820) 78.0%, rgba(0,0,0,0.725) 80.0%, rgba(0,0,0,0.616) 82.0%, rgba(0,0,0,0.500) 84.0%, rgba(0,0,0,0.384) 86.0%, rgba(0,0,0,0.275) 88.0%, rgba(0,0,0,0.180) 90.0%, rgba(0,0,0,0.104) 92.0%, rgba(0,0,0,0.049) 94.0%, rgba(0,0,0,0.016) 96.0%, rgba(0,0,0,0.002) 98.0%, rgba(0,0,0,0.000) 100.0%);
  mask-composite: intersect;
}
.cx-paint--panel { z-index: -1; }
.cx-paint--panel::before { filter: blur(30px) saturate(120%); }
/* Настоящие кадры клиента — вырезаны без мира, со своей прозрачностью (стекло видит свечение). */
.cx-shot {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55));
  transition: transform 0.8s var(--ease);
}
.cx-row:hover .cx-shot { transform: translateY(-6px); }
.cx-shot--hud { width: 100%; max-width: 436px; }
.cx-shot--hero { margin-inline: auto; max-width: 1180px; }
.cx-paint--b { --paint-1: #1d3a6e; --paint-2: #5b8fe0; --paint-3: #a7c4ff; --paint-4: #f1e3ff; --paint-5: #2a1d55; }
.cx-paint--c { --paint-1: #4b2a6e; --paint-2: #a07ae6; --paint-3: #e2c8ff; --paint-4: #ffe7f0; --paint-5: #1b1e4a; }
:root[data-theme="light"] .cx-paint--b { --paint-1: #c4d8ff; --paint-2: #9fbfff; --paint-3: #e2ecff; --paint-4: #fff; --paint-5: #d9cfff; }
:root[data-theme="light"] .cx-paint--c { --paint-1: #e2cfff; --paint-2: #c9b0ff; --paint-3: #f3e8ff; --paint-4: #fff; --paint-5: #cdd3ff; }

.cx-mock {
  width: 100%;
  max-width: 520px;
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  color: #f2f2f4;
  font-size: 13px;
  overflow: hidden;
  transition: transform 0.8s var(--ease);
}
.cx-row:hover .cx-mock { transform: translateY(-6px); }
.cx-mock-bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: rgba(242, 242, 244, 0.6); font-size: 12.5px; }
.cx-dots i { width: 10px; height: 10px; }

.cx-th { display: flex; gap: 16px; padding: 20px; }
.cx-th-info { flex: 1; min-width: 0; }
.cx-th-info b { display: block; font-weight: 600; font-size: 16px; }
.cx-th-info small { color: rgba(242, 242, 244, 0.5); }
.cx-th-info .cx-hp { width: 100%; height: 6px; margin-top: 12px; }
.cx-th-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: rgba(242, 242, 244, 0.7); font-size: 12.5px; }
.cx-th-row i { margin-right: 5px; color: #a9a2ff; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 20px; }
.cx-chips span { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); color: rgba(242, 242, 244, 0.55); font-size: 12.5px; }
.cx-chips span.on { background: rgba(169, 162, 255, 0.16); color: #d6d2ff; }

.cx-esp { position: relative; height: 250px; background: linear-gradient(180deg, #1a2333 0%, #233046 55%, #2b3a24 55%, #24321f 100%); }
.cx-esp-box { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); border: 1.5px solid #c2bdff; border-radius: 4px; box-shadow: 0 0 18px rgba(169, 162, 255, 0.45), inset 0 0 14px rgba(169, 162, 255, 0.18); }
.cx-esp-box span { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.6); font-size: 11.5px; }
.cx-esp-box.far { opacity: 0.8; }
.cx-esp-box.item { border-color: #ffd36b; box-shadow: 0 0 16px rgba(255, 211, 107, 0.45); }
.cx-fps { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, 0.55); font-family: var(--font-mono); font-size: 12px; color: rgba(242, 242, 244, 0.7); }
.cx-fps b { color: #4ade80; font-weight: 500; }

.cx-cfg { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.cx-cfg:last-child { border-bottom: 0; }
.cx-cfg > div { flex: 1; min-width: 0; }
.cx-cfg b { display: block; font-weight: 500; font-size: 14px; }
.cx-cfg small { color: rgba(242, 242, 244, 0.5); font-size: 12px; }
.cx-cfg-ic { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.06); color: #c2bdff; font-size: 17px; }
.cx-cfg-btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px; border-radius: 99px; background: #fff; color: #000; font-size: 12.5px; font-weight: 500; }
.cx-cfg-btn.done { background: rgba(74, 222, 128, 0.14); color: #6ee7a0; }

.cx-copy { display: grid; gap: 16px; justify-items: start; max-width: 460px; }
.cx-copy h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -0.04em; text-wrap: balance; }
.cx-copy p { color: var(--fg-2); font-size: 16px; line-height: 1.62; }
.cx-copy .cx-link { margin-top: 6px; }

/* ── Сетка возможностей ──────────────────────────────────────────────── */
.cx-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cx-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: 26px;
  border-radius: 22px;
  background: var(--surface-2);
  transition: background-color 0.3s ease, transform 0.5s var(--ease);
}
.cx-card:hover { background: var(--surface-3); transform: translateY(-3px); }
.cx-card > i { font-size: 22px; color: var(--fg); margin-bottom: 22px; }
.cx-card h3 { font-size: 18px; letter-spacing: -0.025em; }
.cx-card p { color: var(--fg-3); font-size: 14.5px; line-height: 1.55; }

/* ── Тарифы ─────────────────────────────────────────────────────────── */
.cx-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  width: max-content;
  margin: 0 auto 32px;
  padding: 4px;
  border-radius: 99px;
  background: var(--surface-2);
}
.cx-tabs button {
  height: 36px;
  padding: 0 20px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--fg-3);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.cx-tabs button:hover {
  color: var(--fg);
}
.cx-tabs [aria-selected="true"] {
  background: var(--fg);
  color: var(--bg);
}

/* Фильтр-переключатель типов подписок */
.cx-tier-filter {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  margin: 0 auto 44px;
  padding: 4px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.cx-tier-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--fg-3);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.cx-tier-btn:hover {
  color: var(--fg);
}
.cx-tier-btn.active {
  background: var(--surface-3);
  color: var(--fg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cx-tier-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--field);
  color: var(--fg-4);
  font-size: 11px;
  font-weight: 600;
}
.cx-tier-btn.active .cx-tier-count {
  background: rgba(255, 255, 255, 0.12);
  color: var(--fg-2);
}
.cx-tier-btn i { font-size: 14px; }

/* Заголовки подгрупп тарифов */
.cx-plans-group {
  margin-bottom: 20px;
  transition: opacity 0.35s ease, transform 0.35s var(--ease);
}
.cx-group-header {
  margin-bottom: 24px;
}
.cx-group-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.cx-group-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cx-group-title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0;
}
.cx-group-desc {
  color: var(--fg-3);
  font-size: 14.5px;
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

/* Сетка тарифов */
.cx-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.cx-plan-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin-inline: auto;
}

/* Карточка обычного тарифа */
.cx-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: 22px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), border-color 0.3s ease, box-shadow 0.4s ease, background-color 0.3s ease;
}
.cx-plan:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  background: var(--surface-3);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7);
}
.cx-plan.is-hot {
  border-color: rgba(169, 162, 255, 0.28);
}
.cx-plan.is-hot:hover {
  border-color: rgba(169, 162, 255, 0.45);
}

/* Верхняя строка карточки */
.cx-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 8px;
}
.cx-plan-tier-label {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg-4);
}
.cx-plan-tier-label i { margin-right: 5px; font-size: 13px; vertical-align: -1px; }

.cx-plan h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  letter-spacing: -0.03em;
  margin: 0;
}
.cx-badge {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font: 500 12px/1 var(--font-body);
  letter-spacing: 0;
}
.cx-badge--sale {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}
.cx-badge--muted { background: var(--surface-3); color: var(--fg-2); }

.cx-plan-desc {
  min-height: 2.8em;
  color: var(--fg-3);
  font-size: 14.5px;
  line-height: 1.5;
  margin: 6px 0 0;
}
.cx-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 16px;
}
.cx-price b {
  font: 500 38px/1 var(--font-display);
  letter-spacing: -0.05em;
}
.cx-price small {
  color: var(--fg-3);
  font-size: 13px;
}

.cx-plan-divider-inner {
  height: 1px;
  background: var(--line);
  margin: 8px 0 18px;
}

.cx-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: var(--fg-2);
  font-size: 14px;
}
.cx-checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}
.cx-checks li::before {
  content: "\eb7b";
  font-family: remixicon;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.35;
  flex-shrink: 0;
}

/* ── Beta: карточки на том же свечении, что панели «панель + текст» ──── */
.cx-plan-divider { height: 1px; margin: clamp(56px, 7vw, 88px) 0; background: var(--line); }
.cx-group-tag i { font-size: 12px; }
.cx-plan--beta {
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.12);
  background: #1b1e4a;
  color: #fff;
  box-shadow: 0 24px 60px -28px rgba(40, 20, 90, 0.75);
}
.cx-plan--beta:hover { background: #1b1e4a; border-color: rgba(255, 255, 255, 0.22); box-shadow: 0 30px 70px -26px rgba(60, 30, 130, 0.85); }
.cx-plan--beta.is-hot { border-color: rgba(255, 255, 255, 0.3); }
/* Та же акцентная палитра, но у каждой карточки свой рисунок пятен и фаза дрейфа. */
.cx-paint.cx-paint--v1::before {
  background:
    radial-gradient(46% 38% at 18% 82%, var(--paint-3) 0%, transparent 70%),
    radial-gradient(40% 46% at 85% 30%, var(--paint-2) 0%, transparent 72%),
    radial-gradient(50% 44% at 45% 15%, var(--paint-1) 0%, transparent 70%),
    radial-gradient(26% 26% at 70% 70%, var(--paint-4) 0%, transparent 70%),
    radial-gradient(60% 60% at 95% 100%, var(--paint-5) 0%, transparent 70%);
  animation-delay: -8s;
}
.cx-paint.cx-paint--v2::before {
  background:
    radial-gradient(42% 40% at 50% 12%, var(--paint-3) 0%, transparent 70%),
    radial-gradient(36% 44% at 12% 55%, var(--paint-2) 0%, transparent 72%),
    radial-gradient(40% 50% at 88% 62%, var(--paint-2) 0%, transparent 70%),
    radial-gradient(28% 24% at 52% 40%, var(--paint-4) 0%, transparent 70%),
    radial-gradient(70% 50% at 50% 100%, var(--paint-5) 0%, transparent 70%);
  animation-delay: -15s;
}
.cx-paint.cx-paint--v3::before {
  background:
    radial-gradient(44% 40% at 82% 78%, var(--paint-3) 0%, transparent 70%),
    radial-gradient(38% 42% at 20% 20%, var(--paint-2) 0%, transparent 72%),
    radial-gradient(48% 50% at 30% 75%, var(--paint-1) 0%, transparent 70%),
    radial-gradient(24% 28% at 62% 30%, var(--paint-4) 0%, transparent 70%),
    radial-gradient(60% 60% at 0% 0%, var(--paint-5) 0%, transparent 70%);
  animation-delay: -22s;
}
.cx-paint.cx-paint--v1::after { animation-delay: -5s; }
.cx-paint.cx-paint--v2::after { animation-delay: -12s; }
.cx-paint.cx-paint--v3::after { animation-delay: -19s; }
.cx-plan--beta .cx-paint { transition: transform 0.8s var(--ease); }
.cx-plan--beta:hover .cx-paint { transform: scale(1.06); }
.cx-plan--beta h3 { color: #fff; }
.cx-plan--beta .cx-plan-tier-label { color: rgba(255, 255, 255, 0.7); }
.cx-plan--beta .cx-plan-desc { color: rgba(255, 255, 255, 0.8); }
.cx-plan--beta .cx-price small { color: rgba(255, 255, 255, 0.7); }
.cx-plan--beta .cx-badge {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.cx-plan--beta .ax-btn--primary { background: #fff; color: #000; }
.cx-plan.cx-plan--beta .ax-btn--primary:hover:not(:disabled) { background: #e9e9ee; }
/* Список — стеклянная вставка, как окна-мокапы на свечении. */
.cx-checks--glass {
  flex: 1;
  align-content: start;
  margin-top: 18px;
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: rgba(12, 12, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: rgba(242, 242, 244, 0.86);
}
.cx-checks--glass li::before { color: #c2bdff; }
.cx-checks b { color: var(--fg); font-weight: 500; }
.cx-checks--glass b { color: #fff; }

/* Нижняя сноска */
.cx-plans-note {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--fg-3);
  font-size: 13.5px;
  text-align: center;
}

/* ── Светлая тема ─────────────────────────────────────────────────── */
:root[data-theme="light"] .cx-plan {
  background: #f7f6f9;
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.06);
}
:root[data-theme="light"] .cx-plan:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.14);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .cx-plan--beta,
:root[data-theme="light"] .cx-plan--beta:hover { background: #e2cfff; border-color: rgba(0, 0, 0, 0.06); box-shadow: 0 20px 44px -24px rgba(91, 84, 214, 0.45); }
:root[data-theme="light"] .cx-plan--beta,
:root[data-theme="light"] .cx-plan--beta h3 { color: #0b0b0d; }
:root[data-theme="light"] .cx-plan--beta .cx-plan-tier-label,
:root[data-theme="light"] .cx-plan--beta .cx-price small { color: rgba(11, 11, 13, 0.6); }
:root[data-theme="light"] .cx-plan--beta .cx-plan-desc { color: rgba(11, 11, 13, 0.72); }
:root[data-theme="light"] .cx-plan--beta .cx-badge { background: rgba(255, 255, 255, 0.6); border-color: rgba(0, 0, 0, 0.06); color: #0b0b0d; }
:root[data-theme="light"] .cx-plan--beta .ax-btn--primary { background: #0b0b0d; color: #fff; }
:root[data-theme="light"] .cx-plan.cx-plan--beta .ax-btn--primary:hover:not(:disabled) { background: #26262a; }
:root[data-theme="light"] .cx-checks--glass { background: rgba(255, 255, 255, 0.62); border-color: rgba(255, 255, 255, 0.7); color: rgba(11, 11, 13, 0.8); }
:root[data-theme="light"] .cx-checks--glass li::before { color: #5b54d6; }
:root[data-theme="light"] .cx-checks--glass b { color: #0b0b0d; }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.cx-faq { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.cx-faq-info { position: sticky; top: 110px; display: grid; gap: 16px; justify-items: start; }
.cx-faq-list { border-top: 1px solid var(--line); }
.cx-faq-list .faq-item { border-bottom: 1px solid var(--line); background: none; border-radius: 0; }
.cx-faq-list .faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 24px 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.cx-faq-list .faq-icon { font-size: 20px; color: var(--fg-3); transition: transform 0.45s var(--ease), color 0.3s ease; }
.cx-faq-list .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--fg); }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.faq-item.open .faq-content { grid-template-rows: 1fr; }
.faq-content > div { overflow: hidden; }
.cx-faq-list .faq-content p { padding: 0 48px 24px 0; color: var(--fg-2); font-size: 15.5px; line-height: 1.65; }

/* ── Финал ───────────────────────────────────────────────────────────── */
.cx-final { position: relative; padding-block: clamp(120px, 15vw, 200px); text-align: center; overflow: hidden; }
.cx-final > .cx-paint { z-index: -3; }
.cx-final-fade { position: absolute; z-index: -3; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, transparent 38%); pointer-events: none; }
.cx-final-inner { display: grid; gap: 18px; justify-items: center; }
.cx-final h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.05em; }
.cx-final p { max-width: 520px; color: rgba(255, 255, 255, 0.82); font-size: 17px; }
.cx-final .ax-btn { margin-top: 10px; }
:root[data-theme="light"] .cx-final h2,
:root[data-theme="light"] .cx-hero-title { color: #0b0b0d; }
:root[data-theme="light"] .cx-final p,
:root[data-theme="light"] .cx-hero-sub,
:root[data-theme="light"] .cx-trusted-lbl { color: rgba(11, 11, 13, 0.72); }
:root[data-theme="light"] .cx-logos span { color: #0b0b0d; }
:root[data-theme="light"] .cx-hero .ax-btn--primary,
:root[data-theme="light"] .cx-final .ax-btn--primary { background: #0b0b0d; color: #fff; }
:root[data-theme="light"] .cx-hero .ax-btn--secondary { background: rgba(255, 255, 255, 0.55); border-color: rgba(0, 0, 0, 0.1); color: #0b0b0d; }

/* ── Футер ───────────────────────────────────────────────────────────── */
.cx-footer { padding: 56px 0 28px; }
.cx-footer-grid { display: grid; grid-template-columns: 1fr repeat(4, minmax(150px, auto)); gap: 40px; }
.cx-footer-grid h3 { margin-bottom: 16px; }
.cx-footer-grid > .ax-brand { align-self: start; }
.cx-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 56px; color: var(--fg-3); font-size: 13px; }
.cx-footer-bottom a { color: var(--fg-2); font-size: 18px; }
.cx-footer-bottom a:hover { color: var(--fg); }

/* ── Окно оплаты ─────────────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.checkout-summary { display: flex; flex-direction: column; gap: 14px; padding: 30px 26px; border-right: 1px solid var(--line); background: var(--surface-2); }
.checkout-summary h3 { font-size: 22px; }
.checkout-price { display: flex; align-items: baseline; gap: 6px; }
.checkout-price strong { font: 500 46px/1 var(--font-display); letter-spacing: -0.05em; }
.checkout-price span { color: var(--fg-2); font: 500 22px/1 var(--font-display); }
.checkout-perk { display: flex; align-items: center; gap: 9px; color: var(--fg-2); font-size: 13.5px; }
.checkout-perk i { color: var(--fg); font-size: 16px; }
.checkout-summary .checkout-perk:last-child { margin-top: auto; color: var(--fg-3); }
.checkout-main { position: relative; display: grid; gap: 20px; padding: 30px 28px; }
.checkout-main h2 { font-size: 24px; }
.ax-modal-close { position: absolute; top: 18px; right: 18px; }
.pay-methods { display: grid; gap: 10px; }
.pay-method { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease; }
.pay-method:hover { border-color: var(--line-2); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.pay-method.active { border-color: var(--fg); }
.pay-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--surface-3); color: var(--fg); font-size: 20px; }
.pay-info { flex: 1; min-width: 0; }
.pay-info strong { display: block; font-size: 15px; font-weight: 500; }
.pay-info small { display: block; margin-top: 3px; color: var(--fg-3); font-size: 13px; line-height: 1.4; }
.pay-radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line-2); transition: border 0.2s ease; }
.pay-method.active .pay-radio { border: 6px solid var(--fg); }

/* ── Адаптив ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cx-win-body { grid-template-columns: 180px minmax(0, 1fr) 260px; }
}
@media (max-width: 980px) {
  .cx-win-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .cx-side { display: none; }
  .cx-row, .cx-row--flip { grid-template-columns: 1fr; }
  .cx-row--flip .cx-media { order: 0; }
  .cx-copy { max-width: 620px; }
  .cx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-plan-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; gap: 20px; }
  .cx-plan-grid--two { grid-template-columns: 1fr; }
  .cx-faq { grid-template-columns: 1fr; }
  .cx-faq-info { position: static; }
  .cx-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-footer-grid > .ax-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .cx-hide-sm { display: none; }
  .cx-hero::before { height: 660px; background-position: center, center top; }
  .cx-win-body { grid-template-columns: 1fr; min-height: 0; }
  .cx-panel { display: none; }
  .cx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-stats > div { padding: 24px 0 0 20px; }
  .cx-stats > div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .cx-stats > div:nth-child(n+3) { margin-top: 24px; border-top: 1px solid var(--line); }
  .cx-grid { grid-template-columns: 1fr; }
  .cx-card { min-height: 0; }
  .cx-media { padding: 14px; }
  .cx-esp { height: 200px; }
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { border-right: 0; border-bottom: 1px solid var(--line); }
  .cx-footer-grid { grid-template-columns: 1fr 1fr; }
  .cx-footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
}
@media (max-width: 480px) {
  .cx-hero-actions { width: 100%; }
  .cx-hero-actions .ax-btn { flex: 1 1 100%; }
  .cx-logos { gap: 14px 26px; }
  .cx-logos span { font-size: 17px; }
  .cx-tier-filter { width: 100%; max-width: 380px; justify-content: space-between; padding: 3px; gap: 2px; }
  .cx-tier-btn { height: 32px; padding: 0 10px; font-size: 12px; gap: 5px; }
  .cx-group-title { font-size: 20px; }
  .cx-plan { padding: 22px 20px; }
  .cx-price b { font-size: 32px; }
}
