@import url("./components/buttons.css");
@import url("./components/forms.css");
@import url("./components/card.css");
@import url("./components/bento-grid.css");
@import url("./components/accordion.css");
@import url("./components/info-block.css");
/* @import url("./components/timeline.css"); /* Временно отключен - timeline заменён на карточки */
@import url("./components/checklist.css");
@import url("./components/discount-form.css");

/* Design System — tokens */
:root {
  --header-h: 72px;
  /* Colors */
  --indigo-500: #4f46e5;
  --violet-500: #7c3aed;
  --violet-600: #7c3aed;
  --violet-200: rgba(124, 58, 237, 0.15);
  --orange-500: #f97316;
  --green-500: #10b981;
  --green-600: #059669;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --bg: #ffffff;
  --bg-alt: #f8faff;
  --bg-hero-1: #f8faff;
  --bg-hero-2: #f1f5fe;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  
  /* Typography Scale (12px-48px) */
  --fs-xs: 12px;     /* Labels, captions, мелкий текст */
  --fs-sm: 14px;     /* Body small, вторичный текст */
  --fs-base: 16px;   /* Body основной, базовый размер */
  --fs-lg: 18px;     /* Body large, акценты */
  --fs-xl: 20px;     /* Subtitle, лиды */
  --fs-2xl: 24px;    /* H4, карточки заголовки */
  --fs-3xl: 28px;    /* H3, большие числа */
  --fs-4xl: 32px;    /* H2, секции заголовки */
  --fs-5xl: 36px;    /* Hero numbers, countdown */
  --fs-6xl: 42px;    /* H1, главные заголовки */
  --fs-7xl: 48px;    /* Display, очень крупные элементы */
  
  /* Form Control Heights */
  --form-control-height: 52px;      /* Стандартная высота инпутов и кнопок */
  --form-control-padding-y: 15px;   /* Вертикальные отступы для высоты 52px */
  --form-control-padding-y-btn: 16px; /* Вертикальные отступы для кнопок (с учётом border) */
  --form-control-padding-y-focus: calc(var(--form-control-padding-y) - 1px); /* Focus padding для компенсации увеличения border */
  --form-control-padding-y-mobile: 13px; /* Мобильные отступы */
  --form-control-padding-y-mobile-focus: calc(var(--form-control-padding-y-mobile) - 1px); /* Мобильный focus padding */
  --form-control-border-radius: var(--radius-12); /* Единое скругление для всех form элементов */
  
  /* Legacy variables (updated to use new scale) */
  --fs-sm: var(--fs-sm);
  --fs-h1: clamp(28px, 5vw, 42px);
  --fs-h2: clamp(var(--fs-2xl), 3.5vw, var(--fs-5xl));
  --fs-h3: clamp(var(--fs-xl), 3vw, var(--fs-4xl));
  --fs-h4: clamp(var(--fs-lg), 2.5vw, var(--fs-2xl));

  /* Spacing */
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* Radius */
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-20: 20px;
  --radius-24: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-btn: 0 6px 20px rgba(79, 70, 229, 0.3);
  
  /* Purple shadows for components */
  --shadow-purple-sm: 0 2px 8px rgba(79, 70, 229, 0.1);
  --shadow-purple: 0 4px 16px rgba(79, 70, 229, 0.15);
  --shadow-purple-lg: 0 8px 24px rgba(79, 70, 229, 0.2);
  
  /* Semantic Typography */
  --fs-body-xs: var(--fs-xs);      /* 12px - badges, timestamps */
  --fs-body-sm: var(--fs-sm);      /* 14px - buttons, labels */
  --fs-body: var(--fs-base);       /* 16px - основной текст */
  --fs-body-lg: var(--fs-lg);      /* 18px - лиды, CTA текст */
  --fs-heading-sm: var(--fs-2xl);  /* 24px - H4, card titles */
  --fs-heading-md: var(--fs-3xl);  /* 28px - H3, stats */
  --fs-heading-lg: var(--fs-4xl);  /* 32px - H2, section titles */
  --fs-heading-xl: var(--fs-6xl);  /* 42px - H1, hero titles */
  --fs-display-sm: var(--fs-5xl);  /* 36px - numbers, countdown */
  --fs-display-lg: var(--fs-7xl);  /* 48px - hero numbers */

  /* Text Colors - более контрастные */
  --color-text-primary: var(--gray-900);    /* #111827 - основной текст */
  --color-text-secondary: var(--gray-800);  /* #1f2937 - вторичный текст */
  --color-text-muted: var(--gray-700);      /* #374151 - приглушенный текст */
  --color-text-light: var(--gray-600);      /* #4b5563 - светлый текст */
  --color-text-subtle: var(--gray-500);     /* #6b7280 - очень светлый */

  /* Semantic Text Colors */
  --text-heading: var(--color-text-primary);     /* Заголовки - самый темный */
  --text-body: var(--color-text-primary);        /* Основной текст - темный */
  --text-body-secondary: var(--color-text-muted); /* Описания */
  --text-caption: var(--color-text-muted);       /* Подписи, лейблы */
  --text-placeholder: var(--color-text-light);   /* Плейсхолдеры */
  --text-disabled: var(--color-text-subtle);     /* Неактивные элементы */
  
  /* Legacy text colors (updated) */
  --color-text: var(--text-body);
  --color-text-light: var(--text-caption);
  --color-primary: var(--indigo-500);
  --color-secondary: var(--violet-500);
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--text-body);
  background: var(--bg);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; width: 100%; margin-inline: auto; padding-inline: 20px; }

