﻿/* 
   QuestProfile &mdash; Style Sheet
   Dark Space Theme  Purple/Gold  Mobile-First
 */

/*  Variables  */
:root {
  --bg:           #0a0a1a;
  --bg-card:      #12122a;
  --bg-card-2:    #1a1a38;
  --border:       rgba(99, 102, 241, 0.2);
  --primary:      #6366f1;
  --primary-h:    #4f52d8;
  --primary-glow: rgba(99, 102, 241, 0.35);
  --accent:       #f59e0b;
  --accent-h:     #d97706;
  --success:      #10b981;
  --error:        #ef4444;
  --text:         #e2e8f0;
  --text-2:       #94a3b8;
  --text-3:       #64748b;
  --grad-start:   #6366f1;
  --grad-end:     #a855f7;
  --font-head:    'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 8px 32px rgba(0,0,0,0.4);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/*  Reset  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/*  Stars  */
.stars {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  overflow: hidden;
}
.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--d, 3s) var(--delay, 0s) infinite ease-in-out alternate;
}
@keyframes twinkle { from { opacity: 0.1; } to { opacity: var(--max, 0.8); } }

/*  Progress Bar  */
.progress-wrap {
  position: fixed; top: 0; left: 0; right: 0;
  height: 4px; z-index: 100;
  background: rgba(255,255,255,0.08);
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.5s var(--ease);
  border-radius: 0 4px 4px 0;
  box-shadow: 0 0 12px var(--primary-glow);
}
.progress-label {
  position: fixed; top: 8px; right: 12px;
  font-size: 11px; color: var(--text-2);
  font-family: var(--font-head);
  letter-spacing: 0.05em;
}

/*  Screen System  */
.screen {
  display: none;
  min-height: 100vh;
  position: relative; z-index: 1;
  padding: 60px 16px 40px;
  align-items: center;
  justify-content: center;
}
.screen.active { display: flex; }

/*  Welcome Card  */
.welcome-card {
  max-width: 480px; width: 100%;
  text-align: center;
  padding: 48px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow), 0 0 60px rgba(99,102,241,0.12);
}

.brand {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; margin-bottom: 20px;
}
.brand-icon { width: 36px; height: 36px; }
.brand-name {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.welcome-badge {
  display: inline-block;
  background: rgba(99,102,241,0.15);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 100px;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 20px;
}

.welcome-card h1 {
  font-family: var(--font-head);
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.grad {
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-sub {
  color: var(--text-2); font-size: 15px;
  line-height: 1.7; margin-bottom: 28px;
}

.feature-pills {
  display: flex; flex-wrap: wrap;
  gap: 8px; justify-content: center;
  margin-bottom: 32px;
}
.pill {
  background: rgba(99,102,241,0.1);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
}

.small-note { color: var(--text-3); font-size: 12px; margin-top: 14px; }

/*  Generic Card  */
.card {
  max-width: 520px; width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.card-header { margin-bottom: 24px; }
.step-badge {
  display: inline-block;
  background: rgba(99,102,241,0.12);
  color: var(--primary);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px;
  margin-bottom: 12px;
}
.step-badge.ema { background: rgba(245,158,11,0.12); color: var(--accent); }

.card h2 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700;
  color: var(--text); margin-bottom: 6px;
  line-height: 1.3;
}
.card h2 em { color: var(--accent); font-style: normal; }
.card-sub { color: var(--text-2); font-size: 14px; }

/*  Form  */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.hidden { display: none !important; }

label {
  font-size: 13px; font-weight: 500;
  color: var(--text-2); letter-spacing: 0.02em;
}
.req { color: var(--accent); }

input, select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px; padding: 11px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input::placeholder { color: var(--text-3); }
input:focus, select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
select option { background: #1a1a38; color: var(--text); }

.error-msg {
  color: var(--error); font-size: 13px;
  min-height: 18px; margin-bottom: 8px;
}

.privacy-line {
  color: var(--text-3); font-size: 12px;
  margin-top: 12px; text-align: center;
}
.guardian-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
}
.guardian-head {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.guardian-grid {
  margin-bottom: 10px;
}
.consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-2);
}
.consent-check input {
  width: auto;
  margin-top: 2px;
}

/*  EMA Sliders  */
.slider-stack { display: flex; flex-direction: column; gap: 24px; margin-bottom: 20px; }

.slider-row { display: flex; flex-direction: column; gap: 8px; }

.slider-label {
  display: flex; align-items: center; gap: 10px;
}
.s-icon { font-size: 20px; }
.slider-label div { flex: 1; }
.slider-label div strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.slider-label div small { font-size: 12px; color: var(--text-2); }
.slider-val {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700;
  color: var(--primary); min-width: 28px;
  text-align: right;
}

.custom-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.08);
  border: none; border-radius: 100px;
  outline: none; cursor: pointer;
  padding: 0;
}
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--grad-end));
  cursor: pointer;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: transform 0.15s;
}
.custom-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.custom-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary), var(--grad-end));
  cursor: pointer;
}

