/*
 * Скомпилированные стили приложения Институт Прикладной Метафизики
 * Собрано автоматически из site-html/assets/css/ без медленных @import
 */

/* === Модуль: fonts.css === */
/* Локальные веб-шрифты Inter и Cinzel для мгновенной загрузки без блокировок и зависимости от внешних CDN */

/* 1. Inter Cyrillic (кириллица для всего основного текста и интерфейса) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* 2. Inter Latin (латиница и цифры) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 3. Cinzel Latin (декоративный акцентный шрифт) */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/cinzel-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === Модуль: theme.css === */
/* ========================================================
   ЕДИНАЯ ДИЗАЙН-СИСТЕМА И ТОКЕНЫ ЦВЕТОКОРА
   - Янтарно-золотой CTA (.btn-gold) из образца
   - Легкая подложка (.light-rays)
   - Светлые карточки (.light-card, .light-card-hover)
   - Золотая пульсация (.animate-pulse-gold)
   - Бейдж безопасности (.badge-security-3words)
   ======================================================== */

:root {
  /* Теплый жемчужно-кремовый фон и чистый контраст */
  --bg-cream: #FAF7F2;
  --bg-card: #FFFFFF;
  --text-main: #1A1615;
  --text-dark: #2A121A;
  --text-muted: #635B57;

  /* Фирменное благородное золото Института */
  --gold-primary: #D4AF6E;
  --gold-soft: rgba(212, 175, 110, 0.15);
  --gold-border: rgba(212, 175, 110, 0.28);
  --gold-border-hover: rgba(212, 175, 110, 0.60);

  /* Статусный хвойно-изумрудный для отметок успеха */
  --emerald-primary: #1A8754;
  --emerald-soft: rgba(26, 135, 84, 0.09);
  --emerald-border: rgba(26, 135, 84, 0.25);

  /* Сияющий золотой градиент кнопки из образца */
  --btn-gold-from: #F5BA24;
  --btn-gold-to: #D48811;
  --btn-gold-text: #1D1916;
  --btn-gold-shadow: rgba(212, 136, 17, 0.35);
  --btn-gold-shadow-hover: rgba(212, 136, 17, 0.50);

  /* Шрифты */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Базовый чистый фон */
body {
  background-color: var(--bg-cream) !important;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

/* Легкие атмосферные радиальные лучи (замена тяжелых SVG-сеток) */
.light-rays {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(245, 186, 36, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 25%, rgba(212, 175, 110, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 15% 35%, rgba(212, 175, 110, 0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Главная сияющая золотая кнопка CTA */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--btn-gold-from) 0%, var(--btn-gold-to) 100%) !important;
  color: var(--btn-gold-text) !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700 !important;
  border: 1px solid rgba(255, 255, 255, 0.40) !important;
  border-radius: 14px;
  box-shadow: 0 4px 20px var(--btn-gold-shadow) !important;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--btn-gold-shadow-hover) !important;
  filter: brightness(1.03);
  color: var(--btn-gold-text) !important;
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px var(--btn-gold-shadow) !important;
}

/* Светлые карточки с мягкой тенью и деликатным бордером */
.light-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(30, 20, 10, 0.05);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.light-card-hover {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(30, 20, 10, 0.05);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.light-card-hover:hover {
  border-color: var(--gold-border-hover);
  box-shadow: 0 6px 24px rgba(212, 136, 17, 0.12);
  transform: translateY(-2px);
}

/* Акцентный золотой градиент для ключевых заголовков */
.text-gold-gradient {
  background: linear-gradient(135deg, #D48811 0%, #F5BA24 50%, #B87208 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Золотое свечение ореола */
.golden-glow {
  position: relative;
}
.golden-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, rgba(245, 186, 36, 0.4), transparent, rgba(245, 186, 36, 0.4));
  border-radius: inherit;
  z-index: -1;
  pointer-events: none;
}

/* Мягкая золотая пульсация для активного Play */
@keyframes pulseGoldPlay {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(245, 186, 36, 0.50);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(245, 186, 36, 0);
    transform: scale(1.05);
  }
}

.animate-pulse-gold {
  animation: pulseGoldPlay 2s infinite ease-in-out;
}

/* Компактный бейдж безопасности в одну строчку: 🛡️ Данные надежно защищены */
.badge-security-3words {
  display: flex !important;
  width: fit-content !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  border-radius: 999px;
  color: var(--emerald-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  text-align: center;
  box-sizing: border-box;
}

.badge-security-3words svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--emerald-primary);
}

/* Плавное парение для декоративных иконок */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animate-float-soft {
  animation: floatSoft 3s ease-in-out infinite;
}

/* === Модуль: astral-bg.css === */
/* Астрологический фон и паттерн созвездий */
/* ========================================================
   АСТРОЛОГИЧЕСКИЙ ФОН: СОЗВЕЗДИЯ И НАТАЛЬНЫЕ ОРБИТЫ
   ======================================================== */
body, body.astral-theme {
  background-color: #F7F4EE !important;
  background-image: 
    radial-gradient(circle 500px at 50% 0%, rgba(212, 175, 110, 0.12), transparent 75%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none'%3E%3C!-- Кольца натальной карты и аспекты --%3E%3Ccircle cx='110' cy='110' r='68' stroke='%23D4AF6E' stroke-width='0.75' stroke-dasharray='4 4' stroke-opacity='0.08'/%3E%3Ccircle cx='110' cy='110' r='36' stroke='%23D4AF6E' stroke-width='0.6' stroke-opacity='0.07'/%3E%3Ccircle cx='110' cy='110' r='94' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.05'/%3E%3Cpath d='M110 42 L110 178 M42 110 L178 110' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3Cpath d='M62 62 L158 158 M62 158 L158 62' stroke='%23D4AF6E' stroke-width='0.4' stroke-dasharray='2 3' stroke-opacity='0.05'/%3E%3C!-- 8-конечные золотые звезды --%3E%3Cpath d='M110 14 L112 24 L122 26 L112 28 L110 38 L108 28 L98 26 L108 24 Z' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cpath d='M195 130 L196 136 L202 137 L196 138 L195 144 L194 138 L188 137 L194 136 Z' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3Cpath d='M28 178 L29 183 L34 184 L29 185 L28 190 L27 185 L22 184 L27 183 Z' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3C!-- Созвездия и связующие линии --%3E%3Ccircle cx='30' cy='44' r='1.6' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Ccircle cx='56' cy='28' r='1.3' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='76' cy='52' r='1.5' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Cline x1='30' y1='44' x2='56' y2='28' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Cline x1='56' y1='28' x2='76' y2='52' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Ccircle cx='170' cy='36' r='1.2' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='194' cy='50' r='1.4' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cline x1='170' y1='36' x2='194' y2='50' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3Ccircle cx='180' cy='186' r='1.4' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='202' cy='172' r='1.2' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3Cline x1='180' y1='186' x2='202' y2='172' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat, repeat !important;
  background-position: top center, top left !important;
}

.astral-bg-svg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

/* === Модуль: mobile-fixes.css === */
/* Мобильные фиксы: зум и safe area */
/* Защита от авто-зума на iOS WebKit при фокусе в поля ввода */
@media (max-width: 768px) {

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Поддержка Safe Area (Home Bar), предотвращение горизонтального скролла без блокировки вертикального */
html {
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

img,
picture,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

.bottom-nav-bar {
  background: #FFFFFF !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
}

.app-container {
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  padding-top: calc(16px + env(safe-area-inset-top, 0px));
  padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)) !important;
}

/* === Модуль: brand-header.css === */
/* Верхняя плашка и логотипы */
/* Brand Top Bar & Header Logo Styles (Global across all pages) */
.top-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
  padding: 0 4px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.brand-header-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: inherit !important;
}

.brand-logo-circle {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: #200B11 !important;
  border: 1.5px solid #D4AF6E !important;
  box-shadow: 0 2px 10px rgba(212, 175, 110, 0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.brand-logo-circle img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

.brand-text-block {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.15 !important;
}

.brand-text-top {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #7B1C15 !important;
}

.brand-text-bottom {
  font-family: 'Cinzel', Georgia, serif !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  color: #7B1C15 !important;
}

.cabinet-link {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #1A8754 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 3px !important;
  transition: opacity 0.15s !important;
}

/* === Модуль: accordion.css === */
/* Аккордеон программы и карточки дней */
/* ========================================================
   АККОРДЕОН ПРОГРАММЫ (ГЛАВНАЯ И КАБИНЕТ)
   ======================================================== */
.program-card,
.day-item-card {
  transition: all 0.25s ease;
  overflow: hidden;
}

.program-header,
.day-card-header {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.program-header > div:first-child,
.day-card-header > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.program-header > div:last-child,
.day-card-header > div:last-child {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-available {
  background: rgba(34, 169, 107, 0.12) !important;
  color: #1A8754 !important;
  border: 1px solid rgba(34, 169, 107, 0.35) !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-locked {
  background: rgba(212, 175, 110, 0.15) !important;
  color: #9C7A41 !important;
  border: 1px solid rgba(212, 175, 110, 0.35) !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-paid {
  background: rgba(212, 175, 110, 0.22) !important;
  color: #260C14 !important;
  border: 1px solid #D4AF6E !important;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.counter-badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-block;
}

.accordion-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 110, 0.14);
  color: #8C6A2E;
  font-size: 10px;
  font-weight: 700;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
  flex-shrink: 0;
}

.program-card.active .accordion-chevron,
.day-item-card.active .accordion-chevron {
  transform: rotate(180deg);
  background: rgba(26, 135, 84, 0.16);
  color: #1A8754;
}

/* Свернутое состояние тела дня по умолчанию */
.program-body,
.day-card-body {
  display: none;
  animation: fadeInAccordion 0.25s ease;
}

.program-card.active .program-body,
.day-item-card.active .day-card-body {
  display: block;
}

@keyframes fadeInAccordion {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Модуль: banner-all-days.css === */
/* Плашка тарифа «Все 4 дня» */
/* ========================================================
   ПЛАШКА «ВСЕ 4 ДНЯ ЗА 3 000 ₽» В КАБИНЕТЕ (СВЕТЛЫЙ СТИЛЬ)
   ======================================================== */
.all-days-banner {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 6px 20px -4px rgba(212, 175, 110, 0.18), 0 2px 8px rgba(20, 18, 20, 0.04);
  border-radius: 16px;
  padding: 16px 14px;
  margin-bottom: 20px;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.all-days-banner:active {
  transform: scale(0.99);
}

.all-days-banner-badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2px;
}

.all-days-banner-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: rgba(212, 175, 110, 0.16);
  border: 1px solid rgba(212, 175, 110, 0.45);
  color: #8C6A2E;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
}

.all-days-banner-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.35;
  display: block;
  padding-right: 0 !important;
}

.all-days-banner-sub {
  font-size: 12px;
  color: #5C5857;
  line-height: 1.45;
}

.all-days-banner-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #22A96B 0%, #1A8754 100%);
  color: #FFFFFF !important;
  font-weight: 800;
  font-size: 12.5px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 14px rgba(26, 135, 84, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  line-height: 1.3;
  text-align: center;
}

@media (max-width: 375px) {
  .all-days-banner-btn {
    font-size: 11.5px;
    padding: 8px 6px;
  }
}

.all-days-banner-btn:active {
  transform: scale(0.98);
  opacity: 0.95;
}

/* === Модуль: inline-player.css === */
/* Встроенный видеоплеер в страницах */
/* ========================================================
   ВСТРОЕННЫЙ ВИДЕОПЛЕЕР В СТРАНИЦЕ ДНЯ
   ======================================================== */
.inline-video-card {
  padding: 16px !important;
  margin-bottom: 16px !important;
  background: var(--bg-card, #FFFFFF);
  border-radius: var(--radius-card, 16px);
  border: 1px solid rgba(20, 18, 20, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.inline-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.inline-video-title {
  font-size: 14px;
  font-weight: 700;
  color: #260C14;
  display: flex;
  align-items: center;
  gap: 6px;
}

.inline-video-fullscreen-btn {
  background: rgba(20, 18, 20, 0.06);
  border: 1px solid rgba(20, 18, 20, 0.1);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #260C14;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.inline-video-fullscreen-btn:hover {
  background: rgba(20, 18, 20, 0.1);
}

.inline-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.inline-video-wrapper video,
.inline-video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  background: #000000;
  display: block;
  object-fit: contain;
}

/* Полноэкранный режим поверх всех окон (для Telegram WebApp и моб. браузеров) */
.video-pseudo-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 9999999 !important;
  background: #000000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.video-pseudo-fullscreen video {
  width: 100% !important;
  height: 100% !important;
  max-height: 100vh !important;
  object-fit: contain !important;
}

.video-pseudo-fullscreen-close {
  position: absolute !important;
  top: max(16px, env(safe-area-inset-top, 16px)) !important;
  right: 16px !important;
  z-index: 10000000 !important;
  background: rgba(0, 0, 0, 0.75) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 20px !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  backdrop-filter: blur(8px) !important;
}

/* ========================================================
   ТЕЛЕМЕТРИЯ ЧИСТОГО ПРОСМОТРА И ПРОГРЕСС-БАР
   ======================================================== */
.video-telemetry-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(26, 135, 84, 0.05);
  border: 1px solid rgba(26, 135, 84, 0.18);
  border-radius: 12px;
}

.video-telemetry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.video-telemetry-label {
  font-weight: 700;
  color: #260C14;
}

.video-telemetry-time {
  font-weight: 600;
  color: var(--text-muted, #5C5857);
}

.video-telemetry-bar-wrap {
  width: 100%;
  height: 6px;
  background: rgba(20, 18, 20, 0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.video-telemetry-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #1A8754 0%, #22A96B 100%);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.video-telemetry-hint {
  font-size: 11.5px;
  color: var(--text-muted, #5C5857);
  line-height: 1.4;
}

/* ========================================================
   КАРТОЧКА ПРОВЕРОЧНОГО ВОПРОСА И КВАЛИФИКАЦИИ
   ======================================================== */
.lesson-quiz-card {
  margin-bottom: 16px !important;
  border: 1.5px solid rgba(26, 135, 84, 0.3) !important;
  background: #FFFFFF !important;
  box-shadow: 0 6px 24px rgba(26, 135, 84, 0.08) !important;
  animation: fadeIn 0.4s ease;
}

.lesson-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-btn {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: #FAFAFA;
  border: 1.5px solid rgba(20, 18, 20, 0.1);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.quiz-option-btn:hover {
  background: #F4FBF7;
  border-color: rgba(26, 135, 84, 0.4);
}

.quiz-option-btn.is-selected {
  background: rgba(34, 169, 107, 0.12) !important;
  border-color: #1A8754 !important;
  box-shadow: 0 0 0 1px #1A8754;
}

.quiz-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  background: #FFFFFF;
  transition: all 0.2s ease;
}

.quiz-option-btn.is-selected .quiz-option-radio {
  border-color: #1A8754;
  background: #1A8754;
}

.quiz-option-text {
  font-size: 13px;
  font-weight: 600;
  color: #260C14;
  line-height: 1.35;
}

/* ========================================================
   ВЫДАЧА ЧЕК-ЛИСТА
   ======================================================== */
.checklist-success-banner {
  margin-top: 14px;
  padding: 14px;
  background: rgba(34, 169, 107, 0.1);
  border: 1px solid rgba(34, 169, 107, 0.3);
  border-radius: 12px;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.btn-download-checklist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1A8754 0%, #15803D 100%);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(26, 135, 84, 0.3);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.btn-download-checklist:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 135, 84, 0.4);
}

/* ========================================================
   ОПОВЕЩЕНИЯ И СОСТОЯНИЯ ЗАВЕРШЕНИЯ УРОКА
   ======================================================== */
.meta-video-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  max-width: min(92vw, 440px);
  width: calc(100% - 32px);
  background: #FFFFFF;
  border: 1.5px solid #D4AF6E;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(38, 12, 20, 0.16);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.meta-video-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Анимация встряхивания шкалы прогресса */
.telemetry-shake {
  animation: shakeTelemetry 0.45s ease-in-out;
}

@keyframes shakeTelemetry {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Анимация подсветки проверочного вопроса */
.quiz-pulse-highlight {
  animation: pulseQuiz 0.8s ease-in-out;
}

@keyframes pulseQuiz {
  0% { box-shadow: 0 0 0 0 rgba(34, 169, 107, 0.6); }
  50% { box-shadow: 0 0 0 12px rgba(34, 169, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 169, 107, 0); }
}

/* Состояния кнопки завершения урока */
#markCompletedBtn.btn-locked-progress {
  opacity: 0.72;
  background: #E5E1D8 !important;
  color: #5C5857 !important;
  border: 1px solid rgba(20, 18, 20, 0.12) !important;
  box-shadow: none !important;
  cursor: pointer;
}

#markCompletedBtn.btn-ready-progress {
  opacity: 1;
  background: linear-gradient(135deg, #22A96B 0%, #1A8754 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 24px rgba(26, 135, 84, 0.45) !important;
  cursor: pointer;
}

/* === Модуль: user-card.css === */
/* Карточка зарегистрированного участника */
/* ========================================================
   КАРТОЧКА ЗАРЕГИСТРИРОВАННОГО УЧАСТНИКА (SMART PARTICIPANT CARD)
   ======================================================== */
.participant-welcome-card {
  background: #FAF8F5;
  border: 1.5px solid rgba(212, 175, 110, 0.55);
  box-shadow: 0 8px 24px rgba(20, 18, 20, 0.08), 0 2px 6px rgba(212, 175, 110, 0.15);
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin: 14px auto 0;
  max-width: 440px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeInParticipantCard 0.25s ease-out;
}

@keyframes fadeInParticipantCard {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.participant-welcome-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C6A2E;
  background: rgba(212, 175, 110, 0.16);
  border: 1px solid rgba(212, 175, 110, 0.35);
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.participant-welcome-header {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  margin-bottom: 12px;
}

.participant-avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FAF4E6 0%, #E8D5B0 100%);
  border: 1.5px solid #D4AF6E;
  color: #8C6A2E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(212, 175, 110, 0.25);
}

.participant-welcome-user {
  flex: 1;
  min-width: 0;
}

.participant-welcome-greeting {
  font-size: 10.5px;
  color: #8A8580;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  line-height: 1.2;
}

.participant-welcome-name {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 17px;
  font-weight: 700;
  color: #141214;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.participant-stats-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}

.participant-stat-pill {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 10px;
  padding: 6px 4px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.stat-pill-icon {
  font-size: 13px;
  line-height: 1;
  margin-bottom: 2px;
}

.stat-pill-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #1A8754;
  line-height: 1.2;
}

.stat-pill-lbl {
  font-size: 9.5px;
  color: #8A8580;
  text-transform: lowercase;
  margin-top: 1px;
}

.participant-cabinet-btn {
  margin-top: 0 !important;
  width: 100% !important;
  box-shadow: 0 6px 20px rgba(26, 135, 84, 0.35) !important;
}

/* === Модуль: floating-gift.css === */
/* ======================================================================
   ПЛАВАЮЩИЙ ВИДЖЕТ: ПОДАРОК В 1 КЛИК В TELEGRAM (Отключен)
   ====================================================================== */

.meta-floating-gift,
#metaFloatingGiftWidget {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* === Модуль: web-push.css === */
/* ======================================================================
   КОМПОНЕНТ: БАННЕР ПОДПИСКИ НА WEB PUSH (web-push.css)
   ====================================================================== */

.meta-push-banner {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9998;
  max-width: 380px;
  width: calc(100% - 32px);
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.45);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(26, 135, 84, 0.1);
  padding: 12px 14px;
  transform: translateY(-20px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  box-sizing: border-box;
}

.meta-push-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.meta-push-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-push-bell {
  font-size: 24px;
  line-height: 1;
  animation: bellRing 2s ease infinite;
  flex-shrink: 0;
}

.meta-push-text {
  flex: 1;
  min-width: 0;
}

.meta-push-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.meta-push-desc {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.35;
  margin-top: 2px;
}

.meta-push-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.meta-push-btn-accept {
  background: #1A8754;
  color: #FFFFFF;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.meta-push-btn-accept:hover {
  background: #157347;
}

.meta-push-btn-later {
  background: transparent;
  color: #9CA3AF;
  border: none;
  font-size: 11px;
  padding: 3px 6px;
  cursor: pointer;
  white-space: nowrap;
}

.meta-push-btn-later:hover {
  color: #4B5563;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(10deg); }
  20%, 40% { transform: rotate(-10deg); }
  50% { transform: rotate(0); }
}

@media (max-width: 480px) {
  .meta-push-banner {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
  }
}

/* === Модуль: site-chat.css === */
/* ======================================================================
   ОНЛАЙН-ЧАТ НА САЙТЕ С МОСТОМ В TELEGRAM (site-chat.css)
   ====================================================================== */

/* Плавающая кнопка вызова поддержки */
.meta-chat-trigger-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: auto;
  z-index: 9980;
  display: flex;
  align-items: center;
  gap: 0;
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid rgba(26, 135, 84, 0.45);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(26, 135, 84, 0.12);
  padding: 6px 14px 6px 6px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s ease,
              border-color 0.2s ease,
              background 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.meta-chat-trigger-btn:hover,
.meta-chat-trigger-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  border-color: #1A8754;
}

.meta-chat-trigger-icon-wrap {
  position: relative;
  width: 36px;
  height: 36px;
  background: #E8F5E9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.meta-chat-trigger-btn:hover .meta-chat-trigger-icon-wrap {
  transform: scale(1.05);
}

.meta-chat-trigger-online-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  background: #22C55E;
  border: 1.5px solid #FFFFFF;
  border-radius: 50%;
}

.meta-chat-trigger-label {
  font-size: 13px;
  font-weight: 700;
  color: #1F2937;
  white-space: nowrap;
  max-width: 180px;
  opacity: 1;
  margin-left: 8px;
  margin-right: 4px;
}

.meta-chat-unread-badge {
  display: none;
  position: absolute;
  top: -3px;
  right: -3px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 6px;
  border: 1.5px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* Окно диалога */
.meta-chat-window {
  position: fixed;
  bottom: 84px;
  right: 24px;
  left: auto;
  z-index: 9985;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 100px);
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.45);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18), 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
}

.meta-chat-window.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Шапка чата */
.meta-chat-header {
  background: linear-gradient(135deg, #1A8754 0%, #13653F 100%);
  color: #FFFFFF;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.meta-chat-header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-chat-avatar {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.meta-chat-header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.meta-chat-header-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.meta-chat-header-status {
  font-size: 11px;
  color: #A7F3D0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meta-chat-header-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #34D399;
  border-radius: 50%;
}

.meta-chat-close-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: #FFFFFF;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.15s;
}

.meta-chat-close-btn:hover {
  background: rgba(0, 0, 0, 0.35);
}

/* Тело чата */
.meta-chat-body {
  flex: 1;
  background: #F8FAFC;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}

.meta-chat-welcome {
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  color: #5C5857;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 4px;
}

.meta-chat-msg {
  max-width: 82%;
  display: flex;
  flex-direction: column;
  word-break: break-word;
}

.meta-chat-msg.visitor {
  align-self: flex-end;
}

.meta-chat-msg.admin {
  align-self: flex-start;
}

.meta-chat-bubble {
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.4;
}

.meta-chat-msg.visitor .meta-chat-bubble {
  background: #1A8754;
  color: #FFFFFF;
  border-radius: 14px 14px 2px 14px;
  box-shadow: 0 2px 6px rgba(26, 135, 84, 0.2);
}

.meta-chat-msg.admin .meta-chat-bubble {
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #E2E8F0;
  border-radius: 14px 14px 14px 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.meta-chat-time {
  font-size: 9.5px;
  color: #94A3B8;
  margin-top: 3px;
}

.meta-chat-msg.visitor .meta-chat-time {
  align-self: flex-end;
}

.meta-chat-msg.admin .meta-chat-time {
  align-self: flex-start;
}

/* Нижняя панель ввода */
.meta-chat-footer {
  padding: 10px 12px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.meta-chat-input {
  flex: 1;
  height: 38px;
  border: 1px solid #CBD5E1;
  border-radius: 20px;
  padding: 0 14px;
  font-size: 12.5px;
  color: #1F2937;
  outline: none;
  background: #F8FAFC;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}

.meta-chat-input:focus {
  border-color: #1A8754;
  background: #FFFFFF;
}

.meta-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1A8754;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.meta-chat-send-btn:hover {
  background: #157347;
  transform: scale(1.05);
}

.meta-chat-send-btn:disabled {
  background: #CBD5E1;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 600px) {
  .meta-chat-trigger-btn {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    right: 12px;
    left: auto;
    padding: 5px 10px 5px 5px;
  }
  .meta-chat-trigger-btn:hover,
  .meta-chat-trigger-btn:focus-visible {
    padding: 5px 10px 5px 5px;
  }
  .meta-chat-trigger-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
  .meta-chat-trigger-label {
    font-size: 11.5px;
    max-width: 140px;
    margin-left: 6px;
    margin-right: 2px;
  }
  .meta-chat-window {
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
  }
}

/* === Модуль: lead-modal.css === */
/* Модальное окно первого входа и онбординга */
/* Onboarding Modal Styles - Институт Прикладной Метафизики */
.meta-onboard-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.meta-onboard-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-onboard-card {
  width: 100%;
  max-width: 440px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 110, 0.35);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 26px 22px 22px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #141214;
}

.meta-onboard-backdrop.is-open .meta-onboard-card {
  transform: translateY(0) scale(1);
}

.meta-onboard-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(20, 18, 20, 0.12);
  background: #FAF8F5;
  color: #5C5857;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  padding: 0;
}

.meta-onboard-close:hover {
  background: #EBE6DC;
  color: #141214;
}

.meta-onboard-header {
  text-align: center;
  margin-bottom: 20px;
}

.meta-onboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(212, 175, 110, 0.15);
  border: 1px solid rgba(212, 175, 110, 0.4);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8C6A2E;
  margin-bottom: 10px;
}

.meta-onboard-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 21px;
  font-weight: 700;
  color: #141214;
  line-height: 1.25;
  margin: 0 0 6px;
}

.meta-onboard-subtitle {
  font-size: 12.5px;
  color: #5C5857;
  line-height: 1.45;
  margin: 0;
}

.meta-onboard-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meta-onboard-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.meta-onboard-label {
  font-size: 12px;
  font-weight: 600;
  color: #141214;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta-onboard-opt {
  font-size: 11px;
  font-weight: 400;
  color: #8C8786;
}

.meta-onboard-input-wrap {
  position: relative;
}

.meta-onboard-input {
  width: 100%;
  height: 44px;
  padding: 0 12px 0 38px;
  border-radius: 12px;
  border: 1px solid rgba(20, 18, 20, 0.16);
  background: #FAF8F5;
  font-size: 16px;
  font-family: inherit;
  color: #141214;
  box-sizing: border-box;
  transition: all 0.2s ease;
  outline: none;
}

.meta-onboard-input:focus {
  background: #FFFFFF;
  border-color: #1A8754;
  box-shadow: 0 0 0 3px rgba(26, 135, 84, 0.15);
}

.meta-onboard-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #8C8786;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-tg-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  background: #EBF7FE;
  border: 1px solid rgba(42, 171, 238, 0.35);
  border-radius: 10px;
  color: #0E7CB8;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  margin-top: 4px;
}

.meta-tg-contact-btn:hover {
  background: #D8F0FD;
  border-color: #2AABEE;
}

.meta-onboard-btn-submit {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  background: linear-gradient(135deg, #F5BA24 0%, #D48811 100%) !important;
  color: #1D1916 !important;
  font-size: 15px;
  font-weight: 800 !important;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 22px -4px rgba(212, 136, 17, 0.45) !important;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  margin-top: 6px;
}

.meta-onboard-btn-submit:hover {
  box-shadow: 0 12px 26px -4px rgba(212, 136, 17, 0.55) !important;
}

.meta-onboard-btn-submit:active {
  transform: scale(0.98);
}

.meta-onboard-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.meta-onboard-legal {
  font-size: 10.5px;
  color: #8C8786;
  text-align: center;
  line-height: 1.4;
  margin-top: 10px;
}

.meta-onboard-legal a {
  color: #5C5857;
  text-decoration: underline;
}

/* Spinner */
.meta-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: meta-spin 0.7s linear infinite;
  display: inline-block;
}

@keyframes meta-spin {
  to { transform: rotate(360deg); }
}

/* Адаптивность для мобильных экранов и виртуальной клавиатуры iOS Safari */
@media (max-width: 600px) {
  .meta-onboard-backdrop {
    align-items: flex-start;
    padding: max(12px, env(safe-area-inset-top, 12px)) 12px max(32px, env(safe-area-inset-bottom, 32px));
    -webkit-overflow-scrolling: touch;
  }

  .meta-onboard-card {
    margin: auto 0;
    max-height: none;
    overflow-y: visible;
    padding: 22px 18px 20px;
    border-radius: 18px;
  }

  .meta-onboard-input {
    font-size: 16px; /* Предотвращает авто-зум экрана в Safari на iOS */
    height: 46px;
  }
}

/* === Модуль: quiz-modal.css === */
/* Многошаговый квиз/опросник при регистрации */
/* Quiz Multi-step Styles */
.meta-onboard-progress {
  width: 100%;
  height: 4px;
  background: rgba(20, 18, 20, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 16px;
}

.meta-onboard-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #D4AF37, #1A8754);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.meta-onboard-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.meta-quiz-back-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 11.5px;
  font-weight: 600;
  color: #8C6A2E;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-quiz-back-btn:hover {
  text-decoration: underline;
}

.meta-quiz-step-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8C8786;
}

.meta-quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.meta-quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  background: #FAF8F5;
  border: 1.5px solid rgba(20, 18, 20, 0.1);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s ease;
  font-size: 13px;
  line-height: 1.45;
  color: #141214;
  font-weight: 500;
  user-select: none;
}

.meta-quiz-option:hover {
  border-color: #1A8754;
  background: #F4FAF6;
}

.meta-quiz-option:active,
.meta-quiz-option.is-selected {
  border-color: #1A8754;
  background: #E8F7EE;
  box-shadow: 0 4px 12px rgba(26, 135, 84, 0.14);
}

.meta-quiz-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(20, 18, 20, 0.25);
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.meta-quiz-option:hover .meta-quiz-radio {
  border-color: #1A8754;
}

.meta-quiz-option.is-selected .meta-quiz-radio {
  border-color: #1A8754;
  background: #1A8754;
}

.meta-quiz-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.meta-quiz-option.is-selected .meta-quiz-radio::after {
  opacity: 1;
}

/* Bonus banner on final step */
.meta-bonus-banner {
  background: linear-gradient(135deg, #FAF8F5 0%, #E8F7EE 100%);
  border: 1.5px solid rgba(26, 135, 84, 0.3);
  border-radius: 14px;
  padding: 12px 14px;
  text-align: center;
  margin-bottom: 12px;
}

.meta-bonus-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: #1A8754;
  margin-bottom: 2px;
}

.meta-bonus-banner-sub {
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.4;
}

/* === Модуль: questionnaire-modal.css === */
/* Модальное окно анкеты предзаписи */
/* ========================================================
   МОДАЛЬНОЕ ОКНО АНКЕТЫ ПРЕДЗАПИСИ (4 ВОПРОСА)
   ======================================================== */
.meta-quest-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.meta-quest-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-quest-card {
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 26px 20px 22px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: left;
  color: #141214;
}

.meta-quest-backdrop.is-open .meta-quest-card {
  transform: translateY(0) scale(1);
}

.meta-quest-textarea {
  width: 100%;
  min-height: 84px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 16px;
  color: #141214;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
  transition: border-color 0.15s, background-color 0.15s;
}

.meta-quest-textarea:focus {
  outline: none;
  border-color: #1A8754;
  background: #FFFFFF;
}

.meta-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.10);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  color: #141214;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.15s ease;
}

