/* ===== SCAM FACTS PAGE - ARTICLE REPORT STYLE ===== */
/* Clean, text-heavy report with embedded data visualizations */

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  --facts-primary: #2563EB;
  --facts-primary-light: #3B82F6;
  --facts-primary-dark: #1D4ED8;
  --facts-accent: #F59E0B;
  --facts-danger: #EF4444;
  --facts-success: #22C55E;
  --facts-warning: #F59E0B;

  --facts-bg: #FFFFFF;
  --facts-bg-alt: #F8FAFC;
  --facts-bg-dark: #0F172A;

  --facts-text: #1E293B;
  --facts-text-secondary: #475569;
  --facts-text-muted: #64748B;
  --facts-text-light: #94A3B8;
  --facts-border: #E2E8F0;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* =====================================================
   BASE STYLES
   ===================================================== */
.facts-page {
  background: var(--facts-bg);
  font-family: var(--font-body);
}

/* =====================================================
   REPORT HERO HEADER
   ===================================================== */
.report-hero {
  padding: 120px 24px 0;
  background: var(--facts-bg-dark);
  color: white;
}

.report-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
}

.report-hero-content {
  max-width: 600px;
}

.report-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.report-badge-year {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--facts-primary-light);
  background: rgba(59, 130, 246, 0.15);
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.report-badge-type {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--facts-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.report-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.report-hero-subtitle {
  font-size: 1.125rem;
  color: var(--facts-text-light);
  line-height: 1.7;
  margin: 0 0 28px;
}

.report-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.875rem;
}

.report-author {
  color: white;
  font-weight: 500;
}

.report-divider {
  width: 4px;
  height: 4px;
  background: var(--facts-text-muted);
  border-radius: 50%;
}

.report-date {
  color: var(--facts-text-light);
}

/* Hero Stat */
.report-hero-stat {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--facts-primary-light);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  line-height: 1.4;
  margin-bottom: 12px;
}

.hero-stat-note {
  font-size: 0.8125rem;
  color: var(--facts-text-muted);
}

/* Highlights Bar */
.report-hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
  padding: 28px 24px;
  background: var(--facts-bg-dark);
  text-align: center;
}

.highlight-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.highlight-label {
  font-size: 0.8125rem;
  color: var(--facts-text-light);
}

/* =====================================================
   ARTICLE LAYOUT
   ===================================================== */
.report-main {
  min-height: 100vh;
}

.report-article {
  padding: 0 24px;
}

.report-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 0;
}

.report-section {
  margin-bottom: 56px;
}

.report-section:last-child {
  margin-bottom: 0;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.report-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--facts-text);
  margin: 0 0 24px;
  padding-top: 16px;
  letter-spacing: -0.01em;
}

.report-content h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--facts-text);
  margin: 40px 0 16px;
}

.report-content p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--facts-text-secondary);
  margin: 0 0 20px;
}

.report-content p:last-child {
  margin-bottom: 0;
}

.report-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--facts-text);
}

.report-content strong {
  color: var(--facts-text);
  font-weight: 600;
}

.report-content ul,
.report-content ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.report-content li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--facts-text-secondary);
  margin-bottom: 12px;
}

.report-content li:last-child {
  margin-bottom: 0;
}

.report-content li strong {
  color: var(--facts-text);
}

/* =====================================================
   INLINE CTA BOX
   ===================================================== */
.report-cta-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid #BFDBFE;
  border-radius: 12px;
  padding: 32px;
  margin: 48px 0;
}

.report-cta-box h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--facts-text);
  margin: 0 0 12px;
}

.report-cta-box p {
  font-size: 1rem;
  color: var(--facts-text-secondary);
  margin: 0 0 20px;
  line-height: 1.65;
}

.report-cta-box .btn {
  display: inline-flex;
}

/* =====================================================
   DATA VISUALIZATION - HORIZONTAL BAR CHART
   ===================================================== */
.report-chart {
  margin: 40px 0;
  padding: 32px;
  background: var(--facts-bg-alt);
  border-radius: 12px;
  border: 1px solid var(--facts-border);
}

.chart-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--facts-text);
  margin-bottom: 24px;
}

.bar-chart-horizontal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-row {
  display: grid;
  grid-template-columns: 60px 1fr 70px;
  align-items: center;
  gap: 16px;
}

.chart-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--facts-text-muted);
  text-align: right;
}

.chart-bar-container {
  height: 28px;
  background: #E2E8F0;
  border-radius: 6px;
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  background: var(--facts-primary);
  border-radius: 6px;
  transition: width 1s ease-out;
}

.chart-bar-primary {
  background: var(--facts-primary);
}

.chart-bar-danger {
  background: var(--facts-danger);
}

.chart-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--facts-text);
}

.chart-row-highlight .chart-label {
  color: var(--facts-text);
  font-weight: 600;
}

.chart-value-highlight {
  color: var(--facts-primary);
}

.report-chart figcaption {
  font-size: 0.8125rem;
  color: var(--facts-text-muted);
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--facts-border);
  line-height: 1.5;
}

.report-chart figcaption strong {
  color: var(--facts-text);
}

/* =====================================================
   STAT HIGHLIGHT BOX
   ===================================================== */
.stat-highlight {
  background: var(--facts-bg-alt);
  border-left: 4px solid var(--facts-primary);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
}

