/* ==========================================
   NURSETEADY — THEME
   Fonts: Fraunces (display serif) + Outfit (body)
   Palette: Warm cream / Deep teal / Warm coral
   ========================================== */

:root {
  --bg: #FAF7F2;
  --bg-alt: #F0EBE3;
  --fg: #1A1A2E;
  --fg-muted: #5A5A72;
  --primary: #0C6E6C;
  --primary-dark: #085050;
  --accent: #E85A35;
  --accent-warm: #F4A261;
  --border: #DDD8CE;
  --card-bg: #FFFFFF;
  --correct: #1A7A4A;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.hero::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -300px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(12,110,108,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.eyebrow-badge {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.eyebrow-text {
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 400;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--fg);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-headline em {
  font-style: italic;
  color: var(--primary);
}

.hero-lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

/* ---- QUIZ CARD ---- */
.quiz-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: 0 8px 40px rgba(12,110,108,0.1), 0 2px 8px rgba(0,0,0,0.05);
}

.quiz-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.quiz-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(12,110,108,0.08);
  padding: 4px 10px;
  border-radius: 100px;
}

.quiz-difficulty {
  font-size: 12px;
  color: var(--fg-muted);
}

.quiz-question {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.45;
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.4;
  transition: all 0.2s;
}

.quiz-option.correct {
  border-color: var(--correct);
  background: rgba(26,122,74,0.04);
}

.option-letter {
  background: var(--bg-alt);
  color: var(--fg-muted);
  font-weight: 600;
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz-option.correct .option-letter {
  background: var(--correct);
  color: #fff;
}

.correct-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: var(--correct);
  background: rgba(26,122,74,0.1);
  padding: 3px 8px;
  border-radius: 100px;
}

.quiz-rationale {
  background: rgba(12,110,108,0.04);
  border-left: 3px solid var(--primary);
  padding: 14px 16px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.55;
}

.quiz-rationale strong {
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- STATS ---- */
.stats {
  background: var(--primary);
  padding: 48px 24px;
  margin: 0;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  max-width: 180px;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}

/* ---- FEATURES ---- */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,110,108,0.1);
}

.feature-icon {
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ---- HOW IT WORKS ---- */
.howitworks {
  background: var(--bg-alt);
  padding: 100px 24px;
}

.howitworks .section-header {
  max-width: 1100px;
  margin: 0 auto 64px;
}

.steps {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.step {
  flex: 1;
  min-width: 240px;
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-arrow {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .step-arrow { display: none; }
  .steps { flex-direction: column; }
}

/* ---- OUTCOMES ---- */
.outcomes {
  padding: 100px 24px;
  background: var(--primary);
}

.outcomes-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.outcomes .section-eyebrow {
  color: rgba(255,255,255,0.6);
}

.outcomes-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 48px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.outcome-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.outcome-quote {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}

.outcome-quote::before { content: '\201C'; }
.outcome-quote::after { content: '\201D'; }

.outcome-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.outcome-name {
  font-weight: 600;
  font-size: 14px;
  color: #fff;
}

.outcome-detail {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

/* ---- CLOSING ---- */
.closing {
  padding: 100px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  margin-bottom: 20px;
}

.closing-sub {
  font-size: 16px;
  color: var(--fg-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-muted);
}

.closing-meta {
  font-size: 13px;
  color: var(--fg-muted);
}

.closing-meta a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.closing-meta a:hover { text-decoration: underline; }

/* ---- FOOTER ---- */
.site-footer {
  background: var(--fg);
  padding: 48px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.footer-links a:hover { color: #fff; }

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  width: 100%;
  margin-top: 16px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .hero { padding: 60px 20px 40px; }
  .stats-grid { gap: 0; }
  .stat-item { padding: 16px 20px; }
  .stat-divider { display: none; }
  .features, .howitworks, .outcomes, .closing { padding: 64px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---- WAITLIST FORM ---- */
.waitlist-form { width: 100%; max-width: 480px; }
.waitlist-fields {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.waitlist-fields input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--card-bg);
  color: var(--fg);
  outline: none;
  transition: border-color 0.2s;
}
.waitlist-fields input:focus { border-color: var(--primary); }
.waitlist-fields button {
  padding: 12px 24px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.waitlist-fields button:hover { background: var(--primary-dark); }
.waitlist-msg {
  margin-top: 10px;
  font-size: 14px;
  min-height: 20px;
}
.waitlist-msg.success { color: var(--correct); }
.waitlist-msg.error   { color: var(--accent); }

@media (max-width: 480px) {
  .waitlist-fields { flex-direction: column; }
  .waitlist-fields input, .waitlist-fields button { width: 100%; }
}

/* ---- SCROLL REVEAL ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-headline, .hero-lede, .hero-visual {
  animation: fadeUp 0.6s ease-out both;
}

.hero-lede { animation-delay: 0.1s; }
.hero-visual { animation-delay: 0.2s; }

.quiz-card { animation: fadeUp 0.5s 0.3s ease-out both; }

/* ---- QUIZ SESSION ---- */
.quiz-progress { font-size: 13px; color: var(--fg-muted); margin-bottom: 4px; }
.quiz-feedback { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; }
.quiz-feedback.correct { background: rgba(26,122,74,0.08); border: 1px solid var(--correct); color: var(--correct); }
.quiz-feedback.incorrect { background: rgba(232,90,53,0.08); border: 1px solid var(--accent); color: var(--accent); }
.results-domain { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.results-bar { height: 6px; background: var(--bg-alt); border-radius: 3px; margin-top: 4px; }
.results-fill { height: 100%; background: var(--primary); border-radius: 3px; transition: width 0.4s; }
