/* ============================================================
   AGENTS-EFIR — лендинг кейсового эфира «Связка ИИ-агентов»
   Стиль: взрослый киберпанк (как баннеры кампании)
   Палитра: #04060c фон · циан #22d3ee · маджента #ff2e6d · белый
   Шрифты: Manrope + JetBrains Mono
   Брейкпоинты Tilda: 1200 / 959 / 639
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #04060c;
  --cy: #22d3ee;
  --cy2: #7ff3ff;
  --mg: #ff2e6d;
  --wh: #f2f6ff;
  --dim: rgba(242, 246, 255, 0.72);
  --panel: rgba(10, 18, 34, 0.72);
  --line: rgba(34, 211, 238, 0.30);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--wh);
  font-family: 'Manrope', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}

/* сканлайны на всю страницу */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(0deg,
    rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px,
    transparent 1px, transparent 4px);
  pointer-events: none;
  z-index: 50;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.section { padding: 84px 0; position: relative; }
.section__cta { margin-top: 44px; text-align: center; }

/* ---------- кнопки ---------- */
/* единый шрифт и размер у ВСЕХ CTA (правка Лиды) */
.btn {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--cy);
  padding: 18px 40px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn--cyan {
  background: var(--cy);
  color: #04121f;
  box-shadow: 0 0 34px -8px rgba(34, 211, 238, 0.7);
}
.btn--cyan:hover { transform: translateY(-2px); box-shadow: 0 0 44px -6px rgba(34, 211, 238, 0.9); }
.btn--ghost { background: transparent; color: var(--cy2); }
.btn--ghost:hover { background: rgba(34, 211, 238, 0.10); }

/* ---------- общие атомы ---------- */
.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid rgba(242, 246, 255, 0.25);
  color: rgba(242, 246, 255, 0.75);
}
.tag--center { display: table; margin: 0 auto 18px; }

.stamp {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--cy);
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.45);
  white-space: nowrap;
}
.stamp .brk, .final__stamp .brk { color: rgba(34, 211, 238, 0.45); }

.glitch {
  color: var(--cy2);
  text-shadow: -3px 0 rgba(255, 46, 109, 0.5), 3px 0 rgba(34, 211, 238, 0.55);
}

.equation {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  padding: 13px 22px;
  border: 1px solid rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.06);
  font-size: 25px;
  font-weight: 800;
  white-space: nowrap;
}
.equation .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--cy);
  font-size: 29px;
}
.equation--center { display: table; margin: 0 auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 56px 0 90px;
  background:
    radial-gradient(1100px 700px at 88% 10%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(800px 560px at 0% 0%, rgba(59, 130, 246, 0.13), transparent 60%),
    var(--bg);
}
.corner { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(34,211,238,0.55); }
.corner--tl { top: 26px; left: 26px; border-right: 0; border-bottom: 0; }
.corner--tr { top: 26px; right: 26px; border-left: 0; border-bottom: 0; }
.corner--bl { bottom: 26px; left: 26px; border-right: 0; border-top: 0; }
.corner--br { bottom: 26px; right: 26px; border-left: 0; border-top: 0; }

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: start;
}

h1 {
  font-size: 62px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__copy .equation { margin-top: 28px; }

.hero__lead {
  margin-top: 30px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--dim);
  max-width: 640px;
}
.hero__lead strong { color: var(--cy2); }

.hero__list {
  margin-top: 20px;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 19px;
}
.hero__list li { padding-left: 28px; position: relative; }
.hero__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--mg);
  font-weight: 700;
}
.hero__list--center {
  max-width: 460px;
  margin: 22px auto 0;
  text-align: left;
}

.hero__copy .btn { margin-top: 36px; }

.hero__note {
  margin-top: 22px;
  font-size: 14px;
  font-style: italic;
  color: rgba(242, 246, 255, 0.55);
}
.hero__note a { color: rgba(127, 243, 255, 0.7); }

.hero__speaker { text-align: center; }
.hero__photo-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 0 44px -12px rgba(34, 211, 238, 0.4);
}
.hero__photo-frame::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--mg);
  border-left: 2px solid var(--mg);
}
.hero__photo-frame::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 22px; height: 22px;
  border-bottom: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.hero__photo { display: block; width: 100%; height: auto; filter: saturate(0.9) contrast(1.05); }
.hero__speaker figcaption {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}
.hero__speaker figcaption strong { font-size: 22px; font-weight: 800; }
.hero__speaker figcaption span { font-size: 16px; color: var(--dim); }

/* ---------- БОНУСЫ ---------- */
.bonus { padding: 64px 0; }
.bonus__panel {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 44px;
  align-items: center;
  padding: 40px 44px;
  border: 1px solid var(--line);
  background:
    radial-gradient(500px 300px at 0% 50%, rgba(255, 46, 109, 0.06), transparent 60%),
    var(--panel);
  box-shadow: 0 0 44px -14px rgba(34, 211, 238, 0.35);
}
.bonus__panel::before {
  content: '';
  position: absolute;
  top: -7px; left: -7px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--mg);
  border-left: 2px solid var(--mg);
}
.bonus__panel::after {
  content: '';
  position: absolute;
  bottom: -7px; right: -7px;
  width: 22px; height: 22px;
  border-bottom: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.bonus__content { min-width: 0; }
.bonus__content .bonus__lead { text-align: left; }
.bonus__lead {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
}
.bonus__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bonus__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-size: 20px;
  font-weight: 700;
}
.bonus__icon { flex-shrink: 0; width: 48px; height: 48px; }
.bonus__icon svg { width: 100%; height: 100%; }
.bonus--repeat { padding-top: 20px; }
.bonus--repeat .bonus__card { justify-content: center; text-align: center; }

/* ---------- ПРОГРАММА ---------- */
.program {
  background:
    radial-gradient(900px 600px at 100% 0%, rgba(34, 211, 238, 0.06), transparent 55%),
    transparent;
}
.program__lead {
  font-size: 21px;
  color: var(--dim);
  max-width: 820px;
  margin-bottom: 44px;
}
.program__lead strong { color: var(--wh); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px -16px rgba(34, 211, 238, 0.4);
}
.case-card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 44px;
  font-weight: 700;
  color: var(--cy);
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.5);
}
.case-card h3 {
  margin-top: 10px;
  font-size: 27px;
  font-weight: 800;
}
.case-card p {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--dim);
}
.case-card strong { color: var(--mg); font-weight: 800; }

