*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --peach: #F9C5B0;
    --peach-light: #FDE8DC;
    --peach-mid: #F5B49A;
    --dark: #1a1a1a;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --orange-accent: #E07050;
    --card-bg: rgba(255,255,255,0.55);
    --radius: 14px;
    --radius-sm: 10px;
  }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--peach-light);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
  }

  .quiz-wrapper {
    width: 100%;
    max-width: 520px;
    min-height: 100vh;
    background: var(--peach-light);
    position: relative;
    overflow: hidden;
  }

  /* ===== TOP BAR ===== */
  .topbar {
    text-align: center;
    padding: 14px 0 10px;
    font-weight: 700;
    font-size: 0;
    letter-spacing: 0.04em;
    color: var(--dark);
  }
  .topbar::before {
    content: "";
    display: inline-block;
    width: 72px;
    height: 32px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='32' viewBox='0 0 700 300' fill='none'%3E%3Cpath d='M275.449 150C275.593 169.444 260.718 176.389 240.499 176.389C220.28 176.389 205.55 169.444 205.405 150C205.261 130.556 220.28 123.611 240.499 123.611C260.718 123.611 275.304 130.556 275.449 150Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0H300L400 151.5L300 300H0V0ZM107.381 200C80.3741 200 59 183.333 59 150C59 119.444 78.9299 100 114.602 100C144.93 100 160.238 113.194 165.437 134.722H141.464C136.698 125.972 131.21 122.222 114.602 122.222C93.083 122.222 83.8401 129.167 83.8401 150C83.8401 170.833 93.083 177.917 114.602 177.917C128.282 177.917 135.81 175.015 139.456 165.278H108.825V145H167.17V200H146.951V176.594C139.875 192.96 126.434 200 107.381 200ZM180.854 150C180.854 180.556 202.95 200 240.499 200C278.048 200 300 180.556 300 150C300 119.444 278.048 100 240.499 100C202.95 100 180.854 119.444 180.854 150Z' fill='black'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M700 0H400V300H700V0ZM513.601 200V100H489V200H513.601ZM625 124.286V100H529.491V124.286H564.945V200H589.546V124.286H625Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
    vertical-align: top;
  }

  /* ===== PROGRESS ===== */
  .progress-bar-wrap {
    padding: 0 24px 8px;
    display: flex;
    gap: 6px;
  }
  .progress-seg {
    flex: 1;
    height: 3px;
    border-radius: 2px;
    background: rgba(0,0,0,0.12);
    transition: background 0.4s;
  }
  .progress-seg.done { background: var(--dark); }
  .progress-seg.active { background: var(--orange-accent); }

  /* ===== SCREEN ===== */
  .screen {
    display: none;
    animation: fadeIn 0.35s ease;
    padding: 0 0 40px;
  }
  .screen.active { display: block; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

  /* ===== HERO SCREEN ===== */
  .hero-card {
    background: var(--peach);
    margin: 0 16px 28px;
    border-radius: 24px;
    padding: 44px 28px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero-card::before {
    content: '';
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    top: -60px; right: -60px;
  }
  .hero-icon { font-size: 52px; margin-bottom: 20px; display: block; }
  .hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 10px;
  }
  .hero-sub {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
  }
  .hero-desc {
    color: var(--text);
    font-size: 15px;
    margin-bottom: 28px;
    line-height: 1.5;
  }
  .btn-primary {
    display: block;
    width: 100%;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s, transform 0.15s;
  }
  .btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
  .btn-primary:active { transform: translateY(0); }

  .hero-timer {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .awards-wrap {
    margin: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .award-card {
    min-height: 86px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  .award-card.wide {
    grid-column: 1 / -1;
    min-height: 76px;
  }
  .award-logo {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
  }
  .award-logo.big {
    font-size: 34px;
    letter-spacing: 0.02em;
  }
  .award-logo.mark {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .award-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--peach);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
  }
  .award-text {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text);
  }
  .award-muted {
    font-size: 11px;
    color: var(--text-light);
  }
  .award-stat {
    grid-column: 1 / -1;
    background: var(--white);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    line-height: 1.4;
  }
  .award-card.accent {
    background: #ff8257;
    color: var(--dark);
  }
  .award-card.accent .award-text,
  .award-card.accent .award-muted {
    color: var(--dark);
  }
  .hero-disclaimer {
    margin: 14px 20px 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--text-light);
    text-align: center;
  }
  .hero-disclaimer a {
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* ===== QUESTION SCREENS ===== */
  .q-header {
    padding: 12px 24px 20px;
  }
  .q-label {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  .q-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    line-height: 1.3;
    color: var(--dark);
  }

  /* ===== OPTIONS LIST ===== */
  .options {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .option-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--peach);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    color: var(--dark);
    text-align: left;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
    width: 100%;
  }
  .option-btn:hover {
    background: var(--peach-mid);
    transform: translateX(3px);
  }
  .option-btn.selected {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
  }
  .option-emoji { font-size: 20px; flex-shrink: 0; }

  /* ===== SPECTRUM (slider-style) ===== */
  .spectrum-row {
    padding: 0 16px;
    display: flex;
    gap: 6px;
    justify-content: space-between;
  }
  .spec-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--peach);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 14px 6px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    color: var(--text);
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
    line-height: 1.3;
  }
  .spec-btn:hover { background: var(--peach-mid); }
  .spec-btn.selected { background: var(--dark); color: var(--white); border-color: var(--dark); }
  .spec-emoji { font-size: 22px; }

  /* ===== PREV LINK ===== */
  .prev-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s;
  }
  .prev-link:hover { color: var(--dark); }

  /* ===== INPUT SCREENS ===== */
  .input-card {
    background: var(--peach);
    margin: 16px;
    border-radius: 20px;
    padding: 40px 24px 36px;
    text-align: center;
  }
  .input-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    margin-bottom: 24px;
    color: var(--dark);
  }
  .input-card-subtitle {
    margin: -12px 0 22px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-light);
  }
  .text-input {
    width: 100%;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    background: rgba(255,255,255,0.6);
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
    margin-bottom: 14px;
  }
  .text-input:focus { border-color: var(--dark); background: rgba(255,255,255,0.85); }
  .text-input.error { border-color: #d93535; background: rgba(255,255,255,0.9); }
  .iti {
    width: 100%;
    margin-bottom: 8px;
  }
  .iti__selected-country {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }
  .iti .text-input {
    margin-bottom: 0;
  }
  .input-error {
    display: none;
    margin: -6px 0 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #b42323;
    text-align: left;
  }
  .input-error.show { display: block; }
  .input-note {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin-top: 14px;
  }
  .input-note a {
    color: var(--dark);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  /* ===== ANALYZING SCREEN ===== */
  .analyzing-card {
    background: var(--peach);
    margin: 16px;
    border-radius: 20px;
    padding: 60px 24px 50px;
    text-align: center;
  }
  .spinner {
    width: 48px; height: 48px;
    border: 3px solid rgba(0,0,0,0.1);
    border-top-color: var(--dark);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .analyzing-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    color: var(--dark);
    margin-bottom: 12px;
  }
  .analyzing-sub {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .progress-line {
    width: 100%;
    height: 4px;
    background: rgba(0,0,0,0.1);
    border-radius: 2px;
    margin-top: 28px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    background: var(--dark);
    border-radius: 2px;
    width: 0;
    animation: fillUp 2.2s ease forwards;
  }
  @keyframes fillUp { to { width: 100%; } }

  /* ===== RESULTS ===== */
  .results-hero {
    background: var(--peach);
    margin: 16px;
    border-radius: 20px;
    padding: 36px 24px;
    text-align: center;
  }
  .star-badge { font-size: 36px; margin-bottom: 10px; display: block; }
  .results-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
  }
  .results-desc {
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 24px;
  }
  .stats-row {
    display: flex;
    gap: 1px;
    background: rgba(0,0,0,0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .stat-cell {
    flex: 1;
    background: rgba(255,255,255,0.5);
    padding: 14px 10px;
    text-align: center;
  }
  .stat-num {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    display: block;
  }
  .stat-label {
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.3;
    margin-top: 3px;
  }

  /* Jobs table */
  .jobs-card {
    margin: 0 16px 16px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .jobs-header {
    background: var(--dark);
    color: var(--white);
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .job-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.15s;
  }
  .job-row:last-child { border-bottom: none; }
  .job-row:hover { background: rgba(0,0,0,0.02); }
  .job-name { font-size: 15px; font-weight: 500; color: var(--dark); }
  .job-count { font-size: 14px; color: var(--orange-accent); font-weight: 600; }
  .job-source { font-size: 11px; color: var(--text-light); padding: 8px 16px; }

  /* CTA card */
  .cta-card {
    margin: 0 16px 16px;
    background: var(--dark);
    border-radius: var(--radius);
    padding: 28px 24px;
    color: var(--white);
  }
  .cta-title { font-family: 'Montserrat', sans-serif; font-size: 22px; margin-bottom: 6px; line-height: 1.3; }
  .cta-sub { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 20px; line-height: 1.5; }
  .cta-steps { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
  .cta-step { display: flex; gap: 10px; align-items: flex-start; }
  .cta-num {
    width: 22px; height: 22px;
    background: var(--orange-accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
    margin-top: 1px;
  }
  .cta-step-text { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.45; }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 22px;
    padding-top: 8px;
  }
  .trust-item {
    background: rgba(255,255,255,0.07);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    display: flex;
    gap: 8px;
    align-items: flex-start;
  }

  /* Insight card */
  .insight-card {
    margin: 0 16px 16px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
  }
  .insight-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange-accent);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
  }
  .insight-text { font-size: 14px; color: var(--text); line-height: 1.6; margin-bottom: 14px; }
  .insight-list { display: flex; flex-direction: column; gap: 8px; }
  .insight-item {
    background: var(--peach-light);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    color: var(--dark);
    display: flex; align-items: center; gap: 10px;
  }

  /* Paths card */
  .paths-card {
    margin: 0 16px 16px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
  }
  .paths-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 14px;
    display: flex; align-items: center; gap: 6px;
  }
  .path-item {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .path-item:last-child { border-bottom: none; }
  .path-name { font-size: 15px; font-weight: 600; color: var(--dark); margin-bottom: 3px; }
  .path-time { font-size: 13px; color: var(--text-light); }
  .path-arrow { color: var(--orange-accent); margin-right: 4px; }

  .slots-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff3ee;
    border: 1.5px solid #f5b49a;
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin: 0 16px 10px;
    font-size: 13px;
    color: var(--dark);
    animation: pulse-border 2s ease-in-out infinite;
  }
  @keyframes pulse-border {
    0%, 100% { border-color: #f5b49a; }
    50% { border-color: var(--orange-accent); }
  }
  .slots-dot {
    width: 8px; height: 8px;
    background: #e05050;
    border-radius: 50%;
    flex-shrink: 0;
    animation: blink 1.2s ease-in-out infinite;
  }
  @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

  /* BOOKED */
  .booked-card {
    background: var(--peach);
    margin: 16px;
    border-radius: 20px;
    padding: 40px 24px 32px;
    text-align: center;
  }
  .booked-check {
    width: 64px; height: 64px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    font-size: 28px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275);
  }
  @keyframes popIn { from{transform:scale(0)} to{transform:scale(1)} }
  .booked-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 8px;
  }
  .booked-sub {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 24px;
  }
  .booked-divider { height: 1px; background: rgba(0,0,0,0.1); margin-bottom: 20px; }
  .booked-info-row {
    display: flex; align-items: flex-start; gap: 12px;
    text-align: left; margin-bottom: 16px;
  }
  .booked-info-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
  .booked-info-label { font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 2px; }
  .booked-info-val { font-size: 13px; color: var(--text-light); line-height: 1.4; }

  .urgency-card {
    margin: 0 16px 16px;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 20px;
  }
  .urgency-top {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 14px;
  }
  .urgency-fire { font-size: 28px; flex-shrink: 0; }
  .urgency-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .urgency-sub { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.4; }
  .urgency-tip {
    font-size: 13px; color: rgba(255,255,255,0.65);
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 14px;
  }
  .btn-book {
    display: block;
    width: calc(100% - 32px);
    margin: 0 16px 8px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: opacity 0.2s, transform 0.15s;
  }
  .btn-book:hover { opacity: 0.85; transform: translateY(-1px); }
  .btn-footnote { text-align: center; font-size: 12px; color: var(--text-light); padding-bottom: 32px; }