/* Utility: keep phrase on one line at all screen sizes */
.nowrap-lg { white-space: nowrap; }

/* Typography */
h1, .h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 var(--space-4); color: var(--text-heading); }
h2, .h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 var(--space-4); color: var(--text-heading); }
h3, .h3 { font-size: var(--fs-h2); font-weight: 600; margin: 0 0 var(--space-8); color: var(--text-heading); }
.h4 { font-size: var(--fs-h4); font-weight: 600; margin: 0 0 var(--space-2); color: var(--text-caption); }
.subtitle { font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: var(--text-disabled); margin: 0 0 var(--space-6); }
.overline { font-size: var(--fs-body-sm); font-weight: 600; color: var(--indigo-500); text-transform: uppercase; letter-spacing: .08em; display: inline-block; margin-bottom: var(--space-3); }
.text-accent { background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header (fixed) */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-weight: 700; font-size: var(--fs-heading-sm); letter-spacing: -0.02em; color: var(--text-heading); display: flex; align-items: center; }
.logo img { height: 32px; width: auto; }
.logo__accent { color: var(--indigo-500); }
.nav { display: none; gap: 6px; }
.nav__link { padding: 10px 12px; border-radius: var(--radius-8); color: var(--text-disabled); font-weight: 400; transition: .2s; font-size: 14px; white-space: nowrap; }
.nav__link:hover { color: var(--indigo-500); background: rgba(79,70,229,.08); }
.header__actions { display: flex; align-items: center; gap: 12px; }
.header-cta { box-shadow: var(--shadow-btn); }

.burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; width: 40px; height: 40px; border: 0; background: transparent; padding: 8px; border-radius: 8px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--indigo-500); border-radius: 2px; width: 100%; transition: all 0.3s ease; }

/* Burger animation when open */
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); background: #fff; transform: translateX(-100%); transition: transform .3s ease; padding: 24px 20px; z-index: 1001; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__link { padding: 14px 10px; border-bottom: 1px solid #f3f4f6; color: var(--text-caption); font-weight: 400; }
.mobile-menu__link:hover { color: var(--indigo-500); }

/* Buttons */

