/* ===== RESET & ROOT ===== */
:root {
  --bg: #f5f5f7;
  --bg-dark: #0a0a0f;
  --bg-darker: #06060a;
  --bg-alt: #fafafa;
  --card-bg: #ffffff;
  --text: #1d1d1f;
  --text-light: #f5f5f7;
  --text-muted: #6e6e73;
  --text-muted-light: #8e8e93;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-dark: #2997ff;
  --accent-glow: rgba(0, 113, 227, 0.35);
  --border: rgba(0,0,0,0.07);
  --border-light: rgba(255,255,255,0.10);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 2px 24px rgba(0,0,0,0.055);
  --shadow-md: 0 12px 48px rgba(0,0,0,0.12);
  --max: 1080px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== LANG BAR ===== */
.lang-bar {
  background: transparent;
  border-bottom: none;
  padding: 10px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.lang-bar .container {
  display: flex;
  justify-content: flex-end;
}
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 980px;
  padding: 3px;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border-radius: 980px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-btn:hover { color: rgba(255,255,255,0.85); }
.lang-btn.active {
  background: var(--accent);
  color: #fff;
}


/* ===== APPLE EMOJI IMG ===== */
img.ae {
  height: 1.15em;
  width: 1.15em;
  vertical-align: -0.2em;
  display: inline-block;
  object-fit: contain;
}
.gift-icon img.ae {
  height: 1.5em;
  width: 1.5em;
  vertical-align: middle;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "RF Dewi", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.52;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1,h2,h3,h4 { margin: 0 0 16px; font-weight: 600; letter-spacing: -0.022em; }
p { margin: 0 0 16px; color: var(--text-muted); }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; padding: 0; }
ul { padding: 0; margin: 0; list-style: none; }

.container {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

/* ===== TYPOGRAPHY ===== */
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  text-align: center;
}
.section-label-light { color: var(--accent-dark); }

h1 {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}
h2 {
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1.06;
  text-align: center;
  margin-bottom: 16px;
}
h2.light { color: var(--text-light); }
h3 { font-size: 19px; line-height: 1.28; margin-bottom: 8px; }
.accent { color: var(--accent); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  transition: background 0.22s var(--ease), opacity 0.22s var(--ease),
              transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.30);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 113, 227, 0.42);
}
.btn-primary:active { transform: translateY(0); opacity: 0.88; }
.btn.wide { width: 100%; }

/* ===== CARDS ===== */
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }

.section-dark {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}
/* Точки на всех тёмных секциях */
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.section-dark > * { position: relative; z-index: 1; }
.section-dark .container { position: relative; z-index: 1; }
.section-dark h2 { color: var(--text-light); }
.section-dark p { color: var(--text-muted-light); }
.section-alt { background: var(--bg-alt); }

/* ===== HERO ===== */
.hero {
  background: var(--bg-darker);
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
}

/* Точечная сетка на весь фон */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Синие радиальные пятна */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(0, 113, 227, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(41, 151, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 30% 40% at 50% 5%, rgba(0, 113, 227, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--text-light);
  margin-bottom: 24px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 28px;
  padding: 7px 16px;
  border: 1px solid rgba(41, 151, 255, 0.28);
  border-radius: 980px;
  background: rgba(41, 151, 255, 0.08);
  backdrop-filter: blur(8px);
}
.kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-dark);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--accent-dark);
}

.hero-sub {
  font-size: 22px;
  line-height: 1.45;
  color: #8e8e93;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gift-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  margin-bottom: 36px;
  max-width: 560px;
  font-size: 15px;
  color: #8e8e93;
  backdrop-filter: blur(12px);
}
.gift-pill b { color: #f5f5f7; font-weight: 600; }
.gift-icon { font-size: 24px; flex-shrink: 0; }

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center; }

.hero-note {
  font-size: 13px;
  color: #48484a;
  margin-top: 16px;
  margin-bottom: 0;
}

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--bg-darker);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  padding: 14px 0;
  position: relative;
}
.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-darker) 0%, transparent 100%);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-darker) 0%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 32px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.ticker-dot {
  font-size: 6px;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* ===== BENEFITS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.cards-grid .card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.cards-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cards-grid .card p { font-size: 15px; margin: 0; }
.card-icon {
  font-size: 26px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 113, 227, 0.07);
  border-radius: 14px;
  flex-shrink: 0;
}