.meta-radio-label:hover {
  background: #F4F1EA;
}

.meta-radio-label input[type="radio"] {
  margin-top: 2px;
  accent-color: #1A8754;
  flex-shrink: 0;
}

/* === Модуль: video-player-modal.css === */
/* Модальное окно видеоплеера */
/* ========================================================
   МОДАЛЬНОЕ ОКНО ПРОСМОТРА ЭФИРА / ЗАПИСИ (KINESCOPE / GETCOURSE)
   ======================================================== */
.btn-video-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid #1A8754;
  border-radius: 12px;
  color: #1A8754;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(26, 135, 84, 0.12);
}

.btn-video-player:active {
  transform: scale(0.98);
  background: rgba(34, 169, 107, 0.08);
}

.meta-video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.meta-video-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-video-modal-card {
  width: 100%;
  max-width: 500px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.5);
  border-radius: 20px;
  padding: 18px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.meta-video-modal-backdrop.is-open .meta-video-modal-card {
  transform: translateY(0) scale(1);
}

.meta-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 28px;
}

.meta-video-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 15px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.3;
}

.meta-video-player-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0D0A0B;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}

.meta-video-player-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.meta-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, #1F0D15 0%, #0E0509 100%);
  color: #F7F4EE;
  gap: 10px;
}

