/* ═══════════════════════════════════════════════ */
/* CSS-переменные (дизайн-система)                 */
/* ═══════════════════════════════════════════════ */
:root {
  --color-primary: #0F172A;
  --color-primary-dark: #1E293B;
  --color-bg: #F8FAFC;
  --color-white: #FFFFFF;
  --color-text: #334155;
  --color-text-light: #94A3B8;
  --color-cta: #FF5A1F;
  --color-cta-hover: #EA4D12;
  --color-success: #10B981;
  --color-danger: #F87171;
  --color-border: #E2E8F0;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-cta: 0 10px 30px -5px rgba(255, 90, 31, 0.5);
  
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════ */
/* Базовые стили                                   */
/* ═══════════════════════════════════════════════ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Manrope', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════ */
/* Прогресс-бар чтения страницы                    */
/* ═══════════════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cta), #FF8A5C);
  width: 0%;
  z-index: 100;
  transition: width 50ms ease-out;
  box-shadow: 0 0 10px rgba(255, 90, 31, 0.5);
}

/* ═══════════════════════════════════════════════ */
/* Кнопки                                          */
/* ═══════════════════════════════════════════════ */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--color-cta);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.btn-cta:hover {
  background: var(--color-cta-hover);
  transform: scale(1.05);
  box-shadow: 0 15px 40px -5px rgba(255, 90, 31, 0.6);
}

.btn-cta:hover::before {
  left: 100%;
}

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

.btn-cta-lg {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 14px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-outline:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════ */
/* Ссылки с подчеркиванием                         */
/* ═══════════════════════════════════════════════ */
.link-underline {
  position: relative;
  display: inline-block;
}

.link-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cta);
  transition: width var(--transition-base);
}

.link-underline:hover::after {
  width: 100%;
}

/* ═══════════════════════════════════════════════ */
/* Hero                                            */
/* ═══════════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 90, 31, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* SVG Dashboard анимация */
.chart-line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 3s ease-out forwards;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.chart-dot {
  animation: pulseDot 2s infinite;
}

.chart-pulse {
  animation: pulseRing 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { r: 6; }
  50% { r: 8; }
}

@keyframes pulseRing {
  0% { r: 12; opacity: 0.3; }
  100% { r: 24; opacity: 0; }
}

.floating-card {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ═══════════════════════════════════════════════ */
/* Карточки "Боли"                                 */
/* ═══════════════════════════════════════════════ */
.pain-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  cursor: default;
}

.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-danger);
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition-base);
}

.pain-card:hover .pain-icon {
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

/* ═══════════════════════════════════════════════ */
/* Карточки услуг                                  */
/* ═══════════════════════════════════════════════ */
.service-card {
  background: white;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-cta);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-cta), #FF8A5C);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition-base);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-cta);
  font-weight: 600;
  font-size: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-base);
}

.service-card:hover .service-btn {
  opacity: 1;
  transform: translateY(0);
}

.service-btn:hover {
  gap: 10px;
}

/* ═══════════════════════════════════════════════ */
/* Кейсы                                           */
/* ═══════════════════════════════════════════════ */
.case-tab {
  padding: 12px 24px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-base);
}

.case-tab:hover {
  border-color: var(--color-cta);
  color: var(--color-cta);
}

.case-tab.active {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: white;
}

.case-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.case-card[data-case-content]:not(.visible) {
  display: none;
}

.case-card.visible {
  display: block;
  animation: fadeIn 0.5s;
}

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

.case-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.case-card:hover .case-img {
  transform: scale(1.1);
}

.case-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 48px;
  height: 48px;
  background: var(--color-cta);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  opacity: 0;
}

.case-card:hover .case-zoom-icon {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.case-stat {
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.case-stat:last-child {
  border-bottom: none;
}

/* Логотипы клиентов */
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-base);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.client-logo img {
  max-height: 60px;
  width: auto;
}

/* ═══════════════════════════════════════════════ */
/* Коммерческая информация                         */
/* ═══════════════════════════════════════════════ */
.company-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.company-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 20px;
}

.company-info > div {
  padding: 8px 0;
}

.achievement-card {
  background: white;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  padding: 28px;
  text-align: center;
  transition: all var(--transition-base);
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.achievement-icon {
  width: 56px;
  height: 56px;
  background: var(--color-cta);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.achievement-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

/* ═══════════════════════════════════════════════ */
/* Гарантии                                        */
/* ═══════════════════════════════════════════════ */
.guarantee-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px;
  transition: all var(--transition-base);
}

.guarantee-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  border-color: var(--color-success);
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════ */
/* Таймлайн этапов                                 */
/* ═══════════════════════════════════════════════ */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-border), var(--color-cta), var(--color-border));
  transform: translateX(-50%);
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-step:nth-child(even) .timeline-content {
  grid-column: 3;
  text-align: left;
}

.timeline-marker {
  grid-column: 2;
  width: 56px;
  height: 56px;
  background: white;
  border: 3px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--color-text-light);
  transition: all var(--transition-base);
  z-index: 2;
}

.timeline-step.active .timeline-marker {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: white;
  box-shadow: 0 0 0 8px rgba(255, 90, 31, 0.15);
}

.timeline-content {
  background: white;
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.timeline-step.active .timeline-content {
  border-color: var(--color-cta);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════════════════════════ */
/* Команда                                         */
/* ═══════════════════════════════════════════════ */
.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-info {
  padding: 20px;
  text-align: center;
}

/* ═══════════════════════════════════════════════ */
/* Сертификаты (Marquee)                           */
/* ═══════════════════════════════════════════════ */
.marquee-container {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cert-item {
  flex-shrink: 0;
  width: 200px;
  height: 140px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-base);
}

.cert-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--color-cta);
}

