/* ════════════════════════════════════════════════
   INTERVIEW GUIDE — CSS
   ════════════════════════════════════════════════ */

/* ── Reading progress bar ── */
.reading-progress-bar {
  position: fixed; top: 52px; left: 0; right: 0; height: 3px; z-index: 99;
  background: linear-gradient(90deg, #14b8a6, #22d3ee);
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ── Hero ── */
.hero-interview {
  background: linear-gradient(135deg, #021a18 0%, #0d0d0d 60%);
}
.hero-interview::before {
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(20,184,166,0.14) 0%, transparent 70%);
}
.hero-interview-title {
  background: linear-gradient(90deg, #14b8a6, #22d3ee, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.badge-teal {
  background: rgba(20,184,166,0.15); border-color: rgba(20,184,166,0.3); color: #2dd4bf;
}
.nav-btn-interview.active {
  background: rgba(20,184,166,0.12); border-color: rgba(20,184,166,0.35); color: #2dd4bf;
}

/* ── Hero stats ── */
.iv-hero-stats {
  display: flex; justify-content: center; gap: 32px; margin: 28px 0 20px; flex-wrap: wrap;
}
.iv-stat { text-align: center; }
.iv-stat-num {
  display: block; font-size: 2.4rem; font-weight: 900;
  background: linear-gradient(90deg, #14b8a6, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.iv-stat-num::after { content: attr(data-suffix); font-size: 1.4rem; }
.iv-stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ── Hero CTA ── */
.iv-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.iv-start-btn { background: linear-gradient(90deg, #14b8a6, #0ea5e9); min-width: 180px; }
.iv-quiz-jump { min-width: 160px; }

/* ── Main layout ── */
.iv-main { max-width: 860px; margin: 0 auto; padding: 0 20px 80px; }

/* ── Stage nav ── */
.iv-stage-nav {
  position: sticky; top: 52px; z-index: 90;
  background: rgba(13,13,13,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 10px 0;
  margin: 0 -20px; padding: 10px 20px;
}
.iv-stage-nav-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.iv-stage-nav-inner::-webkit-scrollbar { display: none; }
.iv-stage-pill {
  white-space: nowrap; padding: 6px 14px; font-size: 12px; font-weight: 600;
  border: 1px solid var(--border); border-radius: 100px; background: var(--surface2);
  color: var(--muted); cursor: pointer; transition: all 0.15s; flex-shrink: 0;
}
.iv-stage-pill:hover { border-color: #14b8a6; color: #2dd4bf; }
.iv-stage-pill.active { background: rgba(20,184,166,0.12); border-color: #14b8a6; color: #2dd4bf; }
.iv-stage-pill.completed { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); color: #22c55e; }

/* ── Stage sections ── */
.iv-stage {
  padding: 52px 0 32px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

/* ── Stage header ── */
.iv-stage-header {
  display: flex; align-items: flex-start; gap: 22px; margin-bottom: 36px;
}
.iv-stage-icon-wrap {
  width: 80px; height: 80px; border-radius: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid currentColor; opacity: 0.85;
}
.iv-color-0 { color: #a78bfa; background: rgba(167,139,250,0.08); }
.iv-color-1 { color: #22d3ee; background: rgba(34,211,238,0.08); }
.iv-color-2 { color: #34d399; background: rgba(52,211,153,0.08); }
.iv-color-3 { color: #f59e0b; background: rgba(245,158,11,0.08); }
.iv-color-4 { color: #14b8a6; background: rgba(20,184,166,0.08); }
.iv-color-5 { color: #f472b6; background: rgba(244,114,182,0.08); }

.iv-stage-svg { width: 52px; height: 52px; }

/* SVG animation classes */
.svg-draw {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.2s ease;
}
.svg-pop {
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transition: opacity 0.4s ease 0.8s, transform 0.4s ease 0.8s;
}
.iv-stage-icon-wrap.animated .svg-draw { stroke-dashoffset: 0; }
.iv-stage-icon-wrap.animated .svg-pop  { opacity: 1; transform: scale(1); }

.iv-stage-num { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 6px; }
.iv-stage-title { font-size: clamp(1.3rem, 3vw, 1.75rem); font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.2; }
.iv-stage-sub { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── Slide-in animation for cards ── */
.iv-card-animated {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.iv-card-animated.in-view { opacity: 1; transform: translateY(0); }

/* ── Cards grid ── */
.iv-cards-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 16px; margin-bottom: 28px;
}
.iv-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; transition: border-color 0.15s, transform 0.15s;
}
.iv-card:hover { border-color: #14b8a6; transform: translateY(-2px); }
.iv-card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.iv-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.iv-card p  { font-size: 13.5px; color: #aaa; line-height: 1.65; }

/* ── Tip box ── */
.iv-tip-box {
  margin-top: 12px; padding: 10px 14px; border-left: 3px solid #14b8a6;
  background: rgba(20,184,166,0.06); border-radius: 0 8px 8px 0;
  font-size: 12.5px; color: #9ee; line-height: 1.55;
}

/* ── Formula ── */
.iv-formula {
  margin-top: 14px; display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 13px; color: var(--text); flex-wrap: wrap;
}
.iv-formula span { color: #14b8a6; font-size: 18px; }

/* ── Do / Don't ── */
.iv-dodonts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px;
}
@media(max-width:580px){ .iv-dodonts { grid-template-columns: 1fr; } }
.iv-do, .iv-dont {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px;
}
.iv-do { border-top: 3px solid #22c55e; }
.iv-dont { border-top: 3px solid #ef4444; }
.iv-do h4, .iv-dont h4 { font-size: 13px; font-weight: 700; margin-bottom: 10px; }
.iv-do ul, .iv-dont ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.iv-do li, .iv-dont li { font-size: 13px; color: #bbb; padding-left: 4px; line-height: 1.5; }

/* ── Research layers ── */
.iv-research-layers { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.iv-layer {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px;
  border-left: 4px solid #22d3ee;
}
.iv-layer-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: #22d3ee; margin-bottom: 6px;
}
.iv-layer h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.iv-layer p  { font-size: 13.5px; color: #aaa; line-height: 1.65; margin-bottom: 12px; }

/* ── Checklist ── */
.iv-checklist { display: flex; flex-direction: column; gap: 7px; }
.iv-checklist label {
  display: flex; align-items: center; gap: 8px; font-size: 13px; color: #bbb;
  cursor: pointer; user-select: none;
}
.iv-checklist input[type="checkbox"] {
  width: 15px; height: 15px; accent-color: #14b8a6; cursor: pointer; flex-shrink: 0;
}
.iv-checklist label:has(input:checked) { color: #22c55e; text-decoration: line-through; opacity: 0.7; }

/* ── Quote block ── */
.iv-quote-block {
  background: linear-gradient(135deg, rgba(34,211,238,0.06), rgba(167,139,250,0.06));
  border: 1px solid rgba(34,211,238,0.2); border-radius: 14px;
  padding: 28px 32px; text-align: center;
}
.iv-quote-text {
  font-size: 1.1rem; font-style: italic; color: #ddd; line-height: 1.7;
}
.iv-quote-text em { color: #22d3ee; font-style: normal; font-weight: 700; }

/* ── Body language grid ── */
.iv-body-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; }
.iv-body-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; text-align: center;
  transition: border-color 0.15s, transform 0.15s;
}
.iv-body-card:hover { border-color: #34d399; transform: translateY(-2px); }
.iv-body-visual { width: 64px; height: 64px; margin: 0 auto 14px; color: #34d399; }
.iv-body-visual svg { width: 100%; height: 100%; }
.iv-body-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.iv-body-card p  { font-size: 12.5px; color: #aaa; line-height: 1.65; margin-bottom: 12px; }

/* ── Score bar ── */
.iv-score-bar {
  height: 5px; background: rgba(255,255,255,0.07); border-radius: 10px; overflow: hidden; margin-bottom: 5px;
}
.iv-score-fill {
  height: 100%;
  background: linear-gradient(90deg, #14b8a6, #22d3ee);
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.22,1,0.36,1);
}
.iv-score-label { font-size: 10.5px; color: var(--muted); text-align: right; }

/* ── Framework cards ── */
.iv-frameworks { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.iv-framework-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px;
}
.iv-fw-badge {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #f59e0b; background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25); border-radius: 100px;
  padding: 3px 10px; margin-bottom: 10px;
}
.iv-framework-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.iv-framework-card > p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

/* STAR steps */
.iv-star-steps { display: flex; flex-direction: column; gap: 10px; }
.iv-star-step {
  display: flex; align-items: flex-start; gap: 14px; padding: 10px 14px;
  background: var(--surface2); border-radius: 8px; border: 1px solid var(--border);
}
.iv-star-letter {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; color: #fff;
}
.iv-star-step > div:last-child { font-size: 13.5px; color: #ccc; line-height: 1.5; padding-top: 4px; }
.iv-star-step strong { color: #f59e0b; }

/* PSI flow */
.iv-psi-flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.iv-psi-box {
  flex: 1; min-width: 120px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 10px; text-align: center; font-size: 12.5px;
  line-height: 1.5;
}
.iv-psi-box small { display: block; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.iv-psi-arrow { color: #f59e0b; font-size: 18px; font-weight: 700; }

/* Weakness formula */
.iv-weakness-formula { display: flex; flex-direction: column; gap: 0; margin: 12px 0; }
.iv-wf-step {
  background: var(--surface2); border: 1px solid var(--border); padding: 10px 14px;
  font-size: 13px; color: #ccc; border-radius: 0;
}
.iv-wf-step:first-child { border-radius: 8px 8px 0 0; }
.iv-wf-step:last-child  { border-radius: 0 0 8px 8px; }
.iv-wf-step strong { color: #f59e0b; }
.iv-wf-arrow { text-align: center; font-size: 18px; color: #f59e0b; line-height: 1.4; }

/* ── Accordion ── */
.iv-accordion-section { margin-top: 32px; }
.iv-accordion-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.iv-accordion { display: flex; flex-direction: column; gap: 8px; }
.iv-acc-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
}
.iv-acc-q {
  width: 100%; text-align: left; padding: 14px 18px; background: none; border: none;
  color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.12s;
}
.iv-acc-q:hover { background: var(--surface2); }
.iv-acc-chevron { transition: transform 0.25s; color: var(--muted); font-size: 12px; }
.iv-acc-item.open .iv-acc-chevron { transform: rotate(180deg); }
.iv-acc-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
  padding: 0 18px;
}
.iv-acc-item.open .iv-acc-a { max-height: 400px; padding: 0 18px 16px; }
.iv-acc-answer { font-size: 13.5px; color: #bbb; line-height: 1.75; }
.iv-acc-tag {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px; margin-bottom: 8px;
  background: rgba(245,158,11,0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.25);
}

/* ── Salary flow ── */
.iv-salary-flow { display: flex; flex-direction: column; gap: 0; margin-bottom: 32px; position: relative; }
.iv-salary-flow::before {
  content: ''; position: absolute; left: 24px; top: 16px; bottom: 16px;
  width: 2px; background: linear-gradient(180deg, #14b8a6, rgba(20,184,166,0.1));
}
.iv-salary-step {
  display: flex; gap: 22px; align-items: flex-start; padding: 20px 0; position: relative;
}
.iv-salary-num {
  width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg,#14b8a6,#0ea5e9);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900;
  color: #fff; flex-shrink: 0; z-index: 1;
}
.iv-salary-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.iv-salary-step p, .iv-salary-step em { font-size: 13.5px; color: #aaa; line-height: 1.65; }
.iv-salary-step em { font-style: italic; }

/* ── Salary calculator ── */
.iv-salary-calc {
  background: var(--surface); border: 1px solid rgba(20,184,166,0.25); border-radius: 16px; padding: 24px;
}
.iv-salary-calc h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.iv-salary-calc > p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.iv-calc-row { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.iv-calc-row label { font-size: 12px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.iv-calc-row input, .iv-calc-row select {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: 14px; padding: 9px 12px; outline: none; font-family: var(--font);
}
.iv-calc-row input:focus, .iv-calc-row select:focus { border-color: #14b8a6; }
.btn-calc {
  padding: 11px 24px; background: linear-gradient(90deg,#14b8a6,#0ea5e9); border: none;
  border-radius: 9px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer;
  transition: opacity 0.15s;
}
.btn-calc:hover { opacity: 0.88; }
.iv-calc-result {
  margin-top: 14px; padding: 16px; background: rgba(20,184,166,0.08);
  border: 1px solid rgba(20,184,166,0.25); border-radius: 10px;
  font-size: 14px; color: #2dd4bf; font-weight: 600;
  animation: fadeUp 0.3s ease;
}

/* ── Follow-up timeline ── */
.iv-followup-timeline { position: relative; padding-left: 32px; margin-bottom: 28px; }
.iv-followup-timeline::before {
  content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg,#f472b6,rgba(244,114,182,0.1));
}
.iv-ft-item { display: flex; gap: 20px; margin-bottom: 24px; position: relative; }
.iv-ft-item::before {
  content: ''; position: absolute; left: -28px; top: 12px;
  width: 10px; height: 10px; border-radius: 50%; background: #f472b6; z-index: 1;
}
.iv-ft-time {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
  color: #f472b6; white-space: nowrap; margin-top: 3px; min-width: 72px;
}
.iv-ft-content h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.iv-ft-content p  { font-size: 13.5px; color: #aaa; line-height: 1.65; }

/* ── Email templates ── */
.iv-email-btn { margin-top: 8px; }
.iv-email-templates {
  margin-top: 14px; display: flex; flex-direction: column; gap: 14px;
  animation: fadeUp 0.3s ease;
}
.iv-email-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.iv-email-label {
  background: var(--surface2); padding: 8px 16px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: #f472b6;
}
.iv-email-body {
  padding: 14px 16px; font-size: 12.5px; color: #bbb; line-height: 1.7;
  font-family: 'Courier New', monospace; white-space: pre-wrap; overflow-x: auto;
  margin: 0;
}

/* ══════════════════════════════════════════════
   QUIZ SECTION
   ══════════════════════════════════════════════ */
.iv-quiz-section {
  margin-top: 48px; padding: 40px 0 56px;
  border-top: 1px solid var(--border);
}
.iv-quiz-header { text-align: center; margin-bottom: 32px; }
.iv-quiz-icon { font-size: 3rem; margin-bottom: 12px; }
.iv-quiz-header h2 {
  font-size: clamp(1.5rem,4vw,2.2rem); font-weight: 900; color: var(--text); margin-bottom: 8px;
}
.iv-quiz-header > p { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.iv-quiz-meta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.iv-qmeta-item {
  background: var(--surface2); border: 1px solid var(--border); border-radius: 100px;
  padding: 5px 14px; font-size: 12px; color: var(--muted);
}

/* Start screen */
.quiz-start-screen { text-align: center; }
.quiz-start-cards {
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
}
.quiz-sc-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 20px; font-size: 13px; font-weight: 600; color: var(--muted);
  min-width: 80px; line-height: 1.8;
  transition: border-color 0.15s, color 0.15s;
}
.quiz-sc-card:hover { border-color: #14b8a6; color: #2dd4bf; }

/* Progress row */
.quiz-progress-row {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.quiz-progress-track {
  flex: 1; height: 6px; background: var(--surface2); border-radius: 10px; overflow: hidden;
}
.quiz-progress-fill {
  height: 100%; background: linear-gradient(90deg,#14b8a6,#22d3ee);
  border-radius: 10px; transition: width 0.4s ease;
}
.quiz-progress-label { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* Streak */
.quiz-streak-row { text-align: center; margin-bottom: 10px; animation: bounceIn 0.4s ease; }
.quiz-streak-badge {
  display: inline-block; background: rgba(255,78,0,0.12); border: 1px solid rgba(255,78,0,0.3);
  border-radius: 100px; padding: 4px 14px; font-size: 13px; font-weight: 700; color: #ff8c00;
}

@keyframes bounceIn {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}

/* Question card */
.quiz-question-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; animation: fadeUp 0.35s ease;
}
.quiz-q-num {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
  color: #14b8a6; margin-bottom: 10px;
}
.quiz-q-text {
  font-size: 1rem; font-weight: 600; color: var(--text); line-height: 1.6; margin-bottom: 20px;
}
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px;
  background: var(--surface2); border: 1.5px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: all 0.15s; text-align: left;
  font-size: 13.5px; color: #ccc; line-height: 1.5;
}
.quiz-option:hover:not(:disabled) { border-color: #14b8a6; color: #2dd4bf; background: rgba(20,184,166,0.06); }
.quiz-option.correct  { border-color: #22c55e !important; background: rgba(34,197,94,0.08) !important; color: #22c55e !important; }
.quiz-option.wrong    { border-color: #ef4444 !important; background: rgba(239,68,68,0.08) !important; color: #ef4444 !important; }
.quiz-option.reveal   { border-color: rgba(34,197,94,0.4) !important; }
.quiz-option-letter {
  width: 24px; height: 24px; border-radius: 6px; flex-shrink: 0;
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--muted);
}

/* Feedback */
.quiz-feedback {
  margin-top: 14px; padding: 12px 16px; border-radius: 8px; font-size: 13.5px; line-height: 1.6;
  animation: fadeUp 0.25s ease;
}
.quiz-feedback.correct { background: rgba(34,197,94,0.08); color: #4ade80; border-left: 3px solid #22c55e; }
.quiz-feedback.wrong   { background: rgba(239,68,68,0.08);  color: #fca5a5; border-left: 3px solid #ef4444; }

/* Next button */
.btn-quiz-next {
  margin-top: 16px; padding: 11px 28px; background: linear-gradient(90deg,#14b8a6,#0ea5e9);
  border: none; border-radius: 9px; color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: opacity 0.15s;
}
.btn-quiz-next:hover { opacity: 0.88; }

/* Results */
.quiz-result-inner {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 40px 32px; text-align: center; animation: fadeUp 0.4s ease;
}
.qr-badge { font-size: 5rem; margin-bottom: 10px; display: block; }
.qr-score { font-size: clamp(3rem,10vw,5.5rem); font-weight: 900; line-height: 1; margin-bottom: 6px; }
.qr-label { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.qr-desc { font-size: 14px; color: var(--muted); max-width: 480px; margin: 0 auto 24px; line-height: 1.75; }
.qr-breakdown { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.qr-bd-item { text-align: center; }
.qr-bd-num { font-size: 1.8rem; font-weight: 900; display: block; }
.qr-bd-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.qr-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.qr-share-btn, .qr-retry-btn {
  padding: 12px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none;
  transition: opacity 0.15s;
}
.qr-share-btn { background: linear-gradient(90deg,#14b8a6,#0ea5e9); color: #fff; }
.qr-retry-btn { background: var(--surface2); border: 1px solid var(--border); color: var(--text); }
.qr-share-btn:hover, .qr-retry-btn:hover { opacity: 0.85; }

/* ── Confetti canvas ── */
#confettiCanvas {
  position: fixed; inset: 0; pointer-events: none; z-index: 9999;
}

/* ── Engagement: scroll nudge toast ── */
.engage-nudge {
  position: fixed; bottom: 28px; right: 24px; z-index: 500;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 14px 18px; max-width: 260px; box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transform: translateX(120%); transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}
.engage-nudge.show { transform: translateX(0); }
.engage-nudge-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.engage-nudge-body  { font-size: 12px; color: var(--muted); line-height: 1.5; }
.engage-nudge-close {
  position: absolute; top: 8px; right: 10px; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 14px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/* Mobile */
@media (max-width: 600px) {
  .iv-stage-header { flex-direction: column; gap: 14px; }
  .iv-stage-icon-wrap { width: 60px; height: 60px; }
  .iv-hero-stats { gap: 18px; }
  .iv-stat-num { font-size: 1.9rem; }
  .quiz-result-inner { padding: 28px 18px; }
  .iv-followup-timeline { padding-left: 20px; }
  .iv-followup-timeline::before { left: 4px; }
  .iv-ft-item::before { left: -20px; }
  .iv-salary-flow::before { left: 18px; }
}