/* Hero */
.section-hero { background: linear-gradient(135deg, var(--bg-hero-1) 0%, var(--bg-hero-2) 100%); }
.hero-section { min-height: auto; height: auto; display: flex; align-items: center; padding: 40px 0 40px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 24px; grid-template-rows: auto auto auto; }
.hero-title { font-size: var(--fs-h1); font-weight: 700; line-height: 1.1; color: var(--text-heading); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.hero-subtitle { font-size: clamp(16px, 2vw, 20px); line-height: 1.6; color: var(--text-disabled); margin-bottom: var(--space-5); max-width: 90%; }
.hero-cta-text { font-size: var(--fs-body-lg); color: var(--text-caption); margin-bottom: var(--space-6); font-weight: 500; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: var(--space-8); }

/* Hero right column - центрирование видео при отсутствии дополнительных элементов */
.hero__right { 
  display: flex; 
  flex-direction: column; 
  justify-content: flex-start; 
}

.hero-video { background: #fff; border-radius: var(--radius-24); padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.1); position: relative; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 24px; }
.project-video { background: #fff; border-radius: var(--radius-24); padding: 24px; box-shadow: 0 20px 60px rgba(0,0,0,.1); position: relative; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 32px; }
.video-placeholder { width: 100%; height: 100%; border-radius: 16px; background: linear-gradient(135deg, #f8faff, #e5edff); display: grid; place-items: center; position: relative; overflow: hidden; }
.video-bg { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; z-index: 1; }
.play-button { width: 72px; height: 72px; border-radius: 50%; border: 0; color: #fff; background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); box-shadow: 0 8px 24px rgba(79,70,229,.4); cursor: pointer; transition: .2s ease; position: relative; z-index: 2; }
.play-button:hover { transform: scale(1.06); box-shadow: 0 12px 32px rgba(79,70,229,.5); }

/* Video Elements */
.hero-video video,
.project-video video { 
  width: 100%; 
  height: 100%; 
  border-radius: 16px; 
  object-fit: cover;
  background: #000;
}

.hero-stats { background: rgba(255,255,255,.8); backdrop-filter: blur(20px); border: 1px solid rgba(79,70,229,.1); border-radius: 20px; padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 24px; text-align: center; }
.stat-number { font-size: var(--fs-heading-md); font-weight: 700; color: var(--text-heading); }
.stat-label { font-size: var(--fs-body-sm); color: var(--text-disabled); font-weight: 500; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(135deg, #1f2937, #111827); color: #fff; }

/* Cards */

/* Countdown */
.countdown-timer { 
  background: linear-gradient(135deg, #f8faff 0%, #e5edff 100%); 
  border-radius: 20px; 
  padding: 32px 24px; 
  box-shadow: 0 20px 60px rgba(79,70,229,.15); 
  border: 2px solid rgba(79,70,229,.1); 
  text-align: center; 
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.countdown-timer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo-500), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
.timer-label { 
  font-size: var(--fs-body); 
  font-weight: 600; 
  color: var(--indigo-500); 
  letter-spacing: .05em; 
  text-transform: uppercase; 
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(79,70,229,.2);
}
.timer-display { 
  display: grid; 
  grid-template-columns: repeat(4,1fr); 
  gap: 20px; 
}
.timer-unit { 
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 16px 8px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(79,70,229,.1);
  transition: transform 0.3s ease;
  position: relative;
}
.timer-unit:hover {
  box-shadow: 0 8px 24px rgba(79,70,229,.12);
}
.timer-number { 
  font-size: var(--fs-display-sm); 
  font-weight: 700; 
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block; 
  line-height: 1; 
  margin-bottom: 8px;
  transition: all 0.3s ease;
}
.timer-number.tick {
  transform: scale(1.1);
  animation: tick 0.3s ease;
}
@keyframes tick {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.timer-text { 
  font-size: var(--fs-body-xs); 
  color: var(--indigo-500); 
  text-transform: uppercase; 
  font-weight: 600; 
  letter-spacing: .08em;
  opacity: 0.8;
}

/* Forms */
.hero-form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 12px 40px rgba(0,0,0,.08); border: 1px solid rgba(79,70,229,.1); }
.form-title { font-size: var(--fs-body-lg); font-weight: 600; color: var(--text-heading); text-align: center; margin-bottom: 16px; }
.form-submit { width: 100%; padding: 16px; border-radius: 12px; border: 0; background: linear-gradient(135deg, var(--green-500), var(--green-600)); color: #fff; font-weight: 600; box-shadow: 0 4px 12px rgba(16,185,129,.3); cursor: pointer; transition: .2s ease; }
.form-submit:hover { box-shadow: 0 6px 16px rgba(16,185,129,.4); }

/* Hero Discount Form */
.hero-discount-form {
  margin-top: 12px;
  grid-column: 1 / -1;
  grid-row: 3;
}
.discount-form-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  border: 1px solid rgba(79,70,229,.1);
  text-align: left;
  position: relative;
}
.discount-form-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text-heading);
}
.discount-form-title .text-accent {
  color: var(--violet-500);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}
.discount-form-subtitle {
  font-size: var(--fs-body);
  margin-bottom: 24px;
  color: var(--text-body-secondary);
}
.form-fields-horizontal {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: flex-start;
}

/* About Author Section */
.about-author {
  background: #fff;
  padding: 100px 0;
}

.about-main-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-heading);
}

/* About Cards Grid */
.about-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  grid-template-areas:
    "card1"
    "card2"
    "card3"
    "card4";
}

/* Facts Section */
.facts-section { padding-top: 60px; padding-bottom: 60px; }
.facts-section .subtitle { color: var(--text-body-secondary); margin-bottom: 16px; }
.facts-cards .review-icon, .facts-cases .review-icon {
  width: 48px; height: 48px; margin-bottom: 12px;
  color: var(--indigo-500); background: rgba(79,70,229,.08); border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.facts-heading { margin-top: var(--space-16); margin-bottom: var(--space-4); color: var(--text-heading); }
.facts-footnote { margin-top: 20px; color: var(--text-caption); }

/* Desktop Layout */
@media (min-width: 768px) {
  .about-cards-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "card1 card1"
      "card2 card3"
      "card4 card4";
  }
  
  .about-card--full:nth-child(1) {
    grid-area: card1;
  }
  
  .about-card--half:nth-child(2) {
    grid-area: card2;
  }
  
  .about-card--half:nth-child(3) {
    grid-area: card3;
  }
  
  .about-card--full:nth-child(4) {
    grid-area: card4;
  }
}

/* Mobile styles for about section */
@media (max-width: 768px) {
  .about-author {
    padding: 60px 0;
  }
  
  .about-card {
    padding: 24px;
  }
  
  .about-card__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .about-card__image {
    order: -1;
  }
  
  .author-photo {
    max-width: 240px;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
  }
  
  .about-stat__number {
    font-size: var(--fs-xl);
  }
  
  .reviews-links {
    grid-template-columns: 1fr;
  }
  
  .about-card__number {
    font-size: var(--fs-heading-md);
  }
}

/* Module Results with Highlight Cards */
.module-result {
  margin-top: 24px;
}

/* Accordion */

/* CTA Box */
.cta--boxed { background: linear-gradient(135deg, var(--bg-hero-1), var(--bg-hero-2)); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-md); text-align: center; }

/* Footer */
.footer { 
  background: #fff; 
  border-top: 1px solid rgba(79,70,229,.08); 
  color: var(--text-body-secondary);
}
.footer__inner { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  text-align: center;
  gap: 12px;
  padding: 24px 0; 
}
.footer__brand { 
  display: flex;
  align-items: center;
  text-align: center;
}

.footer__brand svg {
  height: 28px;
  width: auto;
}
.footer__copy { opacity: .9; font-size: var(--fs-body-xs); }
.footer__link { 
  color: var(--text-body-secondary); 
  text-decoration: none; 
  transition: color 0.2s ease;
  position: relative;
}
.footer__link:hover { color: var(--text-body-secondary); text-decoration: underline; }

/* Footer copy split into two lines (desktop), with bigger spacing */
.footer__copy { opacity: .9; font-size: var(--fs-body-xs); }
.footer__copyright { color: var(--text-body-secondary); }
.footer__links { 
  margin-top: 10px; 
  display: flex; 
  flex-wrap: wrap; 
  align-items: center;
  justify-content: center;
}
.footer__links .footer__link + .footer__link {
  margin-left: 20px;
}
.footer__links .footer__link:not(:last-child)::after {
  content: "|";
  color: var(--text-disabled);
  position: absolute;
  right: -10px;
  pointer-events: none;
}

/* Адаптивные разделители - скрываем когда ссылки переносятся */
@media (max-width: 550px) {
  .footer__links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  
  .footer__links .footer__link + .footer__link {
    margin-left: 0;
  }
  
  .footer__links .footer__link:not(:last-child)::after {
    display: none;
  }
}

/* Utility visibility helpers for responsive footer separators */
.mobile-break { display: none; }
.desktop-only { display: inline; }

/* Action bar */
.action-bar { position: fixed; z-index: 950; opacity: 0; transform: translateY(100px); transition: .4s ease; }
.action-bar.visible { opacity: 1; transform: translateY(0); }
.action-bar-desktop { right: 32px; bottom: 32px; display: none; flex-direction: column; gap: 16px; }
.action-button { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.15); background: #fff; color: var(--text-caption); cursor: pointer; transition: .2s ease; border: 0; }
.action-button:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.scroll-top-button { background: #f3f4f6; color: var(--text-disabled); }
.scroll-top-button:hover { background: #e5e7eb; color: var(--text-caption); }
.main-cta-button { background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); color: #fff; }

.action-bar-mobile { left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid #e5e7eb; padding: 16px 20px 20px; box-shadow: 0 -4px 16px rgba(0,0,0,.1); display: none; }
.mobile-action-grid { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.mobile-action-buttons { display: flex; gap: 8px; align-items: center; }
.mobile-action-buttons .btn {
  padding: 10px 16px;
  font-size: 14px;
  height: auto;
}
.timer-text { 
  font-size: 16px; 
  font-weight: 600; 
  color: var(--violet-600); 
  white-space: nowrap;
}

.discount-badge {
  font-size: 16px;
  font-weight: 600;
  color: var(--violet-600);
  text-align: center;
  white-space: nowrap;
}

.action-bar-close {
  background: transparent;
  border: none;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  height: 48px;
  width: 48px;
}

.action-bar-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.action-bar-close svg {
  width: 16px;
  height: 16px;
}

/* Decorations */
.hero-decoration { position: absolute; pointer-events: none; }
.decoration-1 { top: 10%; right: 8%; width: 100px; height: 100px; background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); border-radius: 50%; opacity: .1; filter: blur(40px); }
.decoration-2 { bottom: 18%; left: 6%; width: 150px; height: 150px; background: linear-gradient(135deg, var(--green-500), var(--green-600)); border-radius: 50%; opacity: .08; filter: blur(50px); }

/* Variants: order vs subscribe */
body[data-variant="order"] .block--subscribe { display: none !important; }
body[data-variant="subscribe"] .block--order { display: none !important; }

/* Динамическая высота hero-section */
/* Когда есть форма и таймер - полная высота экрана */
body[data-variant="subscribe"] .hero-section {
  min-height: 80vh;
}

/* Когда только видео - адаптивная высота */
body[data-variant="order"] .hero-section {
  min-height: auto;
  padding: 60px 0;
}

/* Когда нет таймера и формы - центрируем видео вертикально */
body[data-variant="order"] .hero__right {
  justify-content: center;
}

/* Обратное правило: когда есть таймер/форма - выравнивание по верху */
body[data-variant="subscribe"] .hero__right {
  justify-content: flex-start;
}

/* CSS-only solution: автоматическое центрирование когда нет .countdown-timer */
.hero__right:not(:has(.countdown-timer)) {
  justify-content: center;
}

/* Автоматическая адаптация высоты при отсутствии формы и таймера */
.hero-section:not(:has(.hero-discount-form)):not(:has(.countdown-timer)) {
  min-height: auto !important;
  padding: 80px 0 !important;
}

/* Когда есть хотя бы один из элементов - сохраняем полную высоту */
.hero-section:has(.hero-discount-form),
.hero-section:has(.countdown-timer) {
  min-height: 80vh !important;
}

/* Повышенный приоритет для автоматических селекторов */
body .hero-section:not(:has(.hero-discount-form)):not(:has(.countdown-timer)) {
  min-height: auto !important;
  padding: 80px 0 !important;
}

/* Fallback классы для браузеров без поддержки :has() */
.hero-section--compact {
  min-height: auto !important;
  padding: 80px 0 !important;
}

.hero-section--full-height {
  min-height: 80vh !important;
}

/* Mobile styles for discount form */
@media (max-width: 768px) {
  .hero-discount-form {
    margin-top: 40px;
  }
  .discount-form-wrapper {
    padding: 32px 24px;
  }
  .form-fields-horizontal {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Layout ≥1024px */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .action-bar-mobile { display: none !important; }
  
  /* Базовые стили hero-section для десктопа */
  .hero-section { 
    min-height: auto;
    padding: 80px 0; 
  }
  
  .hero__grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 32px; 
    align-items: start;
    grid-template-rows: auto auto;
  }
  
  .hero-discount-form {
    grid-row: 2;
    margin-top: 24px;
  }
  
  /* Динамическая высота на десктопе */
  body[data-variant="subscribe"] .hero-section {
    min-height: 90vh; /* Полная высота для версии с формой */
    padding: 60px 0 50px;
  }
  
  body[data-variant="order"] .hero-section {
    min-height: fit-content; /* Подстройка под контент */
    padding: 100px 0 80px; /* Увеличенные отступы */
  }
  
  body[data-variant="order"] .hero__grid {
    align-items: center; /* Центрирование по вертикали */
  }
  
  /* Центрирование видео в правой колонке на десктопе */
  .hero__right {
    justify-content: center;
    align-self: center;
    min-height: auto; /* Убираем фиксированную высоту */
  }
  
  /* Когда есть таймер или форма - убираем центрирование на десктопе */
  body[data-variant="subscribe"] .hero__right {
    justify-content: flex-start;
    min-height: auto;
  }
  
  /* Автоматическая адаптация для десктопа при отсутствии элементов */
  .hero-section:not(:has(.hero-discount-form)):not(:has(.countdown-timer)) {
    min-height: fit-content !important;
    padding: 100px 0 80px !important;
  }
  
  .hero-section:not(:has(.hero-discount-form)):not(:has(.countdown-timer)) .hero__grid {
    align-items: center;
  }
  
  /* Fallback для десктопа */
  .hero-section--compact {
    min-height: fit-content !important;
    padding: 100px 0 80px !important;
  }
  
  .hero-section--compact .hero__grid {
    align-items: center !important;
  }
  
  .action-bar-desktop { display: flex; }
}

/* Project Overview Section */
.project-overview-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.project-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.project-link-item {
  text-align: center;
  padding: 24px;
  background: rgba(79, 70, 229, 0.02);
  border-radius: var(--radius-16);
  border: 1px solid rgba(79, 70, 229, 0.08);
}

.project-link-item h4 {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-caption);
  margin-bottom: 16px;
}

.project-link-item .btn {
  margin-top: 8px;
}


/* Mobile adjustments for project sections */
@media (max-width: 768px) {
  .project-links {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  
  .project-link-item {
    padding: 20px;
  }
  
}

/* Requirements Important Block */
.requirements-important {
  margin: 24px 0;
}

.requirements-important-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.requirements-important-content .review-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
  color: var(--indigo-500);
  background: rgba(79, 70, 229, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.requirements-important-text {
  flex: 1;
}

.requirements-important-text h4 {
  margin-bottom: 12px;
  color: var(--text-heading);
}

.requirements-important-text p {
  margin: 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-body-secondary);
}

@media (max-width: 768px) {
  .requirements-important-content {
    gap: 16px;
  }
  
  .requirements-important-content .review-icon {
    width: 40px;
    height: 40px;
  }
}



/* Guarantee Refund Block */
.guarantee-refund {
  margin: 24px 0;
}

.guarantee-refund-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.guarantee-refund-content .review-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  flex-shrink: 0;
  color: var(--green-500);
  background: rgba(16, 185, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-refund-text {
  flex: 1;
}

.guarantee-refund-text h4 {
  margin-bottom: 12px;
  color: var(--text-heading);
}

.guarantee-refund-text p {
  margin: 0 0 16px 0;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-body-secondary);
}

.guarantee-period {
  background: linear-gradient(135deg, rgba(79,70,229,.02), rgba(124,58,237,.02));
  border: 1px solid rgba(79,70,229,.1);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0;
  text-align: left;
}

.guarantee-period strong {
  color: var(--violet-500);
  font-size: var(--fs-sm);
  font-weight: 600;
}

@media (max-width: 768px) {
  .guarantee-refund-content {
    gap: 16px;
  }
  
  .guarantee-refund-content .review-icon {
    width: 40px;
    height: 40px;
  }
}

/* Pricing Section Styles */
.pricing-summary {
  text-align: center;
  margin: 32px 0;
}

.pricing-summary p {
  font-size: clamp(18px, 3vw, 22px);
  line-height: 1.4;
  margin: 0;
}

.pricing-summary strong {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  display: block;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .pricing-summary {
    margin: 24px 0;
  }
}

/* Order Hero Section */
.order-hero-section {
  background: linear-gradient(135deg, var(--bg-hero-1) 0%, var(--bg-hero-2) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

/* Guarantee — enhanced visuals */
.guarantee-card {
  position: relative;
  overflow: hidden;
}
.guarantee-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(1200px 400px at 10% -10%, rgba(79,70,229,.15), transparent 60%),
              radial-gradient(800px 300px at 110% 110%, rgba(124,58,237,.12), transparent 60%);
}
.guarantee-content {
  position: relative;
  z-index: 1;
}
.guarantee-content .review-icon {
  width: 56px; height: 56px; border-radius: 14px;
  color: var(--green-600); background: rgba(16,185,129,.1);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}

/* Summary — six-card grid like reference */
.summary-card { padding: 0; }
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
.summary-item {
  padding: 28px;
  background: #fff;
  position: relative;
}
.summary-item + .summary-item { border-left: 1px solid rgba(17,24,39,0.06); }
.summary-item:nth-child(n+4) { border-top: 1px solid rgba(17,24,39,0.06); }
.summary-item .review-icon {
  width: 48px; height: 48px;
  color: var(--indigo-500);
  background: rgba(79,70,229,.08);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.summary-item h4 { margin: 0 0 6px; font-size: 18px; color: var(--text-heading); }
.summary-item p { margin: 0; color: var(--text-body-secondary); }

@media (max-width: 900px) {
  .summary-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .summary-grid { grid-template-columns: 1fr; }
  .summary-item + .summary-item { border-left: none; }
}

/* Pricing — two-column layout + banner */
.pricing-content { display: grid; grid-template-columns: 1fr; gap: 24px; }
.pricing-description p { line-height: 1.6; }
.pricing-banner {
  background: linear-gradient(135deg, #f8faff 0%, #e5edff 100%);
  border: 2px solid rgba(79,70,229,.1);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(79,70,229,.15);
}
.pricing-banner .label { font-size: var(--fs-body-sm); text-transform: uppercase; letter-spacing: .08em; color: var(--indigo-500); font-weight: 700; }
.pricing-banner .subtitle { font-size: clamp(12px, 1.5vw, 14px); color: var(--text-body-secondary); margin: 8px 0 16px 0; line-height: 1.4; }
.pricing-banner .price-value { font-size: clamp(28px, 6vw, 40px); font-weight: 800; background: linear-gradient(135deg, var(--indigo-500), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pricing-banner .note { color: var(--text-disabled); margin-top: 6px; }
@media (min-width: 980px) {
  .pricing-content { grid-template-columns: 1.2fr .8fr; align-items: start; gap: 40px; }
}

/* Order — full-width banners inside columns */
.order-hero__left .pricing-box,
.order-hero__right .hero-discount-form { width: 100%; }

/* Conclusion — single card with centered icon */
.conclusion-card.exercises-card { text-align: center; }
.conclusion-card .review-icon {
  width: 56px; height: 56px; border-radius: 14px;
  color: var(--indigo-500); background: rgba(79,70,229,.1);
}

.order-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  grid-template-rows: auto auto;
}

.order-hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
}

.order-hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--text-disabled);
  margin-bottom: var(--space-6);
}

.countdown-section {
  margin-bottom: var(--space-8);
}

.countdown-label {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--indigo-500);
  text-align: center;
  margin-bottom: 16px;
}

.pricing-box {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  border: 1px solid rgba(79,70,229,.1);
  margin-bottom: var(--space-8);
  text-align: center;
}

.price-comparison {
  margin-bottom: 24px;
}

.price-old, .price-current {
  margin-bottom: 8px;
}

.price-old {
  color: var(--text-disabled);
  text-decoration: line-through;
  font-size: var(--fs-body);
}

.price-current {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--text-heading);
}

.price-value {
  font-weight: 700;
}

.conclusion-text {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(79,70,229,.1);
  border-radius: 20px;
  padding: 32px;
  margin: var(--space-8) 0;
}

.conclusion-text p {
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-body-secondary);
  margin-bottom: 16px;
}

.conclusion-cta {
  color: var(--indigo-500) !important;
  font-size: 18px !important;
}

.author-signature {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(79,70,229,.1);
}

.author-signature p {
  color: var(--gray-800) !important;
  margin: 0 !important;
  text-align: right;
}

.pricing-warning {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-top: var(--space-6);
}

.pricing-warning p {
  color: #dc2626;
  font-size: var(--fs-sm);
  margin: 0;
  font-weight: 500;
}

/* Course Image */
.course-image-wrapper {
  margin-bottom: 32px;
}

.course-image {
  background: #fff;
  border-radius: var(--radius-24);
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.1);
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.course-collage {
  width: 100%;
  height: 100%;
}

.collage-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.course-cover {
  color: var(--indigo-500);
}

/* Author conclusion block spacing */
.author-conclusion-block {
  margin-top: 24px;
}

@media (min-width: 1024px) {
  .author-conclusion-block {
    margin-top: 40px;
  }
}

.course-cover h3 {
  font-size: var(--fs-heading-sm);
  font-weight: 700;
  margin: 16px 0 8px 0;
  color: var(--text-heading);
}

.course-cover p {
  font-size: var(--fs-body);
  color: var(--text-body-secondary);
  margin: 0;
}

/* Desktop Layout for Order Hero */
@media (min-width: 1024px) {
  .order-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    grid-template-rows: auto;
  }
}

/* Variant Switcher */
.variant-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 0;
}

.variant-switcher input[type="radio"] {
  display: none;
}

.variant-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.variant-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-500);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.variant-switcher input[type="radio"]:checked + .variant-dot {
  background: var(--violet-500);
}

.variant-switcher input[type="radio"]:checked + .variant-dot::after {
  opacity: 1;
  background: white;
}

.variant-dot:hover {
  background: rgba(79, 70, 229, 0.4);
  transform: scale(1.1);
}

/* Variant Content Styles */
.variant-discount-form,
.variant-discount-button,
.variant-full-price {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Pricing Discount Block - блок с ценами для скидочных вариантов */
.pricing-discount-block {
  margin: var(--space-8) 0;
}

.discount-prices {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-16);
  padding: var(--space-6);
  box-shadow: var(--shadow-purple);
}

/* Горизонтальное отображение цен в стиле "Ключевой вывод" */
.pricing-highlight {
  margin: var(--space-6) 0;
}

.discount-prices--horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(79,70,229,.02), rgba(124,58,237,.02));
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-12);
  padding: 20px 24px;
  position: relative;
}