.slider-ends {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-3);
  padding: 0 2px;
}

.ema-hint {
  display: flex; align-items: flex-start; gap: 8px;
  background: rgba(99,102,241,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px; color: var(--text-2);
  margin-bottom: 24px;
}
.ema-hint svg { flex-shrink: 0; margin-top: 2px; }

/*  Question Card  */
.q-card {
  max-width: 540px; width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 32px 28px;
  box-shadow: var(--shadow);
}

.q-top {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 24px;
}
.q-badge {
  background: rgba(99,102,241,0.15);
  color: var(--primary);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px;
}
.q-badge.vak { background: rgba(245,158,11,0.15); color: var(--accent); }
.q-badge.ema-tag { background: rgba(16,185,129,0.15); color: var(--success); }

.q-counter { font-size: 13px; color: var(--text-3); font-weight: 500; }

.q-text {
  font-family: var(--font-head);
  font-size: 18px; font-weight: 600;
  color: var(--text); line-height: 1.5;
  margin-bottom: 28px; min-height: 60px;
}

.q-context {
  margin: -16px 0 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Likert options */
.q-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }

.q-option {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  user-select: none;
}
.q-option:hover {
  background: rgba(99,102,241,0.08);
  border-color: var(--primary);
}
.q-option.selected {
  background: rgba(99,102,241,0.15);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.q-option input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  outline: none;
  min-width: 18px;
  max-width: 18px;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}
.q-option input[type="radio"]:focus {
  box-shadow: none;
}
.q-val {
  min-width: 24px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
}
.q-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  line-height: 1.45;
}
.q-option.selected .q-label {
  color: var(--text);
}

.q-nav {
  display: flex; justify-content: space-between;
  align-items: center; gap: 12px;
}

/*  Processing  */
.processing-card {
  max-width: 420px; width: 100%;
  text-align: center; padding: 48px 32px;
}

.orbits {
  position: relative; width: 120px; height: 120px;
  margin: 0 auto 40px;
}
.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--grad-end));
  box-shadow: 0 0 20px var(--primary-glow);
}
.orb {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1.5px solid transparent;
  animation: spin linear infinite;
}
.orb::before {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  top: -4px; left: 50%; transform: translateX(-50%);
}
.orb1 {
  width: 60px; height: 60px;
  margin: -30px 0 0 -30px;
  border-color: rgba(99,102,241,0.6);
  animation-duration: 2s;
}
.orb1::before { background: var(--primary); box-shadow: 0 0 8px var(--primary); }
.orb2 {
  width: 90px; height: 90px;
  margin: -45px 0 0 -45px;
  border-color: rgba(168,85,247,0.4);
  animation-duration: 3s;
  animation-direction: reverse;
}
.orb2::before { background: #a855f7; box-shadow: 0 0 8px #a855f7; }
.orb3 {
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  border-color: rgba(245,158,11,0.3);
  animation-duration: 4.5s;
}
.orb3::before { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.processing-card h2 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 600;
  color: var(--text); margin-bottom: 10px;
}
.proc-sub { color: var(--text-2); font-size: 14px; margin-bottom: 24px; }

.proc-steps { display: flex; flex-direction: column; gap: 8px; }
.proc-step {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-3);
  transition: color 0.3s;
}
.proc-step.done { color: var(--success); }
.proc-step .step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-3);
  transition: background 0.3s;
}
.proc-step.done .step-dot { background: var(--success); }

/*  Teaser Card  */
.teaser-card { max-width: 520px; }

.teaser-top { text-align: center; margin-bottom: 24px; }
.confetti-line { font-size: 28px; margin-bottom: 10px; }
.teaser-card h2 {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 700; color: var(--text);
  margin-bottom: 6px;
}
.teaser-card p { color: var(--text-2); font-size: 14px; }
.teaser-card strong { color: var(--accent); }

.chart-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px; border-radius: var(--radius);
  overflow: hidden;
  padding: 16px;
  background: rgba(255,255,255,0.02);
}
.chart-wrap canvas { max-width: 100%; }