/* ===== QUIZ ===== */
.quiz-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 44px 44px 36px;
  max-width: 700px;
  margin: 44px auto 0;
  box-shadow: 0 20px 80px rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.08);
}
.quiz-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.progress-track {
  height: 4px;
  background: #e5e5ea;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 36px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 2px;
  width: 14%;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.q-text {
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}
.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1.5px solid #e5e5ea;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-size: 15px;
  color: var(--text);
  user-select: none;
}
.option:hover { border-color: #bedaf7; background: #f0f7ff; }
.option.active {
  border-color: var(--accent);
  background: #eef6ff;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.12);
}
.option-radio {
  width: 20px; height: 20px;
  border: 1.5px solid #c7c7cc;
  border-radius: 50%;
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.option.active .option-radio { border-color: var(--accent); background: var(--accent); }
.option.active .option-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.quiz-footer { margin-bottom: 16px; }
.quiz-help {
  font-size: 13px;
  color: #aeaeb2;
  text-align: center;
  margin: 0;
}

/* ===== HOW IT WORKS ===== */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}
.steps { display: flex; flex-direction: column; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: none; padding-bottom: 0; }
.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 28px;
  padding-top: 3px;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.step b { display: block; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.step p { font-size: 14px; margin: 0; }

.course-card {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,113,227,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.course-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  background: rgba(41,151,255,0.12);
  border: 1px solid rgba(41,151,255,0.25);
  border-radius: 980px;
  padding: 5px 14px;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.course-card h3 { color: #f5f5f7; font-size: 22px; margin-bottom: 6px; }
.course-title { color: #8e8e93; font-size: 15px; margin-bottom: 22px; font-style: italic; }
.course-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.course-list li {
  font-size: 15px;
  color: #c7c7cc;
  padding-left: 22px;
  position: relative;
}
.course-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

/* ===== BASICS GRID ===== */
.basics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.basic-item {
  padding: 30px;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.basic-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.basic-num {
  width: 38px; height: 38px;
  background: rgba(0,113,227,0.08);
  color: var(--accent);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.basic-item h3 { font-size: 17px; margin-bottom: 8px; }
.basic-item p { font-size: 15px; margin: 0; }

/* ===== BEGINNER GRID ===== */
.beginner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 44px;
}
.beginner-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: #c7c7cc;
}
.check {
  width: 24px; height: 24px;
  background: rgba(41,151,255,0.14);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== TRUST NUMBERS ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.trust-item {
  text-align: center;
  padding: 36px 20px;
  transition: transform 0.25s var(--ease);
}
.trust-item:hover { transform: translateY(-3px); }
.trust-item strong {
  display: block;
  font-size: 38px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.trust-item span { font-size: 14px; color: var(--text-muted); }

/* ===== LEAD FORM ===== */
.form-wrap { display: flex; justify-content: center; }
.form-card {
  width: 100%;
  max-width: 540px;
  padding: 52px;
}
.form-card h2 {
  font-size: 34px;
  text-align: left;
  margin-bottom: 10px;
  color: var(--text);
}
.form-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.5;
}
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.01em;
}
.input {
  width: 100%;
  padding: 15px 18px;
  border: 1.5px solid #d2d2d7;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
  outline: none;
  -webkit-appearance: none;
}
.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.14);
  background: #fff;
}
.input::placeholder { color: #aeaeb2; }

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.45;
}
.consent-label input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.submit-btn { margin-top: 8px; }
.form-errors { color: #ff3b30; font-size: 14px; text-align: center; }

.result-badge {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(0,113,227,0.09);
  color: var(--accent);
  font-size: 30px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  border: 2px solid rgba(0,113,227,0.18);
}
.result-gift-box {
  background: rgba(0,113,227,0.05);
  border: 1px solid rgba(0,113,227,0.14);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 22px 0 14px;
  font-size: 15px;
}
.result-gift-box b { display: block; margin-bottom: 5px; color: var(--text); }
.result-gift-box span { color: var(--text-muted); }
.result-cta-note { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.success-icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(52,199,89,0.09);
  color: #34c759;
  font-size: 34px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 20px auto 26px;
  border: 2px solid rgba(52,199,89,0.22);
}
#formSuccess { text-align: center; padding: 20px 0; }
#formSuccess h3 { font-size: 26px; color: var(--text); margin-bottom: 10px; }

/* ===== FAQ ===== */
.faq-wrap { max-width: 700px; margin: 0 auto; }
.faq-wrap h2 { text-align: left; }
.faq-wrap .section-label { text-align: left; }
.faq { margin-top: 36px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--accent); }
.faq-item p { padding-bottom: 22px; font-size: 15px; margin: 0; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--bg-darker);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.final-cta::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,113,227,0.20) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { color: var(--text-light); }
.final-sub {
  font-size: 19px;
  color: #8e8e93;
  margin-bottom: 36px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }
.disclosure {
  font-size: 13px;
  color: #636366;
  line-height: 1.6;
  padding: 18px 22px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
  margin-bottom: 18px;
}
.disclosure strong { color: #8e8e93; }
.footer-note { font-size: 13px; color: #636366; margin-bottom: 22px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.footer-links button {
  font-size: 13px;
  color: #636366;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-links button:hover { color: #aeaeb2; }
.footer-copy { font-size: 13px; color: #48484a; margin: 0; }

/* ===== MODALS ===== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.52);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s var(--ease);
}
.modal.open { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 44px;
  max-width: 600px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.22);
  transform: translateY(24px) scale(0.98);
  transition: transform 0.3s var(--ease);
}
.modal.open .modal-box { transform: translateY(0) scale(1); }
.modal-box h2 { font-size: 26px; margin-bottom: 18px; }
.modal-box h3 { font-size: 16px; margin: 22px 0 6px; color: var(--text); }
.modal-box p { font-size: 14px; color: var(--text-muted); }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.modal-close:hover { background: #e5e5ea; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; gap: 32px; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero { padding: 110px 0 90px; min-height: auto; }
  .hero-content { text-align: center; }
  .basics-grid { grid-template-columns: 1fr; }
  .beginner-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { flex-wrap: wrap; }
  .stat { min-width: 50%; }
  .stat-sep { display: none; }
  .form-card { padding: 36px 28px; }
  .quiz-card { padding: 30px 22px; }
  .faq-wrap h2 { font-size: 26px; }
  .final-cta h2 { font-size: 28px; text-align: center; }
  .final-cta { text-align: center; }
}

@media (max-width: 540px) {
  h1 { font-size: 42px; }
  .hero-sub { font-size: 17px; }
  .beginner-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .btn { font-size: 15px; padding: 13px 22px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .gift-pill { max-width: 100%; }
}
