/* =============================================================
   PLAYGROUND — сайт-визитка
   Стиль точно повторяет презентацию: премиум-минимализм,
   лаймовый акцент #C5F23D, шрифт Montserrat, чередование
   тёмных и светлых секций, табличные цифры (tnum).
   ============================================================= */

/* ---------- Дизайн-токены (палитра и шкала из презентации) ---------- */
:root {
  /* Цвета */
  --lime:        #C5F23D;   /* фирменный лайм — акцент */
  --lime-bright: #d2f95e;   /* лайм для hover */
  --ink:         #0F1419;   /* самый тёмный фон (тёмные секции) */
  --ink-2:       #141A21;   /* тёмный вариант */
  --card-dark:   #171F28;   /* карточки на тёмном */
  --slate:       #2A3742;   /* грифельный акцент */
  --light:       #F4F6F8;   /* светлый фон / светлые карточки */
  --white:       #FFFFFF;
  --border:      #E4E8EC;   /* границы на светлом */
  --border-dark: rgba(255, 255, 255, 0.10); /* границы на тёмном */

  /* Текст */
  --text:            #141A21;            /* заголовки на светлом */
  --text-body:       #55606B;            /* основной текст на светлом */
  --text-muted:      #6C7682;            /* приглушённый на светлом */
  --text-on-dark:    #FFFFFF;            /* текст на тёмном */
  --text-muted-dark: #A4B0BC;            /* приглушённый на тёмном */

  /* Радиусы */
  --radius:    18px;
  --radius-sm: 12px;

  /* Контейнер */
  --container: 1200px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);

  /* Тени */
  --shadow-card: 0 1px 2px rgba(15, 20, 25, 0.04), 0 10px 30px rgba(15, 20, 25, 0.06);
  --shadow-lime: 0 8px 24px rgba(197, 242, 61, 0.30);

  --header-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Сброс и база ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--text);
  background: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* Табличные цифры — фирменная деталь (одинаковая ширина знаков) */
.num {
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-variant-numeric: tabular-nums lining-nums;
}

/* ---------- Контейнер и секции ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  scroll-margin-top: var(--header-h); /* чтобы якоря не прятались под фикс-шапку */
}

/* Тёмные и светлые секции — «сэндвич» из презентации */
.section--dark {
  background: var(--ink);
  color: var(--text-on-dark);
}
.section--light {
  background: var(--light);
  color: var(--text);
}

/* Номер слайда в углу секции (деталь из презентации: «0X / 9») */
.section[data-page]::after {
  content: attr(data-page) " / 6";
  position: absolute;
  right: var(--pad-x);
  bottom: 1.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.45;
  font-feature-settings: "tnum" 1;
}
.section--dark[data-page]::after { color: var(--text-muted-dark); }
.section--light[data-page]::after { color: var(--text-muted); }

/* ---------- Надзаголовок (eyebrow) с лаймовым квадратом ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}
.section--dark .eyebrow { color: var(--text-muted-dark); }
.eyebrow__square {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--lime);
  flex: 0 0 auto;
}
.eyebrow--center { justify-content: center; }

/* ---------- Заголовки секций ---------- */
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title {
  font-size: clamp(1.65rem, 3.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section__lead {
  margin-top: 1.25rem;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 500;
  color: var(--text-body);
  max-width: 620px;
}
.section--dark .section__lead { color: var(--text-muted-dark); }
.section__lead--center { margin-inline: auto; }

/* =============================================================
   ШАПКА
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), padding 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(15, 20, 25, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  height: var(--header-h);
}

/* Логотип */
.logo { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); }
.logo__mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  background: var(--lime);
  box-shadow: var(--shadow-lime);
}
.logo__text {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

/* Навигация */
.nav { display: flex; gap: 1.35rem; margin-left: auto; }
.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.25rem 0;
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }

.header__actions { display: flex; gap: 0.6rem; }

/* Бургер */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 0 11px;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  background: rgba(15, 20, 25, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.25rem var(--pad-x) 2rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.mobile-menu__link:hover { color: var(--lime); padding-left: 0.4rem; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }

/* =============================================================
   КНОПКИ
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              border-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:focus-visible { outline: 3px solid rgba(197, 242, 61, 0.55); outline-offset: 2px; }

/* Основная — лаймовая заливка, тёмный текст */
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: var(--shadow-lime); }