.meta-video-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34, 169, 107, 0.2);
  border: 1.5px solid #22A96B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #22A96B;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.meta-video-placeholder-icon:hover {
  transform: scale(1.08);
}

.meta-video-actions-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-video-action-mini {
  flex: 1;
  height: 36px;
  background: #FAF8F5;
  border: 1px solid rgba(20, 18, 20, 0.12);
  border-radius: 10px;
  color: #5C5857;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-video-action-mini:hover {
  background: #F0EDE6;
  color: #141214;
  border-color: #D4AF6E;
}

/* === Модуль: live-wait-modal.css === */
/* Модальные заглушки прямого эфира и таймер */
/* ========================================================
   МОДАЛЬНЫЕ ЗАГЛУШКИ ДЛЯ ПРЯМОГО ЭФИРА И ЗАПИСИ
   ======================================================== */
.meta-wait-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 20, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.meta-wait-modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.meta-wait-modal-card {
  width: 100%;
  max-width: 440px;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  box-shadow: 0 20px 50px -10px rgba(38, 12, 20, 0.35), 0 0 25px rgba(212, 175, 110, 0.2);
  padding: 24px 20px 20px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  text-align: center;
  color: #141214;
}

.meta-wait-modal-backdrop.is-open .meta-wait-modal-card {
  transform: translateY(0) scale(1);
}

.meta-wait-icon-circle {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212, 175, 110, 0.2) 0%, rgba(140, 106, 46, 0.12) 100%);
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 14px rgba(212, 175, 110, 0.2);
}

.meta-wait-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8C6A2E;
  background: rgba(212, 175, 110, 0.14);
  border: 1px solid rgba(212, 175, 110, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.meta-wait-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 18px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.3;
  margin-bottom: 6px;
}

