/* ── CVPass Design System ─────────────────────── */
:root {
  --ink: #0d0d0d;
  --paper: #f5f2eb;
  --cream: #ede9df;
  --accent: #c8401a;
  --accent-light: #f5ddd7;
  --muted: #7a7167;
  --border: #d6d0c4;
  --success: #2a7a52;
  --warn: #c8401a;
  --pass-bg: #0d0d0d;

  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'DM Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.nav-logo .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--ink); }

.lang-toggle {
  display: flex; align-items: center; gap: 4px;
  background: var(--cream);
  border-radius: 6px;
  padding: 4px;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 10px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
  text-decoration: none;
  display: inline-block;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  padding: 140px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid #e8b8ad;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 420px;
}

.hero-cta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--ink);
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.btn-ghost {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.2s;
  background: none; border: none;
}

.btn-ghost:hover { color: var(--ink); }
.btn-ghost::after { content: '\2192'; }

.btn-accent {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border: none;
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-accent:hover { opacity: 0.88; }

/* ── SCORE CARD ──────────────────────────────── */
.score-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 68%, var(--border) 68%);
}

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

.score-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
}

.score-big {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--ink);
  line-height: 1;
}

.score-big span {
  font-size: 1.2rem;
  color: var(--muted);
  font-family: var(--sans);
  font-weight: 300;
}

.score-sections { display: flex; flex-direction: column; gap: 14px; }

.score-row {
  display: flex; align-items: center; gap: 12px;
}

.score-label {
  font-size: 0.825rem;
  color: var(--muted);
  width: 110px;
  flex-shrink: 0;
}

.score-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--cream);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar {
  height: 100%;
  border-radius: 100px;
  background: var(--ink);
  transition: width 1s cubic-bezier(.16,1,.3,1);
}

.score-bar.warn { background: var(--accent); }
.score-bar.ok { background: var(--success); }

.score-pct {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--ink);
  width: 36px;
  text-align: right;
}

.score-issues {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 10px;
}

.issue-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.825rem;
  color: var(--ink);
}

.issue-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.issue-dot.red { background: var(--accent); }
.issue-dot.orange { background: #e88a20; }
.issue-dot.green { background: var(--success); }

/* ── SECTION HEADERS ─────────────────────────── */
.section { padding: 80px 48px; max-width: 1100px; margin: 0 auto; }

.section-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 500;
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── UPLOAD ZONE ─────────────────────────────── */
.upload-section {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}

.upload-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--paper);
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--accent);
  background: var(--accent-light);
}

.upload-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--cream);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

.upload-icon svg { width: 24px; height: 24px; stroke: var(--muted); }

.upload-zone h3 {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.upload-zone p {
  font-size: 0.8rem;
  color: var(--muted);
}

.upload-or {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-family: var(--mono);
  margin: 20px 0;
  position: relative;
}

.upload-or::before, .upload-or::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: var(--border);
}
.upload-or::before { left: 0; }
.upload-or::after { right: 0; }

textarea.paste-area {
  width: 100%;
  min-height: 180px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

textarea.paste-area:focus { border-color: var(--ink); }

/* ── WIZARD STEPS (sidebar) ──────────────────── */
.wizard-steps {
  display: flex; flex-direction: column; gap: 0;
}

.step-item {
  display: flex; gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.step-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  flex-shrink: 0;
}

.step-item.active .step-num {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.step-content { padding-top: 6px; }
.step-content h4 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 4px; }
.step-content p { font-size: 0.825rem; color: var(--muted); line-height: 1.5; }

/* ── FEATURES GRID ───────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--paper);
  padding: 36px 32px;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--cream); }

.feature-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 22px; height: 22px; stroke: var(--ink); }

.feature-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.825rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 12px;
  font-weight: 500;
}

.tag.free { background: var(--cream); color: var(--muted); }
.tag.paid { background: var(--ink); color: #fff; }

/* ── PRICING ─────────────────────────────────── */
.pricing-section {
  background: var(--ink);
  padding: 80px 48px;
  color: #fff;
}

.pricing-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.plan-card {
  border-radius: 16px;
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.12);
}

.plan-card.free-plan { background: rgba(255,255,255,0.05); }

.plan-card.paid-plan {
  background: var(--accent);
  border-color: transparent;
  position: relative;
  overflow: hidden;
}

.plan-card.paid-plan::after {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--mono);
  font-size: 0.7rem;
  background: rgba(255,255,255,0.2);
  color: #fff;
  padding: 4px 10px;
  border-radius: 100px;
}

.plan-name {
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 12px;
}

.plan-price {
  font-family: var(--serif);
  font-size: 2.8rem;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price sub {
  font-size: 1rem;
  font-family: var(--sans);
  font-weight: 300;
  opacity: 0.7;
}

.plan-desc {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 28px;
  line-height: 1.6;
  font-weight: 300;
}

.plan-features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }

.plan-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem;
}

.plan-feature .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.free-plan .check { background: rgba(255,255,255,0.1); }
.paid-plan .check { background: rgba(255,255,255,0.25); }

.check svg { width: 10px; height: 10px; stroke: #fff; stroke-width: 2.5; }

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  text-align: center;
}