.chain {
  margin-top: 44px;
  padding: 32px 34px;
  border: 1px solid rgba(255, 46, 109, 0.35);
  background: rgba(255, 46, 109, 0.04);
}
.chain__text { font-size: 19px; color: var(--dim); max-width: 900px; }
.chain__text strong { color: var(--wh); }
.chain__nodes {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
}
.chain__node {
  padding: 9px 18px;
  border: 1px solid var(--line);
  background: rgba(4, 9, 18, 0.9);
  font-weight: 700;
}
.chain__node--out { border-color: rgba(255, 46, 109, 0.5); color: #ff8fb0; }
.chain__arrow { color: rgba(34, 211, 238, 0.6); }

/* ---------- СПИКЕР ---------- */
.speaker {
  background:
    radial-gradient(800px 560px at 0% 100%, rgba(59, 130, 246, 0.08), transparent 60%),
    transparent;
}
.speaker__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}
.speaker__photo-wrap {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 0 44px -12px rgba(34, 211, 238, 0.35);
}
.speaker__photo { display: block; width: 100%; height: auto; }
.speaker__info h3 { font-size: 36px; font-weight: 800; }
.speaker__role {
  margin-top: 12px;
  font-size: 20px;
  color: var(--cy2);
  line-height: 1.45;
}
.speaker__facts {
  margin-top: 28px;
  list-style: none;
  display: grid;
  gap: 16px;
  font-size: 18px;
  color: var(--dim);
}
.speaker__facts li { padding-left: 30px; position: relative; line-height: 1.5; }
.speaker__facts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px; height: 10px;
  background: var(--cy);
  box-shadow: 0 0 10px var(--cy);
}
.speaker__facts strong { color: var(--wh); }

/* ---------- АУДИТОРИЯ ---------- */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.audience__card {
  padding: 26px 26px;
  border: 1px solid rgba(242, 246, 255, 0.14);
  background: var(--panel);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--dim);
}
.audience__card strong { color: var(--wh); display: block; margin-bottom: 6px; }
.audience__card--wide { grid-column: span 3; border-color: var(--line); }
.audience__card {
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.audience__card:hover {
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 14px 40px -18px rgba(34, 211, 238, 0.45);
}
.audience__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: rgba(34, 211, 238, 0.06);
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, 0.30));
}
.audience__icon::after {
  content: '';
  position: absolute;
  top: -5px; right: -5px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.audience__icon svg { width: 44px; height: 44px; }

/* ---------- КТО МЫ (сетки и иерархия 1:1 с leto-na-vibe, палитра/шрифты наши) ---------- */
.about { padding-top: 20px; }
.about__head { margin-bottom: 40px; }
.about__h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 1020px;
  margin-bottom: 0;
}

mark {
  background: rgba(34, 211, 238, 0.16);
  color: var(--cy2);
  padding: 0 4px;
}

.about-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-bento--mt { margin-top: 20px; }

.ab-card {
  background: var(--panel);
  border: 1px solid rgba(242, 246, 255, 0.14);

  padding: 20px;
}
.ab-card h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}
.ab-card--accent {
  background: rgba(34, 211, 238, 0.07);
  border-color: var(--line);
}
.ab-card__img { width: 100%; height: auto; display: block; }

.ab-stack { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: var(--panel);
  border: 1px solid rgba(242, 246, 255, 0.14);

  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex: 1;
}
.stat-card .em { font-size: 38px; line-height: 1; }
.stat-card h4 { font-size: 18px; font-weight: 800; line-height: 1.4; }

.logo-tiles { display: grid; grid-template-columns: repeat(2, 255px); gap: 20px; }
.logo-tiles .tile {
  width: 255px; height: 193px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #f2f6ff;
}
.logo-tiles .tile img { width: 100%; height: 100%; object-fit: cover; }

.sk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.sk-head h4 { margin: 0; }
.sk-head img { height: 44px; }
.sk-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sk-docs img {
  background: #fff; width: 100%;
  cursor: zoom-in; transition: transform 0.2s;
}
.sk-docs img:hover { transform: scale(1.02); }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 12, 0.88);
  display: none; align-items: center; justify-content: center;
  padding: 32px; cursor: zoom-out;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: min(920px, 100%); max-height: 100%; background: #fff; }

.about-h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 84px 0 28px;
}

.research-card {
  background: var(--panel);
  border: 1px solid var(--line);

  padding: 26px;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 28px;
  align-items: start;
}
.research-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.research-card h4 { font-weight: 700; font-size: 18px; line-height: 1.35; margin-bottom: 14px; color: var(--cy2); }
.research-card p { font-size: 14.5px; line-height: 1.65; color: var(--dim); }

.biz-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 19px; }
.biz-grid .tile { height: 80px; overflow: hidden; background: #f2f6ff; border: 1px solid var(--line); box-shadow: 0 0 18px -10px rgba(34, 211, 238, 0.45); }
.biz-grid .tile img { width: 100%; height: 100%; object-fit: cover; }

.gov-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.gov-left { display: flex; flex-direction: column; gap: 20px; }
.gov-card { padding: 26px; flex: 1; }
.gov-card--accent {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid var(--line);
}
.gov-card .bang {
  width: 40px; height: 40px;
  background: rgba(34, 211, 238, 0.18);
  color: var(--cy2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
}
.gov-card h4 { font-weight: 800; font-size: 18px; line-height: 1.35; margin-bottom: 12px; }
.gov-card ul { list-style: none; margin-top: 10px; }
.gov-card ul li { padding-left: 18px; position: relative; font-size: 14.5px; line-height: 1.6; color: var(--dim); }
.gov-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--mg); }
.gov-card--panel { background: var(--panel); border: 1px solid rgba(242, 246, 255, 0.14); }
.gov-card .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 10px; }
.gov-card p { font-size: 15px; line-height: 1.55; color: var(--dim); }

.carousel { position: relative; overflow: hidden; min-height: 320px; border: 1px solid rgba(242, 246, 255, 0.14); }
.carousel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }
.carousel img.on { opacity: 1; }
.car-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border: none; cursor: pointer;
  background: rgba(34, 211, 238, 0.92); color: #04121f;
  font-size: 18px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.car-btn:hover { background: var(--cy2); }