/* Вертикальное отображение цен без рамки (для первого варианта) */
.discount-prices--vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0;
  background: none;
  border: none;
  text-align: center;
}

.discount-prices--vertical .old-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.discount-prices--vertical .old-price .price-value {
  font-size: var(--fs-heading-sm);
  font-weight: 500;
  color: var(--text-disabled);
  text-decoration: line-through;
  margin: 0;
}

.discount-prices--vertical .old-price .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-disabled);
  margin: 0;
}

.discount-prices--vertical .new-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.discount-prices--vertical .new-price .price-value {
  font-size: var(--fs-display-sm);
  font-weight: 700;
  color: var(--violet-500);
  margin: 0;
}

.discount-prices--vertical .new-price .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-body);
  margin: 0;
}

/* Бейдж скидки в правом верхнем углу карточки */
.discount-badge--corner {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: var(--fs-body-sm);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-8);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
  z-index: 10;
}

/* Стили для цен на белом фоне (без контейнеров) */
.old-price--clean,
.new-price--clean {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
  margin: var(--space-4) 0;
}

.old-price--clean .price-value {
  font-size: var(--fs-heading-sm);
  font-weight: 500;
  color: var(--text-disabled);
  text-decoration: line-through;
  margin: 0;
}

.old-price--clean .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-disabled);
  margin: 0;
}