.cert-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════ */
/* Тарифы                                          */
/* ═══════════════════════════════════════════════ */
.pricing-card {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
}

.pricing-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-xl);
}

.pricing-featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.pricing-featured:hover {
  transform: scale(1.08);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cta);
  color: white;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-featured .pricing-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-price {
  margin-bottom: 8px;
}

.pricing-features {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 24px;
}

.pricing-featured .pricing-features {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* ═══════════════════════════════════════════════ */
/* Квиз                                            */
/* ═══════════════════════════════════════════════ */
.quiz-container {
  background: white;
  border-radius: 24px;
  border: 1px solid var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.quiz-progress-wrapper {
  height: 8px;
  background: var(--color-border);
  border-radius: 100px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--color-cta), #FF8A5C);
  border-radius: 100px;
  transition: width var(--transition-base);
}

.quiz-question {
  display: none;
  animation: fadeSlideIn 0.4s;
}

.quiz-question.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: var(--color-bg);
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--color-cta);
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.quiz-option.selected {
  border-color: var(--color-cta);
  background: var(--color-cta);
  color: white;
}

/* ═══════════════════════════════════════════════ */
/* Отзывы (Слайдер)                                */
/* ═══════════════════════════════════════════════ */
.reviews-slider {
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.review-card > div {
  background: var(--color-bg);
  border-radius: 20px;
  padding: 32px;
  height: 100%;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-text {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.reviews-nav-btn {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text);
}

.reviews-nav-btn:hover {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: white;
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  background: var(--color-border);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.reviews-dot.active {
  background: var(--color-cta);
  width: 24px;
  border-radius: 100px;
}

/* ═══════════════════════════════════════════════ */
/* FAQ                                             */
/* ═══════════════════════════════════════════════ */
.faq-item {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-primary);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-cta);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════ */
/* Модальное окно                                  */
/* ═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--color-bg);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--color-text);
}

.modal-close:hover {
  background: var(--color-cta);
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════════ */
/* Формы                                           */
/* ═══════════════════════════════════════════════ */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-primary);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--color-text);
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-cta);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.1);
}

.form-input::placeholder {
  color: var(--color-text-light);
}

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

.form-input.error {
  border-color: var(--color-danger);
}

/* Офферы */
.offers-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.offer-option {
  position: relative;
  cursor: pointer;
  display: block;
}

.offer-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.offer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-base);
}

.offer-option:hover .offer-content {
  border-color: var(--color-cta);
}

.offer-option input:checked + .offer-content {
  background: rgba(255, 90, 31, 0.05);
  border-color: var(--color-cta);
}

.offer-popular input:checked + .offer-content {
  background: var(--color-cta);
  border-color: var(--color-cta);
  color: white;
}

.offer-popular input:checked + .offer-content .offer-details,
.offer-popular input:checked + .offer-content .offer-price {
  color: white !important;
}

.offer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offer-visitors {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--color-primary);
}

.offer-popular input:checked + .offer-content .offer-visitors {
  color: white;
}

.offer-details {
  font-size: 13px;
  color: var(--color-text-light);
}

.offer-price {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--color-primary);
}

.offer-badge {
  position: absolute;
  top: -8px;
  right: 16px;
  background: var(--color-success);
  color: white;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════ */
/* Toast уведомление                               */
/* ═══════════════════════════════════════════════ */
.toast-notification {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background: white;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-2xl);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 400px;
  transform: translateX(calc(100% + 20px));
  transition: transform var(--transition-slow);
  z-index: 999;
  border: 1px solid var(--color-border);
}

.toast-notification.show {
  transform: translateX(0);
}

.toast-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════ */
/* Плавающая CTA (мобильные)                       */
/* ═══════════════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-cta);
  color: white;
  padding: 14px 24px;
  border-radius: 100px;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-cta);
  z-index: 90;
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-cta:hover {
  background: var(--color-cta-hover);
  transform: translateX(-50%) scale(1.05);
}

/* ═══════════════════════════════════════════════ */
/* Адаптивность                                    */
/* ═══════════════════════════════════════════════ */

/* Мобильные (до 768px) */
@media (max-width: 767px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-step {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }
  
  .timeline-step:nth-child(odd) .timeline-content,
  .timeline-step:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
  }
  
  .timeline-marker {
    grid-column: 1;
    width: 48px;
    height: 48px;
    font-size: 14px;
  }
  
  .quiz-options {
    grid-template-columns: 1fr;
  }
  
  .achievement-number {
    font-size: 36px;
  }
  
  .pricing-featured {
    transform: scale(1);
  }
  
  .pricing-featured:hover {
    transform: scale(1.02);
  }
  
  .modal-content {
    padding: 30px 20px;
  }
  
  .toast-notification {
    left: 20px;
    right: 20px;
    bottom: 80px;
    max-width: none;
  }
}

/* Планшеты (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .floating-cta {
    display: none;
  }
}

/* Десктоп (от 1024px) */
@media (min-width: 1024px) {
  .floating-cta {
    display: none;
  }
}

/* Большие экраны (от 1440px) */
@media (min-width: 1440px) {
  .max-w-7xl {
    max-width: 1440px;
  }
}

/* ═══════════════════════════════════════════════ */
/* Утилиты                                         */
/* ═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Скроллбар */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-text-light);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-cta);
}

/* Убираем выделение на мобильных */
@media (hover: none) {
  * {
    -webkit-tap-highlight-color: transparent;
  }
}