/* ============================================
   Игра «Система» — Light Theme
   White + Soft Blue · Clean Cards
   ============================================ */

:root {
  --bg: #f8fafc;
  --bg-deep: #eef2f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37, 99, 235, 0.18);
  --border: rgba(37, 99, 235, 0.22);
  --border-light: rgba(15, 23, 42, 0.08);
  --text: #0f172a;
  --text-muted: rgba(15, 23, 42, 0.68);
  --text-dim: rgba(15, 23, 42, 0.45);
  --font: 'Inter', system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow-glow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 64px;
  --fs-body: 18px;
  --fs-label: 12px;
  --fs-xs: 14px;
  --fs-sm: 15px;
  --fs-md: 17px;
  --fs-lg: 19px;
  --fs-xl: 25px;
  --fs-2xl: 32px;
  --fs-3xl: 36px;
  --fs-hero: clamp(40px, 5.5vw, 62px);
  --fs-section: clamp(27px, 3vw, 38px);
  --fs-cta: clamp(22px, 2.5vw, 29px);
  --fs-price: 54px;
  --fs-price-currency: 27px;
  --fs-modal-price: 29px;
  --fs-legal: clamp(30px, 4vw, 42px);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-glow {
  color: var(--blue);
  text-shadow: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn--primary:hover {
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.38);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 36px; font-size: var(--fs-md); }
.btn--full { width: 100%; }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid rgba(37, 99, 235, 0.35);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: var(--blue);
  transform: translateY(-1px);
}

/* ---- Logo ---- */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: brightness(0) saturate(100%);
  opacity: 0.88;
  transition: opacity var(--transition);
}

.logo:hover .logo__img {
  opacity: 1;
}

.logo__img--footer {
  height: 48px;
}

.logo__img--cta {
  height: clamp(100px, 16vw, 160px);
  opacity: 0.9;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header__date {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.burger.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.burger.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 20px;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: var(--fs-md); color: var(--text-muted); padding: 6px 0; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-start;
  padding: calc(var(--header-h) + 28px) 0 48px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__board {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 80%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 70% 60%, rgba(59, 130, 246, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.hero__board::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid var(--border);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.08);
  opacity: 0.5;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, transparent 40%, rgba(248, 250, 252, 0.6) 100%);
}

.hero__glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  filter: blur(60px);
}

.hero__inner { position: relative; width: 100%; }

.hero__content { max-width: 640px; }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__subtitle strong { color: var(--blue); font-weight: 600; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero__meta-item {
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  white-space: normal;
  line-height: 1.45;
}

/* ---- Stats Bar ---- */
.stats-bar {
  position: relative;
  z-index: 2;
  margin-top: -30px;
  padding-bottom: 20px;
}

.stats-bar__grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stats-bar__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stats-bar__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  min-height: 96px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.stats-bar__highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 18px 28px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.stats-bar__highlight-text {
  margin: 0;
  max-width: 720px;
  font-size: var(--fs-md);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
}

.stats-bar__content {
  min-width: 0;
}

.stats-bar__item:hover {
  border-color: var(--blue);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

.stats-bar__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  flex-shrink: 0;
}

.stats-bar__num {
  display: block;
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stats-bar__label {
  display: block;
  font-size: var(--fs-sm);
  line-height: 1.4;
  color: var(--text-muted);
}

/* ---- Sections ---- */
.section { padding: 80px 0; }

.section__title {
  font-size: var(--fs-section);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.section__title--center { text-align: center; }

.section__desc {
  font-size: var(--fs-body);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 600px;
}

.section__desc--center { text-align: center; margin: 0 auto; }

.section__header { margin-bottom: 48px; }

.section__label {
  display: inline-block;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section__desc strong { color: var(--blue); }

/* ---- About ---- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about__text p {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about__text .btn { margin-top: 8px; }

.about-video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.about-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.about-video.is-unmuted {
  cursor: default;
}

.about-video.is-unmuted iframe {
  pointer-events: auto;
}

/* ---- Levels ---- */
.levels { background: linear-gradient(180deg, transparent, rgba(241, 245, 249, 0.8), transparent); }

.levels__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.level-card {
  position: relative;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  text-align: center;
}

.level-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
  transform: translateY(-3px);
}

.level-card__num {
  position: absolute;
  top: 12px; left: 14px;
  font-size: var(--fs-label);
  font-weight: 700;
  color: var(--blue);
  opacity: 0.7;
}

.level-card__icon {
  width: 52px; height: 52px;
  margin: 8px auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  box-shadow: none;
}

.level-card h3 {
  font-size: var(--fs-md);
  font-weight: 600;
  margin-bottom: 8px;
}

.level-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---- Audience ---- */
.audience__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}

.audience-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.audience-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.audience-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- Benefits ---- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}

.benefit-card {
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover { border-color: var(--border); }

.benefit-card__icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
  box-shadow: none;
}

.benefit-card p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.45;
}

