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

:root {
  --bg: #fafaf9;
  --surface: #ffffff;
  --border: #e7e5e4;
  --text-primary: #1c1917;
  --text-secondary: #78716c;
  --text-muted: #a8a29e;
  --accent: #059669;
  --accent-light: #d1fae5;
  --accent-dark: #047857;
  --zinc-50: #fafafa;
  --zinc-100: #f4f4f5;
  --zinc-200: #e4e4e7;
  --zinc-800: #27272a;
  --zinc-950: #09090b;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,249,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-size: 17px;
  font-weight: 700;
  color: var(--zinc-950);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.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;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
}
.nav-link:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--zinc-950);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: -0.2px;
}
.nav-cta:hover { background: #18181b; }
.nav-cta:active { transform: scale(0.98); }

/* ─── HERO ─── */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  gap: 60px;
  align-items: center;
}
.hero-left {
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  letter-spacing: 0.2px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero-h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--zinc-950);
  margin-bottom: 20px;
}
.hero-h1 .accent-word {
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--zinc-950);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.3px;
}
.btn-primary:hover { background: #18181b; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  padding: 14px 0;
}
.btn-ghost:hover { color: var(--text-primary); }
.hero-trust {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.trust-item {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-check {
  width: 16px; height: 16px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-check svg { width: 9px; height: 9px; }

/* Hero Right — Visual */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 380px;
}
.card-bg {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.card-main {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  padding: 28px;
  z-index: 2;
}
.card-back-1 {
  width: calc(100% - 24px);
  height: 100%;
  top: -10px;
  left: 12px;
  opacity: 0.5;
  z-index: 1;
}
.card-back-2 {
  width: calc(100% - 48px);
  height: 100%;
  top: -20px;
  left: 24px;
  opacity: 0.25;
  z-index: 0;
}
.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.card-q {
  font-size: 15px;
  font-weight: 600;
  color: var(--zinc-950);
  margin-bottom: 16px;
  line-height: 1.4;
}
.card-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.card-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--zinc-50);
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s;
}
.card-opt.selected {
  border-color: var(--accent);
  background: #f0fdf4;
  color: var(--accent-dark);
  font-weight: 500;
}
.card-opt-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all 0.15s;
}
.card-opt.selected .card-opt-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px white;
}
.card-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.progress-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }
.progress-track {
  flex: 1;
  height: 4px;
  background: var(--zinc-100);
  border-radius: 2px;
  margin: 0 12px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 40%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-btn {
  width: 100%;
  padding: 12px;
  background: var(--zinc-950);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s;
}
.card-btn:hover { background: #18181b; }

/* Floating badge */
.float-badge {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--zinc-950);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.float-badge-1 { bottom: 10%; left: -15%; animation-delay: 0s; }
.float-badge-2 { top: 8%; right: -10%; animation-delay: 2s; }
.float-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* ─── SECTION WRAPPER ─── */
.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--zinc-950);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ─── PAIN SECTION (ZIG-ZAG) ─── */
.pain-section { background: white; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.zigzag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 60px;
}
.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.zigzag-item:last-child { border-bottom: none; }
.zigzag-item.reverse .zigzag-text { order: 2; }
.zigzag-item.reverse .zigzag-visual { order: 1; }

.zigzag-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.zigzag-heading {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--zinc-950);
  margin-bottom: 12px;
  line-height: 1.3;
}
.zigzag-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 400px;
}
.zigzag-visual {
  background: var(--zinc-50);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.mini-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.mini-stat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.mini-stat-label { font-weight: 600; color: var(--zinc-950); font-size: 14px; }
.mini-stat-sub { font-size: 12px; color: var(--text-muted); }
.score-display {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}
.score-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.score-num { font-size: 24px; font-weight: 800; color: var(--accent); }
.score-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.score-proc { font-size: 14px; font-weight: 700; color: var(--zinc-950); margin-top: 4px; }

/* ─── HOW IT WORKS ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.step-block {
  background: white;
  padding: 36px 32px;
  position: relative;
}
.step-num-big {
  font-size: 56px;
  font-weight: 800;
  color: var(--zinc-100);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.step-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--zinc-950);
  margin-bottom: 8px;
}
.step-body {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.step-accent-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background 0.3s;
}
.step-block:hover .step-accent-line { background: var(--accent); }

/* ─── PROCEDURES ─── */
.procedures-wrap {
  margin-top: 60px;
}
.proc-header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}
.proc-tab {
  background: var(--zinc-50);
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.proc-tab.active {
  background: white;
  color: var(--zinc-950);
}
.proc-tab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.proc-body {
  background: white;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.proc-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--zinc-950); margin-bottom: 8px; }
