/* ============================================
   LinkedUp — Design System
   Quiet luxury • Light premium • Minimal tech
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Instrument+Serif:ital@1&family=Playfair+Display:ital,wght@0,400;1,400&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 10000;
  padding: 8px 16px; background: var(--text, #1A1A18); color: var(--bg, #FAFAF8);
  font-size: 0.85rem; border-radius: 0 0 6px 6px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

*:focus-visible {
  outline: 2px solid var(--text, #1A1A18);
  outline-offset: 2px;
}

/* ── Variables ── */
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-alt: #F5F4F0;
  --border: #E5E4DF;
  --border-hover: #C8C7C1;
  --text: #1A1A18;
  --text-muted: #6A6A62;
  --accent: #1A1A18;
  --accent-hover: #3A3A35;
  --success: #2D7A4F;
  --danger: #C4342D;
  --warning: #B8860B;
  --font-display: 'DM Sans', -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-logo-accent: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Custom cursor ── */
body.custom-cursor {
  cursor: none;
}

#cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--text);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
  display: none;
}

body.custom-cursor #cursor-dot {
  display: block;
}

/* ── No grid background for clean look ── */
body::before {
  display: none;
}

/* ── Layout ── */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container--wide {
  max-width: 1060px;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.15rem; }

.editorial {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

.accent { color: var(--text); }
.success { color: var(--success); }
.danger { color: var(--danger); }
.warning { color: var(--warning); }
.muted { color: var(--text-muted); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  border-color: var(--border-hover);
  background: var(--surface-alt);
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
}

.btn--large {
  padding: 16px 44px;
  font-size: 0.95rem;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── CTA Group (price + button) ── */
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-group__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.cta-group__amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.cta-group__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.btn--cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 44px;
  background: var(--accent);
  color: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 60px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn--cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 26, 24, 0.15);
}

.btn--cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn--cta:hover svg {
  transform: translateX(3px);
}

.btn--cta-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
.btn--cta-outline:hover {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

/* ── Cards / Surfaces ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card--glow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* ── Form Elements ── */
label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.06);
}

input::placeholder,
textarea::placeholder {
  color: var(--border-hover);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group {
  margin-bottom: 24px;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Form row (side-by-side) ── */
.form-row {
  display: flex;
  gap: 16px;
}

.form-group--half {
  flex: 1;
  min-width: 0;
}

.date-row {
  display: flex;
  gap: 8px;
}

.date-row select {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237A7A72' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 6l3.5 4 3.5-4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.date-row select:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(26, 26, 24, 0.06);
}

/* ── URL example hint ── */
.url-example {
  margin-top: 10px;
  padding: 0;
  background: none;
  border-radius: 0;
}

.url-tuto-bubble {
  margin-top: 8px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(26,26,24,0.03), rgba(26,26,24,0.06));
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  line-height: 1.7;
}

.url-tuto-bubble__title {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 10px;
  color: var(--text);
}

.url-tuto-bubble__content p {
  margin: 6px 0;
  color: var(--text-muted);
}

.url-tuto-bubble__content p strong {
  color: var(--text);
  font-weight: 600;
}

.url-tuto-bubble__steps {
  margin-top: 10px !important;
  padding: 10px 12px;
  background: rgba(26,26,24,0.04);
  border-radius: 6px;
  font-size: 0.74rem;
  line-height: 1.6;
}

.url-tuto-bubble__impact {
  margin-top: 10px !important;
  padding: 8px 12px;
  background: rgba(26,26,24,0.02);
  border-left: 3px solid var(--text);
  font-size: 0.74rem;
}

/* ── Radio groups ── */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.radio-option {
  position: relative;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  padding: 7px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: normal;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 0;
}

.radio-option input[type="radio"]:checked + label,
.radio-option input[type="checkbox"]:checked + label {
  border-color: var(--text);
  color: var(--text);
  background: var(--surface-alt);
  font-weight: 500;
}

/* ── Checkbox groups (multi-select) ── */
.radio-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label:hover {
  border-color: var(--border-hover);
  color: var(--text);
}

/* ── Progress bar ── */
.progress-bar {
  width: 100%;
  height: 2px;
  background: var(--border);
  margin-bottom: 48px;
  position: relative;
  border-radius: 1px;
}

.progress-bar__fill {
  height: 100%;
  background: var(--text);
  transition: width 0.4s ease;
  border-radius: 1px;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.progress-step {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, opacity 0.3s ease;
  user-select: none;
}

.progress-step.active {
  color: var(--text);
  font-weight: 600;
}

.progress-step.done {
  color: var(--success);
}

.progress-step.reachable {
  cursor: pointer;
  opacity: 0.85;
}

.progress-step.reachable:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Step sections ── */
.step {
  display: none;
  animation: fadeUp 0.4s ease;
}

.step.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 44px;
  text-align: center;
}

.step-header h2 {
  margin-bottom: 8px;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.step-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.65;
}

.step-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Serif accent (editorial italic) ── */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ── Navigation between steps ── */
.step-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ── Score display ── */
.score-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  box-shadow: 0 8px 32px rgba(26,26,24,0.06);
  transition: box-shadow 0.3s ease;
}