.benefits__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
}

.pulse-ring {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  animation: pulse-ring 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; box-shadow: 0 0 0 0 var(--blue-glow); }
  70% { transform: scale(1.1); opacity: 0.4; box-shadow: 0 0 0 12px transparent; }
  100% { transform: scale(0.8); opacity: 1; }
}

/* ---- Event video ---- */
.event-video { background: #f1f5f9; }

.event-video__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.event-video__player {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.event-video__poster {
  display: block;
  line-height: 0;
}

.event-video__poster img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- Author block ---- */
.author-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.author-block__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
}

.author-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.author-block__role {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.author-block__stats {
  display: flex;
  gap: 32px;
  margin-bottom: 20px;
}

.author-block__stat-num {
  display: block;
  font-size: var(--fs-2xl);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.author-block__stat-label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.author-block__bio {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Why card ---- */
.why__card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.why__items--row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* ---- Reviews ---- */
.reviews { background: #f1f5f9; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 200px));
  justify-content: center;
  gap: 16px;
}

.review-card--shorts {
  display: flex;
  flex-direction: column;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transform: translateY(-3px);
}

.review-card__video {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #e2e8f0;
}

.review-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.review-card:hover .review-card__thumb {
  transform: scale(1.03);
}

.review-card__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.35) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.review-card__quote--label {
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.review-card__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px;
  box-shadow: 0 0 20px var(--blue-glow);
  transition: var(--transition);
}

.review-card:hover .review-card__play { transform: translate(-50%, -50%) scale(1.1); }

.review-card__body {
  padding: 14px 12px 16px;
  text-align: center;
}

.review-card__quote {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}

.review-card__name { font-size: var(--fs-sm); font-weight: 600; }
.review-card__role { font-size: var(--fs-xs); color: var(--text-dim); margin-top: 2px; }

/* ---- Process ---- */
.process__steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
}

.process-step {
  flex: 1;
  max-width: 280px;
  padding: 28px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.process-step__num {
  width: 36px; height: 36px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  font-size: var(--fs-body);
  font-weight: 700;
}

.process-step h3 {
  font-size: var(--fs-body);
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.55;
}

.process-step__arrow {
  display: flex;
  align-items: center;
  color: var(--blue);
  opacity: 0.5;
  flex-shrink: 0;
}

/* ---- Why ---- */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why__items { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-item:hover { border-color: var(--border); }

.why-item__icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.why-item h4 { font-size: var(--fs-md); font-weight: 600; margin-bottom: 4px; }
.why-item p { font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.55; }

.why__photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why__photo-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
  filter: blur(40px);
}

.why__photo-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-dim);
  font-size: var(--fs-sm);
}

/* ---- Pricing ---- */
.pricing__card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.pricing__desc {
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pricing__includes { display: flex; flex-direction: column; gap: 10px; }

.pricing__includes li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.pricing__includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
}

.pricing__referral {
  margin-top: 24px;
  padding: 20px 22px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.pricing__referral p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 10px;
}

.pricing__referral p:last-child { margin-bottom: 0; }

.pricing__referral-lead {
  font-size: var(--fs-md);
  color: var(--text);
  margin-bottom: 4px;
}

.pricing__referral-lead strong {
  color: var(--blue);
  font-weight: 700;
}

.pricing__referral strong {
  color: var(--blue);
  font-weight: 700;
}

.pricing__action {
  text-align: center;
  padding: 36px 28px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.pricing__action #linkAskQuestion { margin-top: 12px; }

.pricing__pay-note {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  margin-top: 8px;
  text-align: center;
}

.pricing__amount {
  font-size: var(--fs-price);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  text-shadow: none;
}

.pricing__currency { font-size: var(--fs-price-currency); color: var(--blue); margin-left: 4px; }

.pricing__note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 8px 0 24px;
}

.pricing__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: var(--fs-xs);
  color: var(--text-dim);
}