.carousel .prev { left: 14px; }
.carousel .next { right: 14px; }

.pub-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 19px; }
.pub-grid .tile { height: 110px; overflow: hidden; background: #f2f6ff; border: 1px solid var(--line); box-shadow: 0 0 18px -10px rgba(34, 211, 238, 0.45); }
.pub-grid .tile img { width: 100%; height: 100%; object-fit: cover; }

.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.awards-grid img { width: 100%; aspect-ratio: 275 / 150; object-fit: cover; background: #fff; border: 1px solid var(--line); box-shadow: 0 0 18px -10px rgba(34, 211, 238, 0.45); }

.rates-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
/* белые карточки: логотипы рейтинговых площадок на родном фоне */
.rate-card {
  background: #f2f6ff;
  border: 1px solid var(--line);
  box-shadow: 0 0 18px -10px rgba(34, 211, 238, 0.45);
  padding: 20px;
  display: grid;
  gap: 8px;
  justify-items: start;
}
.rate-card img { height: 34px; object-fit: contain; }
.rate-card b {
  font-family: 'JetBrains Mono', monospace;
  font-size: 21px;
  color: #04121f;
}
.rate-card span { font-size: 14px; color: rgba(4, 18, 31, 0.6); }
/* HUD-уголки в стилистике первого экрана */
.ab-card, .research-card, .gov-card--accent, .carousel { position: relative; }
.ab-card::before, .research-card::before, .gov-card--accent::before, .carousel::before {
  content: '';
  position: absolute;
  top: -6px; left: -6px;
  width: 20px; height: 20px;
  border-top: 2px solid var(--mg);
  border-left: 2px solid var(--mg);
  pointer-events: none;
}
.ab-card::after, .research-card::after, .gov-card--accent::after, .carousel::after {
  content: '';
  position: absolute;
  bottom: -6px; right: -6px;
  width: 20px; height: 20px;
  border-bottom: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
  pointer-events: none;
}

/* ---------- ТАРИФЫ ---------- */
.tariffs {
  background:
    radial-gradient(900px 620px at 50% 100%, rgba(34, 211, 238, 0.08), transparent 60%),
    transparent;
}
.tariffs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.tariff {
  display: flex;
  flex-direction: column;
  padding: 38px 34px;
  border: 1px solid rgba(242, 246, 255, 0.18);
  background: var(--panel);
}
.tariff--biz {
  border-color: var(--cy);
  box-shadow: 0 0 54px -14px rgba(34, 211, 238, 0.5);
}
.tariff__name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tariff--biz .tariff__name { color: var(--cy2); }
.tariff__inherit { margin-top: 18px; font-size: 17px; color: var(--dim); }
.tariff__list {
  margin-top: 18px;
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 18px;
  flex: 1;
  align-content: start;
}
.tariff__list li { padding-left: 26px; position: relative; line-height: 1.45; }
.tariff__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--cy);
  font-weight: 700;
}
.tariff__old { color: rgba(242, 246, 255, 0.45); font-size: 15px; }
.tariff__btn { margin-top: 30px; }