.meta-wait-sub {
  font-size: 12.5px;
  color: #5C5857;
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Сетка таймера обратного отсчета */
.meta-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.meta-countdown-box {
  background: #FAF7F2;
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.meta-countdown-num {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 20px;
  font-weight: 800;
  color: #260C14;
  line-height: 1.1;
}

.meta-countdown-label {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #8C6A2E;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* Информационный блок с акцентом */
.meta-wait-info-card {
  background: #FAF8F5;
  border-left: 3.5px solid #1A8754;
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.meta-wait-info-text {
  font-size: 12px;
  color: #332B29;
  line-height: 1.5;
}

.meta-wait-info-text strong {
  color: #141214;
}

.meta-wait-tip {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.4;
  text-align: left;
  background: rgba(212, 175, 110, 0.1);
  border: 1px dashed rgba(212, 175, 110, 0.4);
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 16px;
}

.meta-wait-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(20, 18, 20, 0.15);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.meta-btn-secondary:hover {
  background: rgba(20, 18, 20, 0.04);
  color: var(--text-main);
}

.btn-tg-channel,
.btn-vk-chat {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  height: 46px !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(26, 135, 84, 0.3) !important;
  border-radius: 12px !important;
  color: #1A8754 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  transition: background 0.15s, border-color 0.15s, transform 0.15s !important;
}
.btn-tg-channel:hover,
.btn-vk-chat:hover {
  background: #F0F9F4 !important;
  border-color: #1A8754 !important;
  color: #1A8754 !important;
}
.btn-tg-channel svg,
.btn-vk-chat svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

/* === Модуль: exit-intent-modal.css === */
/* ======================================================================
   МОДАЛЬНОЕ ОКНО: EXIT-INTENT POPUP (exit-intent-modal.css)
   (Перехват уходящих посетителей: подарок PDF по 4 стихиям)
   ====================================================================== */

.meta-exit-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}

.meta-exit-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.meta-exit-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.45);
  border-radius: 20px;
  max-width: 460px;
  width: 100%;
  padding: 26px 22px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 24px rgba(26, 135, 84, 0.15);
  text-align: center;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.meta-exit-backdrop.is-open .meta-exit-card {
  transform: translateY(0) scale(1);
}

.meta-exit-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F3F4F6;
  border: none;
  color: #6B7280;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.meta-exit-close-btn:hover {
  background: #E5E7EB;
  color: #111827;
}

.meta-exit-badge {
  display: inline-block;
  background: rgba(212, 175, 110, 0.16);
  color: #8C6A2E;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.meta-exit-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 6px;
}

.meta-exit-subtitle {
  font-size: 13px;
  color: #5C5857;
  line-height: 1.45;
  margin: 0 0 16px;
}

.meta-exit-gift-box {
  background: #FAF8F5;
  border: 1px solid rgba(212, 175, 110, 0.35);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 18px;
  text-align: left;
}

.meta-exit-gift-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.meta-exit-gift-icon {
  font-size: 26px;
  line-height: 1;
}

.meta-exit-gift-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #1A8754;
  line-height: 1.3;
}

.meta-exit-bullets {
  margin: 0;
  padding-left: 20px;
  font-size: 12px;
  color: #4B5563;
  line-height: 1.5;
}

.meta-exit-bullets li {
  margin-bottom: 3px;
}

.meta-exit-btn-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #1A8754 0%, #157347 100%);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(26, 135, 84, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.meta-exit-btn-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 135, 84, 0.45);
  color: #FFFFFF;
}

.meta-exit-hint {
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 8px;
  margin-bottom: 12px;
}

.meta-exit-dismiss-link {
  font-size: 12px;
  color: #6B7280;
  background: none;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px;
}

.meta-exit-dismiss-link:hover {
  color: #111827;
}

@media (max-width: 480px) {
  .meta-exit-card {
    padding: 22px 16px 18px;
  }
  .meta-exit-title {
    font-size: 18px;
  }
  .meta-exit-subtitle {
    font-size: 12.5px;
  }
  .meta-exit-gift-name {
    font-size: 12.5px;
  }
}

/* === Модуль: landing.css === */
/* Стили страницы лендинга */
/* ==========================================
   Landing & Index Styles
   ========================================== */