/* ---- CTA ---- */
.cta {
  padding: 100px 0;
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.06));
}

.cta__inner { text-align: center; }

.cta__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.cta__title {
  font-size: var(--fs-cta);
  font-weight: 600;
  line-height: 1.45;
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--text-muted);
}

.cta__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.cta__date {
  font-size: var(--fs-3xl);
  font-weight: 800;
  color: var(--blue);
  text-shadow: none;
}

.cta__seats {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  white-space: normal;
  line-height: 1.45;
  text-align: center;
  max-width: 100%;
}

/* ---- Footer ---- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 32px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: flex-end;
}

.footer__links a {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--blue); }

.footer__copy {
  grid-column: 1 / -1;
  font-size: var(--fs-xs);
  color: var(--text-dim);
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ---- Modal ---- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.open { opacity: 1; visibility: visible; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: min(90dvh, 680px);
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px 20px 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  transform: translateY(16px);
  transition: transform var(--transition);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.open .modal__dialog { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border-radius: 50%;
  transition: var(--transition);
}

.modal__close:hover { background: var(--bg-card-hover); color: var(--text); }

.modal__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: 2px;
  padding-right: 28px;
}

.modal__subtitle {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.modal__step[hidden] { display: none; }

.modal__price-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.modal__price-tag--large {
  display: block;
  text-align: center;
  font-size: var(--fs-modal-price);
  margin: 16px 0;
}

.modal__referral {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}

.modal__referral p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.modal__referral p:last-child { margin-bottom: 0; }

.modal__referral-lead {
  font-size: var(--fs-sm);
  color: var(--text);
  margin-bottom: 6px;
}

.modal__referral-lead strong {
  color: var(--blue);
  font-weight: 700;
}

.modal__referral strong {
  color: var(--blue);
  font-weight: 700;
}

.modal__form .field { margin-bottom: 10px; }

.modal__form .field span {
  margin-bottom: 4px;
  font-size: 11px;
}

.modal__form .field input {
  padding: 10px 12px;
  font-size: var(--fs-sm);
}

.modal__form .checkbox {
  margin-bottom: 10px;
  gap: 8px;
}

.modal__form .checkbox span {
  font-size: 12px;
  line-height: 1.4;
}

.modal__form .btn { margin-top: 2px; }

.field { display: block; margin-bottom: 14px; }

.field span {
  display: block;
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-sm);
  transition: border-color var(--transition);
}

.field input:focus { outline: none; border-color: var(--blue); }
.field input::placeholder { color: var(--text-dim); }

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 20px;
  cursor: pointer;
}

.checkbox input { margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }

.checkbox span { font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.5; }
.checkbox a { color: var(--blue); text-decoration: underline; }

.modal__success-icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xl);
}

.modal__pay-note {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
}

.modal__form-error {
  margin-top: 12px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: #dc2626;
  text-align: center;
}

.modal__form-error[hidden] { display: none; }

/* Video modal */
.modal--video .modal__dialog--video {
  max-width: 860px;
  padding: 0;
  overflow: hidden;
}

.modal--video.modal--shorts .modal__dialog--video {
  max-width: min(380px, 92vw);
}

.video-modal__wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #000;
}

.modal--shorts .video-modal__wrap {
  padding-bottom: 177.78%;
}

.video-modal__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal__info {
  padding: 16px 20px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
}

.video-modal__info strong { color: var(--text); }

.modal--video .modal__close { z-index: 2; background: rgba(0,0,0,0.5); }

/* ---- Legal page ---- */
.page-legal { padding-top: var(--header-h); }

.legal { padding: 50px 0 70px; }
.legal__inner { max-width: 720px; }

.legal__inner--wide { max-width: 860px; }

.legal__toc {
  list-style: none;
  padding-left: 0;
  margin: 0 0 24px;
}

.legal__toc li { margin-bottom: 8px; }

.legal__toc a {
  color: var(--blue);
  text-decoration: underline;
}

.legal__chapter {
  font-size: var(--fs-xl);
  margin-top: 8px;
}

.legal__title {
  font-size: var(--fs-legal);
  font-weight: 700;
  margin-bottom: 8px;
}

.legal__updated { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: 40px; }