/* ---------- попапы регистрации GC ---------- */
.reg-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 8, 16, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  /* hidden via visibility (not display): the GC iframe must load with a real width */
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, visibility 0.25s;
}
.reg-modal.on {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.reg-modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: min(92vh, 92svh);
  background: #fff;
  border-radius: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
/* GC loader sets the body height itself from the iframe postMessage */
.reg-modal__body { width: 100%; }
.reg-modal__body iframe { display: block; width: 100%; }
.reg-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(10, 16, 28, 0.08);
  color: #0a101c;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.reg-modal__close:hover { background: rgba(10, 16, 28, 0.18); }

/* ---------- ФИНАЛ (зеркало первого экрана, заголовок H2) ---------- */
.final {
  padding: 84px 0 100px;
  background:
    radial-gradient(1100px 700px at 88% 10%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(800px 560px at 0% 0%, rgba(59, 130, 246, 0.13), transparent 60%),
    var(--bg);
}
.final__h1 {
  font-size: 62px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}
.final .equation { margin-top: 28px; }
.final .hero__copy .btn { margin-top: 36px; }

/* ---------- ГЛОССАРИЙ (аккордеон: открыт один пункт за раз) ---------- */
.glossary { padding-top: 30px; padding-bottom: 100px; }
.glossary h2 { font-size: 34px; }
.glossary__list {
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.acc {
  border: 1px solid rgba(242, 246, 255, 0.14);
  background: rgba(10, 18, 34, 0.6);
  transition: border-color 0.2s;
}
.acc[open] { border-color: var(--line); box-shadow: 0 0 28px -12px rgba(34, 211, 238, 0.4); }
.acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 26px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 19px;
  color: var(--cy2);
  user-select: none;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { text-shadow: 0 0 16px rgba(34, 211, 238, 0.5); }
.acc__icon {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.acc__icon { transition: transform 0.25s; }
.acc__icon::before, .acc__icon::after {
  content: '';
  position: absolute;
  background: var(--cy);
}
.acc__icon::before { left: 0; top: 8px; width: 18px; height: 2.5px; }
.acc__icon::after { left: 8px; top: 0; width: 2.5px; height: 18px; }
.acc[open] .acc__icon { transform: rotate(45deg); }
.acc__body {
  padding: 0 26px 22px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--dim);
  max-width: 760px;
}

/* ============================================================
   FOOTER — блок zerocoder-footer из библиотеки shared/blocks
   ============================================================ */
.footer {
  --zc-space-3: 12px; --zc-space-4: 16px; --zc-space-5: 24px;
  --zc-space-6: 32px; --zc-space-7: 48px; --zc-space-8: 64px; --zc-space-9: 96px;
  --zc-accent: #97e017;
  --zc-easing: cubic-bezier(0.22, 1, 0.36, 1);
  background: #1a2438;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--zc-space-9) 0 var(--zc-space-6);
  font-size: 15px;
  font-family: 'Manrope', Arial, sans-serif;
}
.footer__container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--zc-space-8);
  padding-bottom: var(--zc-space-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__brand { display: flex; flex-direction: column; gap: var(--zc-space-5); }
.footer__logo { display: inline-flex; align-items: center; text-decoration: none; }
.footer__logo-img { display: block; height: 36px; width: auto; max-width: 220px; }
.footer__address { display: block; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, 0.55); }
.footer__badges {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 14px; background: rgba(255, 255, 255, 0.05);
  border-radius: 14px; width: fit-content;
}
.footer__badge-img { display: block; height: 44px; width: auto; }
.footer__badge-img--rk { height: 48px; }
.footer__badge-img--sk { height: 36px; }
.footer__col { font-size: 15px; }
.footer__col h4 {
  font-size: 13px; color: rgba(255, 255, 255, 0.45);
  margin: 0 0 var(--zc-space-4); font-weight: 500;
  letter-spacing: 0; text-transform: none;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--zc-space-3); }
.footer__col a { color: #fff; text-decoration: none; transition: color 0.2s var(--zc-easing); }
.footer__col a:hover { color: var(--zc-accent); }
.footer__col--contacts { display: flex; flex-direction: column; gap: var(--zc-space-5); }
.footer__contact-block h4 { margin-bottom: 4px; }
.footer__contact-value {
  display: inline-block; font-size: 24px; font-weight: 700; color: #fff;
  letter-spacing: -0.01em; text-decoration: none; transition: color 0.2s;
}
.footer__contact-value:hover { color: var(--zc-accent); }
.footer__socials { display: flex; gap: 12px; margin-top: 6px; }
.footer__social {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 0.2s var(--zc-easing), box-shadow 0.2s;
}
.footer__social--tg { background: #2aabee; }
.footer__social--wa { background: #25d366; }
.footer__social--yt { background: #ff0000; }
.footer__social--max { overflow: hidden; }
.footer__social-img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.footer__social:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); }
.footer__social svg { width: 22px; height: 22px; }
.footer__bottom {
  padding-top: var(--zc-space-6);
  display: flex; justify-content: space-between;
  gap: var(--zc-space-5); flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.45);
}
.footer__copy { letter-spacing: 0.01em; }
.footer__legal { display: flex; gap: var(--zc-space-7); flex-wrap: wrap; }

/* ============================================================
   АДАПТИВ — Tilda-брейкпоинты 1200 / 959 / 639
   ============================================================ */

/* Horizontal tablet ≤1199 */
@media (max-width: 1199px) {
  h1 { font-size: 52px; }
  h2 { font-size: 40px; }
  .final__h1 { font-size: 52px; }
  .hero__grid { grid-template-columns: 1.4fr 1fr; gap: 40px; }
}

/* Vertical tablet ≤959 */
@media (max-width: 959px) {
  .section { padding: 64px 0; }
  h1 { font-size: 46px; }
  .final__h1 { font-size: 46px; }
  h2 { font-size: 34px; }
  .final__h1 { font-size: 52px; }

  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__speaker { max-width: 420px; margin: 0 auto; }

  .case-grid { grid-template-columns: 1fr; }
  .speaker__grid { grid-template-columns: 1fr; gap: 36px; }
  .speaker__photo-wrap { max-width: 380px; }

  .audience__grid { grid-template-columns: 1fr 1fr; }
  .audience__card--wide { grid-column: span 2; }

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

  .about__h2 { font-size: 34px; }
  .about-h2 { font-size: 32px; margin: 64px 0 22px; }
  .about-bento { grid-template-columns: 1fr; }
  .research-card { grid-template-columns: 1fr; }
  .gov-grid { grid-template-columns: 1fr; }
  .carousel { min-height: 300px; height: 300px; }
  .biz-grid { grid-template-columns: repeat(4, 1fr); }
  .pub-grid { grid-template-columns: repeat(3, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .rates-grid { grid-template-columns: repeat(2, 1fr); }

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

  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--zc-space-6); }
}

/* Mobile ≤639 */
@media (max-width: 639px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  h1 { font-size: 34px; }
  .final__h1 { font-size: 34px; }
  h2 { font-size: 28px; }

  .hero { padding: 40px 0 64px; }
  .hero__top { justify-content: center; }
  .stamp { font-size: 18px; }
  .hero__grid { margin-top: 40px; }
  .hero__lead { font-size: 18px; }
  .hero__list { font-size: 17px; }

  .equation { font-size: 19px; padding: 11px 16px; gap: 8px; white-space: normal; }
  .equation .num { font-size: 23px; }

  .btn { display: block; width: 100%; padding: 17px 20px; white-space: normal; }
  .btn--xl { padding: 19px 20px; }

  .bonus__grid { grid-template-columns: 1fr; }
  .bonus__lead { font-size: 20px; }
  .bonus__card { font-size: 18px; padding: 22px; }

  .program__lead { font-size: 18px; }
  .chain { padding: 24px 20px; }
  .chain__nodes { font-size: 14px; gap: 8px; }
  .chain__node { padding: 7px 12px; }

  .speaker__info h3 { font-size: 28px; }
  .speaker__role { font-size: 18px; }
  .speaker__facts { font-size: 16px; }

  .audience__grid { grid-template-columns: 1fr; }
  .audience__card--wide { grid-column: span 1; }

  .about__h2 { font-size: 27px; }
  .about-h2 { font-size: 26px; margin: 52px 0 18px; }
  .logo-tiles { grid-template-columns: 1fr 1fr; }
  .logo-tiles .tile { width: auto; height: auto; aspect-ratio: 255 / 193; }
  .sk-head { flex-direction: column; }
  .sk-head img { height: 38px; align-self: flex-start; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .biz-grid .tile { height: 74px; }
  .gov-card { padding: 20px; }
  .gov-card .cols { grid-template-columns: 1fr; }
  .carousel { min-height: 240px; height: 240px; }
  .pub-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pub-grid .tile { height: 84px; }
  .awards-grid { gap: 10px; }
  .rates-grid { grid-template-columns: 1fr; gap: 10px; }
  .acc summary { font-size: 17px; padding: 16px 18px; }
  .acc__body { padding: 0 18px 18px; font-size: 16px; }
  .tariffs__grid { grid-template-columns: 1fr; }
  .tariff { padding: 30px 24px; }

  .corner { display: none; }

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


/* ============================================================
   КИБЕРПАНК-ДЕКОР — общий проход по странице (2026-07-09)
   ============================================================ */



/* кейс-карточки: циановые тики + крупный фоновый номер */
.case-card::after {
  content: '';
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  border-top: 2px solid var(--cy);
  border-right: 2px solid var(--cy);
  pointer-events: none;
}
.case-card__num {
  position: relative;
}
.case-card__num::after {
  content: '';
  position: absolute;
  left: 40px; top: 50%;
  width: 90px; height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.5), transparent);
}

/* тариф «Бизнес»: маджента-уголки как у hero-фото */
.tariff { position: relative; }
.tariff--biz::before {
  content: '';
  position: absolute;
  top: -7px; left: -7px;
  width: 22px; height: 22px;
  border-top: 2px solid var(--mg);
  border-left: 2px solid var(--mg);
}
.tariff--biz::after {
  content: '';
  position: absolute;
  bottom: -7px; right: -7px;
  width: 22px; height: 22px;
  border-bottom: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}


/* фоновая сетка в hero — как на баннерах кампании */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* глоссарий — одна карточка на всю ширину */
.glossary__list { max-width: none; }
.acc--glossary summary { font-size: 24px; padding: 26px 30px; }
.acc--glossary .acc__icon { width: 22px; height: 22px; }
.acc--glossary .acc__icon::before { top: 10px; width: 22px; height: 3px; }
.acc--glossary .acc__icon::after { left: 9.5px; width: 3px; height: 22px; }
.glossary__terms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
  padding-top: 6px;
}
.glossary__term {
  padding: 16px 0;
  border-top: 1px solid rgba(242, 246, 255, 0.10);
}
.glossary__term dt {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 18px;
  color: var(--cy2);
  margin-bottom: 6px;
}
.glossary__term dd { font-size: 16px; line-height: 1.55; color: var(--dim); }
.acc--glossary .acc__body { max-width: none; }

@media (max-width: 959px) {
  .bonus__panel { grid-template-columns: 1fr; gap: 24px; padding: 30px; justify-items: center; }
  .bonus__content { width: 100%; }
  .glossary__terms { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  .bonus__panel { padding: 24px 18px; }
  .acc--glossary summary { font-size: 19px; padding: 18px 18px; }
  .case-card__num::after { width: 60px; }
}

/* ============================================================
   PREMIUM DEPTH PASS (2026-07-10, только src-v2) —
   глубина, свет, моушен в родной палитре страницы.
   Палитру, шрифты, структуру и брейкпоинты не меняем.
   ============================================================ */

/* --- воздух на десктопе (планшет/мобилка не тронуты) --- */
@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .bonus { padding: 72px 0; }
  .bonus--repeat { padding-top: 20px; }
}

/* --- слой глубины у карточек: верхний блик + внутренняя кромка + тень-подложка --- */
.case-card, .audience__card, .bonus__card, .ab-card, .stat-card,
.gov-card--panel, .gov-card--accent, .research-card, .acc, .tariff, .chain {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 38%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 22px 46px -28px rgba(1, 6, 16, 0.9);
}
/* элементам с собственным свечением возвращаем его поверх кромки */
.tariff--biz {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 54px -14px rgba(34, 211, 238, 0.5);
}
.acc[open] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 28px -12px rgba(34, 211, 238, 0.4);
}
.bonus__panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 38%),
    radial-gradient(500px 300px at 0% 50%, rgba(255, 46, 109, 0.06), transparent 60%),
    var(--panel);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 44px -14px rgba(34, 211, 238, 0.35);
}
/* бонус-повтор — зеркальный маджента-свет, чтобы не читался копией */
.bonus--repeat .bonus__panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0) 38%),
    radial-gradient(500px 300px at 100% 50%, rgba(255, 46, 109, 0.08), transparent 60%),
    var(--panel);
}
.hero__photo-frame, .speaker__photo-wrap {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 44px -12px rgba(34, 211, 238, 0.4),
    0 30px 64px -32px rgba(1, 6, 16, 0.95);
}