.blurred canvas { filter: blur(10px); }
.blur-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,26,0.6);
  backdrop-filter: blur(4px);
}
.lock-box {
  text-align: center; padding: 24px 20px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius); max-width: 260px;
}
.lock-icon { font-size: 32px; margin-bottom: 10px; }
.lock-box strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.lock-box p { font-size: 12px; color: var(--text-2); }

.lead-form { display: flex; flex-direction: column; gap: 10px; }
.lead-fields { display: flex; flex-direction: column; gap: 10px; }
.lead-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 14px;
  padding: 12px 16px; outline: none;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.lead-input::placeholder { color: var(--text-3); }
.lead-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/*  Results Page  */
.results-page {
  max-width: 560px; width: 100%;
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 32px;
}

.results-hero {
  text-align: center;
  padding: 32px 24px 0;
}
.results-brand {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 700;
  color: var(--primary); letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 8px;
}
.results-hero h2 {
  font-family: var(--font-head);
  font-size: 24px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.r-meta {
  display: flex; flex-wrap: wrap;
  justify-content: center; gap: 10px;
  font-size: 13px; color: var(--text-2);
}
.stability-badge {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--success);
  padding: 3px 12px; border-radius: 100px;
}
.stability-badge strong { color: var(--success); }

.r-card { margin: 0; }
.r-section-title {
  font-family: var(--font-head);
  font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 20px;
}

.holland-strip {
  display: flex; align-items: center;
  justify-content: center; gap: 10px;
  margin-top: 16px; font-size: 14px; color: var(--text-2);
}
.holland-code {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.15em;
}
.holland-label { color: var(--accent); font-size: 13px; font-weight: 500; }

/* Career Grid */
.career-grid { display: flex; flex-direction: column; gap: 12px; }
.career-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color 0.2s;
}
.career-item:hover { border-color: var(--primary); }
.career-item-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 6px;
}
.career-emoji { font-size: 22px; }
.career-title {
  font-size: 15px; font-weight: 700; color: var(--text);
}
.career-cluster {
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--primary);
  background: rgba(99,102,241,0.1);
  padding: 2px 8px; border-radius: 100px;
  margin-left: auto;
}
.career-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* Learning Style */
.ls-card {
  display: flex; gap: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.ls-icon { font-size: 32px; flex-shrink: 0; }
.ls-content {}
.ls-type {
  font-size: 17px; font-weight: 700; color: var(--text);
  margin-bottom: 4px;
}
.ls-type span { color: var(--accent); }
.ls-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.ls-tip {
  font-size: 12px; color: var(--success);
  margin-top: 8px; font-weight: 500;
}

.ema-note-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
  border: 1px solid rgba(99,102,241,0.3);
  border-radius: 20px; padding: 32px 28px;
  text-align: center;
}
.cta-badge {
  display: inline-block;
  background: rgba(245,158,11,0.15);
  color: var(--accent); border: 1px solid rgba(245,158,11,0.3);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.cta-card h3 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.cta-card > p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.cta-card em { color: var(--accent); font-style: normal; font-weight: 600; }
.cta-list {
  list-style: none; text-align: left; display: inline-flex;
  flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.cta-list li { font-size: 14px; color: var(--text-2); }

.price-row {
  display: flex; align-items: center;
  justify-content: center; gap: 12px;
  margin-bottom: 20px;
}
.price-strike {
  font-size: 18px; color: var(--text-3);
  text-decoration: line-through;
}
.price-now {
  font-family: var(--font-head);
  font-size: 32px; font-weight: 800;
  color: var(--accent);
}
.price-tag {
  background: rgba(245,158,11,0.12);
  color: var(--accent); font-size: 12px;
  padding: 4px 10px; border-radius: 100px;
  font-weight: 600;
}

/*  Buttons  */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--grad-end));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  letter-spacing: 0.01em;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: 0 6px 28px rgba(99,102,241,0.5); }
.btn-primary:active { transform: translateY(0); }

.btn-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--accent), #e67e22);
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 14px 24px; font-size: 15px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(245,158,11,0.35);
  margin-bottom: 12px;
}
.btn-cta:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-cta:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-outline-light {
  width: 100%;
  background: transparent;
  color: var(--text-2); border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm); padding: 12px 24px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  font-family: var(--font-body);
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline-light:hover { border-color: var(--text-2); color: var(--text); }

.btn-next {
  background: linear-gradient(135deg, var(--primary), var(--grad-end));
  color: #fff; border: none; border-radius: var(--radius-sm);
  padding: 12px 28px; font-size: 14px; font-weight: 700;
  font-family: var(--font-head); cursor: pointer;
  transition: opacity 0.2s;
  min-width: 120px;
}
.btn-next:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-next:not(:disabled):hover { opacity: 0.88; }

