/* ===== CSS VARIABLES ===== */
:root {
  --bg: #0F1117;
  --surface: #1A1D27;
  --surface-el: #22263A;
  --border: #2E3348;
  --border-hover: #3E4360;
  --primary: #00D4AA;
  --primary-hover: #00B894;
  --primary-dim: rgba(0, 212, 170, 0.12);
  --text: #FFFFFF;
  --text-sec: #8B92A8;
  --text-muted: #555E75;
  --danger: #FF6B6B;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --transition: 150ms ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--primary); color: var(--bg); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hover); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.page { display: block; }
.page.hidden { display: none !important; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 6px 12px;
  font-size: 14px;
  color: var(--text-sec);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--text); background: var(--surface); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--bg);
  border: 1px solid var(--primary);
}
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-secondary:hover { background: var(--primary-dim); }
.btn-ghost {
  background: transparent;
  color: var(--text-sec);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--surface); }
.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-sec);
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease both;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-headline {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero-sub {
  font-size: 18px;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeUp 0.5s 0.2s ease both;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.5s 0.3s ease both;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-sec);
  animation: fadeUp 0.5s 0.4s ease both;
}
.proof-avatars { display: flex; }
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}
.avatar:first-child { margin-left: 0; }

/* ===== SECTIONS ===== */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ===== PAIN SECTION ===== */
.section-pain {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}
.pain-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}
.pain-icon {
  width: 48px;
  height: 48px;
  background: rgba(255,107,107,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pain-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.pain-card p { font-size: 14px; color: var(--text-sec); line-height: 1.65; }

/* ===== SOLUTION SECTION ===== */
.section-solution {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.step-item {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.step-number {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.step-connector { display: none; }
.step-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step-item p { font-size: 14px; color: var(--text-sec); line-height: 1.65; }
.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
  padding-top: 28px;
  flex-shrink: 0;
}

/* ===== PREVIEW SECTION ===== */
.section-preview {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.preview-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
  margin-bottom: 24px;
}
.preview-tab {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
}
.preview-tab.active {
  background: var(--surface-el);
  color: var(--text);
}
.preview-tab:hover:not(.active) { color: var(--text); }
.preview-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.preview-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-el);
}
.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.preview-filename {
  flex: 1;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--text-sec);
  text-align: center;
}
.preview-actions { display: flex; gap: 8px; color: var(--text-muted); }
.preview-content {
  background: #fff;
  color: #1a1a1a;
  max-height: 560px;
  overflow-y: auto;
  padding: 40px;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.7;
}
.preview-content h1 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4px;
  color: #0a0a0a;
}
.preview-content .doc-meta {
  text-align: center;
  font-size: 11px;
  color: #666;
  margin-bottom: 24px;
  border-bottom: 2px solid #00d4aa;
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.preview-content h2 {
  font-size: 14px;
  font-weight: bold;
  color: #00d4aa;
  border-left: 3px solid #00d4aa;
  padding-left: 8px;
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.preview-content p { margin-bottom: 10px; color: #333; }
.preview-content ul { padding-left: 20px; margin-bottom: 10px; }
.preview-content li { margin-bottom: 4px; color: #333; }
.preview-content .score-table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12px; }
.preview-content .score-table th { background: #f0fdf4; color: #166534; font-weight: bold; text-align: left; padding: 8px; border: 1px solid #bbf7d0; }
.preview-content .score-table td { padding: 8px; border: 1px solid #e5e7eb; color: #374151; vertical-align: top; }
.preview-content .contract-section { font-family: Arial, sans-serif; }
.preview-content .contract-section h2 { color: #1a1a1a; border-left-color: #1a1a1a; }

/* ===== QUESTIONS SECTION ===== */
.section-questions {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.questions-list { display: flex; flex-direction: column; gap: 0; }
.question-item {
  border-bottom: 1px solid var(--border);
}
.question-item:first-child { border-top: 1px solid var(--border); }
.question-item-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
}
.question-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--primary);
  min-width: 28px;
}
.question-text { font-size: 15px; font-weight: 500; flex: 1; }
.question-type {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 100px;
}
.question-toggle {
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.question-item.open .question-toggle { transform: rotate(45deg); }
.question-desc {
  padding: 0 0 20px 44px;
  font-size: 13px;
  color: var(--text-sec);
  display: none;
}
.question-item.open .question-desc { display: block; }

/* ===== PRICING ===== */
.section-pricing {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.pricing-header { margin-bottom: 32px; }
.pricing-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.pricing-price {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
  display: block;
  line-height: 1;
}
.pricing-note {
  font-size: 14px;
  color: var(--text-sec);
  margin-top: 8px;
  display: block;
}
.pricing-features {
  text-align: left;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-sec);
}
.pricing-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== FAQ ===== */
.section-faq {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}
.faq-list { display: flex; flex-direction: column; gap: 0; max-width: 680px; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-toggle {
  color: var(--text-muted);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }

/* ===== CTA SECTION ===== */
.section-cta {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}
.cta-sub {
  font-size: 17px;
  color: var(--text-sec);
  margin-bottom: 40px;
}
.cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* ===== QUIZ PAGE ===== */
.page-quiz {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  padding-top: 60px;
}
.quiz-container {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
}
.quiz-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}
.quiz-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sec);
  padding: 6px 0;
  transition: color var(--transition);
  flex-shrink: 0;
}
.quiz-back:hover { color: var(--text); }
.quiz-progress { flex: 1; }
.quiz-progress-label {
  font-size: 12px;
  color: var(--text-sec);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.quiz-progress-bar {
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-radius: 2px;
  transition: width 0.4s ease;
  width: 6.67%;
}
.quiz-logo { flex-shrink: 0; }
.quiz-body { flex: 1; }
.quiz-footer { padding-top: 32px; display: flex; justify-content: flex-end; }

/* Quiz question styles */
.quiz-question-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.quiz-question-title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
}
.quiz-question-hint {
  font-size: 13px;
  color: var(--text-sec);
  margin-top: -24px;
  margin-bottom: 32px;
}
.quiz-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
}
.quiz-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
}
.quiz-input::placeholder { color: var(--text-muted); }
.quiz-input.error { border-color: var(--danger); }

/* Radio cards */
.radio-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.radio-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 52px;
}
.radio-card:hover { border-color: var(--border-hover); background: var(--surface-el); }
.radio-card.selected { border-color: var(--primary); background: var(--primary-dim); }
.radio-card input[type="radio"] { display: none; }
.radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}
.radio-card.selected .radio-dot {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px var(--bg);
}
.radio-label { font-size: 15px; font-weight: 500; flex: 1; }
.radio-sub { font-size: 12px; color: var(--text-sec); }