/* --- spotlight-ховер: бордер загорается, блик усиливается --- */
.case-card:hover, .audience__card:hover {
  border-color: rgba(34, 211, 238, 0.6);
  background-image: linear-gradient(180deg, rgba(127, 243, 255, 0.07), rgba(255, 255, 255, 0) 42%);
}
.bonus__card { transition: border-color 0.3s, background 0.3s; }
.bonus__card:hover { border-color: rgba(34, 211, 238, 0.55); }

/* --- атмосфера секций: цветной свет там, где его не было --- */
.hero, .final {
  background:
    radial-gradient(1100px 700px at 88% 10%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(800px 560px at 0% 0%, rgba(59, 130, 246, 0.13), transparent 60%),
    radial-gradient(700px 500px at 8% 96%, rgba(255, 46, 109, 0.05), transparent 60%),
    var(--bg);
}
.audience {
  background: radial-gradient(900px 560px at 0% 0%, rgba(255, 46, 109, 0.06), transparent 55%);
}
.about {
  background:
    radial-gradient(1000px 700px at 100% 10%, rgba(255, 46, 109, 0.045), transparent 60%),
    radial-gradient(900px 640px at 0% 55%, rgba(34, 211, 238, 0.05), transparent 60%);
}

/* --- белые плитки: собираем в единый модуль вместо шахматной доски --- */
.biz-grid, .pub-grid {
  padding: 14px;
  gap: 14px;
  background: rgba(242, 246, 255, 0.05);
  border: 1px solid rgba(242, 246, 255, 0.10);
}
.biz-grid .tile, .pub-grid .tile {
  box-shadow: none;
  border: 1px solid rgba(242, 246, 255, 0.10);
}
@media (max-width: 639px) {
  .biz-grid, .pub-grid { padding: 10px; gap: 10px; }
}

/* --- кнопки: физика нажатия + фокус для клавиатуры --- */
.btn {
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.3s;
}
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 2px solid var(--cy2); outline-offset: 3px; }

/* --- живой глитч на акцентных словах (редкий, короткий) --- */
@media (prefers-reduced-motion: no-preference) {
  .glitch { animation: glitch-shift 7s infinite; }
}
@keyframes glitch-shift {
  0%, 91%, 100% { text-shadow: -3px 0 rgba(255, 46, 109, 0.5), 3px 0 rgba(34, 211, 238, 0.55); }
  92.5% { text-shadow: 4px 0 rgba(255, 46, 109, 0.6), -4px 0 rgba(34, 211, 238, 0.6); }
  94% { text-shadow: -6px 0 rgba(255, 46, 109, 0.55), 6px 0 rgba(34, 211, 238, 0.6); }
  95.5% { text-shadow: -3px 0 rgba(255, 46, 109, 0.5), 3px 0 rgba(34, 211, 238, 0.55); }
}