.legal__lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: 20px;
}

.legal__meta {
  padding: 20px 24px;
  margin-bottom: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.legal__meta p {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.legal__meta p:last-child { margin-bottom: 0; }

.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: var(--fs-sm);
}

.legal__table th,
.legal__table td {
  padding: 12px 14px;
  border: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.legal__table th {
  width: 38%;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(59, 130, 246, 0.06);
}

.legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.legal__nav a {
  font-size: var(--fs-sm);
  color: var(--blue);
  text-decoration: underline;
}

.legal__section { margin-bottom: 32px; }

.legal__section h2 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--blue);
}

.legal__section p,
.legal__section li {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}

.legal__section ul { list-style: disc; padding-left: 22px; }
.legal__section a { color: var(--blue); text-decoration: underline; }

.legal__back {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .levels__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(3, 1fr); }
  .about__grid, .why__grid { grid-template-columns: 1fr; }
  .event-video__grid { grid-template-columns: 1fr; }
  .author-block { grid-template-columns: 1fr; }
  .stats-bar__metrics { grid-template-columns: 1fr; }
  .why__items--row { grid-template-columns: 1fr; }
  .pricing__card { grid-template-columns: 1fr; }
  .process__steps { flex-wrap: wrap; }
  .process-step__arrow { display: none; }
  .process-step { max-width: 100%; flex: 1 1 100%; }
  .reviews__grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 768px) {
  :root {
    --fs-body: 16px;
    --fs-price: 42px;
    --fs-price-currency: 22px;
    --header-h: 56px;
  }

  .container { padding: 0 16px; }

  .burger { display: flex; }

  .logo__img { height: 42px; }

  .header__inner { gap: 10px; min-width: 0; }

  .header__date {
    font-size: 12px;
    padding: 5px 10px;
    min-width: 0;
    max-width: calc(100vw - 120px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-menu {
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 20px) 0 36px;
  }

  .hero__title { margin-bottom: 16px; }
  .hero__subtitle { font-size: var(--fs-md); margin-bottom: 24px; }

  .hero__meta { margin-bottom: 24px; gap: 8px; }

  .hero__meta-item {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero__content .btn--lg {
    width: 100%;
    white-space: normal;
  }

  .btn--lg { padding: 14px 24px; }
  .btn--full { white-space: normal; }

  .stats-bar { margin-top: -16px; }
  .stats-bar__metrics { grid-template-columns: 1fr; }
  .stats-bar__highlight { flex-direction: column; padding: 20px; }

  .section { padding: 56px 0; }

  .audience__grid { grid-template-columns: repeat(2, 1fr); }
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
  .levels__grid { grid-template-columns: 1fr; }

  .reviews__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .why__card { padding: 28px 20px; }

  .pricing__card { padding: 28px 20px; gap: 28px; }
  .pricing__action { padding: 24px 16px; }

  .cta { padding: 64px 0; }
  .cta__date { font-size: var(--fs-2xl); }

  .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }

  .benefits__cta { flex-direction: column; }
  .pulse-ring { display: none; }

  .modal { padding: 12px; align-items: center; }

  .modal__dialog {
    padding: 28px 20px 24px;
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .legal { padding: 36px 0 56px; }
  .legal__title { font-size: clamp(24px, 6vw, 32px); }
  .legal__meta { padding: 16px; }

  .legal__table,
  .legal__table tbody,
  .legal__table tr,
  .legal__table th,
  .legal__table td { display: block; width: 100%; }

  .legal__table tr {
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .legal__table th {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .legal__table td { padding-top: 0; }
}

@media (max-width: 480px) {
  .header__date { display: none; }

  .audience__grid { grid-template-columns: 1fr; }
  .benefits__grid { grid-template-columns: 1fr; }

  .hero__meta-item { flex: 1 1 100%; }

  .reviews__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .cta__meta { flex-direction: column; gap: 12px; align-items: stretch; }

  .cta__seats { width: 100%; }

  .process-step { padding: 20px 16px; }

  .modal { padding: 0; align-items: flex-end; }

  .modal__dialog {
    max-width: 100%;
    max-height: 92dvh;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: 24px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  }

  .modal--video .modal__dialog--video {
    max-width: 100%;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}

@media (max-width: 360px) {
  .reviews__grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 240px;
    margin: 0 auto;
  }
}
