/* BlindEval.com Design System - Adversarial Decision Engine */
:root {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-card: #111827;
  --bg-card-hover: #162032;
  --border-subtle: #1f293d;
  --border-strong: #334155;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #3b82f6;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;
  --accent-emerald: #10b981;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(7, 9, 14, 0.85);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: #fff;
}

.brand-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.875rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--border-strong);
}

/* Hero Section */
.hero-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
  text-align: center;
}

.tag-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Intake Workspace Box */
.intake-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.dropzone-container {
  border: 2px dashed var(--border-strong);
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(17, 24, 39, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  margin-bottom: 1rem;
}

.dropzone-container.dragover {
  border-color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.08);
}

.dropzone-icon {
  width: 38px;
  height: 38px;
  margin: 0 auto 0.5rem;
  color: var(--accent-blue);
}

.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  font-size: 0.8125rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  margin-top: 0.5rem;
}

.file-remove-btn {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  padding: 0 0.25rem;
  font-weight: bold;
}

.query-textarea {
  width: 100%;
  min-height: 110px;
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}

.query-textarea:focus {
  border-color: var(--accent-blue);
}

.scenario-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.scenario-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.scenario-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.scenario-tab-btn.active {
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(59, 130, 246, 0.35);
}

.preset-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.preset-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.preset-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.pill-tag {
  font-size: 0.625rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
}