.new-price--clean .price-value {
  font-size: var(--fs-display-sm);
  font-weight: 700;
  color: var(--violet-500);
  margin: 0;
}

.new-price--clean .price-label {
  font-size: var(--fs-body-sm);
  color: var(--violet-500);
  margin: 0;
}

.discount-prices--horizontal .old-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-align: left;
}

.discount-prices--horizontal .old-price .price-value {
  font-size: var(--fs-heading-sm);
  font-weight: 500;
  color: var(--text-disabled);
  text-decoration: line-through;
}

.discount-prices--horizontal .old-price .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-disabled);
  margin: 0;
}

.discount-prices--horizontal .new-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-align: right;
  position: relative;
}

.discount-prices--horizontal .new-price .price-value {
  font-size: var(--fs-display-sm);
  font-weight: 700;
  color: var(--violet-500);
  margin: 0;
}

.discount-prices--horizontal .new-price .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-body);
  margin: 0;
}

.discount-prices--horizontal .discount-badge {
  position: static;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: var(--fs-body-sm);
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-8);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
  white-space: nowrap;
}

.old-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.old-price .price-value {
  font-size: var(--fs-heading-sm);
  font-weight: 600;
  color: var(--text-disabled);
  text-decoration: line-through;
  position: relative;
}

.old-price .price-label {
  font-size: var(--fs-body-sm);
  color: var(--text-disabled);
  margin-top: 4px;
}