/* Призрачная (на тёмном фоне) */
.btn--ghost,
.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}
.btn--ghost:hover,
.btn--ghost-light:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn--sm { padding: 0.62rem 1rem; font-size: 0.85rem; }
.btn--block { width: 100%; }

/* =============================================================
   СЛАЙД 1 — ГЛАВНЫЙ ЭКРАН
   ============================================================= */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 2rem);
  overflow: hidden;
  /* мягкое свечение для глубины */
  background:
    radial-gradient(900px 600px at 85% 0%, rgba(197, 242, 61, 0.10), transparent 60%),
    var(--ink);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 760px; }

.hero__kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(2.1rem, 5.6vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero__title .accent { color: var(--lime); }

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  font-weight: 500;
  color: var(--text-muted-dark);
  max-width: 580px;
}

.hero__buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }

/* Чип с цифрами */
.stats-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  margin-top: 2rem;
  padding: 0.72rem 1.2rem;
  background: var(--lime);
  color: var(--ink);
  border-radius: 14px;            /* скруглённый прямоугольник, как у карточек/кнопок, а не «таблетка» */
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
  max-width: 100%;
}
.stats-chip .num { font-weight: 800; }
.stats-chip .dot { opacity: 0.45; font-weight: 800; }
.stats-chip--center { display: flex; width: -moz-fit-content; width: fit-content; margin-inline: auto; justify-content: center; }

.hero__footnote {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--text-muted-dark);
  opacity: 0.8;
}

/* Декоративные круги (мотив презентации) */
.hero__decor { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__circle { position: absolute; border-radius: 50%; }
.hero__circle--slate {
  width: 540px; height: 540px;
  top: -120px; right: -80px;
  background: var(--slate);
  opacity: 0.55;
  filter: blur(2px);
}
.hero__circle--lime {
  width: 260px; height: 260px;
  top: 130px; right: 120px;
  background: var(--lime);
  opacity: 0.9;
  box-shadow: 0 0 120px rgba(197, 242, 61, 0.45);
}
.hero__circle--lime-sm {
  width: 60px; height: 60px;
  top: 440px; right: 60px;
  background: var(--lime);
  opacity: 0.85;
}

/* Подсказка скролла */
.scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint__mouse {
  display: block;
  width: 24px; height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 13px;
  position: relative;
}
.scroll-hint__mouse::after {
  content: "";
  position: absolute;
  left: 50%; top: 7px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--lime);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  35% { opacity: 1; }
  70% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 0; }
}

/* =============================================================
   КАРТОЧКИ, ИКОНКИ-ЧИПЫ, СЕТКИ
   ============================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* Лаймовый круг с тёмной иконкой — единый мотив презентации */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
}
.chip .icon { width: 28px; height: 28px; }
.chip--sm { width: 30px; height: 30px; }
.chip--sm .icon { width: 16px; height: 16px; }

/* Карточка */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: #d7dde3; }
.card .chip { margin-bottom: 1.35rem; }
.card__title { font-size: 1.15rem; font-weight: 700; line-height: 1.25; color: var(--text); }
.card__text { margin-top: 0.65rem; font-size: 0.95rem; color: var(--text-body); }

/* Карточка только с заголовком (без описания) — центрируем по вертикали */
.card--lead { display: flex; flex-direction: column; justify-content: center; }
.card--lead .chip { margin-bottom: 1.1rem; }
.card--lead .card__title { font-size: 1.35rem; }

