/* ============================================================
   WitsNSkills — app.css
   ============================================================ */

:root {
  --purple:       #534AB7;
  --purple-light: #EEEDFE;
  --purple-dark:  #3C3489;
  --teal:         #1D9E75;
  --teal-light:   #E1F5EE;
  --amber:        #BA7517;
  --amber-light:  #FAEEDA;
  --coral:        #D85A30;
  --coral-light:  #FAECE7;
  --blue:         #185FA5;
  --blue-light:   #E6F1FB;
  --text:         #1a1a18;
  --text-2:       #5a5a56;
  --text-3:       #9a9a94;
  --border:       rgba(26,26,24,0.12);
  --border-2:     rgba(26,26,24,0.22);
  --bg:           #ffffff;
  --bg-2:         #f8f7f4;
  --bg-3:         #f2f1ec;
  --radius:       8px;
  --radius-lg:    12px;
  --shadow:       0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:    0 4px 12px rgba(0,0,0,0.08);
}

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

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 60px; gap: 24px;
}
.nav-logo {
  font-size: 18px; font-weight: 600;
  color: var(--text); text-decoration: none; flex-shrink: 0;
}
.nav-logo span { color: var(--purple); }
.nav-links { display: flex; gap: 24px; }
.nav-links a {
  font-size: 14px; color: var(--text-2);
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* Mobile Menu Toggle Button */
.nav-mobile-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  margin-left: 8px;
}

.nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #1F2937;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Panel */
.nav-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 300px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 20px rgba(0,0,0,0.15);
  padding: 70px 20px 20px;
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-menu.open {
  right: 0;
}

.nav-mobile-menu a {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  color: #1F2937;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid #EEEEEE;
}

.nav-mobile-menu a:active {
  color: #534AB7;
}

.nav-mobile-menu .nav-mobile-section {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9CA3AF;
  padding: 16px 0 8px 0;
  margin-top: 8px;
  border-bottom: none;
}

.nav-mobile-menu .nav-mobile-section:first-of-type {
  padding-top: 0;
}

/* Backdrop Overlay */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: none;
}

.menu-backdrop.show {
  display: block;
}

/* Mobile Breakpoints */
@media (max-width: 767px) {
  .nav-mobile-toggle {
    display: flex;
  }
  
  .nav-links {
    display: none !important;
  }
  
  .nav-actions .btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
  
  .nav-actions {
    gap: 6px !important;
  }
  
  .nav-logo {
    font-size: 18px !important;
  }
  
  .container {
    padding: 0 16px !important;
  }
}

/* Tablet styles */
@media (min-width: 768px) {
  .nav-mobile-toggle {
    display: none !important;
  }
  
  .nav-mobile-menu {
    display: none !important;
  }
  
  .menu-backdrop {
    display: none !important;
  }
}