.btn-back {
  background: transparent; color: var(--text-2);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 12px 20px; font-size: 14px; font-weight: 600;
  font-family: var(--font-body); cursor: pointer;
  transition: border-color 0.2s;
}
.btn-back:hover { border-color: var(--primary); color: var(--text); }

.footer-note {
  text-align: center; font-size: 12px;
  color: var(--text-3); padding: 0 16px;
  line-height: 1.6;
}
.footer-note a { color: var(--primary); text-decoration: none; }
.footer-note a:hover { text-decoration: underline; }

/*  Responsive  */
@media (max-width: 400px) {
  .card, .q-card { padding: 24px 18px; }
  .welcome-card { padding: 36px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: unset; }
  .q-text { font-size: 16px; }
  .cta-card { padding: 24px 20px; }
}

/* QuestProfile shell sections */
.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.qp-shell-section {
  position: relative;
  z-index: 2;
  padding: 44px 0 30px;
  background:
    radial-gradient(circle at 10% -10%, rgba(245,158,11,0.16), transparent 45%),
    radial-gradient(circle at 100% 0%, rgba(99,102,241,0.22), transparent 48%),
    #0b1021;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.qp-shell {
  display: grid;
  gap: 22px;
}

.qp-shell-head {
  max-width: 760px;
}

.qp-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(245,158,11,0.42);
  background: rgba(245,158,11,0.12);
  color: #fdba74;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qp-shell-head h2 {
  font-family: var(--font-head);
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.qp-shell-head p {
  max-width: 70ch;
  font-size: 16px;
  color: var(--text-2);
}

.qp-shell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qp-shell-card {
  border: 1px solid rgba(255,255,255,0.11);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-radius: 14px;
  padding: 18px 18px 16px;
}

.qp-shell-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin-bottom: 12px;
}

.qp-shell-card p,
.qp-shell-card li {
  color: var(--text-2);
  font-size: 14px;
}

.qp-shell-card ol {
  margin: 0;
  padding-left: 18px;
}

.qp-shell-card li + li {
  margin-top: 8px;
}

.qp-faq-section {
  position: relative;
  z-index: 2;
  background: #060818;
  padding: 32px 0 36px;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.qp-faq-wrap {
  display: grid;
  gap: 18px;
}

.qp-faq-head h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 32px);
  margin-bottom: 6px;
}

.qp-faq-head p {
  color: var(--text-2);
}

.qp-faq-list {
  display: grid;
  gap: 10px;
}

.qp-faq-item {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
}

.qp-faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 18px;
  color: var(--text);
}

.qp-faq-item summary::-webkit-details-marker {
  display: none;
}

.qp-faq-item p {
  margin: 0;
  padding: 0 18px 14px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.65;
}

.qp-footer {
  position: relative;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 0%, rgba(99,102,241,0.16), transparent 45%),
    #080a17;
  padding: 34px 0 24px;
}

.qp-footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 20px;
}

.qp-footer-kicker {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: 700;
}

.qp-footer-brand h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.qp-footer-brand p {
  color: var(--text-2);
  max-width: 56ch;
}

.qp-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.qp-footer-links h3 {
  font-family: var(--font-head);
  font-size: 14px;
  color: var(--text);
  margin-bottom: 10px;
}

.qp-footer-links a {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
}

.qp-footer-links a:hover {
  color: var(--primary);
}

.qp-footer-legal {
  position: relative;
  z-index: 2;
  background: #060710;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 12px 0;
}

.qp-footer-legal p {
  text-align: center;
  color: var(--text-3);
  font-size: 12px;
}

@media (max-width: 940px) {
  .qp-shell-grid {
    grid-template-columns: 1fr;
  }

  .qp-footer-wrap {
    grid-template-columns: 1fr;
  }

  .qp-footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .qp-footer-links {
    grid-template-columns: 1fr;
  }
}

.career-ai {
  margin-top: 8px;
  font-size: 12px;
  color: #93c5fd;
}

.ai-readiness-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--text);
}

.ai-readiness-head span {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
}

.ai-readiness-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.09);
  overflow: hidden;
}

.ai-readiness-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #f59e0b);
}

.ai-readiness-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.road-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.road-item:last-child {
  border-bottom: none;
}

.road-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  background: rgba(99,102,241,0.22);
  color: var(--primary);
}

.road-item h4 {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--text);
}

.road-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.career-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.career-metrics span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--text-2);
  background: rgba(255,255,255,0.04);
}

.career-signal-note {
  margin-top: 8px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.5;
}