.new-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.new-price .price-value {
  font-size: var(--fs-display-sm);
  font-weight: 700;
  color: var(--violet-500);
  margin-bottom: 8px;
}

.new-price .price-label {
  font-size: var(--fs-body);
  color: var(--text-body);
  margin-bottom: 12px;
}

/* Обеспечить фирменный сиреневый цвет метки "цена со скидкой"
   именно в первом блоке заказа (и вообще для clean-варианта),
   перекрывая более общий селектор ниже по файлу */
.order-hero-section .new-price--clean .price-label {
  color: var(--violet-500) !important;
}

/* Слайд 3: фиолетовая подпись под ценой */
.variant-full-price .price-label {
  color: var(--violet-500);
}

.discount-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-8);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Discount CTA Block - блок с кнопкой для второго варианта */
.discount-cta-block {
  margin: var(--space-8) 0;
}

.discount-cta-block .cta-buttons {
  display: flex;
  justify-content: center;
}

/* Объединенный блок цен и кнопки для второго варианта */
.price-with-button {
  margin: var(--space-8) 0;
}

.price-with-button-wrapper {
  background: linear-gradient(135deg, rgba(79,70,229,.02), rgba(124,58,237,.02));
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-16);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.price-with-button-wrapper .discount-prices--horizontal {
  margin: 0;
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
}