/* --- тикер агент-лога в hero --- */
.ticker {
  margin-top: 26px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: rgba(127, 243, 255, 0.78);
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 1.6em;
}
.ticker__prompt { color: var(--mg); font-weight: 700; flex-shrink: 0; }
.ticker__caret {
  display: inline-block;
  width: 9px;
  height: 1.05em;
  background: var(--cy);
  align-self: center;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ticker__caret { animation: none; } }
@media (max-width: 639px) {
  .ticker { font-size: 13px; min-height: 2.8em; flex-wrap: wrap; }
}

/* --- цепочка «одно тянет другое»: узлы загораются по скроллу --- */
.chain__node {
  transition: border-color 0.4s, color 0.4s, background 0.4s, box-shadow 0.4s;
}
.chain__node.lit {
  border-color: var(--cy);
  background: rgba(34, 211, 238, 0.12);
  box-shadow: 0 0 24px -8px rgba(34, 211, 238, 0.8);
  color: #fff;
}
.chain__node--out.lit {
  border-color: var(--mg);
  background: rgba(255, 46, 109, 0.12);
  box-shadow: 0 0 24px -8px rgba(255, 46, 109, 0.8);
  color: #ffb3c8;
}
.chain__arrow { transition: color 0.3s, text-shadow 0.3s; }
.chain__arrow.lit { color: var(--cy); text-shadow: 0 0 12px rgba(34, 211, 238, 0.8); }

/* --- появление блоков при скролле (только с JS и без reduced-motion) --- */
@media (prefers-reduced-motion: no-preference) {
  html.js .rv {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--rvd, 0s);
  }
  html.js .rv.in { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   PREMIUM DEPTH PASS — ВОЛНА 2 (2026-07-10, только src-v2):
   терминальные кейс-карточки, бенто аудитории, живой подарок,
   кино-тинт на фото, канвас-сцена в hero.
   ============================================================ */

/* --- кейс-карточки как окна терминала агента --- */
.case-card--term { padding-top: 22px; }
.case-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242, 246, 255, 0.10);
}
.tdot { width: 9px; height: 9px; border-radius: 50%; background: rgba(242, 246, 255, 0.18); flex-shrink: 0; }
.tdot--mg { background: var(--mg); box-shadow: 0 0 8px rgba(255, 46, 109, 0.7); }
.tdot--cy { background: var(--cy); box-shadow: 0 0 8px rgba(34, 211, 238, 0.7); }
.case-card__addr {
  margin-left: auto;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(127, 243, 255, 0.65);
  white-space: nowrap;
}

/* --- аудитория: асимметричное бенто на десктопе --- */
@media (min-width: 960px) {
  .audience__grid { grid-template-columns: repeat(6, 1fr); }
  .audience__card { grid-column: span 2; }
  .audience__card--lead, .audience__card--wide { grid-column: span 4; }
}
.audience__card--lead {
  border-color: var(--line);
  background-image: linear-gradient(135deg, rgba(34, 211, 238, 0.09), rgba(255, 255, 255, 0) 55%);
}
@media (min-width: 640px) {
  .audience__card--lead, .audience__card--wide { padding: 30px; }
  .audience__card--lead .audience__icon { width: 84px; height: 84px; }
  .audience__card--lead .audience__icon svg { width: 54px; height: 54px; }
}

/* --- кино-тинт на фото спикера (циан сверху, маджента снизу) --- */
.speaker__photo-wrap { position: relative; }
.photo-tint {
  position: absolute;
  inset: 14px;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(155deg,
    rgba(34, 211, 238, 0.36),
    rgba(34, 211, 238, 0.10) 34%,
    transparent 48%,
    transparent 56%,
    rgba(255, 46, 109, 0.13) 70%,
    rgba(255, 46, 109, 0.32));
}

/* --- тариф «Бизнес»: циановая заливка сверху, дороже соседа --- */
.tariff--biz {
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.10), rgba(34, 211, 238, 0) 46%),
    var(--panel);
}

/* --- канвас-сцена сети агентов в hero --- */
.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ============================================================
   PREMIUM DEPTH PASS — ВОЛНА 3 (2026-07-10, только src-v2):
   бонусы без подарка, световые швы между секциями, плывущие
   блюры, стат-карты спикера, ровная аудитория, svg-статы,
   тёмный модуль премий/рейтингов.
   ============================================================ */

/* --- плывущие блюры на фоне всей страницы --- */
.bg-blobs {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.65;
}
.blob--cy { background: radial-gradient(circle, rgba(34, 211, 238, 0.20), transparent 70%); top: -12%; left: -8%; }
.blob--mg { background: radial-gradient(circle, rgba(255, 46, 109, 0.15), transparent 70%); top: 38%; right: -14%; }
.blob--bl { background: radial-gradient(circle, rgba(59, 130, 246, 0.20), transparent 70%); bottom: -16%; left: 28%; }
/* фоновая сетка на всю страницу (hero перекрывает своей) */
.bg-blobs::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 90px 90px;
}
@media (prefers-reduced-motion: no-preference) {
  .blob--cy { animation: blob-a 46s ease-in-out infinite alternate; }
  .blob--mg { animation: blob-b 58s ease-in-out infinite alternate; }
  .blob--bl { animation: blob-c 52s ease-in-out infinite alternate; }
}
@keyframes blob-a { to { transform: translate(30vw, 20vh) scale(1.15); } }
@keyframes blob-b { to { transform: translate(-26vw, -14vh) scale(0.92); } }
@keyframes blob-c { to { transform: translate(16vw, -18vh) scale(1.12); } }
@media (max-width: 639px) {
  .blob { width: 420px; height: 420px; filter: blur(70px); opacity: 0.4; }
}

/* --- световые швы: луч связывает соседние секции --- */
.program::before, .speaker::before, .audience::before,
.about::before, .tariffs::before, .glossary::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -56px;
  width: 1px;
  height: 112px;
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.55), transparent);
  pointer-events: none;
}
@media (max-width: 639px) {
  .program::before, .speaker::before, .audience::before,
  .about::before, .tariffs::before, .glossary::before {
    top: -36px;
    height: 72px;
  }
}

