/* ===== Базовые переменные ===== */
:root {
  --indigo: #6366f1;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --teal: #14b8a6;
  --teal-500: #0ea5a0;
  --gradient: linear-gradient(135deg, #6366f1 0%, #14b8a6 100%);
  --gradient-soft: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(20,184,166,0.12) 100%);

  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;
  --border: #e5e7eb;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #64748b;

  --dark: #0b1020;
  --dark-2: #111734;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 10px 25px -10px rgba(15, 23, 42, 0.15), 0 4px 10px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 23, 42, 0.18);

  --container: 1200px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Утилиты ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo-600);
  margin-bottom: 12px;
}

.section {
  padding: 100px 0;
}

.section__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 20px -8px rgba(99, 102, 241, 0.5);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -10px rgba(99, 102, 241, 0.6);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn--on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--lg {
  padding: 14px 26px;
  font-size: 16px;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
}

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -10px rgba(15, 23, 42, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo__mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 16px -6px rgba(99, 102, 241, 0.5);
}

.logo__mark svg {
  width: 22px;
  height: 22px;
}

.logo--on-dark {
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: var(--text);
}

.nav__link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Бургер */
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-alt);
  position: relative;
  margin-left: auto;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: #fff;
  border-top: 1px solid var(--border);
  animation: slideDown 0.25s ease;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__link {
  padding: 12px 8px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
}

.mobile-menu__link:hover {
  background: var(--bg-alt);
}

.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

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

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.18), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(20, 184, 166, 0.18), transparent 45%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  z-index: -1;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__content {
  max-width: 620px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--indigo-700);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(99, 102, 241, 0.05); }
}

.hero__title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero__subtitle {
  font-size: 19px;
  color: var(--text-muted);
  margin: 0 0 32px;
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  color: var(--text-muted);
  font-size: 14px;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--teal-500);
  font-weight: 800;
  font-size: 12px;
}

/* Плавающие карточки */
.hero__visual {
  position: relative;
  min-height: 520px;
}

.preview {
  position: absolute;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid var(--border);
}

.preview--progress {
  top: 30px;
  left: 0;
  width: 320px;
  z-index: 3;
}

.preview--stats {
  top: 0;
  right: 10px;
  width: 240px;
  z-index: 2;
}

.preview--test {
  bottom: 10px;
  right: 50px;
  width: 280px;
  z-index: 4;
}

.preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.preview__title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.preview__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--text-muted);
}

.preview__tag--green {
  background: rgba(20, 184, 166, 0.12);
  color: var(--teal-500);
}

.preview__course + .preview__course {
  margin-top: 14px;
}

.preview__course-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.preview__bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 6px;
}

.preview__bar-fill {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
}

.preview__bar-fill--2 {
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.preview__course-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-soft);
}

.preview__percent {
  font-weight: 700;
  color: var(--text);
}

.preview__big-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.preview__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.preview__chart span {
  flex: 1;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
}

.preview__avatar-row {
  display: flex;
  align-items: center;
  gap: -8px;
  margin-bottom: 10px;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar--more {
  background: #f1f5f9;
  color: var(--text-muted);
}

.preview__test-meta {
  font-size: 12px;
  color: var(--text-soft);
}

.floaty {
  animation: floaty 6s ease-in-out infinite;
}

.floaty--delay {
  animation-delay: 1.5s;
}

.floaty--delay2 {
  animation-delay: 3s;
}

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

/* ===== Trust ===== */
.trust {
  padding: 40px 0 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.trust__label {
  text-align: center;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 24px;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.trust__num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.trust__desc {
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Features ===== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.3);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--indigo-600);
  margin-bottom: 16px;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__icon--2 { color: var(--teal-500); }
.feature__icon--3 { color: #f59e0b; background: rgba(245, 158, 11, 0.12); }
.feature__icon--4 { color: #8b5cf6; background: rgba(139, 92, 246, 0.12); }
.feature__icon--5 { color: #ec4899; background: rgba(236, 72, 153, 0.12); }
.feature__icon--6 { color: #10b981; background: rgba(16, 185, 129, 0.12); }
.feature__icon--7 { color: #0ea5e9; background: rgba(14, 165, 233, 0.12); }
.feature__icon--8 { color: #f97316; background: rgba(249, 115, 22, 0.12); }

.feature__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.feature__text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ===== Audience ===== */
.audience {
  background: var(--bg-alt);
}

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

.audience-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.audience-card--featured {
  background: var(--gradient);
  color: #fff;
  border: none;
}

.audience-card--featured .audience-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.audience-card--featured .audience-card__text,
.audience-card--featured .audience-card__list li {
  color: rgba(255, 255, 255, 0.9);
}

.audience-card--featured .audience-card__list li::before {
  background: rgba(255, 255, 255, 0.8);
}

.audience-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-soft);
  color: var(--indigo-600);
  margin-bottom: 20px;
}

.audience-card__icon svg {
  width: 28px;
  height: 28px;
}

.audience-card__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.audience-card__text {
  color: var(--text-muted);
  margin: 0 0 20px;
  font-size: 15px;
}

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

.audience-card__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text);
}

.audience-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 2px;
  background: var(--indigo);
  border-radius: 2px;
}

/* ===== Pricing ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(99, 102, 241, 0.3);
}

.plan--featured {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--gradient) border-box;
  box-shadow: 0 20px 40px -20px rgba(99, 102, 241, 0.35);
  transform: translateY(-8px);
}

.plan--featured:hover {
  transform: translateY(-12px);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 16px -6px rgba(99, 102, 241, 0.5);
}

.plan__name {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
}

.plan__desc {
  color: var(--text-muted);
  margin: 0;
  font-size: 14px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.plan__price-num {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan__price-period {
  font-size: 14px;
  color: var(--text-soft);
}

.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text);
}

.plan__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gradient-soft);
  color: var(--indigo-600);
  font-size: 12px;
  font-weight: 700;
}

/* ===== Финальный CTA ===== */
.cta {
  padding: 100px 0;
}

.cta__box {
  position: relative;
  background: var(--dark);
  background-image:
    radial-gradient(circle at 10% 10%, rgba(99, 102, 241, 0.4), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(20, 184, 166, 0.35), transparent 40%);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(99, 102, 241, 0.35), transparent 60%);
  pointer-events: none;
}

.cta__title {
  position: relative;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 700px;
  margin-inline: auto;
}

.cta__text {
  position: relative;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 auto 32px;
  max-width: 560px;
}

.cta__actions {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Футер ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__desc {
  margin: 16px 0 0;
  font-size: 14px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 20px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer__list a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__socials {
  display: flex;
  gap: 10px;
}

.footer__social {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__social:hover {
  background: var(--gradient);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== Анимации появления ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

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

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__visual {
    min-height: 460px;
  }
  .trust__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav,
  .header__actions {
    display: none;
  }
  .burger {
    display: block;
  }
  .section {
    padding: 72px 0;
  }
  .hero {
    padding: 48px 0 72px;
  }
  .audience__grid,
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .plan--featured {
    transform: none;
  }
  .plan--featured:hover {
    transform: translateY(-4px);
  }
  .cta__box {
    padding: 56px 24px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__visual {
    min-height: 420px;
    transform: scale(0.92);
    transform-origin: top right;
  }
  .preview--progress {
    width: 280px;
  }
  .preview--stats {
    width: 200px;
  }
  .preview--test {
    width: 240px;
    right: 20px;
  }
}

@media (max-width: 420px) {
  .hero__visual {
    transform: scale(0.8);
  }
  .trust__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floaty,
  .badge__dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
