:root {
  --bg: #06070c;
  --bg-soft: #0b0d15;
  --panel: #10131e;
  --panel-2: #151927;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f6fa;
  --muted: #99a0b6;
  --muted-2: #6d7488;
  --accent: #ffc83d;
  --accent-soft: rgba(255, 200, 61, 0.14);
  --violet: #7c5cff;
  --green: #35d07f;
  --danger: #ff6b6b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.85);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --max: 1160px;
}

*, *::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: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(124, 92, 255, 0.18), transparent 70%),
    radial-gradient(760px 480px at 8% 4%, rgba(255, 200, 61, 0.10), transparent 68%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(6, 7, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(6, 7, 12, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--accent), #ff9f1c);
  box-shadow: 0 8px 22px -8px rgba(255, 200, 61, 0.75);
  flex: 0 0 auto;
}

.brand-mark svg { width: 18px; height: 18px; }

.brand span small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--text); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #10131e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  box-shadow: 0 16px 34px -16px rgba(255, 200, 61, 0.85);
}

.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-block { width: 100%; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.05); }

.btn-wa {
  --btn-bg: #25d366;
  --btn-fg: #05230f;
  box-shadow: 0 18px 40px -18px rgba(37, 211, 102, 0.9);
}

.hero {
  position: relative;
  padding: 72px 0 84px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 26px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(53, 208, 127, 0.16);
}

.hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 3.65rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent), #ff9f1c 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 13px;
}

.hero-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #cfd4e2;
}

.check {
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.check svg { width: 12px; height: 12px; }

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.metric span {
  font-size: 0.78rem;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}

.capture-card {
  position: relative;
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.95), rgba(12, 14, 22, 0.98));
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  scroll-margin-top: 96px;
}

.capture-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 200, 61, 0.5), transparent 40%, rgba(124, 92, 255, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.capture-card h2 {
  font-size: 1.42rem;
  margin-bottom: 8px;
}

.capture-card .card-sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.field { margin-bottom: 15px; }

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #b9c0d2;
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2399a0b6' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
  cursor: pointer;
}

.field select option { background: #10131e; color: var(--text); }

.field input::placeholder { color: var(--muted-2); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(255, 200, 61, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.1);
}

.field.has-error input,
.field.has-error select { border-color: var(--danger); }

.field-error {
  display: none;
  font-size: 0.75rem;
  color: var(--danger);
  margin-top: 6px;
}

.field.has-error .field-error { display: block; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.76rem;
  color: var(--muted-2);
  line-height: 1.5;
  margin: 18px 0 20px;
  cursor: pointer;
}

.consent input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 1px 0 0;
  border: 0;
  border-radius: 4px;
  background: none;
  box-shadow: none;
  accent-color: var(--accent);
  flex: 0 0 auto;
  cursor: pointer;
}

.consent:hover input[type="checkbox"] {
  box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.12);
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.74rem;
  color: var(--muted-2);
  margin-top: 14px;
  text-align: center;
}

section { position: relative; }

.section { padding: 84px 0; }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

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

.step {
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.7), rgba(11, 13, 21, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}

.step h3 { font-size: 1.06rem; margin-bottom: 9px; }
.step p { font-size: 0.9rem; color: var(--muted); }

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.card:hover { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.04); }

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(124, 92, 255, 0.14);
  color: #a893ff;
  margin-bottom: 18px;
}

.card-icon svg { width: 19px; height: 19px; }

.card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.card p { font-size: 0.89rem; color: var(--muted); }

.faq { max-width: 780px; }

.faq-item {
  border-bottom: 1px solid var(--line);
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q .plus {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.faq-item.is-open .faq-q .plus {
  transform: rotate(45deg);
  color: var(--accent);
  border-color: rgba(255, 200, 61, 0.5);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 62ch;
}

.cta-band {
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 52px 48px;
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(124, 92, 255, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(21, 25, 39, 0.9), rgba(11, 13, 21, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); font-size: 0.95rem; max-width: 46ch; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  font-size: 0.82rem;
  color: var(--muted-2);
  margin-top: 14px;
  max-width: 34ch;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-size: 0.84rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: var(--muted-2);
}

.quiz-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.quiz-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 40px 0 72px;
}

.quiz-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.92), rgba(11, 13, 21, 0.96));
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.progress-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 34px;
}

.progress-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #ff9f1c);
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.question {
  animation: fadeUp 0.35s ease both;
}

.question h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  margin-bottom: 8px;
}

.question .q-hint {
  font-size: 0.85rem;
  color: var(--muted-2);
  margin-bottom: 26px;
}

.options { display: grid; gap: 11px; }

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 0.94rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.option:hover {
  border-color: rgba(255, 200, 61, 0.45);
  background: rgba(255, 200, 61, 0.06);
  transform: translateX(2px);
}

.option .key {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease;
}

.option:hover .key { background: var(--accent); color: #10131e; }

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.back-btn {
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.86rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  transition: color 0.18s ease;
}

.back-btn:hover { color: var(--text); }
.back-btn[hidden] { display: none; }

.result-card {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(21, 25, 39, 0.94), rgba(11, 13, 21, 0.97));
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  padding: 44px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.45s ease both;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.result-badge.tier-a { background: rgba(53, 208, 127, 0.14); color: #5ee2a0; }
.result-badge.tier-b { background: var(--accent-soft); color: var(--accent); }
.result-badge.tier-c { background: rgba(124, 92, 255, 0.16); color: #a893ff; }

.result-card h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  margin-bottom: 14px;
}

.result-card > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 30px;
  max-width: 56ch;
}

.summary {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 30px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--line);
}

.summary-row:last-child { border-bottom: 0; }
.summary-row span:first-child { color: var(--muted-2); }
.summary-row span:last-child { color: var(--text); font-weight: 600; text-align: right; }

.result-actions { display: grid; gap: 12px; }

.result-note {
  font-size: 0.78rem;
  color: var(--muted-2);
  text-align: center;
  margin-top: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 48px 0 64px; }
  .nav-links { display: none; }
  .steps, .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 18px; }
  .section { padding: 60px 0; }
  .steps, .cards { grid-template-columns: 1fr; }
  .capture-card { padding: 24px; }
  .quiz-card, .result-card { padding: 26px 22px; border-radius: 20px; }
  .cta-band { padding: 34px 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .hero-metrics { gap: 24px; }
  .metric strong { font-size: 1.25rem; }
  .header-cta { display: none; }
  .option { padding: 14px 15px; font-size: 0.9rem; }
  .summary-row { flex-direction: column; gap: 4px; }
  .summary-row span:last-child { text-align: left; }
}