/* Chip multi-select */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sec);
  transition: all var(--transition);
}
.chip:hover { border-color: var(--border-hover); color: var(--text); }
.chip.selected { border-color: var(--primary); background: var(--primary-dim); color: var(--text); }
.chip-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.chip.selected .chip-check {
  background: var(--primary);
  border-color: var(--primary);
}
.chip.selected .chip-check svg { display: block; }
.chip-check svg { display: none; width: 10px; height: 10px; stroke: var(--bg); }

/* ===== LOADING PAGE ===== */
.page-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-inner { text-align: center; max-width: 400px; }
.loading-spinner { margin-bottom: 32px; }
.loading-spinner svg { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loading-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.loading-sub {
  font-size: 15px;
  color: var(--text-sec);
  margin-bottom: 40px;
  line-height: 1.6;
}
.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.loading-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.loading-step.active { color: var(--primary); }
.loading-step.done { color: var(--text-sec); }
.ls-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  flex-shrink: 0;
  transition: all 0.3s;
}
.loading-step.active .ls-dot {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-dim);
}
.loading-step.done .ls-dot { background: var(--text-muted); border-color: var(--text-muted); }

/* ===== DOCUMENT VIEWER ===== */
.page-document {
  min-height: 100vh;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
}
.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
  gap: 12px;
}
.doc-header-left, .doc-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.doc-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.doc-tab {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  border-radius: 6px;
  transition: all var(--transition);
  cursor: pointer;
}
.doc-tab.active {
  background: var(--surface-el);
  color: var(--text);
}
.doc-tab:hover:not(.active) { color: var(--text); }
.doc-body { flex: 1; position: relative; }
.doc-paywall {
  position: absolute;
  inset: 0;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 24px;
}
.paywall-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 420px;
  text-align: center;
}
.paywall-card svg { margin: 0 auto 24px; }
.paywall-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.paywall-card p {
  font-size: 14px;
  color: var(--text-sec);
  margin-bottom: 28px;
  line-height: 1.65;
}
.paywall-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}
.doc-content {
  background: #fff;
  color: #1a1a1a;
  min-height: 100%;
  padding: 48px;
  font-family: Georgia, serif;
  font-size: 13px;
  line-height: 1.75;
}
.doc-content h1 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4px;
  color: #0a0a0a;
}
.doc-content .doc-meta {
  text-align: center;
  font-size: 11px;
  color: #666;
  margin-bottom: 24px;
  border-bottom: 2px solid #00d4aa;
  padding-bottom: 16px;
  margin-bottom: 28px;
}
.doc-content h2 {
  font-size: 13px;
  font-weight: bold;
  color: #00d4aa;
  border-left: 3px solid #00d4aa;
  padding-left: 8px;
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.doc-content p { margin-bottom: 10px; color: #333; }
.doc-content ul { padding-left: 20px; margin-bottom: 10px; list-style: disc; }
.doc-content li { margin-bottom: 4px; color: #333; }
.doc-content .doc-section-break { margin: 24px 0; border: none; border-top: 1px solid #e5e7eb; }
.doc-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 12px; font-family: Arial, sans-serif; }
.doc-content th { background: #f0fdf4; color: #166534; font-weight: bold; text-align: left; padding: 8px 10px; border: 1px solid #bbf7d0; }
.doc-content td { padding: 8px 10px; border: 1px solid #e5e7eb; color: #374151; vertical-align: top; }
.doc-content .contract-section { font-family: Arial, sans-serif; font-size: 12px; }
.doc-content .contract-section h2 { color: #1a1a1a; border-left-color: #1a1a1a; }

/* ===== CHECKOUT OVERLAY ===== */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.checkout-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 440px;
  width: 100%;
  position: relative;
}
.checkout-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-muted);
  padding: 4px;
  border-radius: 4px;
  transition: color var(--transition);
}
.checkout-close:hover { color: var(--text); }
.checkout-inner { text-align: center; }
.checkout-product { margin-bottom: 24px; }
.checkout-product-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.checkout-product-desc { font-size: 14px; color: var(--text-sec); }
.checkout-includes {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.checkout-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-sec);
}
.checkout-price {
  margin-bottom: 20px;
}
.checkout-price-amount {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
  color: var(--text);
}
.checkout-price-note {
  font-size: 13px;
  color: var(--text-sec);
}
.checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--surface-el);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  z-index: 300;
  box-shadow: var(--shadow);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s ease both; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-headline { font-size: 36px; }
  .nav-toggle { display: flex; align-items: center; }
  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    display: none;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .pain-grid { grid-template-columns: 1fr; }
  .steps-row { flex-direction: column; gap: 12px; }
  .step-arrow { display: none; }
  .section-pricing, .section-pain, .section-solution, .section-preview, .section-questions, .section-faq, .section-cta { padding: 64px 0; }
  .pricing-card { padding: 32px 24px; }
  .pricing-price { font-size: 48px; }
  .preview-content { padding: 24px; font-size: 12px; }
  .doc-header { flex-direction: column; align-items: flex-start; }
  .doc-content { padding: 24px; font-size: 12px; }
  .checkout-modal { padding: 28px 24px; }
  .quiz-header { flex-wrap: wrap; }
  .quiz-back { display: none; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .preview-tabs { width: 100%; }
  .preview-tab { flex: 1; text-align: center; font-size: 12px; }
  .doc-tabs { flex-wrap: wrap; }
}

/* ===== PRINT ===== */
@media print {
  .navbar, .doc-header, .doc-paywall, .checkout-overlay, .toast, .nav-links, .nav-toggle { display: none !important; }
  body { background: white; color: black; }
  .page-document { padding-top: 0; }
  .doc-body { overflow: visible; }
  .doc-content {
    background: white;
    color: black;
    padding: 0;
    font-size: 11pt;
    max-width: none;
  }
  .page-quiz, .page-loading, .page-landing { display: none !important; }
  .page-document { display: block !important; }
}