.tag-finance { background: rgba(245, 158, 11, 0.15); color: #fde68a; }
.tag-contract { background: rgba(59, 130, 246, 0.15); color: #93c5fd; }
.tag-comm { background: rgba(16, 185, 129, 0.15); color: #a7f3d0; }
.tag-decision { background: rgba(168, 85, 247, 0.15); color: #d8b4fe; }


.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Audit Report Container */
.audit-report-container {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: left;
}

.report-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.report-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.badge-skill {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-ability {
  background: rgba(245, 158, 11, 0.15);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-latency {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.audit-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.audit-section-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.title-part1 { color: #f87171; }
.title-part2 { color: #fbbf24; }
.title-part3 { color: #60a5fa; }
.title-part4 { color: #a78bfa; }
.title-part5 { color: #34d399; }

.audit-content-body {
  font-size: 0.9375rem;
  color: #e2e8f0;
  line-height: 1.65;
}

.audit-content-body p {
  margin-bottom: 0.75rem;
}

.audit-content-body ul, .audit-content-body ol {
  margin-left: 1.5rem;
  margin-bottom: 0.75rem;
}

/* Institutional Variance Ledger & Risk Meter Styles */
.risk-meter-card {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(17, 24, 39, 0.98), rgba(56, 189, 248, 0.08));
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.meter-column {
  flex: 1;
  min-width: 260px;
}

.meter-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  display: none;
}

@media (min-width: 768px) {
  .meter-divider {
    display: block;
  }
}

.risk-score-display {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.risk-number {
  font-size: 2.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #f87171;
  line-height: 1;
}

.risk-scale {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.risk-badge-high {
  display: inline-block;
  background: rgba(244, 63, 94, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.readiness-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.risk-bar-container {
  width: 100%;
  max-width: 100%;
  margin-top: 0.4rem;
}

.risk-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.35rem;
}

.risk-bar-fill {
  height: 100%;
  width: 82%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.readiness-bar-fill {
  height: 100%;
  width: 34%;
  background: linear-gradient(90deg, #0284c7, #10b981);
  border-radius: 9999px;
  transition: width 0.6s ease;
}

.variance-item-card {
  background: #090d16;
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-rose);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.variance-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variance-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
}

.variance-severity-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
  text-transform: uppercase;
}

.variance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.875rem;
  font-size: 0.8125rem;
}

.variance-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 0.75rem;
}

.variance-cell-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.variance-cell-val {
  color: #e2e8f0;
  line-height: 1.5;
}

/* Blurred Teaser Overlay & Paywall Lock */
.teaser-locked-wrapper {
  position: relative;
  margin-top: 1rem;
}

.blurred-content {
  filter: blur(6px);
  opacity: 0.35;
  user-select: none;
  pointer-events: none;
}

.unlock-overlay-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 580px;
  background: rgba(13, 18, 29, 0.96);
  border: 1px solid #3b82f6;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  z-index: 20;
}

.unlock-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.unlock-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.unlock-actions-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.staging-bypass-pill {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px dashed rgba(59, 130, 246, 0.4);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
}

.staging-bypass-pill:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #ffffff;
}

/* Dual-Branch Side-by-Side Comparison Layout */
.view-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.35rem;
}

.view-mode-btn {
  flex: 1;
  min-width: 140px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.view-mode-btn:hover {
  color: var(--text-primary);
}

.view-mode-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.comparison-column {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.comparison-column.chatbot-side {
  border-color: #334155;
  background: #090d16;
}

.comparison-column.blindeval-side {
  border-color: rgba(59, 130, 246, 0.4);
  background: #0c1220;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.column-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.875rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.column-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.column-badge {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.badge-chatbot {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.badge-blindeval {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.chatbot-body-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.65;
  font-style: italic;
  flex-grow: 1;
}

.chatbot-warning-footer {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.75rem;
  color: #fde68a;
  line-height: 1.45;
}

/* Interactive Decision Console & Multi-Turn Hardening */
.interactive-decision-console {
  margin-top: 2rem;
  background: #080c14;
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.console-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.turn-counter-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.context-calibration-box {
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.calibration-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calibration-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.calibration-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.calibration-checklist li {
  font-size: 0.8125rem;
  color: #e2e8f0;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.calibration-checklist li::before {
  content: "->";
  color: #fbbf24;
  font-family: var(--font-mono);
  font-weight: 700;
}

.decision-forks-section {
  margin-bottom: 1.25rem;
}

.forks-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.decision-forks-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.875rem;
}

.decision-fork-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.875rem 1rem;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.decision-fork-card:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.decision-fork-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #60a5fa;
}

.decision-fork-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.followup-input-wrapper {
  margin-top: 1rem;
}

.followup-input-box {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.followup-textarea {
  flex: 1;
  min-width: 280px;
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
}

.followup-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.followup-btn {
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
}

.followup-hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.turn-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.turn-marker-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.turn-marker-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  background: #090e18;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* B2B Enterprise CTA Banner */
.b2b-enterprise-banner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(17, 24, 39, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.b2b-banner-text h5 {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.b2b-banner-text p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
}


/* Feature Grid */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pricing-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(13, 18, 29, 0.95));
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #2563eb;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
}

.price-val span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-features-list {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.check-icon {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 1.5rem 2rem;
  background: #05070a;
  color: var(--text-muted);
  font-size: 0.8125rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  min-width: 200px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Developer Inspect Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.modal-card {
  background: #090e18;
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 80vh;
}

.arbitrage-banner {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.08));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}

.arbitrage-tag {
  display: inline-block;
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.arbitrage-banner p {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}

.modal-code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.copy-code-pill {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-code-pill:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #fff;
}

.modal-code-block {
  background: #04060a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #93c5fd;
}

.modal-actions-row {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* Two-Tier Methodology Explainer Switch & Styles */
.methodology-switch-container {
  display: inline-flex;
  background: #060910;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 0.25rem;
  margin-top: 1.5rem;
  gap: 0.35rem;
}

.methodology-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.methodology-tab-btn:hover {
  color: #fff;
}

.methodology-tab-btn.active {
  background: #1e293b;
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.tab-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.8;
}

.tier-pill-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.methodology-fix-box {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.8125rem;
  color: #d1fae5;
  line-height: 1.5;
  margin-top: 1rem;
}

.methodology-fix-box strong {
  color: #34d399;
}

/* Tier 2: Technical Architecture Grid & Cards */
.grid-2-tech {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.tech-card {
  background: #080c14;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.tech-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.tech-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.badge-rose {
  background: rgba(244, 63, 94, 0.12);
  color: #f87171;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.tech-mono-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.tech-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.tech-text {
  font-size: 0.84375rem;
  color: #94a3b8;
  line-height: 1.6;
}

.tech-text code {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  color: #93c5fd;
}

.tech-metric-strip {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tech-metric-strip strong {
  color: #cbd5e1;
}

.tech-state-list {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.tech-state-list li strong {
  color: #60a5fa;
}

.tech-arbitrage-banner {
  margin-top: 2rem;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.08), rgba(9, 14, 24, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 1.75rem 2rem;
}

.arbitrage-badge-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Case Comparisons Showcase Styles */
.case-tabs-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.case-tab-btn {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  transition: all 0.2s ease;
  min-width: 240px;
  text-align: left;
}

.case-tab-btn:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: #0d1320;
}

.case-tab-btn.active {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.case-tab-number {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #60a5fa;
  text-transform: uppercase;
}

.case-tab-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.case-tab-risk {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #f87171;
  background: rgba(244, 63, 94, 0.12);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.case-pane {
  margin-top: 2rem;
}

.case-scenario-bar {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.scenario-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #93c5fd;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.scenario-text {
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.case-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.5rem;
}

.case-card {
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.case-card-flattery {
  background: #0d0e14;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.case-card-defense {
  background: #081110;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.case-status-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.case-cost-stat {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
}

.text-rose {
  color: #f87171;
}

.text-emerald {
  color: #34d399;
}

.case-quote-box {
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid #f87171;
  padding: 0.85rem 1rem;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 0.8125rem;
  color: #fecdd3;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.quote-defense {
  border-left-color: #10b981;
  color: #a7f3d0;
}

.case-breakdown-section {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.case-section-title {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.case-body-text {
  font-size: 0.84375rem;
  color: #94a3b8;
  line-height: 1.6;
}

.case-check-list {
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.case-check-list li {
  margin-bottom: 0.5rem;
}

.case-check-list li strong {
  color: #34d399;
}

.case-net-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.6rem 0.85rem;
  border-radius: 6px;
  text-align: center;
  margin-top: auto;
}

.pill-danger {
  background: rgba(244, 63, 94, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.pill-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.case-footer-banner {
  margin-top: 2rem;
  background: #090e18;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Portable Dossier Action Strip & Shared Permalink Banner */
.shared-permalink-banner {
  margin: 0.75rem 0 1.25rem;
  padding: 0.85rem 1.25rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.shared-permalink-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8125rem;
  color: #e2e8f0;
}

.shared-permalink-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.shared-permalink-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #6ee7b7;
  background: rgba(0, 0, 0, 0.45);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  user-select: all;
}

.portable-dossier-strip {
  margin-top: 1.75rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(8, 17, 28, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.portable-dossier-meta {
  max-width: 580px;
}

.portable-dossier-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.portable-dossier-subtitle {
  font-size: 0.8125rem;
  color: #94a3b8;
  line-height: 1.45;
}

.portable-dossier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Print Styles */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .header-nav, .hero-section, .features-section, .pricing-section, .site-footer, .action-bar, .preset-pills-row, .portable-dossier-strip, .shared-permalink-banner {
    display: none !important;
  }
  .audit-report-container {
    display: block !important;
    background: #fff !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .audit-section {
    background: #fff !important;
    border: 1px solid #ccc !important;
    color: #000 !important;
    page-break-inside: avoid;
  }
  .audit-content-body {
    color: #111 !important;
  }
}