/* Тёмная карточка (на тёмных секциях) */
.card--dark {
  background: var(--card-dark);
  border-color: var(--border-dark);
}
.card--dark:hover { border-color: rgba(197, 242, 61, 0.35); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.card--dark .card__title { color: var(--white); }
.card--dark .card__text { color: var(--text-muted-dark); }

/* =============================================================
   СЛАЙД 3 — КТО МЫ
   ============================================================= */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about__lead { max-width: 560px; }
.quote {
  margin-top: 1.75rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--lime);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--white);
}
.about__roles { display: flex; flex-direction: column; gap: 1rem; }
.role-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.role-card:hover { transform: translateX(6px); border-color: rgba(197, 242, 61, 0.35); }
.role-card--accent { border-color: rgba(197, 242, 61, 0.45); background: #19222c; }
.role-card__title { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.role-card__text { margin-top: 0.2rem; font-size: 0.92rem; color: var(--text-muted-dark); }

/* =============================================================
   СЛАЙД 5 — НАШЕ ВОЗНАГРАЖДЕНИЕ (15%)
   ============================================================= */
.pricing__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.pricing__big {
  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--lime);
  margin-top: 0.5rem;
}
.pricing__pct { font-size: 0.5em; vertical-align: super; }
.pricing__cap {
  margin-top: 1.25rem;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--white);
  max-width: 380px;
}
.checklist { display: flex; flex-direction: column; gap: 1.1rem; }
.checklist__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 600;
  color: var(--white);
}
.pricing__tagline {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-dark);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lime);
}

/* =============================================================
   СЛАЙД 9 — ШАГИ ПОДКЛЮЧЕНИЯ
   ============================================================= */
/* Сетка: 3 равные карточки (1fr) + 2 стрелки-разделителя (auto).
   Ширина карточек НЕ зависит от стрелок, третья не «съезжает». */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 1.25rem;
  margin-bottom: 2.75rem;
}
.step {
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: rgba(197, 242, 61, 0.35); }
.step .chip { margin: 0 auto 1.25rem; }
.step__title { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.step__text { margin-top: 0.5rem; font-size: 0.92rem; color: var(--text-muted-dark); }
.steps__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  font-size: 1.6rem;
  font-weight: 700;
}
.cta__buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.25rem; }

/* =============================================================
   ФУТЕР
   ============================================================= */
.footer { background: var(--ink-2); color: var(--text-on-dark); padding-top: 4rem; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}
.logo--footer .logo__mark { box-shadow: none; }
.footer__tagline { margin-top: 1rem; color: var(--text-muted-dark); font-size: 0.95rem; max-width: 280px; }
.footer__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 1.1rem;
}
.contacts { display: flex; flex-direction: column; gap: 0.85rem; min-width: 240px; }
.contacts__item {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-dark);
}
.contacts__key { color: var(--text-muted-dark); font-size: 0.92rem; font-weight: 600; }
.contacts__val { font-weight: 600; }
.contacts__link { color: var(--white); transition: color 0.2s var(--ease); }
.contacts__link:hover { color: var(--lime); }
.contacts__link:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 3px; }
.contacts__val--placeholder {
  color: var(--text-muted-dark);
  font-style: italic;
  font-weight: 500;
  opacity: 0.7;
}
.footer__bottom { padding-block: 1.75rem; }
.footer__bottom p { font-size: 0.85rem; color: var(--text-muted-dark); }