.stat-highlight-dark {
  background: var(--facts-bg-dark);
  border-left-color: var(--facts-primary-light);
}

.stat-highlight-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--facts-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-highlight-dark .stat-highlight-number {
  color: var(--facts-primary-light);
}

.stat-highlight-label {
  font-size: 1rem;
  color: var(--facts-text);
  line-height: 1.5;
}

.stat-highlight-dark .stat-highlight-label {
  color: #E2E8F0;
}

.stat-highlight-source {
  font-size: 0.75rem;
  color: var(--facts-text-muted);
  margin-top: 12px;
}

.stat-highlight-dark .stat-highlight-source {
  color: var(--facts-text-light);
}

/* =====================================================
   CASE STUDY BOX
   ===================================================== */
.case-study-box {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
  position: relative;
}

.case-study-label {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--facts-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
}

.case-study-box h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--facts-text);
  margin: 0 0 12px;
}

.case-study-box p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--facts-text-secondary);
  margin: 0;
}

/* =====================================================
   RECOVERY CHART (Special layout)
   ===================================================== */
.recovery-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recovery-row {
  display: grid;
  grid-template-columns: 1fr 200px 60px;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--facts-border);
}

.recovery-row:last-child {
  border-bottom: none;
}

.recovery-method {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.recovery-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--facts-text);
}

.recovery-note {
  font-size: 0.75rem;
  color: var(--facts-text-muted);
}

.recovery-bar-container {
  height: 8px;
  background: #E2E8F0;
  border-radius: 4px;
  overflow: hidden;
}

.recovery-bar {
  height: 100%;
  border-radius: 4px;
}

.recovery-bar-danger {
  background: var(--facts-danger);
}

.recovery-bar-warning {
  background: var(--facts-warning);
}

.recovery-bar-success {
  background: var(--facts-success);
}

.recovery-rate {
  font-size: 0.875rem;
  font-weight: 700;
  text-align: right;
}

.recovery-rate-danger {
  color: var(--facts-danger);
}

.recovery-rate-warning {
  color: var(--facts-warning);
}

.recovery-rate-success {
  color: var(--facts-success);
}

/* =====================================================
   SOURCES SECTION
   ===================================================== */
.report-sources {
  padding-top: 40px;
  border-top: 1px solid var(--facts-border);
}

.report-sources ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-sources li {
  padding: 12px 0;
  border-bottom: 1px solid var(--facts-border);
  font-size: 0.9375rem;
}

.report-sources li:last-child {
  border-bottom: none;
}

.report-updated {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--facts-text-muted);
  margin-top: 32px;
}

/* =====================================================
   FINAL CTA SECTION
   ===================================================== */
.report-final-cta {
  background: var(--facts-bg-dark);
  padding: 80px 24px;
  text-align: center;
}

.report-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.report-final-cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.report-final-cta p {
  font-size: 1.0625rem;
  color: var(--facts-text-light);
  line-height: 1.7;
  margin: 0 0 32px;
}

.report-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: transparent;
  border: 1px solid #475569;
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #64748B;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* =====================================================
   RESPONSIVE STYLES
   ===================================================== */
@media (max-width: 1024px) {
  .report-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .report-hero-content {
    max-width: 100%;
  }

  .report-hero-meta {
    justify-content: center;
  }

  .report-hero-stat {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-stat-number {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .report-hero {
    padding: 100px 20px 0;
  }

  .report-hero h1 {
    font-size: 2rem;
  }

  .report-hero-subtitle {
    font-size: 1rem;
  }

  .report-hero-highlights {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlight-item {
    padding: 20px 16px;
  }

  .highlight-number {
    font-size: 1.5rem;
  }

  .hero-stat-number {
    font-size: 3rem;
  }

  .report-content {
    padding: 40px 0;
  }

  .report-content h2 {
    font-size: 1.5rem;
  }

  .report-content p,
  .report-content li {
    font-size: 1rem;
  }

  .report-lead {
    font-size: 1.0625rem;
  }

  .report-chart {
    padding: 24px 20px;
    margin: 32px -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .chart-row {
    grid-template-columns: 50px 1fr 60px;
    gap: 12px;
  }

  .chart-label {
    font-size: 0.8125rem;
  }

  .chart-value {
    font-size: 0.8125rem;
  }

  .recovery-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .recovery-bar-container {
    order: 2;
  }

  .recovery-rate {
    order: 3;
    text-align: left;
  }

  .stat-highlight {
    margin: 24px -20px;
    border-radius: 0;
    border-left: none;
    border-top: 4px solid var(--facts-primary);
    padding: 20px;
  }

  .stat-highlight-number {
    font-size: 2rem;
  }

  .report-cta-box {
    margin: 32px -20px;
    border-radius: 0;
    padding: 28px 20px;
  }

  .case-study-box {
    margin: 32px -20px;
    border-radius: 0;
    padding: 28px 20px;
    border-left: none;
    border-right: none;
  }

  .case-study-label {
    left: 20px;
  }

  .report-final-cta {
    padding: 60px 20px;
  }

  .report-final-cta h2 {
    font-size: 1.5rem;
  }

  .report-cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .report-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .chart-row {
    grid-template-columns: 40px 1fr 50px;
    gap: 8px;
  }

  .chart-bar-container {
    height: 24px;
  }
}