/* --- бонусы: иконка подарка у лида, кикер в правом верхнем углу --- */
.bonus__panel { display: block; }
.bonus__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
}
.bonus__gift-icon {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  background: rgba(34, 211, 238, 0.06);
}
.bonus__gift-icon::after {
  content: '';
  position: absolute;
  top: -5px; right: -5px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.bonus__gift-icon svg { width: 48px; height: 48px; }
.bonus__kicker {
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(127, 243, 255, 0.6);
  white-space: nowrap;
}
.bonus__lead { margin-bottom: 0; text-align: left; }
.bonus__card {
  position: relative;
  display: block;
  padding: 28px 30px 26px;
}
.bonus__card p {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(242, 246, 255, 0.85);
}
.bonus__num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(127, 243, 255, 0.4);
}
.bonus__icon { width: 56px; height: 56px; margin-bottom: 16px; }
.bonus--repeat .bonus__card { text-align: left; }

/* --- спикер: стат-карты с крупными mono-цифрами + скан-луч по фото --- */
.speaker__stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sstat {
  position: relative;
  padding: 22px 24px;
  border: 1px solid rgba(242, 246, 255, 0.14);
  background: var(--panel);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: border-color 0.3s;
}
.sstat:hover { border-color: var(--line); }
.sstat::after {
  content: '';
  position: absolute;
  top: -5px; right: -5px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
  pointer-events: none;
}
.sstat b {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cy);
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.4);
  margin-bottom: 8px;
}
.sstat span { font-size: 15.5px; line-height: 1.5; color: var(--dim); }
.speaker__photo-wrap { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .speaker__photo-wrap::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; top: 0;
    height: 80px;
    background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.16), transparent);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: photo-scan 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  }
}
@keyframes photo-scan {
  0% { transform: translateY(-80px); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(680%); opacity: 0; }
}

/* --- аудитория: иконка сверху, текст снизу, всё по верху, mono-индексы --- */
.audience__grid { counter-reset: aud; }
.audience__card {
  position: relative;
  counter-increment: aud;
}
.audience__card::before {
  content: '0' counter(aud);
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(127, 243, 255, 0.35);
  pointer-events: none;
}
.audience__card:hover .audience__icon { border-color: rgba(255, 46, 109, 0.5); }

/* --- svg-иконки стат-карточек «Кто мы» --- */
.stat-icon {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  background: rgba(34, 211, 238, 0.06);
}
.stat-icon::after {
  content: '';
  position: absolute;
  top: -5px; right: -5px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.stat-icon svg { width: 42px; height: 42px; }

/* --- премии и рейтинги: тёмный модуль вместо белой мозаики --- */
.awards-grid {
  padding: 14px;
  gap: 12px;
  background: rgba(242, 246, 255, 0.05);
  border: 1px solid rgba(242, 246, 255, 0.10);
  margin-bottom: 14px;
}
.awards-grid img {
  box-shadow: none;
  border: 1px solid rgba(242, 246, 255, 0.10);
}
.rate-card {
  background: var(--panel);
  border: 1px solid rgba(242, 246, 255, 0.14);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 38%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.rate-card img {
  background: #f2f6ff;
  padding: 8px 10px;
  height: 46px;
  box-sizing: border-box;
}
.rate-card b {
  color: var(--cy2);
  font-size: 24px;
  text-shadow: 0 0 16px rgba(34, 211, 238, 0.35);
}
.rate-card span { color: var(--dim); }

/* --- полиш по отчёту QA --- */
/* 1024: подтягиваем hero, чтобы CTA попадал в первый экран */
@media (min-width: 960px) and (max-width: 1199px) {
  .hero { padding-top: 44px; }
  .hero__grid { margin-top: 40px; }
  .hero__lead { margin-top: 22px; font-size: 20px; }
  .hero__list { margin-top: 16px; }
  .hero__copy .btn { margin-top: 28px; }
}
/* 390: «ИИ-агентов» не рвём по дефису */
.nw { white-space: nowrap; }

/* ============================================================
   ВОЛНА 4 (правки Лиды 2026-07-10): текст бонусов справа от
   иконки, живой фон после hero.
   ============================================================ */

/* бонус-карты: иконка слева, текст справа */
.bonus__card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 62px;
}
.bonus__icon { margin-bottom: 0; flex-shrink: 0; }

/* свечения секций: НЕ фоном секции (фон режется по её границе),
   а absolute-слоями, которые перекрывают стыки и не обрезаются.
   ::before секций занят швом, ::after — свечение. */
.program, .speaker, .audience, .about, .tariffs, .bonus { background: none; }

.program::after, .speaker::after, .audience::after,
.about::after, .tariffs::after, .final::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
/* бонусы(1) → программа */
.program::after {
  top: -300px; right: -160px;
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.11), transparent);
}
/* программа → спикер */
.speaker::after {
  top: -320px; left: -200px;
  width: 1000px; height: 740px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.14), transparent);
}
/* спикер → аудитория */
.audience::after {
  top: -300px; left: 52%;
  width: 1000px; height: 720px;
  background: radial-gradient(closest-side, rgba(255, 46, 109, 0.09), transparent);
}
/* бонусы(2) → «кто мы» */
.about::after {
  top: -320px; right: -180px;
  width: 1100px; height: 780px;
  background: radial-gradient(closest-side, rgba(255, 46, 109, 0.08), transparent);
}
/* премии → тарифы */
.tariffs::after {
  top: -320px; left: 4%;
  width: 1100px; height: 760px;
  background: radial-gradient(closest-side, rgba(34, 211, 238, 0.11), transparent);
}
/* тарифы → финал */
.final::before {
  top: -320px; right: 12%;
  width: 1000px; height: 740px;
  background: radial-gradient(closest-side, rgba(59, 130, 246, 0.13), transparent);
}
@media (max-width: 639px) {
  .program::after, .speaker::after, .audience::after,
  .about::after, .tariffs::after, .final::before {
    width: 640px; height: 480px;
    top: -200px;
  }
}
@media (max-width: 639px) {
  .bonus__card { padding-right: 30px; gap: 16px; }
  .bonus__icon { width: 46px; height: 46px; }
  .bonus__head { gap: 16px; }
  .bonus__gift-icon { width: 56px; height: 56px; }
  .bonus__gift-icon svg { width: 40px; height: 40px; }
  .bonus__kicker { position: static; display: block; margin-bottom: 14px; }
}

