* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #f59e0b;
  --text: #111827;
  --text-muted: #6b7280;
  --bg: #f9fafb;
  --white: #ffffff;
  --border: #e5e7eb;
  --success: #10b981;
  --danger: #ef4444;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header-cta {
  background: var(--primary);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 64px 24px 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 32px;
}

.btn-hero {
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, transform 0.1s;
}

.btn-hero:hover { background: var(--primary-dark); transform: translateY(-1px); }

.hero-sub {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }
.stat-num { font-size: 1.3rem; font-weight: 800; }
.stat-label { font-size: 0.75rem; opacity: 0.8; margin-top: 2px; }

/* ===== SECTION ===== */
.section {
  max-width: 960px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* ===== TYPE CARDS ===== */
.type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.type-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.type-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(37,99,235,0.1);
}

.type-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.type-name {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.type-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 14px;
}

.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 0.85rem; color: var(--text-muted); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 64px 24px;
}

.cta-section h2 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.cta-section p {
  opacity: 0.85;
  margin-bottom: 32px;
  font-size: 1rem;
}

.btn-white {
  background: white;
  color: var(--primary);
  border: none;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
}

/* ===== QUIZ ===== */
.quiz-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
}

.progress-wrap {
  margin-bottom: 32px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 50px;
  transition: width 0.4s ease;
}

.question-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  animation: fadeUp 0.35s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.q-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.q-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 28px;
}

.options { display: flex; flex-direction: column; gap: 12px; }

.option-btn {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.option-btn:hover {
  border-color: var(--primary);
  background: #eff6ff;
}

.option-btn.selected {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
}

.option-letter {
  width: 28px;
  height: 28px;
  background: var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.option-btn.selected .option-letter {
  background: var(--primary);
  color: white;
}

.back-btn {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 16px;
  display: none;
}

/* ===== RESULT ===== */
.result-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
}

.result-header {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.result-type-badge {
  display: inline-block;
  background: #eff6ff;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.result-icon { font-size: 3rem; margin-bottom: 12px; }

.result-title {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.result-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== FREE RESULT SECTION ===== */
.result-section {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.result-section h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

.job-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }

.job-tag {
  background: #eff6ff;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
}

.action-list { display: flex; flex-direction: column; gap: 12px; }

.action-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: 10px;
}

.action-num {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.action-text { font-size: 0.92rem; line-height: 1.6; }
.action-text strong { display: block; font-weight: 700; margin-bottom: 2px; }

/* ===== LOCKED SECTION ===== */
.locked-section {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.locked-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.97) 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 28px;
}

.lock-icon { font-size: 1.8rem; margin-bottom: 8px; }
.lock-text { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.lock-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }

.locked-blur { filter: blur(4px); pointer-events: none; user-select: none; }

/* ===== UPSELL ===== */
.upsell-card {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  color: white;
  margin-bottom: 24px;
}

.upsell-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.upsell-card p {
  opacity: 0.85;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.upsell-list {
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.upsell-list li {
  list-style: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.upsell-list li::before { content: '✓'; font-weight: 700; }

.btn-upsell {
  background: white;
  color: var(--primary);
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  display: inline-block;
  width: 100%;
}

.price-tag {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 4px;
}

.price-sub { font-size: 0.78rem; opacity: 0.7; margin-bottom: 20px; }

/* ===== CHECKOUT ===== */
.checkout-wrap {
  max-width: 480px;
  margin: 40px auto;
  padding: 0 24px;
}

.checkout-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.checkout-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.order-summary {
  background: var(--bg);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.order-row:last-child {
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
}

.form-input:focus { border-color: var(--primary); }

.btn-pay {
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 8px;
}

.secure-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a { color: var(--text-muted); margin: 0 8px; }

/* ===== MOBILE ===== */
@media (max-width: 600px) {
  .hero { padding: 48px 20px 40px; }
  .question-card { padding: 28px 20px; }
  .result-section { padding: 22px 20px; }
  .upsell-card { padding: 24px 20px; }
  .stats-bar { gap: 24px; }
}