.score-circle__value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.score-circle__label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: 4px;
}

.score-circle.excellent {
  border-color: var(--success);
}
.score-circle.excellent .score-circle__value {
  color: var(--success);
}

.score-circle.bon {
  border-color: var(--text);
}
.score-circle.bon .score-circle__value {
  color: var(--text);
}

.score-circle.moyen {
  border-color: var(--warning);
}
.score-circle.moyen .score-circle__value {
  color: var(--warning);
}

.score-circle.faible {
  border-color: var(--danger);
}
.score-circle.faible .score-circle__value {
  color: var(--danger);
}

/* ── Score bars ── */
.score-bar {
  margin-bottom: 16px;
}

.score-bar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.score-bar__name {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.score-bar__value {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.score-bar__track {
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.score-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width 1s ease;
}

.score-bar__fill.excellent { background: linear-gradient(90deg, var(--success) 0%, #4ADE80 100%); }
.score-bar__fill.bon { background: linear-gradient(90deg, var(--text) 0%, #5A5A55 100%); }
.score-bar__fill.moyen { background: linear-gradient(90deg, var(--warning) 0%, #D4A017 100%); }
.score-bar__fill.faible { background: linear-gradient(90deg, var(--danger) 0%, #EF4444 100%); }

/* ── Accordion ── */
.accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.accordion:hover {
  border-color: var(--border-hover);
  box-shadow: 0 2px 12px rgba(26,26,24,0.04);
}
.accordion.open {
  border-color: var(--border-hover);
  box-shadow: 0 4px 24px rgba(26,26,24,0.06);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.accordion__header:hover {
  background: var(--surface-alt);
}

.accordion__icon {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
  color: var(--text-muted);
}

.accordion.open .accordion__icon {
  transform: rotate(45deg);
}

.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion.open .accordion__body {
  max-height: 8000px;
}

.accordion__content {
  padding: 24px;
  border-top: 1px solid var(--border);
}

/* ── Copy block (legacy) ── */
.copy-block {
  position: relative;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 16px 0;
  font-size: 0.875rem;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* ── Rewritten section (Luxe x Tech) ── */
.rewritten-section {
  position: relative;
  margin: 24px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(26,26,24,0.02) 0%, rgba(26,26,24,0.06) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}
.rewritten-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--text) 0%, var(--text-muted) 50%, transparent 100%);
  opacity: 0.4;
}
.rewritten-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 10px;
}
.rewritten-section__label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.rewritten-section__content {
  padding: 0 20px 20px;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--text);
}
.rewritten-section__content strong {
  font-weight: 600;
  color: var(--text);
}

/* ── Diagnostic block ── */
.diagnostic-block {
  margin-bottom: 20px;
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.875rem;
}
.diagnostic-block strong {
  color: var(--text);
  font-weight: 600;
}

/* ── Improvements block ── */
.improvements-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.improvements-block h3 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ── Section bullet ── */
.section-bullet, .chat-bullet {
  color: var(--text);
  font-weight: 600;
}

/* ── Accordion number ── */
.accordion__number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 12px;
  opacity: 0.5;
}

.copy-btn {
  padding: 6px 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--text);
  border: none;
  border-radius: 6px;
  color: var(--bg);
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.copy-btn:hover {
  opacity: 0.85;
}

.copy-btn.copied {
  background: var(--success);
  color: #fff;
}

/* ── Action plan ── */
.action-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  align-items: flex-start;
}

.action-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.action-badge.urgent {
  background: rgba(196, 52, 45, 0.08);
  color: var(--danger);
  border: 1px solid rgba(196, 52, 45, 0.2);
}

.action-badge.important {
  background: rgba(184, 134, 11, 0.08);
  color: var(--warning);
  border: 1px solid rgba(184, 134, 11, 0.2);
}

.action-badge.optionnel {
  background: rgba(26, 26, 24, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.action-text {
  flex: 1;
}

.action-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.action-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── Experience card (dynamic add) ── */
.exp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
  position: relative;
  background: var(--surface);
}

.exp-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.exp-card__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exp-card__remove {
  background: none;
  border: none;
  color: var(--danger);
  font-size: 0.78rem;
  font-family: var(--font-display);
  cursor: pointer;
  padding: 4px 8px;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.exp-card__remove:hover {
  opacity: 1;
}

/* ── Loader ── */
.loader {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0 120px;
}

.loader.active {
  display: flex;
}

.loader__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 400px;
  text-align: center;
}

.loader__ring-container {
  position: relative;
  width: 120px;
  height: 120px;
}

.loader__ring {
  width: 120px;
  height: 120px;
}

.loader__percent {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

.loader__percent span {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.5;
  margin-left: 1px;
}

.loader__title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.01em;
}

.loader__phase {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: -12px 0 0;
  font-style: italic;
  font-family: var(--font-serif);
}

.loader__timeline {
  display: flex;
  gap: 32px;
  margin-top: 8px;
}

.loader__tl-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity 0.4s ease, color 0.4s ease;
}

.loader__tl-step.active {
  opacity: 1;
  color: var(--text);
}

.loader__tl-step.done {
  opacity: 0.7;
  color: var(--success, #3fb950);
}

.loader__tl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.4s ease, transform 0.3s ease;
}

.loader__tl-step.active .loader__tl-dot {
  background: var(--text);
  transform: scale(1.3);
}

.loader__tl-step.done .loader__tl-dot {
  background: var(--success, #3fb950);
}

/* ── Validation toast ── */
.validation-toast {
  margin-top: 16px;
  padding: 12px 20px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 2px;
  color: #991b1b;
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.validation-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Landing page specifics ── */
.hero {
  text-align: center;
  padding: 100px 0 60px;
  position: relative;
}

.hero h1 {
  font-size: 3.8rem;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}

.hero h1 span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero .editorial {
  font-size: 1.15rem;
  margin-bottom: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── Pricing section (liquid glass) ── */
.pricing-section {
  padding: 60px 0 80px;
  position: relative;
  text-align: center;
}

.pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 700px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(200, 195, 185, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.pricing-glass {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 44px 36px 36px;
  background: linear-gradient(
    170deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.42) 100%
  );
  backdrop-filter: blur(40px) saturate(1.2);
  -webkit-backdrop-filter: blur(40px) saturate(1.2);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 28px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.02),
    0 8px 32px rgba(0, 0, 0, 0.05),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.pricing-glass::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-glass__overline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  position: relative;
}

.pricing-glass__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 28px;
  position: relative;
}

.pricing-glass__amount {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
}

.pricing-glass__currency {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-glass__features {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
  position: relative;
}

.pricing-glass__features li {
  padding: 10px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(229, 228, 223, 0.5);
  line-height: 1.5;
}

.pricing-glass__features li:last-child {
  border-bottom: none;
}

.pricing-glass__features li::before {
  content: '\2713';
  margin-right: 10px;
  color: var(--success);
  font-weight: 600;
  font-size: 0.75rem;
}

.pricing-glass__features li.feature-highlight {
  color: var(--text);
  font-weight: 600;
  background: linear-gradient(90deg, rgba(26,26,24,0.03) 0%, transparent 100%);
  padding-left: 8px;
  margin-left: -8px;
  border-radius: 4px;
}

/* ── Pricing grid (two cards) ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 840px;
  margin: 0 auto;
}

.pricing-glass .btn--cta {
  width: 100%;
  justify-content: center;
  position: relative;
}

.pricing-glass__note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 16px;
  position: relative;
}

.pricing-glass--featured {
  border-color: var(--text);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95);
}

.pricing-glass__badge {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 0 0 6px 6px;
}

/* ── Promises section ── */
.promises-section {
  padding: 80px 0;
  text-align: center;
}

.promises-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.promise-card {
  padding: 32px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.promise-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.promise-card__icon {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.promise-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.promise-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Steps visual ── */
.steps-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 80px 0;
}

.step-visual {
  text-align: center;
  padding: 36px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-visual__number {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1;
}

.step-visual h3 {
  margin-bottom: 8px;
}

.step-visual p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Score preview table ── */
.score-preview {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  margin: 60px 0;
  background: var(--surface);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.score-preview__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

/* ── FAQ ── */
.faq {
  padding: 80px 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 12px;
}

.faq-icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
  font-size: 1.1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* ── Header / Nav ── */
.site-header {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 22px;
}

.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 450;
  margin-left: 28px;
  transition: color 0.2s;
}

.site-header nav a:hover {
  color: var(--text);
}

.site-header nav a.accent {
  color: var(--text);
  font-weight: 500;
}

/* ── Stats grid ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

/* ── Footer ── */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand .logo {
  height: 18px;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  transition: color 0.2s;
}

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

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-sep {
  margin: 0 4px;
}

/* ── Audit page header ── */
.audit-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

.audit-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Results section ── */
.results {
  display: none;
  animation: fadeUp 0.5s ease;
}

.results.active {
  display: block;
}

.results-header {
  text-align: center;
  padding: 60px 0 40px;
  position: relative;
}
.results-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(26,26,24,0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.verdict {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 20px auto 0;
  line-height: 1.7;
}

.scores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

.section-results {
  margin-top: 48px;
}

.action-plan {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.action-plan h2 {
  margin-bottom: 24px;
}

/* ── Career Paths ── */
.career-paths {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.career-paths h2 {
  margin-bottom: 8px;
}

.career-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}

.career-card:hover {
  border-color: var(--text);
}

.career-card__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}

.career-card__number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  margin-top: 3px;
}

.career-card__title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.career-card__type {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.career-card__why {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.career-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.career-card__salary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-alt);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.career-card__target {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface-alt);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

/* ── Improvements list ── */
.improvements {
  list-style: none;
  margin-top: 16px;
}

.improvements li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}

.improvements li:last-child {
  border-bottom: none;
}

.improvements li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--text);
}

/* ── Chatbot Inline ── */
.chatbot-inline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.chatbot-inline__header {
  margin-bottom: 24px;
}
.chatbot-inline__header h2 {
  margin-bottom: 0;
}
.chatbot-inline__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chatbot-inline__suggestions button {
  padding: 8px 16px;
  font-size: 0.78rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chatbot-inline__suggestions button:hover {
  border-color: var(--text);
  color: var(--text);
}

.chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.chatbot-msg {
  max-width: 80%;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.65;
  word-wrap: break-word;
}
.chatbot-msg--bot {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--surface-alt) 0%, rgba(26,26,24,0.04) 100%);
  color: var(--text);
  border-bottom-left-radius: 4px;
  border: 1px solid var(--border);
}
.chatbot-msg--bot strong {
  font-weight: 600;
  color: var(--text);
}
.chatbot-msg--user {
  align-self: flex-end;
  background: var(--text);
  color: var(--bg);
  border-bottom-right-radius: 4px;
}
.chatbot-msg--bot .copy-inline {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  font-size: 0.7rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s ease;
}
.chatbot-msg--bot .copy-inline:hover {
  border-color: var(--text);
  color: var(--text);
}

.chatbot-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
}
.chatbot-typing span {
  width: 6px;
  height: 6px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: chatbotDot 1.4s infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbotDot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}

.chatbot-input-area {
  padding: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}
.chatbot-input-area input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease;
}
.chatbot-input-area input:focus {
  border-color: var(--text);
}
.chatbot-input-area button {
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}
.chatbot-input-area button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Resume banner ── */
.resume-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.resume-banner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text);
}
.resume-banner__actions {
  display: flex;
  gap: 8px;
}
.btn--small {
  padding: 6px 14px;
  font-size: 0.75rem;
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn--outline:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero .editorial { font-size: 1.05rem; }
  .steps-visual { grid-template-columns: 1fr; }
  .promises-grid { grid-template-columns: 1fr; }
  .scores-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .container { padding: 0 20px; }
  .btn--large { padding: 14px 32px; font-size: 0.875rem; }
  .step-nav { flex-direction: column; gap: 12px; }
  .step-nav .btn { width: 100%; }
  .radio-group { flex-direction: row; }
  .pricing-glass { margin: 0; }
  .progress-steps { flex-wrap: wrap; gap: 4px; justify-content: flex-start; }
  .progress-step { font-size: 0.6rem; }
  .form-row { flex-direction: column; gap: 0; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
  .footer-bottom { justify-content: center; text-align: center; }

  /* Header nav mobile */
  .site-header nav { gap: 0; }
  .site-header nav a { margin-left: 16px; font-size: 0.78rem; }
}

/* ── Hamburger menu ── */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 4px; z-index: 1001; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 1px; transition: all 0.3s; }

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .score-circle { width: 140px; height: 140px; }
  .score-circle__value { font-size: 2.5rem; }
  .pricing-glass__amount { font-size: 3rem; }

  .nav-toggle { display: flex; }
  .site-header nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 24px; gap: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .site-header nav.nav--open { display: flex; }
  .site-header nav a { margin-left: 0; font-size: 0.88rem; padding: 8px 0; }
  .site-header nav a.accent { text-align: center; padding: 10px 0; }
  .site-header .container { position: relative; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
