/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #0a0612;
  --bg-primary: #0d0614;
  --bg-card: #1a1030;
  --bg-card-hover: #221840;
  --bg-header: rgba(10, 6, 18, 0.92);
  --text-primary: #ffffff;
  --text-secondary: #b8b8d0;
  --text-muted: #7a7a9a;
  --accent: #b886ff;
  --accent-hover: #9b5eff;
  --cta: #ffdf20;
  --cta-hover: #ffea4d;
  --cta-text: #1a0a2e;
  --red: #dd1616;
  --red-hover: #ff3b3b;
  --border: rgba(184, 134, 255, 0.15);
  --border-light: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 50px;
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(184, 134, 255, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== CANVAS BACKGROUND ===== */
#certificates-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  border-radius: var(--radius-lg);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn--sm {
  padding: 10px 24px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 36px;
  font-size: 16px;
}

.btn--primary {
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 4px 20px rgba(255, 223, 32, 0.3);
}

.btn--primary:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 223, 32, 0.4);
}

.btn--accent {
  background: var(--red);
  color: #fff;
}

.btn--accent:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184, 134, 255, 0.08);
}

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

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s;
}

.btn:hover::after {
  left: 120%;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.header__logo-sub {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.header__nav {
  display: flex;
  gap: 28px;
}

.header__nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-family: var(--font-heading);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.header__nav-link:hover {
  color: var(--text-primary);
}

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

.header__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  transition: color var(--transition);
}

.header__phone:hover {
  color: var(--accent);
}

.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 50px;
}

.hero__inner {
  width: 100%;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--cta);
  margin-bottom: 32px;
}

.hero__bullets {
  list-style: none;
  margin-bottom: 28px;
  display: inline-block;
  text-align: left;
}

.hero__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.5;
}

.hero__bullet-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.hero__rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__stars {
  color: var(--cta);
  font-size: 20px;
  letter-spacing: 2px;
}

.hero__rating-text {
  font-size: 14px;
  color: var(--text-secondary);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== TRIAL ===== */
.trial {
  position: relative;
  z-index: 1;
  padding: 50px 0 80px;
}

.trial__card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 52px;
  background: radial-gradient(ellipse at 50% 0%, rgba(184, 134, 255, 0.15) 0%, rgba(26, 16, 48, 0.95) 60%);
  border: 1px solid rgba(184, 134, 255, 0.3);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 0 60px rgba(184, 134, 255, 0.15), 0 8px 40px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.trial__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

.trial__badge {
  display: inline-block;
  padding: 6px 20px;
  background: linear-gradient(135deg, rgba(184, 134, 255, 0.2), rgba(184, 134, 255, 0.08));
  border: 1px solid rgba(184, 134, 255, 0.4);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

.trial__title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.trial__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 32px;
}

.trial__features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trial__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

.trial__feature-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.trial .btn--lg {
  white-space: normal;
}

/* ===== ABOUT ===== */
.about {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

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

.about__license-img {
  color: var(--accent);
  margin-bottom: 16px;
}

.about__license-placeholder {
  width: 100%;
  max-width: 200px;
  height: auto;
}

.about__license-caption {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.about__lead {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  line-height: 1.4;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-bottom: 28px;
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.about__stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.about__registry-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.about__registry-link:hover {
  background: rgba(184, 134, 255, 0.1);
  border-color: var(--accent);
}

/* ===== HEADER PHONE BLOCK ===== */
.header__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__phone-label {
  font-size: 11px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* ===== PROMO ===== */
.promo {
  position: relative;
  z-index: 1;
  padding: 40px 0 100px;
}

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

.promo__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.promo__card--main {
  box-shadow: 0 0 40px rgba(184, 134, 255, 0.1);
  border-color: rgba(184, 134, 255, 0.3);
}

.promo__card--discount {
  background: linear-gradient(135deg, var(--bg-card), rgba(184, 134, 255, 0.08));
  border-color: var(--accent);
}

.promo__card--discount::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 223, 32, 0.06), transparent 60%);
  animation: promoPulse 3s ease-in-out infinite;
}

@keyframes promoPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.promo__price {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255, 223, 32, 0.3);
}

.promo__price--small {
  font-size: 40px;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(184, 134, 255, 0.3);
}

.promo__discount {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.promo__label {
  font-size: 14px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 500;
}

.promo__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: rgba(255, 223, 32, 0.1);
  border: 1px solid rgba(255, 223, 32, 0.2);
  border-radius: var(--radius-lg);
  font-size: 12px;
  color: var(--cta);
  font-family: var(--font-heading);
  font-weight: 600;
}

.promo__arrow {
  color: var(--accent);
  animation: arrowBounce 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.promo__note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
}

.promo__cta {
  text-align: center;
}

/* ===== PHONE LABEL (contacts) ===== */
.contacts__phone-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-top: 2px;
}