.free-plan .btn-plan {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.free-plan .btn-plan:hover { background: rgba(255,255,255,0.18); }

.paid-plan .btn-plan {
  background: #fff;
  color: var(--accent);
}
.paid-plan .btn-plan:hover { background: var(--paper); }

/* ── RESULTS ─────────────────────────────────── */
.results-preview {
  padding: 80px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
}

.sidebar-score {
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.big-score {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 4px;
}

.big-score-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sidebar-issues {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.sidebar-issues h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--mono);
  color: var(--muted);
  margin-bottom: 16px;
}

.issue-list { display: flex; flex-direction: column; gap: 10px; }

.issue-tag {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink);
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--cream);
}

.issue-tag.critical { background: var(--accent-light); }

.issue-severity {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  font-weight: 500;
}

.sev-high { background: var(--accent); color: #fff; }
.sev-med { background: #e88a20; color: #fff; }
.sev-low { background: var(--success); color: #fff; }

.section-tabs {
  display: flex; gap: 4px;
  margin-bottom: 24px;
  background: var(--cream);
  padding: 4px;
  border-radius: 10px;
  width: fit-content;
}

.tab-btn {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  transition: all 0.15s;
}

.tab-btn.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.result-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 16px;
}

.result-block-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}

.result-block h3 {
  font-size: 0.9375rem;
  font-weight: 600;
}

.mini-score {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--success);
}

.mini-score.warn { color: var(--accent); }

.reco-item {
  display: flex; gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--cream);
  font-size: 0.85rem;
  line-height: 1.5;
}

.reco-item:first-of-type { border-top: none; padding-top: 0; }

.reco-arrow {
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.paywall-block {
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 16px;
  position: relative;
  overflow: hidden;
}

.paywall-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.02) 20px,
    rgba(255,255,255,0.02) 40px
  );
}

.paywall-block h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 12px;
  position: relative;
}

.paywall-block p {
  font-size: 0.875rem;
  opacity: 0.6;
  margin-bottom: 28px;
  font-weight: 300;
  position: relative;
}

/* ── DIVIDER ─────────────────────────────────── */
.divider {
  max-width: 1100px;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--border);
}

/* ── WIZARD PAGE ─────────────────────────────── */
.wizard-page {
  min-height: 100vh;
  padding-top: 80px;
}

.wizard-header {
  background: var(--ink);
  color: #fff;
  padding: 32px 48px;
}

.wizard-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.wizard-pass-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  background: rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.8);
}

.wizard-header h2 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.wizard-header p {
  font-size: 0.875rem;
  opacity: 0.5;
  font-weight: 300;
}

.wizard-progress {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.prog-step {
  flex: 1;
  height: 4px;
  border-radius: 100px;
  background: rgba(255,255,255,0.15);
}

.prog-step.done { background: var(--accent); }
.prog-step.current { background: rgba(255,255,255,0.6); }

.wizard-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
}

.wiz-nav { display: flex; flex-direction: column; gap: 2px; }

.wiz-nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.15s;
}

.wiz-nav-item:hover { background: var(--cream); color: var(--ink); }

.wiz-nav-item.active {
  background: var(--ink);
  color: #fff;
}

.wiz-nav-item .wiz-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  opacity: 0.4;
}

.wiz-nav-item.done .wiz-check { opacity: 1; background: var(--success); border-color: var(--success); }
.wiz-nav-item.active .wiz-check { opacity: 1; border-color: rgba(255,255,255,0.4); }

/* ── FORMS ───────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-section-title {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.wiz-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

/* ── AI REWRITE BLOCK ────────────────────────── */
.ai-rewrite-block {
  background: var(--accent-light);
  border: 1px solid #e8b8ad;
  border-radius: 10px;
  padding: 20px;
}

.ai-rewrite-label {
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.ai-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 16px;
}

.ai-result-label {
  font-size: 0.8rem;
  font-family: var(--mono);
  color: var(--accent);
  margin-bottom: 12px;
}

.ai-bullet {
  font-size: 0.875rem;
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ai-bullet-marker {
  color: var(--accent);
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
}

.footer-links {
  display: flex; gap: 28px; list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--ink); }

.footer-copy {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--mono);
}

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

.animate-fade-up {
  animation: fadeUp 0.5s cubic-bezier(.16,1,.3,1) both;
}

/* ── LOADING SPINNER ─────────────────────────── */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* ── ALERTS / FLASH ──────────────────────────── */
.alert {
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  margin-bottom: 20px;
}

.alert-success { background: #e6f4ed; color: var(--success); border: 1px solid #b8dfc8; }
.alert-error { background: var(--accent-light); color: var(--accent); border: 1px solid #e8b8ad; }
.alert-info { background: var(--cream); color: var(--muted); border: 1px solid var(--border); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero,
  .upload-inner,
  .pricing-inner,
  .results-grid { grid-template-columns: 1fr; }
  .section,
  .upload-section,
  .results-preview,
  .pricing-section { padding: 48px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .wizard-body { grid-template-columns: 1fr; padding: 24px; }
  .hero { padding: 100px 20px 48px; gap: 40px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
}