/* =============================================================
   МОДАЛЬНОЕ ОКНО «В разработке»
   ============================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal[hidden] { display: none; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 11, 15, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s var(--ease);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 22px;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: modalPop 0.4s var(--ease);
}
.modal__icon {
  display: block;
  width: 64px; height: 64px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: var(--lime);
  position: relative;
}
/* Значок «инструмент/гайка» внутри лаймового круга */
.modal__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 26px; height: 26px;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 8a4 4 0 100 8 4 4 0 000-8zm9 4a7 7 0 01-.1 1.2l2 1.5-2 3.4-2.3-1a7 7 0 01-2 1.2l-.4 2.5h-4l-.4-2.5a7 7 0 01-2-1.2l-2.3 1-2-3.4 2-1.5A7 7 0 013 12c0-.4 0-.8.1-1.2l-2-1.5 2-3.4 2.3 1a7 7 0 012-1.2l.4-2.5h4l.4 2.5a7 7 0 012 1.2l2.3-1 2 3.4-2 1.5c.1.4.1.8.1 1.2z'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 8a4 4 0 100 8 4 4 0 000-8zm9 4a7 7 0 01-.1 1.2l2 1.5-2 3.4-2.3-1a7 7 0 01-2 1.2l-.4 2.5h-4l-.4-2.5a7 7 0 01-2-1.2l-2.3 1-2-3.4 2-1.5A7 7 0 013 12c0-.4 0-.8.1-1.2l-2-1.5 2-3.4 2.3 1a7 7 0 012-1.2l.4-2.5h4l.4 2.5a7 7 0 012 1.2l2.3-1 2 3.4-2 1.5c.1.4.1.8.1 1.2z'/></svg>") center / contain no-repeat;
}
.modal__title { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.modal__text { margin-top: 0.75rem; margin-bottom: 1.75rem; color: var(--text-body); font-size: 0.98rem; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================================
   МОДАЛКА С ФОРМОЙ ЗАЯВКИ (тёмная, в дизайн-системе)
   ============================================================= */
.modal__dialog--form {
  max-width: 460px;
  background: var(--ink-2);
  border: 1px solid var(--border-dark);
  text-align: left;
  padding: 2.25rem 2rem 2rem;
}
.modal__dialog--form .modal__title { color: var(--white); }
.modal__dialog--form .modal__text { color: var(--text-muted-dark); margin-bottom: 1.5rem; }

/* Кнопка-крестик закрытия */
.modal__x {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  color: var(--text-muted-dark);
  font-size: 1.5rem; line-height: 1;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.modal__x:hover { color: var(--lime); border-color: var(--lime); }
.modal__x:focus-visible { outline: 3px solid rgba(197, 242, 61, 0.55); outline-offset: 2px; }

/* Форма */
.lead-form { display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-size: 0.82rem; font-weight: 600; color: var(--text-muted-dark); }
.field__input {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field__input::placeholder { color: #5b6672; }
.field__input:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(197, 242, 61, 0.18);
}
textarea.field__input { resize: vertical; min-height: 84px; }
/* Подсветка незаполненного обязательного поля после попытки отправки */
.lead-form.was-validated .field__input:invalid { border-color: #e06a6a; }

/* Honeypot — скрытое поле-ловушка для ботов */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Статус отправки */
.lead-form__status {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
}
.lead-form__status[data-kind="error"] { color: #ffb4b4; background: rgba(224, 106, 106, 0.12); }
.lead-form__status[data-kind="info"]  { color: var(--text-muted-dark); background: transparent; padding: 0; }
.lead-form [data-lead-submit][disabled] { opacity: 0.65; cursor: progress; }

/* Экран успеха */
.lead-success { text-align: center; padding: 0.5rem 0 0.5rem; }
.lead-success__check {
  width: 60px; height: 60px; margin: 0 auto 1.1rem; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%230F1419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/></svg>") center / 30px no-repeat;
}
.lead-success__title { font-size: 1.25rem; font-weight: 800; color: var(--white); }
.lead-success__text { margin-top: 0.5rem; color: var(--text-muted-dark); font-size: 0.95rem; }

/* =============================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

/* =============================================================
   СТРАНИЦА ВЫБОРА РОЛИ («Кто вы в Playground?»)
   ============================================================= */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.choose-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--card-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--text-on-dark);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.choose-card:hover { transform: translateY(-8px); border-color: rgba(197, 242, 61, 0.5); background: #19222c; }
.choose-card .chip { margin-bottom: 1.5rem; }
.choose-card__title { font-size: 1.4rem; font-weight: 800; }
.choose-card__text { margin-top: 0.6rem; color: var(--text-muted-dark); font-size: 0.98rem; flex-grow: 1; }
.choose-card__link {
  margin-top: 1.6rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--lime); font-weight: 700;
}
.choose-card__link .arrow { transition: transform 0.25s var(--ease); }
.choose-card:hover .choose-card__link .arrow { transform: translateX(6px); }

/* =============================================================
   НУМЕРОВАННЫЕ ШАГИ «Как это работает» (1…5)
   ============================================================= */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 1.25rem;
}
.flow-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.flow-step:hover { transform: translateY(-5px); border-color: #d7dde3; }
.section--dark .flow-step { background: var(--card-dark); border-color: var(--border-dark); }
.section--dark .flow-step:hover { border-color: rgba(197, 242, 61, 0.35); }
.flow-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  font-weight: 800; font-size: 1.3rem;
  margin-bottom: 1.1rem;
  font-feature-settings: "tnum" 1;
}
.flow-step__title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.section--dark .flow-step__title { color: var(--white); }
.flow-step__text { margin-top: 0.45rem; font-size: 0.9rem; color: var(--text-body); }
.section--dark .flow-step__text { color: var(--text-muted-dark); }

/* =============================================================
   КАРТОЧКА ИГРОКА (FIFA-стиль) — слайд «Прогресс и рейтинг»
   ============================================================= */
.player-card {
  background: linear-gradient(160deg, #1c2733 0%, #0f1419 100%);
  border: 1px solid rgba(197, 242, 61, 0.28);
  border-radius: 22px;
  padding: 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.player-card__head { display: flex; align-items: flex-start; gap: 1.1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-dark); }
.player-card__rating { font-size: 4.2rem; font-weight: 800; color: var(--lime); line-height: 0.85; font-feature-settings: "tnum" 1; }
.player-card__rlabel { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-muted-dark); font-weight: 700; }
.player-card__div { margin-top: 0.4rem; font-weight: 700; color: var(--white); }
.player-card__meta { margin-top: 0.35rem; font-size: 0.85rem; color: var(--text-muted-dark); }
.player-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; margin-top: 1.5rem; }
.pstat__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.4rem; }
.pstat__name { font-size: 0.85rem; font-weight: 600; color: var(--text-muted-dark); }
.pstat__val { font-weight: 800; color: var(--lime); font-feature-settings: "tnum" 1; }
.pstat__bar { height: 6px; background: rgba(255, 255, 255, 0.1); border-radius: 99px; overflow: hidden; }
.pstat__fill { display: block; height: 100%; background: var(--lime); border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.in-view .pstat__fill { transform: scaleX(1); }

/* Чек-пункты (буллеты с лаймовой галочкой) для текстовых списков */
.ticks { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.ticks li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 600; }
.section--dark .ticks li { color: var(--white); }
.ticks li::before {
  content: ""; flex: 0 0 auto; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%230F1419' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/></svg>") center / 14px no-repeat;
}

/* Ссылка «назад к выбору роли» в шапке лендингов */
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--text-muted-dark); font-weight: 600; font-size: 0.9rem; transition: color 0.2s var(--ease); }
.back-link:hover { color: var(--lime); }

/* =============================================================
   АДАПТИВНОСТЬ
   ============================================================= */

/* Сворачиваем навигацию и кнопки в бургер, пока полные подписи помещаются */
@media (max-width: 1200px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; }
}

