/* Privacy Dawg Control Center & Live Removal Portfolio Stylesheet
   Matches MUI dark-theme presentation from broker-platform Dashboard.tsx & Navigation.tsx */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --pd-page-bg: #090d16;
  --pd-card-bg: #0f172a;
  --pd-card-border: rgba(255, 255, 255, 0.08);
  --pd-input-bg: #1e293b;
  --pd-text-main: #f8fafc;
  --pd-text-muted: #94a3b8;
  --pd-text-dim: #64748b;
  --pd-accent-cyan: #38bdf8;
  --pd-accent-blue: #0284c7;
  --pd-accent-blue-hover: #0369a1;
  --pd-accent-sky: #0ea5e9;
  --pd-accent-emerald: #4ade80;
  --pd-accent-purple: #c084fc;
  --pd-accent-purple-dim: #a855f7;
  --pd-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --pd-font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --pd-font-mono: 'JetBrains Mono', monospace;
}

body.demo-shell {
  background-color: var(--pd-page-bg);
  color: var(--pd-text-main);
  font-family: var(--pd-font-sans);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Top Application Bar (Navigation matching privacydawg.netintegrate.net)
   ========================================================================== */
.pd-app-bar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: rgba(7, 10, 17, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.pd-toolbar {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.pd-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pd-brand-group:hover {
  transform: scale(1.02);
}

.pd-brand-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #0ea5e9;
  flex-shrink: 0;
}

.pd-brand-title {
  font-family: var(--pd-font-heading);
  font-weight: 800;
  color: #f8fafc;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  line-height: 1;
}

.pd-broker-badge {
  background-color: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.65rem;
  font-weight: 700;
  height: 20px;
  padding: 0 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.05em;
  font-family: var(--pd-font-sans);
}

.pd-outset-link {
  font-family: var(--pd-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  transition: all 0.2s ease;
}

.pd-outset-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.pd-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-btn-signin {
  font-family: var(--pd-font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  color: #94a3b8;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-btn-signin:hover {
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.05);
}

.pd-btn-start-optout {
  font-family: var(--pd-font-sans);
  font-weight: 700;
  font-size: 0.875rem;
  background-color: #0ea5e9;
  color: #070a11;
  border-radius: 8px;
  padding: 8px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pd-btn-start-optout:hover {
  background-color: #0284c7;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

/* Page Layout Viewport */
.dashboard-viewport {
  background-color: var(--pd-page-bg);
  min-height: calc(100vh - 64px);
  padding-top: 36px;
  padding-bottom: 80px;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header Bar */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.header-title-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dashboard-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pd-text-main);
  margin: 0;
  line-height: 1.2;
}

.verified-clean-chip {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  font-weight: 700;
  font-size: 0.7rem;
  border-radius: 16px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.02em;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-refresh {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--pd-text-main);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-refresh:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-b2b {
  background: var(--pd-accent-blue);
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-b2b:hover {
  background: var(--pd-accent-blue-hover);
}

/* Error Banner */
.dashboard-alert {
  background: #451a1a;
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: none;
  font-size: 0.875rem;
  align-items: center;
  gap: 10px;
}

/* Executive Summary Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.kpi-card {
  background: var(--pd-card-bg);
  border-radius: 16px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  transform: translateY(-2px);
}

.kpi-card-1 {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.kpi-card-2 {
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.kpi-card-3 {
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.kpi-card-4 {
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.kpi-caption {
  color: var(--pd-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.kpi-val {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-top: 4px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.kpi-val-1 {
  color: #f8fafc;
}

.kpi-val-2 {
  color: #38bdf8;
}

.kpi-val-3 {
  color: #c084fc;
}

.kpi-val-4 {
  color: #4ade80;
}

.kpi-subtext {
  font-size: 0.75rem;
  font-weight: 500;
}

.kpi-sub-1 {
  color: #38bdf8;
}

.kpi-sub-2 {
  color: #4ade80;
}

.kpi-sub-3 {
  color: #a855f7;
}

.kpi-sub-4 {
  color: #86efac;
}

/* Feature Banners */
.feature-banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.banner-card {
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.banner-card:hover {
  transform: translateY(-2px);
}

.banner-voter {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid #4338ca;
}

.banner-ftc {
  background: linear-gradient(135deg, #0c2340 0%, #0f172a 100%);
  border: 1px solid #0284c7;
}

.banner-chrome {
  background: linear-gradient(135deg, #022c22 0%, #0f172a 100%);
  border: 1px solid #059669;
}

.banner-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.banner-icon-voter {
  color: #a5b4fc;
  display: flex;
  align-items: center;
}

.banner-icon-ftc {
  color: #38bdf8;
  display: flex;
  align-items: center;
}

.banner-icon-chrome {
  color: #6ee7b7;
  display: flex;
  align-items: center;
}

.banner-title-voter {
  font-size: 1.2rem;
  font-weight: 800;
  color: #e0e7ff;
  margin: 0;
  letter-spacing: -0.01em;
}

.banner-title-ftc {
  font-size: 1.2rem;
  font-weight: 800;
  color: #f0f9ff;
  margin: 0;
  letter-spacing: -0.01em;
}

.banner-title-chrome {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ecfdf5;
  margin: 0;
  letter-spacing: -0.01em;
}

.banner-desc-voter {
  font-size: 0.85rem;
  color: #c7d2fe;
  line-height: 1.55;
  margin-bottom: 16px;
  margin-top: 0;
  flex: 1;
}

.banner-desc-ftc {
  font-size: 0.85rem;
  color: #bae6fd;
  line-height: 1.55;
  margin-bottom: 16px;
  margin-top: 0;
  flex: 1;
}

.banner-desc-chrome {
  font-size: 0.85rem;
  color: #a7f3d0;
  line-height: 1.55;
  margin-bottom: 16px;
  margin-top: 0;
  flex: 1;
}

.banner-chip-voter {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: inline-block;
  align-self: flex-start;
}

.banner-chip-ftc {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid rgba(14, 165, 233, 0.3);
  display: inline-block;
  align-self: flex-start;
}

.banner-chip-chrome {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 16px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-block;
  align-self: flex-start;
}

/* Portfolio Table Card */
.portfolio-card {
  background: var(--pd-card-bg);
  border: 1px solid var(--pd-card-border);
  border-radius: 16px;
  padding: 24px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.portfolio-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--pd-text-main);
  margin: 0;
  letter-spacing: -0.01em;
}

.portfolio-subtitle {
  font-size: 0.78rem;
  color: var(--pd-text-muted);
  margin-top: 4px;
}

.search-bar-box {
  background: var(--pd-input-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 7px 12px;
  gap: 10px;
  width: 320px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-bar-box:focus-within {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.search-icon {
  color: var(--pd-text-muted);
  display: flex;
  align-items: center;
}

.search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.875rem;
  width: 100%;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--pd-text-dim);
}

/* Table */
.table-container {
  overflow-x: auto;
  width: 100%;
}

.portfolio-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
}

.portfolio-table th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--pd-text-muted);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 14px 16px;
  text-transform: none;
  letter-spacing: normal;
}

.portfolio-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--pd-text-main);
  padding: 14px 16px;
  font-size: 0.875rem;
  vertical-align: middle;
}

.portfolio-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.broker-name-cell {
  font-weight: 700;
  color: var(--pd-text-main);
}

.broker-id-cell {
  color: #38bdf8;
  font-family: var(--pd-font-mono);
  font-size: 0.85rem;
}

/* Chips */
.tier-chip {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.status-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.status-removed {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.status-verifying {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.status-submitted,
.status-in_progress {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.status-default {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.protection-chip {
  background: rgba(2, 132, 199, 0.15);
  color: #38bdf8;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(2, 132, 199, 0.3);
  border-radius: 12px;
  padding: 3px 10px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

/* Table Footer Summary */
.table-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.78rem;
  color: var(--pd-text-muted);
}

/* Loading Spinner */
.spinner-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 0;
  gap: 14px;
  color: var(--pd-text-muted);
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(2, 132, 199, 0.2);
  border-top-color: #0284c7;
  border-radius: 50%;
  animation: pd-spin 0.8s linear infinite;
}

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

.rotating {
  animation: pd-spin 0.8s linear infinite;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .search-bar-box {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .feature-banners {
    grid-template-columns: 1fr;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .pd-broker-badge {
    display: none;
  }
  .pd-toolbar {
    padding: 0 16px;
  }
  .pd-btn-start-optout {
    padding: 7px 12px;
    font-size: 0.8125rem;
  }
  .pd-btn-signin {
    padding: 7px 10px;
    font-size: 0.8125rem;
  }
  .pd-outset-link {
    display: none;
  }
}

@media (max-width: 576px) {
  .kpi-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   Interactive Multi-Persona Showcase (Executive, Political, Family)
   ========================================================================== */
.persona-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(9, 13, 22, 0.95) 100%);
  border: 1px solid var(--pd-card-border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.persona-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.persona-heading {
  font-family: var(--pd-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.persona-explainer {
  color: var(--pd-text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  max-width: 620px;
  margin: 0;
}

.persona-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.persona-tab {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: inherit;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.persona-tab:hover {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.persona-tab.active {
  background: rgba(30, 41, 59, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.persona-tab[data-persona="executive"].active {
  border-color: #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.persona-tab[data-persona="political"].active {
  border-color: #a855f7;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
}

.persona-tab[data-persona="family"].active {
  border-color: #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.15);
}

.tab-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tab-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon-exec {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.tab-icon-pol {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.tab-icon-fam {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
}

.tab-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

.tab-badge-exec {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.tab-badge-pol {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tab-badge-fam {
  background: rgba(74, 222, 128, 0.12);
  color: #86efac;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.tab-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #f8fafc;
}

.tab-subtitle {
  font-size: 0.8rem;
  color: var(--pd-text-muted);
}

/* Persona Detail Card */
.persona-detail-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.persona-avatar-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  font-family: var(--pd-font-heading);
  flex-shrink: 0;
}

.persona-info-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.persona-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.persona-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
}

.persona-threat-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.persona-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
}

.persona-vector-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.persona-vector-tag {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--pd-font-mono);
}

.persona-action-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.btn-scan-trigger {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-scan-trigger:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
}

.persona-status-hint {
  font-size: 0.72rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ==========================================================================
   Option 4: Before / After Exposure Contrast Slider
   ========================================================================== */
.slider-section {
  margin-bottom: 40px;
}

.slider-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.slider-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.slider-title {
  font-family: var(--pd-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0;
}

.slider-toggles {
  display: flex;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.slider-toggle-btn {
  background: transparent;
  border: none;
  color: var(--pd-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.slider-toggle-btn.active {
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.exposure-slider-container {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  user-select: none;
}

.exposure-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Day 1 Exposed (Danger/Red Theme) */
.pane-before {
  background: linear-gradient(135deg, #2a0808 0%, #150808 50%, #0f172a 100%);
  border-right: 2px solid #ef4444;
  z-index: 1;
}

/* Day 14 Clean (Success/Green Theme) */
.pane-after {
  background: linear-gradient(135deg, #022c22 0%, #064e3b 50%, #0f172a 100%);
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.pane-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  width: fit-content;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-success {
  background: rgba(16, 185, 129, 0.2);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pane-headline {
  font-family: var(--pd-font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pane-before .pane-headline {
  color: #fecaca;
}

.pane-after .pane-headline {
  color: #d1fae5;
}

.pane-desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 16px;
  max-width: 600px;
}

.pane-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pane-list li {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pane-before li {
  color: #fca5a5;
}

.pane-after li {
  color: #86efac;
}

/* Slider Drag Handle */
.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 10;
  transform: translateX(-50%);
  cursor: ew-resize;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.slider-handle-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  cursor: ew-resize;
  border: 2px solid #0284c7;
}

/* ==========================================================================
   Option 5: Cryptographic SHA-256 / Merkle Receipt Modal
   ========================================================================== */
.btn-proof-row {
  background: rgba(56, 189, 248, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.btn-proof-row:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #ffffff;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.1);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

.modal-backdrop.open .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--pd-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  border-radius: 6px;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.modal-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-title-group h3 {
  font-family: var(--pd-font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 4px 0;
}

.modal-title-group .modal-subtitle {
  font-size: 0.8rem;
  color: #38bdf8;
  font-family: var(--pd-font-mono);
}

.modal-grid-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
  background: rgba(30, 41, 59, 0.4);
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.meta-field-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--pd-text-muted);
  font-weight: 700;
  margin-bottom: 3px;
}

.meta-field-value {
  font-size: 0.875rem;
  color: #f8fafc;
  font-weight: 600;
}

.proof-hash-container {
  margin-bottom: 20px;
}

.proof-hash-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.proof-hash-box {
  background: #090d16;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 12px;
  font-family: var(--pd-font-mono);
  font-size: 0.78rem;
  color: #38bdf8;
  word-break: break-all;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.btn-copy-hash {
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--pd-font-sans);
  transition: all 0.2s ease;
}

.btn-copy-hash:hover {
  background: #0284c7;
  color: #ffffff;
}

.modal-footer-guarantee {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  color: var(--pd-text-muted);
}

.badge-verified-root {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4ade80;
  font-weight: 700;
}

@media (max-width: 768px) {
  .persona-tabs {
    grid-template-columns: 1fr;
  }
  .persona-detail-card {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .persona-action-group {
    align-items: flex-start;
  }
  .exposure-pane {
    padding: 18px;
  }
  .pane-list {
    grid-template-columns: 1fr;
  }
  .exposure-slider-container {
    height: 380px;
  }
  .modal-grid-meta {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section Header Compact (Shared across new sections)
   ========================================================================== */
.section-header-compact {
  margin-bottom: 24px;
}

.section-header-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--pd-font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.section-subtext {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.55;
  max-width: 820px;
}

/* ==========================================================================
   Macro Scale & Removal Velocity Benchmarks (Column 2 Items)
   ========================================================================== */
.macro-benchmarks-section {
  margin-bottom: 32px;
}

.macro-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.macro-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.macro-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.macro-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.macro-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
}

.macro-tag-cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

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

.macro-tag-emerald {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.macro-tag-purple {
  background: rgba(192, 132, 252, 0.15);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.3);
}

.macro-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  font-family: var(--pd-font-mono);
}

.macro-number {
  font-family: var(--pd-font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.macro-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 10px;
}

.macro-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
  margin-top: auto;
}

/* ==========================================================================
   Specialized Niche Threat Database Coverage (Column 2 Kanary Model)
   ========================================================================== */
.niche-threat-section {
  margin-bottom: 36px;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.niche-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.niche-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  background: #131d35;
  transform: translateY(-2px);
}

.niche-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.niche-icon-b2b {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.niche-icon-voter {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.niche-icon-court {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.niche-icon-asset {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.niche-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.niche-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 14px 0;
}

.niche-sample-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.niche-sample-tags span {
  font-size: 0.7rem;
  font-family: var(--pd-font-mono);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
}

.btn-niche-filter {
  margin-top: auto;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  font-family: var(--pd-font-sans);
}

.btn-niche-filter:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* ==========================================================================
   Prospective Pre-Purchase Conversion Suite (Column 3 Competitor Models)
   ========================================================================== */
.conversion-hook-section {
  margin-bottom: 36px;
}

.conversion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hook-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.hook-calculator-card {
  border-left: 4px solid #0ea5e9;
}

.hook-scanner-card {
  border-left: 4px solid #4ade80;
  background: radial-gradient(circle at top right, rgba(74, 222, 128, 0.04), transparent 70%), #0f172a;
}

.hook-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.hook-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hook-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 3px 0;
}

.hook-card-subtitle {
  font-size: 0.8rem;
  color: #94a3b8;
}

.calc-form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

.calc-select {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--pd-font-sans);
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.calc-select:focus {
  border-color: #38bdf8;
}

.calc-results-box {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 16px;
  margin-top: auto;
}

.calc-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.calc-stat-label {
  font-size: 0.72rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 600;
}

.calc-stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--pd-font-heading);
}

.text-red {
  color: #fb7185;
}

.text-amber {
  color: #fbbf24;
}

.calc-progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}

.calc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 999px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-law-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

.law-tag-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.calc-law-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.calc-speed-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
}

.calc-law-text {
  font-size: 0.78rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* Scanner form */
.scanner-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scanner-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.scanner-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.scanner-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #cbd5e1;
}

.scanner-input {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--pd-font-sans);
  outline: none;
  transition: border-color 0.2s ease;
}

.scanner-input:focus {
  border-color: #4ade80;
}

.btn-scan-submit {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: var(--pd-font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-scan-submit:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.4);
}

.scan-result-box {
  background: #090d16;
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scan-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.scan-pill-exposed {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}

.scan-pill-free {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 8px;
  border-radius: 6px;
}

.scan-teaser-brokers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.teaser-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
}

.teaser-broker {
  color: #e2e8f0;
  font-weight: 600;
}

.teaser-status-green {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.7rem;
}

.teaser-item.item-locked {
  background: rgba(244, 63, 94, 0.05);
  border-color: rgba(244, 63, 94, 0.2);
  grid-column: span 2;
}

.teaser-status-lock {
  color: #fb7185;
  font-weight: 700;
  font-size: 0.72rem;
}

.scan-cta-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.btn-unlock-all {
  background: #0284c7;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-unlock-all:hover {
  background: #0369a1;
}

.scan-sub-notice {
  font-size: 0.7rem;
  color: #64748b;
  text-align: center;
}

/* ==========================================================================
   Sovereign Regulatory & Political Advocacy Architecture Section
   ========================================================================== */
.enforcement-architecture-section {
  margin-bottom: 40px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
}

.pillar-scale:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.15);
}

.pillar-advocacy:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.15);
}

.pillar-regulatory:hover {
  border-color: rgba(74, 222, 128, 0.4);
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.15);
}

.pillar-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.pillar-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box-cyan {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}

.icon-box-purple {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}

.icon-box-emerald {
  background: rgba(74, 222, 128, 0.15);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #4ade80;
}

.pillar-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.pillar-tag-cyan { color: #38bdf8; }
.pillar-tag-purple { color: #c084fc; }
.pillar-tag-emerald { color: #4ade80; }

.pillar-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #f8fafc;
}

.pillar-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.pillar-breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.breakdown-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.breakdown-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #f8fafc;
}

.breakdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-cyan { background: #38bdf8; }
.dot-purple { background: #c084fc; }
.dot-amber { background: #fbbf24; }
.dot-red { background: #fb7185; }
.dot-emerald { background: #4ade80; }

.breakdown-count {
  font-size: 0.72rem;
  color: #64748b;
  padding-left: 16px;
}

.advocacy-action-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.advocacy-feature {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px 12px;
}

.feature-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #f8fafc;
  margin-bottom: 4px;
}

.feature-icon-badge {
  font-size: 0.9rem;
}

.advocacy-feature p {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}

.regulatory-details-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.regulatory-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 8px 12px;
}

.reg-code {
  display: inline-block;
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
  border: 1px solid rgba(74, 222, 128, 0.25);
}

.regulatory-item strong {
  display: block;
  font-size: 0.82rem;
  color: #f8fafc;
  margin-bottom: 2px;
}

.regulatory-item p {
  margin: 0;
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.4;
}

.pillar-footer-stat {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}

.footer-stat-highlight {
  font-weight: 800;
  color: #f8fafc;
}

/* Responsive updates for new sections */
@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .feature-banners {
    grid-template-columns: 1fr;
  }
  .macro-metric-grid,
  .niche-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .conversion-grid,
  .funnel-dual-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .macro-metric-grid,
  .niche-grid {
    grid-template-columns: 1fr;
  }
  .scanner-input-row {
    grid-template-columns: 1fr;
  }
  .scan-teaser-brokers {
    grid-template-columns: 1fr;
  }
  .teaser-item.item-locked {
    grid-column: span 1;
  }
  .funnel-kanban-cols {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Revenue-Engine Architecture: Pre-Purchase vs. Authenticated Customer View
   ========================================================================== */
.revenue-funnel-section {
  margin-bottom: 48px;
}

.funnel-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.funnel-column {
  background: #0f172a;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.funnel-col-prepurchase {
  border-color: rgba(56, 189, 248, 0.3);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.04) 0%, #0f172a 100%);
}

.funnel-col-authview {
  border-color: rgba(74, 222, 128, 0.3);
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.04) 0%, #0f172a 100%);
}

.funnel-col-header {
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
}

.funnel-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.badge-prepurchase {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-authview {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.funnel-col-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0 0 6px;
}

.funnel-col-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

.funnel-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.funnel-item-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.funnel-item-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.funnel-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 12px;
}

.funnel-item-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.funnel-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.icon-blue { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.icon-emerald { background: rgba(74, 222, 128, 0.15); color: #4ade80; }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.funnel-item-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
}

.funnel-item-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pill-action { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.pill-active { background: rgba(74, 222, 128, 0.15); color: #4ade80; }

.funnel-item-desc {
  font-size: 0.82rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 12px;
}

.funnel-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-funnel-action {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-funnel-sky {
  background: #0284c7;
  color: #ffffff;
}
.btn-funnel-sky:hover {
  background: #0369a1;
  transform: translateY(-1px);
}

.btn-funnel-outline {
  background: transparent;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.15);
}
.btn-funnel-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.funnel-micro-proof {
  font-size: 0.72rem;
  color: #64748b;
  font-family: monospace;
}

/* Mini Kanban Preview */
.funnel-kanban-preview {
  margin-top: 10px;
  background: #0b1329;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.funnel-kanban-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.kanban-preview-col {
  background: #1e293b;
  border-radius: 8px;
  padding: 8px;
  border-top: 2px solid #38bdf8;
}

.kanban-col-sent { border-top-color: #38bdf8; }
.kanban-col-prog { border-top-color: #f59e0b; }
.kanban-col-done { border-top-color: #4ade80; }

.kanban-preview-header {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
}

.kanban-mini-card {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 0.72rem;
  margin-bottom: 4px;
}

.kanban-card-title {
  font-weight: 700;
  color: #f1f5f9;
  display: block;
}

.kanban-card-meta {
  font-size: 0.65rem;
  color: #64748b;
}

/* Mini Timeline Preview */
.funnel-timeline-preview {
  margin-top: 10px;
  background: #0b1329;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
}

.timeline-mini-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.timeline-mini-item:last-child {
  border-bottom: none;
}

.timeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  margin-top: 5px;
  flex-shrink: 0;
}

.timeline-content-text {
  color: #cbd5e1;
  line-height: 1.4;
}

.timeline-time-meta {
  color: #64748b;
  font-family: monospace;
  font-size: 0.65rem;
}

/* Jane Doe Sample Exposure Modal */
.modal-sample-report {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sample-report-box {
  background: #0f172a;
  border: 1px solid rgba(239, 68, 68, 0.4);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(239, 68, 68, 0.15);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  color: #f8fafc;
  position: relative;
}

.sample-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
}
.sample-close-btn:hover {
  color: #fff;
}

.sample-exposed-badge {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
}

.sample-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 600px) {
  .sample-cards-grid {
    grid-template-columns: 1fr;
  }
}

.sample-broker-card {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

.sample-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.sample-tag-red {
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.sample-data-item {
  font-size: 0.78rem;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.sample-cta-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
  border: 1px solid #6366f1;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

/* Quarterly Report Modal */
.modal-quarterly-report {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quarterly-report-box {
  background: #0f172a;
  border: 1px solid rgba(74, 222, 128, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  color: #f8fafc;
  position: relative;
}

.quarterly-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
}
@media (max-width: 600px) {
  .quarterly-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.quarterly-stat-card {
  background: #1e293b;
  border-radius: 10px;
  padding: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quarterly-stat-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: #4ade80;
}

.quarterly-stat-lbl {
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}