:root {
      --bg-cream: #F7F4EE;
      --bg-card: #FFFFFF;
      --text-main: #141214;
      --text-dark: #260C14;
      --text-muted: #5C5857;
      --brand-accent: #260C14;
      --emerald-from: #22A96B;
      --emerald-to: #1A8754;
      --gold-primary: #D4AF6E;
      --gold-soft: rgba(212, 175, 110, 0.15);
      --gold-border: rgba(212, 175, 110, 0.35);
      --font-serif: 'Cinzel', Georgia, serif;
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    html {
      overflow-x: clip;
      max-width: 100%;
    }

    body {
      overflow-x: clip;
      max-width: 100%;
      background-color: #F7F4EE !important;
      background-image: 
        radial-gradient(circle 500px at 50% 0%, rgba(212, 175, 110, 0.12), transparent 75%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220' fill='none'%3E%3Ccircle cx='110' cy='110' r='68' stroke='%23D4AF6E' stroke-width='0.75' stroke-dasharray='4 4' stroke-opacity='0.08'/%3E%3Ccircle cx='110' cy='110' r='36' stroke='%23D4AF6E' stroke-width='0.6' stroke-opacity='0.07'/%3E%3Ccircle cx='110' cy='110' r='94' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.05'/%3E%3Cpath d='M110 42 L110 178 M42 110 L178 110' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3Cpath d='M62 62 L158 158 M62 158 L158 62' stroke='%23D4AF6E' stroke-width='0.4' stroke-dasharray='2 3' stroke-opacity='0.05'/%3E%3Cpath d='M110 14 L112 24 L122 26 L112 28 L110 38 L108 28 L98 26 L108 24 Z' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cpath d='M195 130 L196 136 L202 137 L196 138 L195 144 L194 138 L188 137 L194 136 Z' fill='%23D4AF6E' fill-opacity='0.07'/%3E%3Ccircle cx='30' cy='44' r='1.6' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Ccircle cx='56' cy='28' r='1.3' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='76' cy='52' r='1.5' fill='%23D4AF6E' fill-opacity='0.09'/%3E%3Cline x1='30' y1='44' x2='56' y2='28' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Cline x1='56' y1='28' x2='76' y2='52' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.07'/%3E%3Ccircle cx='170' cy='36' r='1.2' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Ccircle cx='194' cy='50' r='1.4' fill='%23D4AF6E' fill-opacity='0.08'/%3E%3Cline x1='170' y1='36' x2='194' y2='50' stroke='%23D4AF6E' stroke-width='0.5' stroke-opacity='0.06'/%3E%3C/svg%3E") !important;
      background-repeat: no-repeat, repeat !important;
      background-position: top center, top left !important;
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.5;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      padding: 0;
    }

    .app-container {
      width: 100%;
      max-width: 500px;
      box-sizing: border-box;
      padding: 16px 14px 40px;
      margin: 0 auto;
      position: relative;
    }

    /* Top bar */
    .top-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
      padding: 0 4px;
    }

    .brand-header-link {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
    }

    .brand-logo-circle {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      overflow: hidden;
      background: #200B11;
      border: 1.5px solid #D4AF6E;
      box-shadow: 0 2px 10px rgba(212, 175, 110, 0.25);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .brand-logo-circle img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .brand-text-block {
      display: flex;
      flex-direction: column;
      line-height: 1.15;
    }

    .brand-text-top {
      font-family: var(--font-serif);
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #7B1C15;
    }

    .brand-text-bottom {
      font-family: var(--font-serif);
      font-size: 13.5px;
      font-weight: 800;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      color: #7B1C15;
    }

    .cabinet-link {
      font-size: 12px;
      font-weight: 600;
      color: #1A8754;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 3px;
      transition: opacity 0.15s;
    }
    .cabinet-link:hover {
      opacity: 0.8;
      text-decoration: underline;
    }

    /* Format pill badge */
    .pill-badge {
      display: block;
      width: fit-content;
      margin: 0 auto 14px;
      padding: 5px 14px;
      background: #FFFFFF;
      border: 1px solid var(--gold-border);
      border-radius: 999px;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #9C7A41;
      box-shadow: 0 2px 8px rgba(212, 175, 110, 0.12);
      text-align: center;
    }

    /* Hero Poster Card */
    .hero-card {
      background: #FFFFFF;
      border-radius: 20px;
      border: 1px solid rgba(20, 18, 20, 0.08);
      box-shadow: 0 6px 24px -2px rgba(38, 12, 20, 0.06);
      padding: 22px 16px 22px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    /* БЛОК АВАТАРА В ШАПКЕ */
    .expert-container {
      margin-bottom: 18px;
      text-align: center;
    }

    .expert-avatar {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 2px solid #D4AF6E;
      box-shadow: 0 0 16px rgba(212, 175, 110, 0.25);
      margin: 0 auto 8px;
      overflow: hidden;
      background: #231B19;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

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

    .expert-avatar svg {
      width: 36px;
      height: 36px;
      color: #D4AF6E;
    }

    .expert-name {
      font-weight: 700;
      font-size: 15px;
      color: #141214;
      line-height: 1.25;
      margin-bottom: 2px;
    }

    .expert-role {
      font-size: 12px;
      color: #5C5857;
      line-height: 1.35;
    }

    .hero-h1 {
      font-family: var(--font-serif);
      font-size: 22px;
      line-height: 1.28;
      font-weight: 800;
      color: #141214;
      margin-bottom: 12px;
      letter-spacing: -0.01em;
    }

    .hero-h1 span.accent {
      color: #1A8754;
      font-style: italic;
    }

    .hero-subtitle {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      margin-bottom: 16px;
      padding: 0 4px;
    }

    .hero-dates-badge {
      display: inline-block;
      background: rgba(212, 175, 110, 0.15);
      border: 1px solid var(--gold-border);
      padding: 6px 14px;
      border-radius: 8px;
      font-size: 11px;
      font-weight: 700;
      color: #9C7A41;
      letter-spacing: 0.04em;
      margin-bottom: 4px;
    }

    /* ИЗУМРУДНЫЙ СТИЛЬ ГЛАВНЫХ КНОПОК */
    .btn-emerald, .btn-main, .btn-gold {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 52px;
      background: linear-gradient(135deg, #F5BA24 0%, #D48811 100%) !important;
      color: #1D1916 !important;
      font-family: var(--font-sans);
      font-size: 15px;
      font-weight: 800 !important;
      text-decoration: none;
      border-radius: 14px !important;
      border: 1px solid rgba(255, 255, 255, 0.45) !important;
      box-shadow: 0 10px 24px -4px rgba(212, 136, 17, 0.42) !important;
      cursor: pointer;
      margin-top: 14px;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
    }
    .btn-emerald:hover, .btn-main:hover, .btn-gold:hover {
      box-shadow: 0 12px 28px -4px rgba(212, 136, 17, 0.52) !important;
      color: #1D1916 !important;
    }
    .btn-emerald:active, .btn-main:active, .btn-gold:active {
      transform: scale(0.98);
      box-shadow: 0 4px 12px rgba(212, 136, 17, 0.3) !important;
      color: #1D1916 !important;
    }

    .cta-subtext {
      text-align: center;
      font-size: 11.5px;
      color: var(--text-muted);
      margin-top: 8px;
      line-height: 1.4;
    }

    .cta-pre-order-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-top: 10px;
      font-size: 12.5px;
      font-weight: 600;
      color: #1A8754;
      text-decoration: none;
      text-align: center;
      transition: opacity 0.15s;
    }
    .cta-pre-order-link:hover {
      opacity: 0.85;
      text-decoration: underline;
    }

    /* Разделители */
    .divider-symbol {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin: 26px 0;
      color: #D4AF6E;
      font-size: 12px;
    }
    .divider-symbol::before,
    .divider-symbol::after {
      content: '';
      height: 1px;
      width: 44px;
      background: rgba(212, 175, 110, 0.3);
    }

    /* Белые карточки (.card) */
    .card, .section-card {
      background: #FFFFFF;
      border-radius: 16px;
      border: 1px solid rgba(20, 18, 20, 0.07);
      box-shadow: 0 4px 20px -2px rgba(38, 12, 20, 0.05);
      padding: 20px 16px;
    }

    .section-title {
      font-weight: 700;
      font-size: 15px;
      text-align: center;
      color: #260C14;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      line-height: 1.35;
    }

    .gold-bar {
      width: 36px;
      height: 2px;
      background: #D4AF6E;
      margin: 8px auto 16px;
      border-radius: 2px;
    }

    /* БЛОК БОЛЕЙ (без серых длинных тире) */
    .pain-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .pain-item {
      background: #FAF8F5;
      border: 1px solid rgba(20, 18, 20, 0.06);
      border-left: 3.5px solid #1A8754;
      border-radius: 12px;
      padding: 12px 14px;
      font-size: 12.5px;
      line-height: 1.45;
      color: #383433;
    }

    .pain-item strong {
      color: #141214;
      font-weight: 700;
      display: inline;
    }

    /* УНИФИКАЦИЯ БЕЙДЖЕЙ */
    .badge-available {
      background: rgba(34, 169, 107, 0.12) !important;
      color: #1A8754 !important;
      border: 1px solid rgba(34, 169, 107, 0.35) !important;
      font-size: 10.5px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    .badge-locked {
      background: rgba(212, 175, 110, 0.15) !important;
      color: #9C7A41 !important;
      border: 1px solid rgba(212, 175, 110, 0.35) !important;
      font-size: 10.5px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    .badge-paid {
      background: rgba(212, 175, 110, 0.22) !important;
      color: #260C14 !important;
      border: 1px solid #D4AF6E !important;
      font-size: 10.5px;
      font-weight: 700;
      padding: 3px 9px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      gap: 3px;
    }

    /* Программа марафона */
    .program-stack {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .program-card {
      border: 1px solid rgba(20, 18, 20, 0.08);
      border-radius: 14px;
      background: #FAF8F5;
      overflow: hidden;
      transition: border-color 0.2s;
    }

    .program-card.active {
      border-color: #1A8754;
      background: #FFFFFF;
      box-shadow: 0 4px 14px rgba(26, 135, 84, 0.08);
    }

    .program-header {
      padding: 12px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      user-select: none;
      gap: 10px;
    }

    .program-header > div:first-child {
      flex: 1 1 auto;
      min-width: 0;
      text-align: left;
    }

    .program-header > div:last-child {
      flex: 0 0 auto;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .program-day-label {
      font-family: var(--font-serif);
      font-size: 11px;
      font-weight: 700;
      color: #9C7A41;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      display: block;
    }

    .program-title-line {
      font-size: 13.5px;
      font-weight: 700;
      color: #141214;
      margin-top: 2px;
      line-height: 1.35;
    }

    .accordion-chevron {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: rgba(212, 175, 110, 0.14);
      color: #8C6A2E;
      font-size: 10px;
      font-weight: 700;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
      flex-shrink: 0;
    }

    .program-card.active .accordion-chevron {
      transform: rotate(180deg);
      background: rgba(26, 135, 84, 0.16);
      color: #1A8754;
    }

    .program-body {
      display: none;
      padding: 0 14px 14px;
      border-top: 1px solid rgba(20, 18, 20, 0.06);
      padding-top: 10px;
    }

    .program-card.active .program-body {
      display: block;
      animation: fadeInAccordion 0.25s ease;
    }

    .program-bullets {
      list-style: none;
      margin-bottom: 10px;
    }

    .program-bullets li {
      font-size: 12px;
      color: #332B29;
      line-height: 1.45;
      margin-bottom: 6px;
      padding-left: 18px;
      position: relative;
    }

    .program-bullets li::before {
      content: '✓';
      position: absolute;
      left: 0;
      top: 0;
      color: #1A8754;
      font-weight: 800;
    }

    .stream-highlight-box {
      background: rgba(34, 169, 107, 0.08);
      border: 1px solid rgba(34, 169, 107, 0.25);
      border-radius: 9px;
      padding: 8px 10px;
      font-size: 11.5px;
      color: #145A32;
      line-height: 1.35;
      font-weight: 600;
      display: flex;
      align-items: flex-start;
      gap: 6px;
    }

    /* Блок автора */
    .author-bullets {
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .author-bullet-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      background: #FAF8F5;
      border-radius: 10px;
      padding: 10px 12px;
      border: 1px solid rgba(20, 18, 20, 0.06);
    }

    .author-check-circle {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: linear-gradient(135deg, #22A96B, #1A8754);
      color: #FFFFFF;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 800;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .author-bullet-text {
      font-size: 12px;
      color: var(--text-muted);
      line-height: 1.4;
    }
    .author-bullet-text strong {
      color: var(--text-main);
      display: block;
      margin-bottom: 2px;
      font-size: 12.5px;
    }

    /* Стоимость и якорь ценности */
    .price-block {
      text-align: center;
      padding: 18px 12px 14px;
    }

    .price-row {
      display: inline-flex;
      align-items: baseline;
      justify-content: center;
      gap: 12px;
      margin-bottom: 6px;
    }

    .price-old {
      font-family: var(--font-serif);
      font-size: 22px;
      font-weight: 700;
      color: #8C8786;
      text-decoration: line-through;
      letter-spacing: -0.01em;
    }

    .price-new {
      font-family: var(--font-serif);
      font-size: 40px;
      font-weight: 800;
      color: #1A8754;
      letter-spacing: -0.02em;
      line-height: 1;
    }

    .price-desc {
      font-size: 15px;
      font-weight: 700;
      color: #141214;
      line-height: 1.35;
      margin-bottom: 4px;
    }

    .price-hint {
      font-size: 11.5px;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* Компактный список механики */
    .mechanics-box {
      background: #FAF8F5;
      border: 1px solid rgba(212, 175, 110, 0.25);
      border-radius: 12px;
      padding: 10px 12px;
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 7px;
      margin: 10px 0 4px;
    }

    .mechanics-item {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 11.5px;
      line-height: 1.4;
      color: #332B29;
    }

    .mechanics-dot {
      font-size: 10px;
      line-height: 1.4;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .mechanics-dot.emerald-dot {
      color: #1A8754;
    }

    .mechanics-dot.gold-dot {
      color: #9C7A41;
    }

    /* Футер */
    .site-footer {
      margin-top: 28px;
      padding-top: 16px;
      border-top: 1px solid rgba(20, 18, 20, 0.08);
      text-align: center;
      font-size: 10.5px;
      color: var(--text-muted);
      line-height: 1.55;
    }

    .site-footer a {
      color: #1A8754;
      text-decoration: underline;
    }
  

    .bottom-nav-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(212, 175, 110, 0.25);
      z-index: 100;
      display: flex;
      justify-content: center;
    }
    .bottom-nav-container {
      width: 100%;
      max-width: 500px;
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 8px 12px 10px;
    }
    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      text-decoration: none;
      color: var(--text-muted);
      font-size: 10px;
      font-weight: 600;
      transition: color 0.15s;
    }
    .bottom-nav-item.active {
      color: #1A8754;
    }
    .bottom-nav-item svg {
      width: 20px;
      height: 20px;
    }
    .app-container {
      padding-bottom: 80px !important;
    }

    /* Плашка фоллбека с Telegram-рекламы */
    .tg-fallback-banner {
      background: rgba(34, 169, 107, 0.12);
      border: 1px solid rgba(34, 169, 107, 0.35);
      border-radius: 14px;
      padding: 10px 14px;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 12.5px;
      color: #141214;
      line-height: 1.45;
      box-shadow: 0 4px 12px rgba(26, 135, 84, 0.08);
    }
    .tg-fallback-banner strong {
      color: #1A8754;
    }

    /* Двойной CTA выбор формата входа для веб-трафика */
    .hero-web-dual-cta {
      display: flex;
      flex-direction: column;
      gap: 10px;
      width: 100%;
    }
    .btn-tg-action {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 52px;
      background: #2AABEE;
      color: #FFFFFF;
      text-decoration: none;
      font-weight: 700;
      font-size: 15px;
      border-radius: 14px;
      box-shadow: 0 6px 18px rgba(42, 171, 238, 0.35);
      border: none;
      cursor: pointer;
      transition: transform 0.15s ease;
    }
    .btn-tg-action:active {
      transform: scale(0.98);
    }
    .btn-web-action {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 48px;
      background: #FFFFFF;
      border: 1.5px solid #1A8754;
      color: #1A8754;
      text-decoration: none;
      font-weight: 700;
      font-size: 14px;
      border-radius: 14px;
      box-shadow: 0 4px 12px rgba(26, 135, 84, 0.12);
      cursor: pointer;
      transition: transform 0.15s ease, background 0.15s ease;
    }
    .btn-web-action:active {
      transform: scale(0.98);
      background: rgba(26, 135, 84, 0.06);
    }
    .web-dual-hint {
      font-size: 11.5px;
      color: #5C5857;
      text-align: center;
      margin-top: 4px;
      line-height: 1.4;
    }

    /* Стартовый шлюз выбора перед главной страницей */
    body.meta-gateway-active {
      overflow: hidden !important;
    }

    .meta-welcome-gateway {
      position: fixed;
      inset: 0;
      background: rgba(18, 12, 15, 0.90);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      z-index: 999999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      box-sizing: border-box;
      opacity: 1;
      transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .meta-welcome-gateway.meta-gateway-closing {
      opacity: 0;
      pointer-events: none;
      transform: scale(0.96);
    }

    .meta-gateway-card {
      width: 100%;
      max-width: 440px;
      background: #FFFFFF;
      border-radius: 24px;
      border: 1.5px solid rgba(212, 175, 110, 0.45);
      box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(212, 175, 110, 0.22);
      padding: 26px 20px 20px;
      text-align: center;
      box-sizing: border-box;
      animation: gatewayPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes gatewayPop {
      0% { opacity: 0; transform: translateY(20px) scale(0.95); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }

    .meta-gateway-logo {
      width: 64px;
      height: 64px;
      margin: 0 auto 12px;
      border-radius: 50%;
      padding: 2px;
      background: #FFFFFF;
      border: 1.5px solid rgba(212, 175, 110, 0.5);
      box-shadow: 0 4px 12px rgba(212, 175, 110, 0.25);
    }
    .meta-gateway-logo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }

    .meta-gateway-badge {
      display: inline-flex;
      align-items: center;
      padding: 4px 12px;
      background: rgba(212, 175, 110, 0.15);
      border: 1px solid rgba(212, 175, 110, 0.4);
      border-radius: 20px;
      font-size: 10.5px;
      font-weight: 700;
      letter-spacing: 0.05em;
      color: #8C6A2E;
      margin-bottom: 8px;
    }

    .meta-gateway-title {
      font-family: 'Cinzel', Georgia, serif;
      font-size: 19px;
      font-weight: 700;
      color: #141214;
      line-height: 1.3;
      margin-bottom: 6px;
    }

    .meta-gateway-desc {
      font-size: 12.5px;
      color: #5C5857;
      line-height: 1.45;
      margin-bottom: 18px;
    }

    .meta-gateway-actions {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-bottom: 14px;
    }

    .meta-gateway-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 12px 14px;
      border-radius: 16px;
      cursor: pointer;
      text-align: left;
      box-sizing: border-box;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      border: none;
    }
    .meta-gateway-btn:active {
      transform: scale(0.98);
    }

    .meta-gateway-btn-icon {
      font-size: 24px;
      flex-shrink: 0;
      line-height: 1;
    }

    .meta-gateway-btn-text {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .meta-gateway-btn-text strong {
      font-size: 14.5px;
      font-weight: 700;
      line-height: 1.25;
    }
    .meta-gateway-btn-text small {
      font-size: 11px;
      line-height: 1.3;
      opacity: 0.88;
    }

    .meta-gateway-btn-arrow {
      font-size: 16px;
      font-weight: 700;
      opacity: 0.7;
    }

    .meta-gateway-btn-tg {
      background: linear-gradient(135deg, #2AABEE 0%, #1E96D1 100%);
      color: #FFFFFF;
      box-shadow: 0 6px 20px rgba(42, 171, 238, 0.38);
    }

    .meta-gateway-divider {
      position: relative;
      text-align: center;
      margin: 2px 0;
    }
    .meta-gateway-divider::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      right: 0;
      height: 1px;
      background: rgba(20, 18, 20, 0.1);
    }
    .meta-gateway-divider span {
      position: relative;
      background: #FFFFFF;
      padding: 0 10px;
      font-size: 11px;
      font-weight: 600;
      color: #8A8580;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .meta-gateway-btn-web {
      background: #FAF8F5;
      border: 1.5px solid #1A8754;
      color: #141214;
      box-shadow: 0 4px 14px rgba(26, 135, 84, 0.12);
    }
    .meta-gateway-btn-web .meta-gateway-btn-text strong {
      color: #1A8754;
    }
    .meta-gateway-btn-web .meta-gateway-btn-text small {
      color: #5C5857;
    }
    .meta-gateway-btn-web .meta-gateway-btn-arrow {
      color: #1A8754;
    }

    .meta-gateway-footer {
      font-size: 11px;
      color: #8A8580;
      line-height: 1.35;
    }

    /* Редизайн 55+: Мягкая типографика, уют и визуальный комфорт для глаз */
    .hero-badge-55 {
      display: inline-block;
      background: rgba(212, 175, 110, 0.16);
      border: 1px solid rgba(212, 175, 110, 0.4);
      color: #8C6A2E;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      padding: 5px 14px;
      border-radius: 999px;
      text-transform: uppercase;
      margin-bottom: 12px;
    }

    .hero-title-55 {
      font-family: Georgia, 'Times New Roman', serif;
      font-size: 25px;
      line-height: 1.25;
      font-weight: 700;
      color: #1E1B18;
      letter-spacing: -0.01em;
      margin-bottom: 10px;
    }

    .hero-subtitle-55 {
      font-size: 15px;
      line-height: 1.55;
      color: #5C544E;
      font-weight: 400;
      margin: 0 auto 16px;
      max-width: 420px;
    }

    .hero-poster-55 {
      width: 100%;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 8px 26px rgba(38, 24, 12, 0.08);
      margin-bottom: 16px;
      background: #FAF8F5;
      border: 1px solid rgba(212, 175, 110, 0.3);
    }

    .hero-poster-55 img {
      width: 100%;
      height: auto;
      display: block;
    }

    .hero-bullets-55 {
      display: flex;
      flex-direction: column;
      gap: 10px;
      text-align: left;
      background: rgba(255, 255, 255, 0.85);
      border: 1px solid rgba(212, 175, 110, 0.32);
      border-radius: 16px;
      padding: 13px 15px;
      margin-bottom: 16px;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    }

    .hero-bullet-55 {
      font-size: 14px;
      line-height: 1.45;
      color: #383433;
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .hero-bullet-icon {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: rgba(212, 175, 110, 0.2);
      color: #9C7A41;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .btn-emerald-55 {
      height: 54px !important;
      font-size: 16px !important;
      font-weight: 800 !important;
      border-radius: 14px !important;
      letter-spacing: 0.01em;
      box-shadow: 0 10px 26px -3px rgba(212, 136, 17, 0.45) !important;
      background: linear-gradient(135deg, #F5BA24 0%, #D48811 100%) !important;
      color: #1D1916 !important;
    }

    /* БЛОК 2: Жизненные ситуации (контрастные плашки с изумрудным акцентом) */
    .pain-item-55 {
      background: #FAF8F5;
      border: 1px solid rgba(20, 18, 20, 0.08);
      border-left: 4px solid #D4AF6E;
      border-radius: 14px;
      padding: 14px 16px;
      text-align: left;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .pain-title-55 {
      font-size: 15.5px;
      font-weight: 700;
      color: #1E1B18;
      margin-bottom: 6px;
      line-height: 1.35;
    }

    .pain-desc-55 {
      font-size: 14px;
      line-height: 1.5;
      color: #4A4440;
    }

    /* Обращение автора в Блоке 2 (благородная плашка) */
    .author-letter-box-55 {
      background: #FAF7F0;
      border: 1.5px solid rgba(212, 175, 110, 0.45);
      border-left: 4px solid #D4AF6E;
      border-radius: 16px;
      padding: 16px 18px;
      margin-top: 18px;
      text-align: left;
      box-shadow: 0 4px 16px rgba(212, 175, 110, 0.12);
    }

    .author-letter-badge {
      display: inline-block;
      font-size: 10.5px;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #8C6A2E;
      background: rgba(212, 175, 110, 0.22);
      padding: 3px 9px;
      border-radius: 6px;
      margin-bottom: 10px;
    }

    .author-letter-text-55 {
      font-size: 14.5px;
      line-height: 1.55;
      color: #2D2424;
      font-style: italic;
      margin-bottom: 12px;
    }

    .author-letter-footer {
      display: flex;
      align-items: center;
      gap: 12px;
      border-top: 1px solid rgba(212, 175, 110, 0.3);
      padding-top: 12px;
    }

    .author-letter-avatar {
      width: 44px;
      height: 44px;
      min-width: 44px;
      max-width: 44px;
      border-radius: 50%;
      object-fit: cover;
      flex-shrink: 0;
      border: 1.5px solid #D4AF6E;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .author-letter-name {
      font-size: 14px;
      font-weight: 700;
      color: #1E1B18;
    }

    .author-letter-role {
      font-size: 11.5px;
      color: #7A726C;
    }

    /* Блок «Все просто и понятно» (3 шага) */
    .simple-steps-stack-55 {
      display: flex;
      flex-direction: column;
      gap: 10px;
      text-align: left;
    }

    .simple-step-card-55 {
      background: #FAF8F5;
      border: 1px solid rgba(20, 18, 20, 0.07);
      border-radius: 14px;
      padding: 14px 16px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .step-num-55 {
      width: 28px;
      height: 28px;
      min-width: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, #F5BA24 0%, #D48811 100%);
      color: #1D1916;
      font-weight: 800;
      font-size: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .step-title-55 {
      font-size: 15px;
      font-weight: 700;
      color: #1E1B18;
      margin-bottom: 3px;
    }

    .step-desc-55 {
      font-size: 13.5px;
      line-height: 1.45;
      color: #5C544E;
    }

    /* Отзывы */
    .review-card-55 {
      background: #FFFFFF;
      border: 1px solid rgba(212, 175, 110, 0.3);
      border-radius: 16px;
      padding: 16px;
      text-align: left;
      margin-bottom: 12px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    }

    .review-author-row-55 {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
    }

    .review-avatar-55 {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #EFE7DA;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
      border: 1px solid #D4AF6E;
    }

    .review-name-55 {
      font-size: 14.5px;
      font-weight: 700;
      color: #1E1B18;
    }

    .review-city-55 {
      font-size: 12px;
      color: #8A8580;
    }

    .review-text-55 {
      font-size: 14px;
      line-height: 1.55;
      color: #383433;
    }

    /* Авторская плашка в Hero */
    .hero-author-row {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.92);
      border: 1px solid rgba(212, 175, 110, 0.35);
      border-radius: 30px;
      padding: 4px 14px 4px 5px;
      margin-bottom: 14px;
      box-shadow: 0 4px 14px rgba(212, 136, 17, 0.12);
    }
    .hero-author-avatar-wrap {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      position: relative;
      padding: 2px;
      background: linear-gradient(135deg, #F5BA24, #D48811);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 12px rgba(245, 186, 36, 0.45);
    }
    .hero-author-avatar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      display: block;
    }
    .hero-author-meta {
      text-align: left;
      line-height: 1.2;
    }
    .hero-author-meta .name {
      font-size: 13px;
      font-weight: 700;
      color: #1E1B18;
    }
    .hero-author-meta .role {
      font-size: 11px;
      color: #7A726C;
    }

/* ========================================================
   НОВЫЕ БЛОКИ ПО ОБРАЗЦАМ ПОЛЬЗОВАТЕЛЯ
   1. Метрики доверия "НАМ ДОВЕРЯЮТ"
   2. Карточка со щитом "Без риска для вас"
   3. "ЧАСТЫЕ ВОПРОСЫ" с выпадающими шторками
   4. Отзывы с аватарками, звездами и кавычками
   ======================================================== */

/* 1. Блок "НАМ ДОВЕРЯЮТ" */
.trust-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.trust-metric-card {
  background: #F4F8F3;
  border: 1px solid rgba(46, 125, 50, 0.22);
  border-radius: 14px;
  padding: 14px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.metric-number {
  font-size: 22px;
  font-weight: 800;
  color: #1A8754;
  line-height: 1.15;
  margin-bottom: 4px;
}

.metric-star {
  font-size: 16px;
  color: #1A8754;
  vertical-align: middle;
}

.metric-label {
  font-size: 11.5px;
  line-height: 1.35;
  color: #5C5857;
  font-weight: 500;
}

/* 2. Карточка "Без риска для вас" со щитом */
.risk-free-card {
  background: #F4F8F3;
  border: 1.5px solid rgba(46, 125, 50, 0.28);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.06);
}

.risk-free-shield-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A8754;
}

.risk-free-title {
  font-family: var(--font-serif, Georgia, serif);
  font-size: 20px;
  font-weight: 700;
  color: #1E1B18;
  margin-bottom: 8px;
  line-height: 1.3;
}

.risk-free-text {
  font-size: 14px;
  color: #4A4440;
  line-height: 1.5;
  margin: 0;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

/* 3. ЧАСТЫЕ ВОПРОСЫ (FAQ) с выпадающими шторками */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
}

.faq-item {
  border-bottom: 1px solid rgba(212, 175, 110, 0.22);
  transition: background-color 0.15s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  padding: 14px 4px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #1E1B18;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: #8C6A2E;
}

.faq-q-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border-radius: 50%;
  border: 1.5px solid #1A8754;
  color: #1A8754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.faq-q-text {
  flex: 1;
  line-height: 1.35;
}

.faq-chevron {
  font-size: 11px;
  color: #8C6A2E;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 8px 14px 38px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #5C544E;
}

/* 4. ОТЗЫВЫ с богатым визуалом */
.reviews-stack-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}

.review-item-visual {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212, 175, 110, 0.22);
  text-align: left;
}

.review-item-visual:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.review-avatar-img {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #D4AF6E;
  box-shadow: 0 2px 8px rgba(212, 175, 110, 0.25);
  flex-shrink: 0;
}

.review-content-col {
  flex: 1;
  min-width: 0;
}

.review-header-row {
  margin-bottom: 6px;
}

.review-author-name {
  font-size: 15px;
  font-weight: 700;
  color: #1E1B18;
  line-height: 1.2;
}

.review-stars-gold {
  color: #F5BA24;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 2px;
  display: block;
}

.review-quote-mark {
  color: #D4AF6E;
  font-size: 18px;
  line-height: 1;
  margin-right: 4px;
  font-family: Georgia, serif;
}

.review-text-styled {
  font-size: 13.5px;
  line-height: 1.5;
  color: #3E3835;
}

/* === Модуль: dashboard.css === */
/* Стили личного кабинета | Чистый UX и 3-частные карточки уроков */

.app-container {
  width: 100%;
  max-width: 500px;
  padding: 16px 14px 84px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* Header */
.dashboard-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.cabinet-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 20px;
  font-weight: 800;
  color: #1A1615;
  line-height: 1.25;
}

.brand-subtitle {
  font-size: 11.5px;
  color: #6E6864;
  font-family: var(--font-sans, sans-serif);
  margin-top: 3px;
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-home-btn {
  color: #6E6864;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.28);
  text-decoration: none;
  transition: all 0.15s ease;
}
.header-home-btn:hover {
  color: #15803D;
  border-color: #15803D;
  background: #F0FDF4;
}

/* Card Base */
.card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  box-shadow: 0 4px 20px rgba(38, 12, 20, 0.04);
  padding: 16px;
  box-sizing: border-box;
}

/* Channel Promo Card */
.channel-promo-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.35);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 6px 20px rgba(212, 136, 17, 0.06);
}

.channel-success-card {
  background: rgba(34, 169, 107, 0.08);
  border: 1.5px solid rgba(34, 169, 107, 0.35);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
}

/* Program Section Headline */
.section-headline {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 14px;
  font-weight: 800;
  color: #1A1615;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  padding: 0 2px;
}

.days-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

/* ==========================================
   Modern Day Card (3-частная структура)
   ========================================== */
.day-card-item {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(38, 12, 20, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  position: relative;
  box-sizing: border-box;
}

.day-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 136, 17, 0.12);
  border-color: rgba(212, 175, 110, 0.55);
}

.day-card-item:active {
  transform: scale(0.99);
}

.day-card-item.locked {
  cursor: pointer;
  opacity: 0.88;
  border-color: rgba(20, 18, 20, 0.08);
}

.day-card-item.unlocked {
  border-color: rgba(212, 175, 110, 0.45);
  box-shadow: 0 4px 18px rgba(212, 136, 17, 0.08);
}

.day-card-item.completed {
  border-color: rgba(34, 169, 107, 0.35);
}

/* 1. Номер дня / галочка слева (48x48) */
.day-num-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.day-card-item.locked .day-num-badge {
  background: #EFECE6;
  color: #8A8580;
}

.day-card-item.unlocked .day-num-badge {
  background: linear-gradient(135deg, #F5BA24 0%, #D48811 100%);
  color: #1D1916;
  box-shadow: 0 4px 12px rgba(212, 136, 17, 0.28);
}

.day-card-item.completed .day-num-badge {
  background: rgba(34, 169, 107, 0.15);
  color: #15803D;
  border: 1.5px solid rgba(34, 169, 107, 0.35);
}

/* 2. Контент по центру */
.day-card-content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.day-theme-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #1A1615;
  line-height: 1.35;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.day-card-item.locked .day-theme-title {
  color: #6E6864;
}

.day-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6E6864;
  flex-wrap: wrap;
}

/* 3. Кнопка действия справа (42x42) */
.day-action-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
  transition: all 0.2s ease;
}

.day-card-item.locked .day-action-circle {
  background: #EFECE6;
  color: #8A8580;
}

.day-card-item.unlocked .day-action-circle {
  background: rgba(212, 175, 110, 0.2);
  color: #B4780E;
}

.day-card-item.completed .day-action-circle {
  background: rgba(34, 169, 107, 0.15);
  color: #15803D;
}

/* Статус бейджи */
.badge-available {
  background: rgba(34, 169, 107, 0.12) !important;
  color: #15803D !important;
  border: 1px solid rgba(34, 169, 107, 0.35) !important;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.badge-locked {
  background: rgba(212, 175, 110, 0.15) !important;
  color: #9C7A41 !important;
  border: 1px solid rgba(212, 175, 110, 0.35) !important;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

.day-time-tag {
  color: #6E6864;
  font-size: 11.5px;
  font-weight: 600;
}

/* Course Special Card */
.course-special-card {
  border: 1.5px solid rgba(212, 175, 110, 0.35);
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(212, 175, 110, 0.12);
  margin-bottom: 22px;
  padding: 16px;
  border-radius: 18px;
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 18, 20, 0.08);
  text-align: center;
  font-size: 10.5px;
  color: #6E6864;
  line-height: 1.55;
}

.site-footer a {
  color: #9C7A41;
  text-decoration: underline;
}

/* Bottom sticky navigation bar */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 110, 0.25);
  z-index: 100;
  display: flex;
  justify-content: center;
}

.bottom-nav-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #6E6864;
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.15s;
}

.bottom-nav-item.active {
  color: #9C7A41;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
}

/* Web TG Bridge Banner */
.web-tg-bridge-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(135deg, rgba(42, 171, 238, 0.10) 0%, rgba(34, 158, 217, 0.05) 100%);
  border: 1.5px solid rgba(42, 171, 238, 0.35);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 18px;
  box-sizing: border-box;
}

.web-tg-bridge-content {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.web-tg-bridge-icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.web-tg-bridge-text {
  font-size: 12px;
  color: #1A1615;
  line-height: 1.4;
  min-width: 0;
}

.web-tg-bridge-text strong {
  display: block;
  color: #0E6896;
  font-weight: 700;
  margin-bottom: 2px;
}

.web-tg-bridge-text span {
  display: block;
  color: #6E6864;
  font-size: 11px;
}

.web-tg-bridge-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px;
  height: 38px !important;
  padding: 0 16px !important;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%) !important;
  color: #FFFFFF !important;
  font-family: var(--font-sans, sans-serif);
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(42, 171, 238, 0.35) !important;
  cursor: pointer;
}

@media (max-width: 480px) {
  .web-tg-bridge-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .web-tg-bridge-btn {
    width: 100% !important;
    height: 40px !important;
  }
}

/* === Модуль: referral.css === */
/* Стили страницы рефералов */
/* ==========================================
   Referral Screen Styles
   ========================================== */
:root {
      --bg-cream: #F7F4EE;
      --bg-card: #FFFFFF;
      --text-main: #141214;
      --text-dark: #260C14;
      --text-muted: #5C5857;
      --brand-accent: #260C14;
      --emerald-from: #22A96B;
      --emerald-to: #1A8754;
      --gold-primary: #D4AF6E;
      --gold-soft: rgba(212, 175, 110, 0.15);
      --gold-border: rgba(212, 175, 110, 0.35);
      --font-serif: 'Cinzel', Georgia, serif;
      --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
    }

    body {
      background-color: #F7F4EE !important;
      background-image: radial-gradient(circle 400px at 50% 0%, rgba(212, 175, 110, 0.10), transparent 75%) !important;
      color: var(--text-main);
      font-family: var(--font-sans);
      line-height: 1.5;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      padding: 0;
    }

    .app-container {
      width: 100%;
      max-width: 500px;
      padding: 16px 14px 80px;
      margin: 0 auto;
      position: relative;
    }

    /* Top navigation header */
    .nav-top-row {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 16px;
    }

    .back-btn-square {
      width: 38px;
      height: 38px;
      background: #FFFFFF;
      border: 1px solid rgba(20, 18, 20, 0.12);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-main);
      text-decoration: none;
      font-size: 16px;
      transition: background 0.15s, border-color 0.15s;
      flex-shrink: 0;
    }
    .back-btn-square:hover {
      background: #F4F1EA;
      border-color: #1A8754;
    }

    .header-text-block {
      flex: 1;
    }

    .brand-subtitle {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #9C7A41;
      font-family: var(--font-serif);
    }

    .page-title {
      font-family: var(--font-serif);
      font-size: 20px;
      font-weight: 800;
      color: #141214;
      line-height: 1.25;
    }

    /* Cards */
    .card {
      background: #FFFFFF;
      border-radius: 16px;
      border: 1px solid rgba(20, 18, 20, 0.07);
      box-shadow: 0 4px 20px -2px rgba(38, 12, 20, 0.05);
      padding: 18px 16px;
      margin-bottom: 14px;
    }

    /* Gift Hero Card */
    .gift-header {
      display: flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font-serif);
      font-size: 16px;
      font-weight: 800;
      color: #141214;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .gift-text {
      font-size: 12.5px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* Conditions Block (Чистые 2 пункта) */
    .section-subtitle {
      font-size: 11.5px;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #9C7A41;
      margin-bottom: 12px;
    }

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

    .rule-item {
      background: #FAF8F5;
      border: 1px solid rgba(20, 18, 20, 0.06);
      border-left: 3.5px solid #1A8754;
      border-radius: 12px;
      padding: 12px 14px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
    }

    .rule-num {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: linear-gradient(135deg, #22A96B, #1A8754);
      color: #FFFFFF;
      font-size: 11px;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .rule-content {
      font-size: 12.5px;
      color: #332B29;
      line-height: 1.45;
    }
    .rule-content strong {
      color: var(--text-main);
      font-weight: 700;
    }

    /* Counter card */
    .counter-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
    }

    .counter-col {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 12px;
      font-weight: 700;
      color: var(--text-main);
      white-space: nowrap;
    }

    .counter-txt {
      white-space: nowrap;
    }

    .counter-badge {
      background: rgba(34, 169, 107, 0.12);
      color: #1A8754;
      padding: 2.5px 7px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 800;
      white-space: nowrap !important;
      display: inline-block;
      flex-shrink: 0 !important;
    }

    @media (max-width: 375px) {
      .counter-col {
        font-size: 11px;
        gap: 3px;
      }
      .counter-badge {
        padding: 2px 5px;
        font-size: 10.5px;
      }
    }

    .progress-bar-wrap {
      background: #EDE8DE;
      border-radius: 999px;
      height: 8px;
      overflow: hidden;
      margin-bottom: 8px;
    }

    .progress-bar-fill {
      background: linear-gradient(90deg, #22A96B, #1A8754);
      height: 100%;
      width: 0%;
      border-radius: 999px;
    }

    .progress-text {
      font-size: 11.5px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    /* ИЗУМРУДНАЯ КНОПКА ПРИГЛАСИТЬ */
    .btn-emerald {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 48px;
      background: linear-gradient(135deg, #22A96B 0%, #1A8754 100%) !important;
      color: #FFFFFF !important;
      font-family: var(--font-sans);
      font-size: 13.5px;
      font-weight: 700 !important;
      border-radius: 14px !important;
      border: 1px solid rgba(255, 255, 255, 0.25) !important;
      box-shadow: 0 10px 24px -4px rgba(26, 135, 84, 0.45) !important;
      text-decoration: none;
      margin-bottom: 10px;
      transition: transform 0.15s ease, box-shadow 0.15s ease;
      cursor: pointer;
    }
    .btn-emerald:active {
      transform: scale(0.98);
      box-shadow: 0 4px 12px rgba(26, 135, 84, 0.3) !important;
    }

    .btn-copy-link {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      width: 100%;
      height: 44px;
      background: #FAF8F5;
      border: 1px solid rgba(20, 18, 20, 0.15);
      color: #1A8754;
      font-size: 13px;
      font-weight: 700;
      border-radius: 12px;
      cursor: pointer;
      margin-bottom: 12px;
      transition: background 0.15s;
    }
    .btn-copy-link:hover {
      background: #F0EDE6;
    }

    .link-field-box {
      background: #FAF8F5;
      border: 1px dashed rgba(212, 175, 110, 0.45);
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 11px;
      color: var(--text-muted);
      word-break: break-all;
      text-align: center;
    }
    .link-field-box strong {
      color: #141214;
    }
    .link-field-box span {
      color: #1A8754;
      font-weight: 600;
      user-select: all;
    }
    .btn-copy-mini:hover {
      background: #EDE8DE;
      color: #141214;
    }
    .sync-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 11px;
      font-weight: 600;
      color: #1A8754;
      background: rgba(34, 169, 107, 0.10);
      padding: 4px 10px;
      border-radius: 20px;
      margin-bottom: 12px;
    }
    .sync-badge-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #22A96B;
      box-shadow: 0 0 6px #22A96B;
    }

    /* Footer */
    .site-footer {
      margin-top: 24px;
      padding-top: 16px;
      border-top: 1px solid rgba(20, 18, 20, 0.08);
      text-align: center;
      font-size: 10.5px;
      color: var(--text-muted);
      line-height: 1.55;
    }

    .site-footer a {
      color: #1A8754;
      text-decoration: underline;
    }

    /* Bottom sticky navigation bar */
    .bottom-nav-bar {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(212, 175, 110, 0.25);
      z-index: 100;
      display: flex;
      justify-content: center;
    }

    .bottom-nav-container {
      width: 100%;
      max-width: 500px;
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 8px 12px 10px;
    }

    .bottom-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      text-decoration: none;
      color: var(--text-muted);
      font-size: 10px;
      font-weight: 600;
      transition: color 0.15s;
    }

    .bottom-nav-item.active {
      color: #1A8754;
    }

    .bottom-nav-item svg {
      width: 20px;
      height: 20px;
    }

/* === Модуль: day-page.css === */
/* Стили страниц уроков (1-4) | Чистый UX, фокус на плеере и золотой CTA */

.app-container {
  width: 100%;
  max-width: 500px;
  padding: 16px 14px 84px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* Top navigation header */
.day-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.back-btn-square {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1615;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.15s ease;
}
.back-btn-square:hover {
  background: #FFFDF9;
  border-color: #D48811;
  color: #B4780E;
}

.top-badge-stack {
  display: flex;
  align-items: center;
  gap: 6px;
}

.timing-badge {
  font-size: 11.5px;
  font-weight: 600;
  color: #6E6864;
  display: flex;
  align-items: center;
  gap: 4px;
}

.badge-available {
  background: rgba(34, 169, 107, 0.12) !important;
  color: #15803D !important;
  border: 1px solid rgba(34, 169, 107, 0.35) !important;
  font-size: 11px;
  font-weight: 700;
  padding: 2.5px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Day Title & Floating Icon */
.day-header-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 18px;
  font-weight: 800;
  color: #1A1615;
  margin-bottom: 14px;
  line-height: 1.25;
  text-align: center;
}

.day-icon-hero {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.35);
  box-shadow: 0 6px 20px rgba(212, 136, 17, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

/* White Cards */
.card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  box-shadow: 0 4px 18px rgba(38, 12, 20, 0.04);
  padding: 16px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.block-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8C6A2E;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.theme-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 15px;
  font-weight: 700;
  color: #1A1615;
  margin-bottom: 8px;
  line-height: 1.35;
}

.theme-desc {
  font-size: 13px;
  color: #5C5857;
  line-height: 1.5;
  margin: 0;
}

/* Takeaways card with golden border */
.takeaways-card {
  border-left: 3.5px solid #D48811;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 0;
}

.takeaways-list li {
  font-size: 12.5px;
  color: #332B29;
  line-height: 1.45;
  padding-left: 20px;
  position: relative;
}

.takeaways-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #D48811;
  font-weight: 800;
  font-size: 13px;
}

.takeaways-list strong {
  color: #1A1615;
  font-weight: 700;
}

/* Broadcast section */
.broadcast-card {
  text-align: center;
  padding: 18px 16px 14px;
}

.broadcast-timing {
  font-size: 13px;
  font-weight: 700;
  color: #1A1615;
  margin-bottom: 12px;
}

.broadcast-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(20, 18, 20, 0.06);
  padding-top: 10px;
  margin-top: 12px;
  font-size: 11px;
  color: #6E6864;
}

/* Complete Button */
.btn-complete-block {
  margin-bottom: 14px;
}

.btn-completed-badge {
  display: none;
  background: rgba(34, 169, 107, 0.12);
  border: 1px solid rgba(34, 169, 107, 0.35);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  color: #15803D;
  font-weight: 700;
  font-size: 13px;
}

/* Sotis compact link tile */
.sotis-link-tile {
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.35);
  border-radius: 16px;
  transition: all 0.15s ease;
}
.sotis-link-tile:hover {
  border-color: #D48811;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 136, 17, 0.10);
}

/* Day pagination */
.day-pagination-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.page-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  border-radius: 14px;
  color: #1A1615;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(38, 12, 20, 0.04);
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.page-nav-btn:hover {
  border-color: #D48811;
  background: #FFFDF9;
  color: #B4780E;
  transform: translateY(-1px);
}

.page-nav-btn:active {
  transform: scale(0.98);
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 18, 20, 0.08);
  text-align: center;
  font-size: 10.5px;
  color: #6E6864;
  line-height: 1.55;
}

