/* The Funded Bible — Institutional Quant & Prop Execution Theme */
:root {
  --tfb-obsidian: #05070b;
  --tfb-deck: #090d14;
  --tfb-panel: #0d121c;
  --tfb-panel-hover: #121826;
  --tfb-line: rgba(255, 255, 255, 0.08);
  --tfb-line-strong: rgba(212, 175, 55, 0.36);
  --tfb-ink: #f5f7fa;
  --tfb-muted: #98a2b3;
  --tfb-gold: #d4af37;
  --tfb-gold-soft: rgba(212, 175, 55, 0.12);
  --tfb-signal: #00e676;
  --tfb-signal-soft: rgba(0, 230, 118, 0.10);
}

html {
  background-color: var(--tfb-obsidian);
  color: var(--tfb-ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

body {
  background-color: var(--tfb-obsidian);
  background-image:
    radial-gradient(circle at 18% 8%, rgba(212, 175, 55, 0.06), transparent 36%),
    radial-gradient(circle at 84% 14%, rgba(0, 230, 118, 0.04), transparent 34%),
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  color: var(--tfb-ink);
}

/* Unified Institutional Top Bar */
header,
.nav {
  background: rgba(6, 8, 13, 0.90) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.font-mono,
code,
pre,
[class*="tabular"],
.tfb-v2-price,
.tfb-hud-stat strong,
.price,
.stat-val {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-variant-numeric: tabular-nums;
}

/* Precision obsidian panels instead of generic rounded template boxes */
section,
.tfb-v2-firm-card,
.tfb-v2-prod-card,
.tfb-vip-checkout-box,
.bot-cta-box,
.tier-card,
.pricing-card,
.bot-card {
  border-radius: 10px !important;
}

.tfb-v2-prod-card,
.tfb-v2-firm-card,
.tfb-vip-checkout-box,
.bot-cta-box,
.tier-card,
.pricing-card,
.bot-card,
div[class*="bg-slate-900"][class*="border"] {
  background: linear-gradient(180deg, rgba(17, 23, 35, 0.94) 0%, rgba(9, 13, 21, 0.96) 100%) !important;
  border: 1px solid var(--tfb-line) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.45);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tfb-v2-prod-card:hover,
.tfb-v2-firm-card:hover,
.tier-card:hover,
.pricing-card:hover,
.bot-card:hover {
  transform: translateY(-2px);
  border-color: var(--tfb-line-strong) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 18px 38px rgba(0, 0, 0, 0.58);
}

/* Crisp desk action hierarchy */
.tfb-v2-cta,
.btn-green {
  border-radius: 6px !important;
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(0, 230, 118, 0.25), 0 8px 24px rgba(0, 230, 118, 0.14);
}

.tfb-v2-ghost {
  border-radius: 6px !important;
  background: rgba(15, 20, 32, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
}

/* Tables across prop comparisons, vault, and directory */
table {
  border-collapse: collapse;
}
th {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tfb-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.28);
}
td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Custom scrollbar for terminal tables and directories */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #06080d;
}
::-webkit-scrollbar-thumb {
  background: #1e2636;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}