.proc-subtitle { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.proc-criteria { display: flex; flex-direction: column; gap: 10px; }
.proc-criterion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.proc-criterion-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
}
.icon-ok { background: var(--accent-light); }
.icon-ok svg { color: var(--accent); }
.proc-cta-area { display: flex; flex-direction: column; gap: 12px; justify-content: flex-start; }
.proc-cta-box {
  background: var(--zinc-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
}
.proc-cta-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 4px; }
.proc-cta-val { font-size: 15px; font-weight: 700; color: var(--zinc-950); }

/* ─── WIZARD SECTION ─── */
.wizard-section {
  background: var(--zinc-950);
}
.wizard-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px;
}
.wizard-intro { margin-bottom: 60px; }
.wizard-label { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.wizard-title { font-size: clamp(28px, 3vw, 42px); font-weight: 800; letter-spacing: -1px; color: white; margin-bottom: 12px; }
.wizard-sub { font-size: 16px; color: #a8a29e; max-width: 480px; }

.wizard-ui {
  background: #18181b;
  border: 1px solid #3f3f46;
  border-radius: 20px;
  overflow: hidden;
}
.wizard-topbar {
  background: #09090b;
  border-bottom: 1px solid #27272a;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wizard-topbar-title { font-size: 14px; font-weight: 600; color: white; }
.wizard-topbar-step { font-size: 13px; color: #71717a; }
.wizard-progress { height: 3px; background: #27272a; }
.wizard-progress-fill { height: 100%; width: 28%; background: var(--accent); transition: width 0.4s cubic-bezier(0.16,1,0.3,1); }
.wizard-body { padding: 36px 40px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.wizard-question-area {}
.wiz-q-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: #52525b; margin-bottom: 12px; }
.wiz-q-text { font-size: 22px; font-weight: 700; color: white; letter-spacing: -0.5px; margin-bottom: 28px; line-height: 1.35; }
.wiz-options-list { display: flex; flex-direction: column; gap: 8px; }
.wiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  background: #27272a;
  color: #a1a1aa;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
}
.wiz-opt:hover { border-color: #52525b; background: #3f3f46; color: white; }
.wiz-opt.selected { border-color: var(--accent); background: rgba(5,150,105,0.12); color: white; }
.wiz-opt-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2px solid #52525b;
  flex-shrink: 0;
  transition: all 0.15s;
}
.wiz-opt.selected .wiz-opt-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #27272a;
}
.wiz-opt-radio.checkbox {
  border-radius: 4px;
}
.wiz-opt.selected .wiz-opt-radio.checkbox {
  box-shadow: none;
  display: flex; align-items: center; justify-content: center;
}
.wiz-opt.selected .wiz-opt-radio.checkbox::after {
  content: '';
  width: 9px; height: 5px;
  border-left: 2px solid #27272a;
  border-bottom: 2px solid #27272a;
  transform: translateY(-1px) rotate(-45deg);
}
.wiz-sidebar {}
.wiz-progress-card {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.wiz-progress-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #71717a; margin-bottom: 16px; }
.wiz-progress-items { display: flex; flex-direction: column; gap: 10px; }
.wiz-prog-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.wiz-prog-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
}
.dot-done { background: var(--accent); color: white; }
.dot-active { background: white; color: #09090b; border: 2px solid white; }
.dot-pending { background: transparent; border: 2px solid #3f3f46; color: #52525b; }
.wiz-prog-label-done { color: #52525b; text-decoration: line-through; }
.wiz-prog-label-active { color: white; font-weight: 600; }
.wiz-prog-label-pending { color: #52525b; }

.wiz-nav-row {
  padding: 20px 40px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #27272a;
}
.wiz-back {
  background: transparent;
  border: 1px solid #3f3f46;
  color: #71717a;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}
.wiz-back:hover { border-color: #52525b; color: white; }
.wiz-next {
  background: var(--accent);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wiz-next:hover { background: var(--accent-dark); transform: translateY(-1px); }
.wiz-next:active { transform: scale(0.98); }

/* ─── FOOTER ─── */
.footer {
  background: var(--zinc-950);
  border-top: 1px solid #27272a;
  padding: 40px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}
.footer-logo { font-size: 15px; font-weight: 700; color: white; margin-bottom: 8px; }
.footer-disclaimer { font-size: 13px; color: #52525b; max-width: 400px; line-height: 1.6; }
.footer-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.footer-link { font-size: 13px; color: #71717a; text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: white; }
.footer-note { font-size: 12px; color: #3f3f46; margin-top: 16px; }

/* Divider */
.divider { border: none; border-top: 1px solid var(--border); }

/* ─── Wizard Interactive States ─── */
.wiz-opt-radio.selected {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px #27272a;
}

/* ─── Result Screen ─── */
.result-area { width: 100%; }
.result-header { margin-bottom: 32px; }
.result-scores {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.result-score-card {
  flex: 1;
  min-width: 140px;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.2s;
}
.result-score-card.best { border-color: var(--accent); }
.result-score-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 4px solid #3f3f46;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  font-weight: 800;
}
.result-score-label { font-size: 12px; color: #a1a1aa; line-height: 1.4; }
.result-best-badge {
  display: inline-block;
  background: rgba(5,150,105,0.15);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
}
.result-next-step {
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}
.result-next-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #71717a; margin-bottom: 6px; }
.result-next-text { font-size: 15px; color: white; font-weight: 500; }
.result-pdf {
  background: linear-gradient(180deg, #18181b 0%, #101013 100%);
  border: 1px solid #2f2f36;
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.result-pdf-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #8b8b94; margin-bottom: 10px; }
.result-pdf-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.result-docs { margin-bottom: 24px; }
.result-docs-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #71717a; margin-bottom: 10px; }
.result-docs-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.wiz-doc-btn {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #a1a1aa;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wiz-doc-btn:hover { border-color: var(--accent); color: white; }
.wiz-doc-btn[disabled] {
  opacity: 0.55;
  cursor: progress;
  pointer-events: none;
}
.wiz-pdf-open-btn {
  background: rgba(5,150,105,0.12);
  border-color: rgba(5,150,105,0.35);
  color: #d1fae5;
}
.wiz-pdf-open-btn:hover { border-color: var(--accent); color: white; }
.pdf-status {
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.5;
}
.pdf-status-loading {
  color: #d4d4d8;
}
.pdf-status-ready {
  color: #bbf7d0;
}
.pdf-status-error {
  color: #fca5a5;
  background: rgba(153,27,27,0.18);
  border: 1px solid rgba(248,113,113,0.22);
  border-radius: 10px;
  padding: 10px 12px;
}

/* ─── Document Output ─── */
.doc-loading { color: #71717a; font-size: 14px; padding: 16px 0; }
.doc-output-box {
  background: #09090b;
  border: 1px solid #27272a;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
}
.doc-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #27272a;
  font-size: 13px;
  font-weight: 600;
  color: #a1a1aa;
}
.doc-copy-btn {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #71717a;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.15s;
}
.doc-copy-btn:hover { color: white; }
.doc-output-text {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 13px;
  color: #a1a1aa;
  padding: 20px;
  white-space: pre-wrap;
  line-height: 1.6;
  max-height: 400px;
  overflow-y: auto;
}

/* ─── Skeleton Loader ─── */
.skeleton-block { padding: 20px 0; }
.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, #27272a 25%, #3f3f46 50%, #27272a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  margin-bottom: 10px;
}
.skeleton-line.w40 { width: 40%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w80 { width: 80%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Analyzing screen ── */
.analyzing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 20px;
  min-height: 260px;
}
.analyzing-spinner {
  width: 52px; height: 52px;
  border: 3px solid #3f3f46;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.analyzing-title {
  font-size: 20px;
  font-weight: 700;
  color: white;
  letter-spacing: -0.3px;
}
.analyzing-step {
  font-size: 14px;
  color: #71717a;
  transition: opacity 0.25s ease;
  min-height: 20px;
}
.analyzing-dots {
  display: flex;
  gap: 6px;
}
.adot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dotpulse 1.2s ease-in-out infinite;
}
.adot:nth-child(2) { animation-delay: 0.2s; }
.adot:nth-child(3) { animation-delay: 0.4s; }
@keyframes dotpulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 40px 20px; }
  .hero-right { display: none; }
  .section { padding: 60px 20px; }
  .zigzag-item { grid-template-columns: 1fr; }
  .zigzag-item.reverse .zigzag-text { order: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .proc-header { grid-template-columns: 1fr; }
  .proc-body { grid-template-columns: 1fr; }
  .wizard-body { grid-template-columns: 1fr; padding: 24px 20px 16px; }
  .wiz-sidebar { display: none; }
  .wiz-nav-row {
    position: sticky;
    bottom: 0;
    background: #18181b;
    border-top: 1px solid #27272a;
    padding: 14px 20px;
    z-index: 20;
  }
  .wiz-next { flex: 1; justify-content: center; }
  .wiz-back { flex-shrink: 0; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-links { align-items: flex-start; }
}