.site-footer a {
  color: #9C7A41;
  text-decoration: underline;
}

/* Bottom sticky navigation bar */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 110, 0.25);
  z-index: 100;
  display: flex;
  justify-content: center;
}

.bottom-nav-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #6E6864;
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.15s;
}

.bottom-nav-item.active {
  color: #9C7A41;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
}

/* === Модуль: questionnaire.css === */
/* Стили страницы анкеты предзаписи | Чистый UX, карточки вариантов и золотой CTA */

.app-container {
  width: 100%;
  max-width: 500px;
  padding: 16px 14px 84px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* Top navigation header */
.nav-top-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.back-btn-square {
  width: 36px;
  height: 36px;
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.28);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A1615;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.back-btn-square:hover {
  background: #FFFDF9;
  border-color: #D48811;
  color: #B4780E;
}

.header-text-block {
  flex: 1;
}

.brand-subtitle {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8C6A2E;
  font-family: var(--font-serif, 'Cinzel', serif);
}

.page-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 19px;
  font-weight: 800;
  color: #1A1615;
  line-height: 1.25;
}

/* Cards */
.card {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  box-shadow: 0 4px 18px rgba(38, 12, 20, 0.04);
  padding: 16px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.intro-title {
  font-family: var(--font-serif, 'Cinzel', serif);
  font-size: 16px;
  font-weight: 800;
  color: #1A1615;
  margin-bottom: 6px;
  line-height: 1.35;
}

.intro-text {
  font-size: 13px;
  color: #5C5857;
  line-height: 1.5;
  margin: 0;
}

/* Form Groups */
.form-group {
  margin-bottom: 16px;
}

.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1A1615;
  margin-bottom: 6px;
  line-height: 1.35;
}