/* Prevent body scroll when menu is open */
body.menu-open {
  overflow: hidden;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 6px; padding: 8px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; cursor: pointer;
  text-decoration: none; border: 0.5px solid transparent;
  transition: all 0.15s; line-height: 1.4; white-space: nowrap;
}
.btn-primary {
  background: var(--purple); color: #fff;
  border-color: var(--purple);
}
.btn-primary:hover { background: var(--purple-dark); border-color: var(--purple-dark); }
.btn-secondary {
  background: transparent; color: var(--text-2);
  border-color: var(--border-2);
}
.btn-secondary:hover { background: var(--bg-2); color: var(--text); }
.btn-ghost {
  background: transparent; color: var(--text-2);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-teal { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-teal:hover { background: #0F6E56; }
.btn-lg { padding: 12px 28px; font-size: 15px; }
.btn-sm { padding: 5px 12px; font-size: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Flash messages ─────────────────────────────────────────── */
.flash {
  padding: 12px 24px; font-size: 14px; font-weight: 500; text-align: center;
}
.flash-success { background: var(--teal-light); color: #085041; }
.flash-error   { background: var(--coral-light); color: #4A1B0C; }
.flash-info    { background: var(--blue-light);  color: #042C53; }

/* ── Forms ───────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--text-2); margin-bottom: 5px;
}
.form-control {
  width: 100%; padding: 9px 12px;
  border: 0.5px solid var(--border-2); border-radius: var(--radius);
  font-size: 14px; color: var(--text); background: var(--bg);
  transition: border-color 0.15s; outline: none; font-family: inherit;
}
.form-control:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(83,74,183,0.1); }
.form-error { font-size: 12px; color: var(--coral); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.card-sm { padding: 16px; }

/* ── Badges ──────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 500; padding: 2px 8px;
  border-radius: 20px; white-space: nowrap;
}
.badge-free    { background: var(--teal-light);   color: #085041; }
.badge-premium { background: var(--purple-light);  color: var(--purple-dark); }
.badge-pro     { background: var(--amber-light);   color: #633806; }
.badge-done    { background: var(--teal-light);    color: #085041; }
.badge-locked  { background: var(--bg-3);          color: var(--text-3); }

/* ── Progress bar ────────────────────────────────────────────── */
.progress-bar {
  width: 100%; height: 6px; background: var(--bg-3);
  border-radius: 3px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: var(--purple);
  border-radius: 3px; transition: width 0.4s;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--bg) 60%, var(--purple-light));
  border-bottom: 0.5px solid var(--border);
  text-align: center;
}
.hero-badge {
  display: inline-block; font-size: 12px; font-weight: 500;
  padding: 4px 12px; border-radius: 20px;
  background: var(--purple-light); color: var(--purple-dark);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600; line-height: 1.2;
  color: var(--text); margin-bottom: 16px;
}
.hero h1 span { color: var(--purple); }
.hero p {
  font-size: 18px; color: var(--text-2);
  max-width: 520px; margin: 0 auto 28px;
}
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; justify-content: center; gap: 0;
  margin-top: 48px; border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg); max-width: 480px; margin-left: auto; margin-right: auto;
  box-shadow: var(--shadow);
}
.hero-stat {
  flex: 1; padding: 16px 12px; text-align: center;
  border-right: 0.5px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-n { font-size: 20px; font-weight: 600; color: var(--purple); }
.hero-stat-l { font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* ── Section titles ──────────────────────────────────────────── */
.section { padding: 60px 0; }
.section-sm { padding: 40px 0; }
.section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--purple);
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(20px, 3vw, 28px); font-weight: 600;
  margin-bottom: 8px;
}
.section-sub { font-size: 16px; color: var(--text-2); margin-bottom: 32px; }

/* ── Assessment cards grid ───────────────────────────────────── */
.assessment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.assessment-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px; background: var(--bg);
  cursor: pointer; transition: all 0.15s;
  text-decoration: none; color: inherit; display: block;
  position: relative;
}
.assessment-card:hover { border-color: var(--purple); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.assessment-card.featured { border-color: var(--purple); border-width: 1.5px; }
.assessment-card.locked { opacity: 0.7; cursor: default; }
.assessment-card.locked:hover { transform: none; }
.assessment-icon {
  width: 40px; height: 40px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.assessment-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.assessment-card p  { font-size: 13px; color: var(--text-2); margin-bottom: 12px; line-height: 1.5; }
.assessment-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.assessment-time { font-size: 12px; color: var(--text-3); }
.done-check {
  position: absolute; top: 16px; right: 16px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-size: 11px; display: flex; align-items: center; justify-content: center;
}

/* ── Steps ───────────────────────────────────────────────────── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  padding: 20px 16px;
  border-right: 0.5px solid var(--border);
  background: var(--bg);
}
.step:last-child { border-right: none; }
.step-num { font-size: 11px; color: var(--purple); font-weight: 600; margin-bottom: 6px; }
.step h4  { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.step p   { font-size: 13px; color: var(--text-2); line-height: 1.4; }

/* ── Pricing ─────────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.plan-card {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px; background: var(--bg);
}
.plan-card.popular { border: 2px solid var(--purple); }
.plan-name  { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.plan-price {
  font-size: 28px; font-weight: 600; color: var(--purple); margin-bottom: 4px;
}
.plan-price sup { font-size: 14px; vertical-align: super; }
.plan-price .period { font-size: 13px; color: var(--text-3); font-weight: 400; }
.plan-desc  { font-size: 13px; color: var(--text-2); margin-bottom: 16px; line-height: 1.5; }
.plan-features { list-style: none; margin-bottom: 20px; }
.plan-features li {
  font-size: 13px; color: var(--text-2);
  padding: 4px 0; padding-left: 18px; position: relative;
}
.plan-features li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
}

/* ── Test UI ─────────────────────────────────────────────────── */
.test-header {
  background: var(--bg); border-bottom: 0.5px solid var(--border);
  padding: 16px 0; position: sticky; top: 60px; z-index: 90;
}
.test-header-inner {
  display: flex; align-items: center; gap: 16px;
}
.test-q-count { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.test-body { padding: 40px 0 80px; }
.question-block {
  display: none; animation: fadeIn 0.2s;
}
.question-block.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.question-section-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 8px;
}
.question-body {
  font-size: 18px; font-weight: 500; margin-bottom: 28px; line-height: 1.4;
}
.options-list { display: flex; flex-direction: column; gap: 10px; }
.option-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 0.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer; transition: all 0.15s;
  font-size: 15px;
}
.option-item:hover { border-color: var(--purple); background: var(--purple-light); }
.option-item.selected {
  border-color: var(--purple); background: var(--purple-light);
  font-weight: 500;
}
.option-item input[type=radio],
.option-item input[type=range] { display: none; }
.option-dot {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--border-2); flex-shrink: 0;
  transition: all 0.15s; display: flex; align-items: center; justify-content: center;
}
.option-item.selected .option-dot {
  background: var(--purple); border-color: var(--purple);
}
.option-item.selected .option-dot::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff;
}

/* Scale question */
.scale-options { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.scale-item {
  text-align: center; cursor: pointer;
  border: 0.5px solid var(--border); border-radius: var(--radius);
  padding: 10px 6px; transition: all 0.15s;
}
.scale-item:hover { border-color: var(--purple); background: var(--purple-light); }
.scale-item.selected { border-color: var(--purple); background: var(--purple); color: #fff; }
.scale-num { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.scale-label { font-size: 11px; line-height: 1.3; color: var(--text-2); }
.scale-item.selected .scale-label { color: rgba(255,255,255,0.8); }

.test-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 32px; padding-top: 24px; border-top: 0.5px solid var(--border);
}

/* ── Report ──────────────────────────────────────────────────── */
.report-header {
  background: var(--purple-light); border-bottom: 0.5px solid var(--border);
  padding: 48px 0;
}
.report-header h1 { font-size: 28px; font-weight: 600; margin-bottom: 6px; }
.report-header p  { color: var(--text-2); font-size: 16px; }
.report-body { padding: 40px 0; }
.report-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; align-items: start; }
.career-card {
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin-bottom: 12px; background: var(--bg);
}
.career-card-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 0.5px solid var(--border);
}
.career-rank { font-size: 12px; color: var(--text-3); font-weight: 500; }
.career-title { font-size: 16px; font-weight: 600; }
.fit-bar-wrap { padding: 12px 20px; display: flex; align-items: center; gap: 12px; }
.fit-pct { font-size: 20px; font-weight: 600; color: var(--purple); min-width: 44px; }
.career-desc { padding: 0 20px 12px; font-size: 13px; color: var(--text-2); line-height: 1.5; }
.career-steps { padding: 12px 20px; border-top: 0.5px solid var(--border); background: var(--bg-2); }
.career-steps h5 { font-size: 12px; font-weight: 600; color: var(--text-3); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.career-steps ul { list-style: none; }
.career-steps li { font-size: 13px; color: var(--text-2); padding: 3px 0 3px 14px; position: relative; }
.career-steps li::before { content: "→"; position: absolute; left: 0; color: var(--purple); }

/* Personality radar */
.personality-card { background: var(--bg); border: 0.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 16px; }
.trait-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.trait-label { font-size: 13px; color: var(--text-2); width: 110px; flex-shrink: 0; }
.trait-bar { flex: 1; height: 8px; background: var(--bg-3); border-radius: 4px; overflow: hidden; }
.trait-fill { height: 100%; border-radius: 4px; background: var(--purple); }
.trait-pct { font-size: 13px; font-weight: 500; width: 36px; text-align: right; flex-shrink: 0; }

/* CRI badge */
.cri-badge {
  text-align: center; padding: 28px 20px;
  border: 0.5px solid var(--border); border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--purple-light), var(--bg));
  margin-bottom: 16px;
}
.cri-score { font-size: 52px; font-weight: 700; color: var(--purple); line-height: 1; margin-bottom: 4px; }
.cri-label { font-size: 13px; color: var(--text-2); }

