:root {
  --bg: #0f1115;
  --card: #171a21;
  --card-2: #ffffff;
  --text: #f3f4f6;
  --muted: #a7adbb;
  --line: rgba(255,255,255,0.08);
  --accent: #7c5cff;
  --accent-2: #9d85ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: #0b0d11;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hidden { display: none; }

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(11,13,17,0.72);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  cursor: pointer;
}

.btn-small { padding: 11px 16px; font-size: 14px; }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
}
.btn.full { width: 100%; }

.hero {
  padding: 72px 0 54px;
  background:
    radial-gradient(circle at top left, rgba(124,92,255,0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(0,193,255,0.12), transparent 25%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d7d9e0;
  font-size: 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.02;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  margin: 0 0 28px;
}

h3 { margin-top: 0; margin-bottom: 10px; }
.hero-text, .muted, .card p, .step p, .faq p, .price-card li, .final-note, .option-card small { color: var(--muted); }
.hero-text { font-size: 18px; line-height: 1.65; max-width: 720px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-points {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-points span, .quiz-bullets span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
}
.hero-strip {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(124,92,255,0.24);
  background: rgba(124,92,255,0.08);
  border-radius: 18px;
  line-height: 1.6;
  color: #e8e1ff;
}

.hero-card, .card, .price-card, .quiz-card, .faq-list details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.hero-card { padding: 28px; }
.hero-card ul { padding-left: 18px; color: #dde1eb; line-height: 1.85; }
.card-head { font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.mini-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #d9dcef;
  line-height: 1.6;
}

.section { padding: 72px 0; }
.section-dark { background: #0e1016; }
.cards.three, .pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card, .price-card { padding: 24px; }

.price-card {
  position: relative;
}
.price-card.featured {
  border-color: rgba(124,92,255,0.42);
  box-shadow: 0 0 0 1px rgba(124,92,255,0.1) inset;
}
.top-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124,92,255,0.18);
  color: #dcd1ff;
}
.price-title { font-size: 22px; font-weight: 700; padding-right: 132px; min-height: 30px; }
.price { font-size: 34px; font-weight: 800; margin: 12px 0 14px; }
.price-card ul { padding-left: 18px; min-height: 160px; line-height: 1.8; }

.quiz-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}
.quiz-intro { line-height: 1.7; }
.quiz-bullets {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.quiz-card {
  padding: 24px;
}
.quiz-progress {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 24px;
}
.quiz-progress-bar {
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  transition: width .25s ease;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step-label {
  color: #c9bdfc;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.option-card {
  display: block;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: #12151c;
  cursor: pointer;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(124,92,255,0.35);
}
.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card span {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.option-card.wide { grid-column: 1 / -1; }
.option-card.selected {
  border-color: rgba(124,92,255,0.6);
  background: rgba(124,92,255,0.12);
}
.text-field {
  display: block;
  margin-bottom: 16px;
}
.text-field span {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
input, textarea {
  width: 100%;
  background: #10131a;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}
textarea { resize: vertical; }
.final-note {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  line-height: 1.65;
}
.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step {
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid var(--line);
  border-radius: 20px;
}
.step span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(124,92,255,0.15);
  color: white;
  font-weight: 800;
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 14px;
}
.faq-list details { padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list p { margin: 12px 0 0; line-height: 1.7; }

.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 34px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid,
  .cards.three,
  .pricing,
  .quiz-wrap,
  .steps {
    grid-template-columns: 1fr;
  }

  .nav nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .option-grid,
  .quiz-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .btn,
  .btn-small {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }
}

.option-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