.form-input,
.form-textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: var(--font-sans, sans-serif);
  color: #1A1615;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #D48811;
  box-shadow: 0 0 0 2px rgba(212, 136, 17, 0.15);
  background: #FFFFFF;
}

.form-textarea {
  min-height: 80px;
  resize: vertical;
}

/* Radio Choices as Large Touch-Friendly Cards */
.radio-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.radio-label-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.28);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  color: #1A1615;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(38, 12, 20, 0.02);
  transition: all 0.15s ease;
  position: relative;
  box-sizing: border-box;
}

.radio-label-card:hover {
  border-color: #D48811;
  background: #FFFDF9;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212, 136, 17, 0.10);
}

.radio-label-card:has(input[type="radio"]:checked),
.radio-label-card.selected {
  border-color: #D48811 !important;
  background: #FFFDF8 !important;
  box-shadow: 0 0 0 1px #D48811, 0 4px 16px rgba(212, 136, 17, 0.15) !important;
}

.radio-label-card input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #D48811;
}

.form-input.is-invalid,
.form-textarea.is-invalid {
  border-color: #E53E3E !important;
  background: #FFF5F5 !important;
  box-shadow: 0 0 0 2px rgba(229, 62, 62, 0.15) !important;
}

.radio-stack.is-invalid {
  padding: 6px;
  border-radius: 14px;
  background: rgba(229, 62, 62, 0.05);
  border: 1px dashed rgba(229, 62, 62, 0.45);
}