/* --- виндовый десктоп: невысокие окна (1920@125% ≈ 1536×750 и 1366×~660) —
       ужимаем вертикальный ритм hero, чтобы CTA был на первом экране --- */
@media (min-width: 960px) and (max-height: 820px) {
  .hero { padding-top: 34px; }
  .hero__grid { margin-top: 34px; gap: 48px; }
  h1 { font-size: 54px; }
  .hero__copy .equation { margin-top: 20px; }
  .equation { font-size: 22px; padding: 11px 18px; }
  .equation .num { font-size: 26px; }
  .hero__lead { margin-top: 20px; font-size: 19px; }
  .hero__list { margin-top: 14px; gap: 10px; font-size: 18px; }
  .hero__copy .btn { margin-top: 26px; padding: 16px 36px; }
  .hero__photo-frame { max-width: 400px; margin: 0 auto; }
}
/* совсем низкие окна (1366×768 c панелями браузера ≈ 660) */
@media (min-width: 960px) and (max-height: 700px) {
  .hero { padding-top: 24px; }
  .hero__top .tag { font-size: 14px; padding: 8px 16px; }
  .stamp { font-size: 18px; }
  .hero__grid { margin-top: 24px; }
  h1 { font-size: 48px; }
  .hero__lead { margin-top: 16px; font-size: 18px; }
  .hero__list { font-size: 17px; }
  .hero__copy .btn { margin-top: 22px; }
  .hero__photo-frame { max-width: 360px; }
}

/* ============================================================
   ВОЛНА 5 (2026-07-10): вёрстка по виндовому контейнеру —
   эталон: courses/neuroclub (контейнер 1560px) + бесшовный фон.
   ============================================================ */

/* контейнер как у нейроклуба: 1560px под виндовые 1920/1536 */
.container { max-width: 1560px; }
.footer__container { max-width: 1560px; }

/* бесшовный фон: hero и финал больше не перекрывают глобальные
   блюры/сетку непрозрачной подложкой — границы секций исчезают.
   Радиалы гаснут ДО края секции, чтобы не резаться в линию. */
.hero {
  background:
    radial-gradient(1100px 620px at 88% 0%, rgba(34, 211, 238, 0.10), transparent 52%),
    radial-gradient(800px 520px at 0% 0%, rgba(59, 130, 246, 0.13), transparent 55%);
}
/* финал: радиалы от верхней кромки давали линию на стыке — фон
   секции чистый, свет несут перекрывающие слои (.final::before) */
.final { background: none; }
/* своя сетка hero не нужна — работает глобальная из .bg-blobs */
.hero::after { content: none; }
/* сцена сети плавно гаснет к нижнему краю hero */
.hero__scene {
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}

/* широкий контейнер: держим пропорции внутренних блоков */
.hero__photo-frame { max-width: 480px; margin: 0 auto; }
.logo-tiles { grid-template-columns: repeat(2, 1fr); }
.logo-tiles .tile { width: auto; }
.glossary__terms { gap: 16px 56px; }

/* ============================================================
   ВОЛНА 6 (правки Лиды 2026-07-10, вечер)
   ============================================================ */

/* свечения на стыках вылезали за правый край страницы (+165px
   к scrollWidth) — глушим горизонтальный оверфлоу на корне */
html { overflow-x: hidden; overflow-x: clip; }
body { overflow-x: hidden; overflow-x: clip; }

/* иконки бонус-карт — в тайлах, как все иконки сайта */
.bonus__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  background: rgba(34, 211, 238, 0.06);
  flex-shrink: 0;
}
.bonus__icon::after {
  content: '';
  position: absolute;
  top: -5px; right: -5px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--mg);
  border-right: 2px solid var(--mg);
}
.bonus__icon svg { width: 42px; height: 42px; }

/* h3 в карточках «Кто мы» */
.ab-card h3, .research-card h3, .gov-card h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.research-card h3 { color: var(--cy2); margin-bottom: 14px; }
.sk-head h3 { margin: 0; }

/* карточки «Кто мы»: медиа прижаты к низу — без пустоты на широком контейнере */
.ab-card { display: flex; flex-direction: column; }
.ab-card__img, .logo-tiles, .sk-docs { margin-top: auto; }

/* спикер: колонка стат-карт растягивается до низа фото */
.speaker__grid { align-items: stretch; }
.speaker__photo-wrap { align-self: start; }
.speaker__info { display: flex; flex-direction: column; }
.speaker__stats { flex: 1; grid-auto-rows: 1fr; }

/* бонус-повтор: контент карточек по левому краю */
.bonus--repeat .bonus__card { justify-content: flex-start; }

/* тарифы: два тарифа по 50% ширины контейнера */
.tariffs__grid { max-width: none; margin: 0; }

@media (max-width: 639px) {
  .ab-card h3, .research-card h3, .gov-card h3 { font-size: 20px; }
  .bonus__icon { width: 54px; height: 54px; }
  .bonus__icon svg { width: 34px; height: 34px; }
}
/* ============================================================
   ВОЛНА 7 (правки Лиды 2026-07-10, после деплоя) — мобилка ≤639
   ============================================================ */
@media (max-width: 639px) {
  /* формула «1 человек = работа целого отдела» — в одну строку */
  .equation { font-size: 15px; padding: 10px 12px; gap: 6px; white-space: nowrap; }
  .equation .num { font-size: 18px; }

  /* бонус-карты компактнее: иконка, отступы, шрифт названия */
  .bonus__card { padding: 14px 34px 14px 16px; gap: 12px; }
  .bonus__icon { width: 40px; height: 40px; }
  .bonus__icon svg { width: 26px; height: 26px; }
  .bonus__card p { font-size: 15px; }
  .bonus__num { font-size: 11px; top: 8px; right: 10px; }

  /* стат-карты спикера — друг под другом */
  .speaker__stats { grid-template-columns: 1fr; }

  /* кнопки тарифов — текст в одну строку */
  .tariff__btn { font-size: 13px; letter-spacing: 0.05em; padding: 16px 12px; white-space: nowrap; }
}
/* сверхузкие экраны (Galaxy Fold 344, 320) */
@media (max-width: 374px) {
  .equation { font-size: 13px; }
  .equation .num { font-size: 16px; }
}