/* TalentOrbit CTA block */
.to-cta {
  background: var(--blue-light); border: 0.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.to-cta h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.to-cta p  { font-size: 13px; color: var(--text-2); margin-bottom: 16px; line-height: 1.5; }

/* ── Dashboard ───────────────────────────────────────────────── */
.dash-header {
  background: var(--bg-2); border-bottom: 0.5px solid var(--border);
  padding: 32px 0;
}
.dash-header h1 { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.dash-header p  { color: var(--text-2); font-size: 14px; }
.dash-body { padding: 32px 0; }
.dash-grid { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.metrics-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 24px; }
.metric-card {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 16px;
}
.metric-label { font-size: 12px; color: var(--text-3); margin-bottom: 4px; }
.metric-value { font-size: 20px; font-weight: 600; }
.metric-sub   { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ── Auth ────────────────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 120px);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 16px;
  background: var(--bg-2);
}
.auth-card {
  width: 100%; max-width: 480px;
  background: var(--bg);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo a { font-size: 22px; font-weight: 700; text-decoration: none; color: var(--text); }
.auth-logo a span { color: var(--purple); }
.auth-title { font-size: 20px; font-weight: 600; margin-bottom: 4px; }
.auth-sub   { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 14px; color: var(--text-2); }
.auth-footer a { color: var(--purple); text-decoration: none; }

/* ── Upgrade gate ────────────────────────────────────────────── */
.upgrade-gate {
  text-align: center; padding: 60px 24px;
  border: 1px dashed var(--border-2);
  border-radius: var(--radius-lg); background: var(--bg-2);
  margin: 24px 0;
}
.upgrade-gate h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.upgrade-gate p  { color: var(--text-2); margin-bottom: 20px; }

/* ── Payment ─────────────────────────────────────────────────── */
.checkout-wrap {
  max-width: 480px; margin: 60px auto; padding: 0 16px;
}
.checkout-card { text-align: center; }
.checkout-plan-name { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.checkout-amount { font-size: 36px; font-weight: 700; color: var(--purple); margin-bottom: 8px; }
.checkout-features { list-style: none; text-align: left; margin: 20px 0 24px; }
.checkout-features li {
  font-size: 14px; color: var(--text-2); padding: 5px 0 5px 18px; position: relative;
}
.checkout-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ── Footer ──────────────────────────────────────────────────── */
.footer {
  border-top: 0.5px solid var(--border);
  padding: 24px 0; background: var(--bg);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-logo { font-size: 15px; font-weight: 600; }
.footer-logo span { color: var(--purple); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--text-3); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 12px; color: var(--text-3); }

/* ── Utility ─────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--text-2); }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 12px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.divider { height: 0.5px; background: var(--border); margin: 32px 0; }
.pill { padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 500; display: inline-flex; }
.pill-green  { background: var(--teal-light);   color: #085041; }
.pill-purple { background: var(--purple-light);  color: var(--purple-dark); }
.pill-amber  { background: var(--amber-light);   color: #633806; }
.pill-gray   { background: var(--bg-3);          color: var(--text-3); }

/* ── Final Media Queries ─────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .form-row  { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .scale-options { grid-template-columns: repeat(5,1fr); gap: 4px; }
  .hero h1 { font-size: 26px; }
  
  .assessment-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .hero-stats {
    flex-direction: column;
  }
  
  .hero-stat {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  
  .hero-stat:last-child {
    border-bottom: none;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .step {
    border-right: none;
    border-bottom: 0.5px solid var(--border);
  }
  
  .step:last-child {
    border-bottom: none;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .test-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .test-q-count {
    font-size: 12px;
  }
  
  .question-body {
    font-size: 16px;
  }
  
  .option-item {
    padding: 12px;
    font-size: 14px;
  }
  
  .scale-item {
    padding: 8px 4px;
  }
  
  .scale-num {
    font-size: 14px;
  }
  
  .scale-label {
    font-size: 9px;
  }
  
  .career-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .career-title {
    font-size: 15px;
  }
  
  .fit-pct {
    font-size: 18px;
  }
  
  .cri-score {
    font-size: 40px;
  }
  
  .auth-card {
    padding: 24px;
  }
  
  .upgrade-gate {
    padding: 30px 16px;
  }
  
  .upgrade-gate h3 {
    font-size: 16px;
  }
}