/* ===== FOOTER PHONE LABEL ===== */
.footer__phone-label {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

/* ===== DIPLOMA ===== */
.diploma {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

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

.diploma__image-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.diploma__image-wrap:hover .diploma__image-zoom {
  opacity: 1;
}

.diploma__image-zoom {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 6, 18, 0.85);
  color: var(--text-primary);
  font-size: 12px;
  font-family: var(--font-heading);
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.diploma__image-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(184, 134, 255, 0.06), transparent 70%);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.diploma__image-wrap:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.diploma__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.diploma__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.diploma__lead {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.diploma__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diploma__feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.diploma__feature-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.diploma__price-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.diploma__price {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--cta);
  line-height: 1;
  text-shadow: 0 0 30px rgba(255, 223, 32, 0.3);
  white-space: nowrap;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 1;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__image {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  background: rgba(10, 6, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-bar.active {
  transform: translateY(0);
}

.cookie-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-bar__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-bar__link {
  color: var(--accent);
  text-decoration: underline;
  transition: color var(--transition);
}

.cookie-bar__link:hover {
  color: var(--accent-hover);
}

.cookie-bar__btn {
  flex-shrink: 0;
}
.advantages {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(184, 134, 255, 0.02);
}

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

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(184, 134, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.advantage-card__icon svg {
  width: 100%;
  height: 100%;
}

.advantage-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.advantage-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ===== TRAINING ===== */
.training {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

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

.training__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.training__card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.training__step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6b3fa0);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.training__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.training__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.training__cta {
  text-align: center;
}

.training__phone {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--cta);
  text-decoration: none;
  display: block;
  transition: color var(--transition);
  text-shadow: 0 0 20px rgba(255, 223, 32, 0.3);
}

.training__phone:hover {
  color: var(--cta-hover);
}

.training__phone-label {
  font-size: 14px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* ===== FAQ ===== */
.faq {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}

.faq__item:first-child {
  border-top: 1px solid var(--border);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 24px 0;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  text-align: left;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--accent);
}

.faq__arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--text-muted);
}

.faq__item.active .faq__arrow {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq__item.active .faq__question {
  color: var(--accent);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__answer p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 24px;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

/* ===== REVIEWS ===== */
.reviews {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(184, 134, 255, 0.02);
}

.reviews__slider {
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

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

.review-card {
  min-width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6b3fa0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
}

.review-card__role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-card__stars {
  color: var(--cta);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card__text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

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

.reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.reviews__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--bg-card-hover);
}

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

.reviews__dots {
  display: flex;
  gap: 8px;
}

.reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.reviews__dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ===== CTA ===== */
.cta {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.cta__inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 60px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.cta__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta__form-row {
  display: flex;
  gap: 12px;
  max-width: 700px;
  margin: 0 auto;
}

.cta__input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition);
  outline: none;
}

.cta__input:focus {
  border-color: var(--accent);
}

.cta__input::placeholder {
  color: var(--text-muted);
}

.cta__agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
}

.cta__agree input[type="checkbox"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.cta__agree-link {
  color: var(--accent);
  text-decoration: underline;
  transition: color var(--transition);
}

.cta__agree-link:hover {
  color: var(--accent-hover);
}

/* Honeypot — скрыто от людей, видно ботам */
.cta__honeypot {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
  tab-index: -1;
}

/* ===== CONTACTS ===== */
.contacts {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: rgba(184, 134, 255, 0.02);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contacts__info {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 32px;
}

.contacts__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex: 1;
  min-width: 200px;
}

.contacts__icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.contacts__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-weight: 500;
}

.contacts__value {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contacts__link {
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  transition: color var(--transition);
}

.contacts__link:hover {
  color: var(--accent);
}

.contacts__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}

.contacts__map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  padding: 60px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer__logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
  margin-bottom: 16px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 2px;
}

.footer__logo-sub {
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.footer__copyright {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer__link {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--accent);
}

.footer__phone {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

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

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

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

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  width: 90%;
  max-width: 480px;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.modal__close svg {
  width: 20px;
  height: 20px;
}

.modal__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.modal__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.modal__form .cta__input {
  width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .promo__grid {
    flex-direction: column;
  }

  .promo__arrow {
    transform: rotate(90deg);
  }

  @keyframes arrowBounce {
    0%, 100% { transform: rotate(90deg) translateX(0); }
    50% { transform: rotate(90deg) translateX(8px); }
  }

  .promo__card {
    padding: 32px 24px;
  }

  .promo__price {
    font-size: 42px;
  }

  .promo__discount {
    font-size: 48px;
  }

  .diploma__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .diploma__image-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .diploma__price {
    font-size: 34px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 20px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 1000;
  }

  .header__nav.active {
    right: 0;
  }

  .header__contacts {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__license {
    max-width: 300px;
    margin: 0 auto;
  }

  .about__stats {
    gap: 24px;
  }

  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .training__grid {
    grid-template-columns: 1fr;
  }

  .training__card {
    padding: 28px 20px;
  }

  .training__phone {
    font-size: 28px;
  }

  .trial__card {
    padding: 32px 24px;
  }

  .trial__features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

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

  .cta__inner {
    padding: 40px 24px;
  }

  .cta__form-row {
    flex-direction: column;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contacts__info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .contacts__item {
    flex: 1;
    min-width: 180px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .about__stats {
    flex-direction: column;
    gap: 16px;
  }

  .section-title {
    margin-bottom: 40px;
  }
}