* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:    #1a56db;
  --brand-lt: #e8f0fe;
  --green:    #0e9f6e;
  --yellow:   #c27803;
  --red:      #e02424;
  --bg:       #f5f7ff;
  --card:     #ffffff;
  --text:     #111827;
  --muted:    #6b7280;
  --radius:   14px;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 60px;
}

header {
  text-align: center;
  max-width: 620px;
  margin-bottom: 28px;
}
header .badge {
  display: inline-block;
  background: var(--brand-lt);
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
header h1 {
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}
header p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  width: 100%;
  max-width: 620px;
  padding: 32px 28px;
}

.progress-wrap { margin-bottom: 28px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.progress-bar-bg {
  height: 8px;
  background: #e5e7eb;
  border-radius: 99px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  border-radius: 99px;
  transition: width .4s ease;
}

.question-icon { font-size: 2rem; margin-bottom: 10px; }
.question-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 22px;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  font-style: italic;
}

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

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.97rem;
  text-align: left;
  cursor: pointer;
  transition: all .18s ease;
  width: 100%;
  font-family: inherit;
  color: var(--text);
  line-height: 1.4;
}
.option-btn .letter {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  transition: all .18s ease;
}
.option-btn:hover { border-color: var(--brand); background: var(--brand-lt); }
.option-btn:hover .letter { background: var(--brand); color: #fff; }
.option-btn.selected { border-color: var(--brand); background: var(--brand-lt); }
.option-btn.selected .letter { background: var(--brand); color: #fff; }

.nav { display: flex; justify-content: flex-end; margin-top: 28px; }
.btn-next {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s;
  opacity: .4;
  pointer-events: none;
}
.btn-next.active { opacity: 1; pointer-events: all; }
.btn-next.active:hover { background: #1648c0; }

#result-screen { display: none; }

.result-badge { display: inline-block; font-size: 2.8rem; margin-bottom: 6px; }
.result-level { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.result-tagline { font-size: 1.05rem; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }

.result-box {
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}
.result-box.green  { background: #ecfdf5; border-left: 4px solid var(--green);  color: #065f46; }
.result-box.yellow { background: #fffbeb; border-left: 4px solid var(--yellow); color: #78350f; }
.result-box.red    { background: #fef2f2; border-left: 4px solid var(--red);    color: #7f1d1d; }

.score-bar-wrap { margin: 22px 0; }
.score-bar-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}
.score-bar-bg { height: 12px; background: #e5e7eb; border-radius: 99px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 99px; transition: width .8s ease; }

.hook-box {
  border-top: 1px solid #e5e7eb;
  padding-top: 24px;
  margin-top: 24px;
  text-align: center;
}
.hook-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.hook-box p { font-size: 0.88rem; color: var(--muted); margin-bottom: 14px; line-height: 1.5; }
.hook-box ul { list-style: none; text-align: left; display: inline-block; margin-bottom: 16px; }
.hook-box ul li { font-size: 0.88rem; margin-bottom: 4px; color: var(--muted); }
.hook-box ul li::before { content: "– "; color: var(--muted); }

.email-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.email-row input {
  flex: 1 1 220px;
  padding: 12px 16px;
  border: 2px solid #c3d3f7;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border .18s;
}
.email-row input:focus { border-color: var(--brand); }
.email-row button {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .18s;
}
.email-row button:hover { background: #1648c0; }

.gdpr-notice {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
  text-align: left;
}

.thank-you { display: none; color: var(--green); font-weight: 700; font-size: 1rem; margin-top: 10px; }

.btn-restart {
  display: block;
  width: 100%;
  margin-top: 20px;
  background: transparent;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all .18s;
}
.btn-restart:hover { border-color: var(--brand); color: var(--brand); }

.screen { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#intro-screen .cta-start {
  display: block;
  width: 100%;
  margin-top: 24px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background .18s;
}
#intro-screen .cta-start:hover { background: #1648c0; }
#intro-screen .perks { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
#intro-screen .perk {
  flex: 1 1 140px;
  background: #f9fafb;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
#intro-screen .perk span { font-size: 1.4rem; display: block; margin-bottom: 4px; }

@media (max-width: 480px) {
  .card { padding: 22px 16px; }
  .option-btn { padding: 12px 14px; }
}
