:root {
  --navy: #0a1220;
  --navy-mid: #0f1a2c;
  --navy-card: rgba(30, 41, 59, 0.4);
  --navy-border: rgba(71, 85, 105, 0.3);
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-light: #fbbf24;
  --white: #ffffff;
  --gray-light: #cbd5e1;
  --gray-muted: #94a3b8;
  --green: #22c55e;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── WRAPPER ─── */
#liftbase-wrap,
#liftbase-wrap * {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--white);
  box-sizing: border-box;
}

#liftbase-wrap {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#liftbase-wrap > main, #liftbase-wrap > section { flex-shrink: 0; }
.hcl-footer { margin-top: auto; }

/* ─── HERO ─── */
.hcl-hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px 40px;
  position: relative;
  overflow: hidden;
}

.hcl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 60%, rgba(245,166,35,0.07) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,0.025) 40px);
  pointer-events: none;
}

.hcl-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}

.hcl-hero h1 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--white);
}

.hcl-hero h1 em { font-style: normal; color: var(--amber); }

.hcl-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--gray-light);
  max-width: 560px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.hcl-desc {
  font-size: 0.9rem;
  color: var(--gray-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hcl-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--amber);
  color: #0d1b2e;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}

.hcl-cta-primary:hover { background: var(--amber-dark); transform: translateY(-1px); }

.hcl-microcopy {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--gray-muted);
}

/* ─── QUIZ SECTION ─── */
.hcl-quiz-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.hcl-quiz-header {
  text-align: center;
  margin-bottom: 36px;
}

.hcl-quiz-header h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.hcl-quiz-header p {
  font-size: 0.95rem;
  color: var(--gray-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.55;
}

/* Progress */
.hcl-progress-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.8rem;
  color: var(--gray-light);
  font-weight: 500;
}

.hcl-progress-pct { color: var(--amber); font-weight: 700; }

.hcl-progress-bar-track {
  width: 100%;
  height: 5px;
  background: var(--navy-border);
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
}

.hcl-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  border-radius: 10px;
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

/* Dot nav */
.hcl-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.hcl-dot {
  width: 28px;
  height: 5px;
  border-radius: 3px;
  background: var(--navy-border);
  transition: background 0.2s, width 0.2s;
}

.hcl-dot.answered { background: var(--navy-card); border: 1px solid var(--navy-border); }
.hcl-dot.active { background: var(--amber); width: 36px; }

/* Question card */
.hcl-q-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  padding: 32px 32px 28px;
}

.hcl-q-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hcl-q-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  color: var(--white);
}

.hcl-answers { display: flex; flex-direction: column; gap: 10px; }

.hcl-answer {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--navy-border);
  border-radius: 8px;
  padding: 14px 18px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-light);
}

.hcl-answer:hover {
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.05);
  color: var(--white);
}

.hcl-answer.selected {
  border-color: var(--amber);
  background: rgba(245,166,35,0.1);
  color: var(--white);
}

.hcl-answer-letter {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.hcl-answer.selected .hcl-answer-letter {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--navy);
}

/* Nav buttons */
.hcl-q-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}

.hcl-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: none;
  color: var(--gray-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
  padding: 10px 0;
}

.hcl-btn-back:hover { color: var(--gray-light); }

.hcl-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 13px 26px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

.hcl-btn-next:disabled { opacity: 0.35; cursor: not-allowed; }
.hcl-btn-next:not(:disabled):hover { background: var(--amber-dark); }

/* ─── EMAIL CAPTURE ─── */
.hcl-email-section {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 20px 80px;
  text-align: center;
}

.hcl-lock-icon {
  width: 56px;
  height: 56px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--amber);
  font-size: 1.4rem;
}

.hcl-email-section h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.hcl-email-section p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.55;
  margin-bottom: 32px;
}

.hcl-form { display: flex; flex-direction: column; gap: 14px; }

.hcl-form input {
  background: var(--navy-card);
  border: 1.5px solid var(--navy-border);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  transition: border-color 0.18s;
  outline: none;
  width: 100%;
}

.hcl-form input::placeholder { color: var(--gray-muted); }
.hcl-form input:focus { border-color: var(--amber); }

.hcl-form-cta {
  background: var(--amber);
  color: var(--navy);
  border: none;
  border-radius: 6px;
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.hcl-form-cta:hover { background: var(--amber-dark); }

.hcl-privacy {
  font-size: 0.77rem;
  color: var(--gray-muted);
  margin-top: 10px;
}

/* ─── RESULTS ─── */
.hcl-result-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.hcl-result-card {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 12px;
  padding: 36px 32px;
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.hcl-result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
}

.hcl-result-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tag-high { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.tag-mid  { background: rgba(245,166,35,0.15); color: var(--amber); border: 1px solid rgba(245,166,35,0.3); }
.tag-low  { background: rgba(239,68,68,0.12); color: #f87171; border: 1px solid rgba(239,68,68,0.25); }

.hcl-result-card h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
  color: var(--white);
}

.hcl-result-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 24px;
}

.hcl-result-note {
  font-size: 0.8rem;
  color: var(--gray-muted);
  border-top: 1px solid var(--navy-border);
  padding-top: 20px;
  margin-top: 8px;
  line-height: 1.6;
}

/* Score bar */
.hcl-score-wrap {
  margin: 16px auto 24px;
  max-width: 320px;
}

.hcl-score-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-muted);
  margin-bottom: 6px;
}

.hcl-score-track {
  height: 8px;
  background: var(--navy-border);
  border-radius: 10px;
  overflow: hidden;
}

.hcl-score-fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  transition: width 0.8s cubic-bezier(0.4,0,0.2,1);
}

/* Benefit cards */
.hcl-benefits { margin-bottom: 60px; }

.hcl-benefits h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hcl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.hcl-bcard {
  background: var(--navy-card);
  border: 1px solid var(--navy-border);
  border-radius: 10px;
  padding: 22px 20px;
}

.hcl-bcard-icon {
  width: 36px;
  height: 36px;
  background: rgba(245,166,35,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hcl-bcard h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  color: var(--white);
}

.hcl-bcard p {
  font-size: 0.83rem;
  color: var(--gray-muted);
  line-height: 1.5;
}

/* Final CTA block */
.hcl-final-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(20,34,56,0));
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 14px;
  padding: 48px 32px;
  margin-bottom: 60px;
}

.hcl-final-cta h2 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--white);
}

.hcl-final-cta p {
  font-size: 0.95rem;
  color: var(--gray-light);
  max-width: 460px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* Footer */
.hcl-footer {
  border-top: 1px solid var(--navy-border);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-muted);
}

/* Hidden */
.hcl-hidden { display: none !important; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hcl-animate { animation: fadeInUp 0.45s ease both; }

/* ─── RESPONSIVE ─── */
@media (max-width: 600px) {
  .hcl-q-card { padding: 22px 18px; }
  .hcl-footer { flex-direction: column; gap: 8px; text-align: center; }
}