.field-error-msg {
  display: none;
  font-size: 11.5px;
  color: #E53E3E;
  font-weight: 600;
  margin-top: 5px;
  line-height: 1.35;
}

.meta-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(29, 25, 22, 0.35);
  border-top-color: #1D1916;
  border-radius: 50%;
  animation: metaSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes metaSpin {
  to { transform: rotate(360deg); }
}

.success-alert {
  display: none;
  background: #FFFFFF;
  border: 1.5px solid rgba(212, 175, 110, 0.35);
  border-radius: 18px;
  padding: 20px 16px;
  text-align: center;
  margin-top: 6px;
  box-shadow: 0 8px 24px -4px rgba(212, 136, 17, 0.15);
}

/* Footer */
.site-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 18, 20, 0.08);
  text-align: center;
  font-size: 10.5px;
  color: #6E6864;
  line-height: 1.55;
}

.site-footer a {
  color: #9C7A41;
  text-decoration: underline;
}

/* Bottom sticky navigation bar */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(212, 175, 110, 0.25);
  z-index: 100;
  display: flex;
  justify-content: center;
}

.bottom-nav-container {
  width: 100%;
  max-width: 500px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px 10px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #6E6864;
  font-size: 10.5px;
  font-weight: 600;
  transition: color 0.15s;
}

.bottom-nav-item.active {
  color: #9C7A41;
}

.bottom-nav-item svg {
  width: 20px;
  height: 20px;
}

/* === Модуль: course-tariffs.css === */
/* ==========================================================================
   Стили страницы тарифов курса Институт Прикладной Метафизики
   ========================================================================== */

.course-tariffs-container {
  width: 100%;
  max-width: 500px;
  padding: 16px 14px 90px;
  margin: 0 auto;
  position: relative;
}

/* Верхняя панель */
.tariffs-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.tariffs-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(212, 175, 110, 0.12);
  border: 1px solid rgba(212, 175, 110, 0.35);
  color: #9C7A41;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Заголовок страницы и Hero */
.tariffs-hero-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 250, 244, 0.95) 100%);
  border: 1.5px solid #D4AF6E;
  border-radius: 16px;
  padding: 20px 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(212, 175, 110, 0.15);
  text-align: center;
}

.tariffs-hero-badge {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: #9C7A41;
  background: rgba(212, 175, 110, 0.15);
  border: 1px solid rgba(212, 175, 110, 0.35);
  padding: 4px 12px;
  border-radius: 30px;
  margin-bottom: 10px;
}

.tariffs-hero-title {
  font-size: 22px;
  line-height: 1.25;
  color: #260C14;
  font-weight: 800;
  margin-bottom: 8px;
}

.tariffs-hero-subtitle {
  font-size: 13px;
  color: #5C5857;
  line-height: 1.5;
  margin-bottom: 14px;
}

.tariffs-expert-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(212, 175, 110, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
}

.tariffs-expert-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #D4AF6E;
  object-fit: cover;
  flex-shrink: 0;
}

.tariffs-expert-name {
  font-size: 13px;
  font-weight: 700;
  color: #260C14;
}

.tariffs-expert-role {
  font-size: 11px;
  color: #5C5857;
  line-height: 1.35;
}

/* Формат обучения */
.format-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.25);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.format-tile {
  background: rgba(212, 175, 110, 0.08);
  border: 1px solid rgba(212, 175, 110, 0.2);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
}

.format-tile-val {
  font-size: 14px;
  font-weight: 800;
  color: #260C14;
}

.format-tile-lbl {
  font-size: 10.5px;
  color: #5C5857;
  margin-top: 2px;
}

/* Карточки тарифов */
.tariffs-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.tariff-item-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.3);
  border-radius: 16px;
  padding: 20px 16px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tariff-item-card.featured {
  border: 2px solid #D4AF6E;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF9 100%);
  box-shadow: 0 6px 24px rgba(212, 175, 110, 0.22);
}

.tariff-ribbon-tag {
  position: absolute;
  top: -11px;
  right: 16px;
  background: linear-gradient(135deg, #ECC483 0%, #C49A56 100%);
  color: #14080E;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(196, 154, 86, 0.4);
}

.tariff-level-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9C7A41;
  margin-bottom: 4px;
}

.tariff-card-title {
  font-size: 20px;
  font-weight: 800;
  color: #260C14;
  margin-bottom: 12px;
}

.tariff-price-block {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 110, 0.2);
}

.tariff-price-main {
  font-size: 28px;
  font-weight: 800;
  color: #1A8754;
  line-height: 1.1;
}

.tariff-price-installment {
  font-size: 12px;
  color: #5C5857;
  font-weight: 600;
  margin-top: 4px;
}

.tariff-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.tariff-perks-list li {
  font-size: 12px;
  color: #5C5857;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.tariff-perks-list li strong {
  color: #260C14;
}

.tariff-perks-list .check-icon {
  color: #1A8754;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 13px;
}

/* Блок рассрочки */
.installment-banner {
  background: linear-gradient(135deg, rgba(26, 135, 84, 0.08) 0%, rgba(212, 175, 110, 0.12) 100%);
  border: 1px solid rgba(26, 135, 84, 0.25);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
}

.installment-banner-title {
  font-size: 15px;
  font-weight: 800;
  color: #1A8754;
  margin-bottom: 6px;
}

.installment-banner-desc {
  font-size: 12px;
  color: #5C5857;
  line-height: 1.45;
  margin-bottom: 10px;
}

.installment-perks-row {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid rgba(26, 135, 84, 0.15);
  padding-top: 10px;
}

.installment-stat-item {
  text-align: center;
}

.installment-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: #260C14;
}

.installment-stat-lbl {
  font-size: 10px;
  color: #5C5857;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Аккордеон программы и FAQ */
.tariffs-accordion-group {
  margin-bottom: 20px;
}

.accordion-section-card {
  background: #FFFFFF;
  border: 1px solid rgba(212, 175, 110, 0.25);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.tariffs-module-item {
  border-bottom: 1px solid rgba(20, 18, 20, 0.06);
  padding: 10px 0;
}

.tariffs-module-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tariffs-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.tariffs-module-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #260C14;
  line-height: 1.35;
}

.tariffs-module-badge {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(212, 175, 110, 0.15);
  color: #8C6A2E;
  flex-shrink: 0;
}

.tariffs-module-body {
  display: none;
  font-size: 11.5px;
  color: #5C5857;
  line-height: 1.5;
  padding-top: 8px;
}

.tariffs-module-item.active .tariffs-module-body {
  display: block;
}

.tariffs-module-item.active .accordion-chevron {
  transform: rotate(180deg);
}

/* Поддержка и прямой переход */
.tariffs-support-box {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(212, 175, 110, 0.3);
  border-radius: 14px;
  padding: 14px;
  text-align: center;
  margin-bottom: 20px;
}
/*# sourceMappingURL=onboarding.css.map */