/* Планшет: 2 колонки в тройных сетках */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

/* Планшет: одноколоночные двухколоночные блоки */
@media (max-width: 860px) {
  .about__inner,
  .pricing__inner { grid-template-columns: 1fr; }
  .about__lead { max-width: none; }
  .player-card { margin-inline: auto; }
  .pricing__left { text-align: center; }
  .pricing__cap { margin-inline: auto; }
  .grid--2 { grid-template-columns: 1fr; }
  /* Шаги — в один столбец во всю ширину, стрелка-разделитель смотрит вниз и стоит по центру */
  .steps { grid-template-columns: 1fr; }
  .steps__arrow { transform: rotate(90deg); }

  /* На узких экранах лаймовые круги налезали бы на текст — оставляем
     только тёмное grifельное свечение, чтобы заголовок читался чисто */
  .hero__circle--lime,
  .hero__circle--lime-sm { display: none; }
  .hero__circle--slate {
    width: 380px; height: 380px;
    top: -110px; right: -120px;
    opacity: 0.5;
  }
}

/* Телефон: всё в одну колонку */
@media (max-width: 560px) {
  .grid--3 { grid-template-columns: 1fr; }
  .hero__buttons .btn,
  .cta__buttons .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; gap: 2rem; }
  .section[data-page]::after { display: none; }
}

/* Уважение к настройке «уменьшить движение» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint__mouse::after { animation: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