.price-with-button-wrapper .cta-buttons {
  display: flex;
  justify-content: center;
  margin: 0;
}

/* Модификатор для белого фона (второй вариант) */
.price-with-button-wrapper--white {
  background: var(--bg);
  border: 1px solid rgba(79, 70, 229, 0.1);
  box-shadow: var(--shadow-purple);
}

/* Модификатор для чистого белого блока без дополнительных контейнеров */
.price-with-button--clean {
  margin: var(--space-8) 0;
  background: var(--bg);
  border: 1px solid rgba(79, 70, 229, 0.1);
  border-radius: var(--radius-16);
  padding: var(--space-6);
  box-shadow: var(--shadow-purple);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.price-with-button--clean .discount-form-title {
  margin: 0;
  font-size: var(--fs-2xl);
}

.price-with-button--clean .cta-buttons {
  display: flex;
  justify-content: center;
  margin: 0;
}

.variant-full-price {
  margin-top: 0;
}

/* Course List Styles */
.course-list {
  margin: 24px 0;
}

.course-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 0;
}

.course-check {
  color: var(--violet-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.course-item span {
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--text-body);
}

/* Course Package Card - компактная карточка для списка курсов */
.course-package-card {
  background: rgba(79, 70, 229, 0.02);
  border-radius: var(--radius-16);
  border: 1px solid rgba(79, 70, 229, 0.08);
  padding: 16px 24px;
  margin: 24px 0;
}

.course-package-card h4 {
  font-size: var(--fs-body-lg);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-package-card .package-badge {
  background: linear-gradient(135deg, var(--indigo-500), var(--violet-500));
  color: white;
  font-size: var(--fs-body-xs);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.025em;
}

.course-package-card .course-list {
  margin: 0;
}

.course-package-card .course-item {
  margin-bottom: 4px;
  padding: 4px 0;
}

.course-package-card .course-item span {
  font-size: var(--fs-body-sm);
  line-height: 1.4;
}

.course-package-card .course-check {
  width: 16px;
  height: 16px;
}

.course-package-card .main-course {
  font-weight: 600;
  color: var(--text-heading);
}

/* Full Price Block */
.full-price-block {
  background: white;
  border-radius: 20px;
  padding: 32px;
  margin-top: 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.1);
}

.price-display {
  margin-bottom: 24px;
}

.price-number {
  display: block;
  font-size: var(--fs-5xl);
  font-weight: 700;
  color: var(--violet-500);
  margin-bottom: 4px;
}

.price-label {
  font-size: var(--fs-body);
  color: var(--text-body-secondary);
}

/* Mobile adjustments for order hero */
@media (max-width: 768px) {
  .order-hero-section {
    padding: 80px 0 60px;
    min-height: auto;
  }
  
  .conclusion-text, .pricing-box, .full-price-block {
    padding: 24px;
  }
  
  .course-image {
    padding: 24px;
  }
  
  .variant-switcher {
    margin-top: 24px;
  }
  
  .course-item {
    margin-bottom: 12px;
    padding: 8px 0;
  }
  
  .price-number {
    font-size: var(--fs-4xl);
  }
  
  /* Адаптивные стили для блока цен */
  .pricing-discount-block {
    margin: var(--space-6) 0;
  }
  
  .discount-prices {
    padding: var(--space-5);
  }
  
  .new-price .price-value {
    font-size: var(--fs-heading-lg);
  }
  
  .old-price .price-value {
    font-size: var(--fs-heading-sm);
  }
  
  .discount-badge {
    font-size: var(--fs-body-xs);
    padding: 3px 8px;
  }
  
  .discount-cta-block {
    margin: var(--space-6) 0;
  }
  
  /* Адаптивные стили для горизонтальных цен */
  .discount-prices--horizontal {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .discount-prices--horizontal .old-price,
  .discount-prices--horizontal .new-price {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  
  .discount-prices--horizontal .old-price .price-value {
    font-size: var(--fs-heading-sm);
  }
  
  .discount-prices--horizontal .new-price .price-value {
    font-size: var(--fs-heading-lg);
  }
  
  /* Адаптивные стили для вертикальных цен */
  .discount-prices--vertical .old-price .price-value {
    font-size: var(--fs-xl);
  }
  
  .discount-prices--vertical .new-price .price-value {
    font-size: var(--fs-heading-lg);
  }
  
  .discount-badge--corner {
    top: 12px;
    right: 12px;
    font-size: var(--fs-body-xs);
    padding: 4px 8px;
  }
  
  /* Адаптивные стили для чистых цен */
  .old-price--clean .price-value {
    font-size: var(--fs-xl);
  }
  
  .new-price--clean .price-value {
    font-size: var(--fs-heading-lg);
  }
  
  .price-with-button--clean {
    padding: var(--space-5);
    gap: var(--space-4);
  }
  
  .pricing-highlight {
    margin: var(--space-5) 0;
  }
  
.price-with-button-wrapper {
  padding: var(--space-5);
  gap: var(--space-4);
}

/* Заголовок над ценой для третьего варианта */
.price-caption {
  text-align: center;
  margin: 0 0 8px;
  color: var(--text-caption);
}
}

/* Дополнительные стили для малых экранов (480px) */
@media (max-width: 480px) {
  .discount-prices--horizontal {
    padding: 16px 20px;
  }
  
  .discount-prices--horizontal .old-price .price-value {
    font-size: var(--fs-xl);
  }
  
  .discount-prices--horizontal .new-price .price-value {
    font-size: var(--fs-heading-md);
  }
  
  /* Адаптивные стили для вертикальных цен на малых экранах */
  .discount-prices--vertical .old-price .price-value {
    font-size: var(--fs-lg);
  }
  
  .discount-prices--vertical .new-price .price-value {
    font-size: var(--fs-heading-md);
  }
  
  .discount-badge--corner {
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .discount-badge {
    font-size: var(--fs-body-xs);
    padding: 4px 8px;
  }
  
  .price-with-button-wrapper {
    padding: 16px 20px;
    border-radius: var(--radius-12);
  }
  
  .pricing-highlight {
    margin: 16px 0;
  }
}

/* Aux additions */
.course-image img.course-cover { width: 100%; height: 100%; object-fit: contain; display: block; }
.conclusion-card .warning { background: rgba(220, 38, 38, 0.05); border: 1px solid rgba(220, 38, 38, 0.2); border-radius: 12px; padding: 14px 16px; color: #dc2626; font-weight: 500; margin-top: 16px; }

/* Very Small Screens - 320px support */
/* Note: Detailed 360px styles moved to media-queries.css to avoid conflicts */
