/* Cyndicate Data - Institutional-Grade Interface
   Redesigned for trust, credibility, and conversion
   ================================================== */

/* ============================================
   CSS Custom Properties - Institutional Theme
   ============================================ */
:root {
  /* Institutional Navy Palette */
  --color-bg-primary: #0A1628;
  --color-bg-secondary: #1E293B;
  --color-bg-card: #1E293B;
  --color-bg-card-hover: #2D3A4F;
  --color-bg-elevated: #334155;

  /* Text Colors - Warm White for Readability */
  --color-text-primary: #F8FAFC;
  --color-text-secondary: #CBD5E1;
  --color-text-muted: #94A3B8;

  /* Accent Colors - Heritage Gold System */
  --color-accent-gold: #C9A227;
  --color-accent-gold-hover: #E5B82A;
  --color-accent-gold-muted: rgba(201, 162, 39, 0.15);
  /* Legacy aliases for compatibility */
  --color-accent-blue: #C9A227;
  --color-accent-green: #059669;
  --color-accent-purple: #C9A227;
  --color-accent-pink: #C9A227;

  /* Gradient Colors - Subtle and Professional */
  --gradient-primary: linear-gradient(135deg, #C9A227 0%, #E5B82A 100%);
  --gradient-secondary: linear-gradient(135deg, #059669 0%, #10B981 100%);
  --gradient-glow: linear-gradient(135deg, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.05) 100%);
  --gradient-hero: linear-gradient(180deg, #0A1628 0%, #1E293B 100%);

  /* Status Colors - Muted for Institutional Feel */
  --color-success: #059669;
  --color-warning: #D97706;
  --color-danger: #DC2626;
  --color-info: #C9A227;

  /* Border Colors */
  --color-border: rgba(148, 163, 184, 0.12);
  --color-border-hover: rgba(201, 162, 39, 0.3);
  --color-glow-gold: rgba(201, 162, 39, 0.2);
  --color-glow-green: rgba(5, 150, 105, 0.2);

  /* Typography - Professional Sans-Serif */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Spacing - 8px Base Unit */
  --space-xs: 0.25rem;   /* 4px */
  --space-sm: 0.5rem;    /* 8px */
  --space-md: 1rem;      /* 16px */
  --space-lg: 1.5rem;    /* 24px */
  --space-xl: 2rem;      /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;

  /* Transitions - Subtle, Professional */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows - Subtle and Professional */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow-gold: 0 0 20px rgba(201, 162, 39, 0.15);
  --shadow-glow-blue: 0 0 20px rgba(201, 162, 39, 0.15);
  --shadow-glow-green: 0 0 20px rgba(5, 150, 105, 0.15);
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle Background - Disabled for cleaner institutional look */
body::before {
  display: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* Selection */
::selection {
  background: rgba(0, 217, 255, 0.3);
  color: var(--color-text-primary);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  text-wrap: pretty;
}

li, blockquote, figcaption, dd {
  text-wrap: pretty;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-small {
  font-size: 0.875rem;
}

.nowrap {
  white-space: nowrap;
}

.text-large {
  font-size: 1.125rem;
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.font-mono {
  font-family: var(--font-mono);
}

/* ============================================
   Layout
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--darker,
.section--grey {
  background-color: var(--color-bg-secondary);
}

/* Section with abstract decorations */
.section--decorated {
  position: relative;
  overflow: hidden;
}

.section--decorated::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -200px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.section--decorated::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -150px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--gap {
  gap: var(--space-md);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.logo span {
  font-weight: 400;
  color: var(--color-accent-gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* ============================================
   Buttons - Institutional Gold Accent
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  letter-spacing: 0.01em;
}

/* Primary Button - Gold */
.btn--primary {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.25);
}

.btn--primary:hover {
  background: var(--color-accent-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  color: var(--color-bg-primary);
}

.btn--primary:active {
  transform: translateY(0);
}

/* Secondary Button - Outlined Gold */
.btn--secondary {
  background: transparent;
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
}

.btn--secondary:hover {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--color-accent-gold-hover);
  color: var(--color-accent-gold-hover);
}

/* Ghost Button */
.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary);
}

/* Size Variants */
.btn--large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn--xlarge {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
  border-radius: 10px;
}

.btn--small {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* Focus State for Accessibility */
.btn:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 2px;
}

/* ============================================
   Hero Section - Clean Institutional Design
   ============================================ */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
}

/* Hero Background Image */
.hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

/* Abstract Background with Gradient Orbs */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Primary Gold Orb - Top Right */
.hero__bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

/* Secondary Blue Orb - Bottom Left */
.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.03) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
}

/* Hide animated data streams - not institutional */
.data-stream {
  display: none;
}

/* ============================================
   Abstract Decorative Elements
   ============================================ */
.abstract-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.abstract-shape--circle {
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.abstract-shape--ring {
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.08);
  background: transparent;
}

/* Hero Abstract SVG Shapes */
.hero__shapes,
.hero__illustration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__illustration {
  opacity: 0.9;
}

/* Section Abstract SVG Shapes */
.section__shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  max-width: 900px;
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.hero__headline .highlight {
  color: var(--color-accent-gold);
  -webkit-text-fill-color: var(--color-accent-gold);
}

.hero__subheadline {
  font-size: 1.375rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
  max-width: 650px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

/* Live Stats */
.hero__stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: left;
}

.stat-item__value {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-item__value .counter {
  display: inline-block;
}

.stat-item__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Memberships */
.hero__memberships {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.hero__memberships-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero__memberships-logos {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.hero__memberships-logos img {
  width: 130px;
  height: auto;
  object-fit: contain;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition-base);
}

.hero__memberships-logos img:nth-child(3) {
  /* uRWA */
  width: 67px;
}

.hero__memberships-logos img:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero__memberships {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .hero__memberships-logos {
    gap: var(--space-lg);
    flex-wrap: wrap;
  }

  .hero__memberships-logos img {
    width: 100px;
  }

  .hero__memberships-logos img:nth-child(3) {
    width: 51px;
  }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
  max-width: 700px;
  margin-bottom: var(--space-3xl);
}

.section-header--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header__label {
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Simple line indicator instead of pulsing dot */
.section-header__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-accent-gold);
  border-radius: 1px;
}

.section-header--centered .section-header__label {
  justify-content: center;
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__desc {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ============================================
   Cards - Clean Institutional Style
   ============================================ */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-gold-muted);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  color: var(--color-accent-gold);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.card__text {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   Problem Section
   ============================================ */
.problem-list {
  display: grid;
  gap: var(--space-md);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: rgba(26, 31, 58, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all var(--transition-fast);
}

.problem-item:hover {
  background: rgba(26, 31, 58, 0.6);
  border-color: rgba(239, 68, 68, 0.3);
}

.problem-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-danger);
}

.problem-item__text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Gap Cards - Institutional Gap Section */
.gap-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  justify-items: center;
}

.gap-cards .gap-card:nth-child(4),
.gap-cards .gap-card:nth-child(5) {
  grid-column: span 1;
}

.gap-cards::after {
  content: '';
  grid-column: span 1;
}

.gap-card {
  background: rgba(26, 31, 58, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
  width: 100%;
  max-width: 400px;
}

.gap-card:hover {
  background: rgba(26, 31, 58, 0.6);
  border-color: var(--color-border-hover);
}

.gap-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-gold-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.gap-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-gold);
}

.gap-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.gap-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .gap-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .gap-cards .gap-card:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .gap-cards {
    grid-template-columns: 1fr;
  }

  .gap-card {
    max-width: 100%;
  }

  .gap-cards .gap-card:nth-child(5) {
    max-width: 100%;
  }
}

/* ============================================
   Dashboard Mockup Section
   ============================================ */
.dashboard-section {
  position: relative;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.property-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  transition: all var(--transition-base);
  position: relative;
}

.property-card:hover {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-md);
}

.property-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-md);
}

.property-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-xs);
}

.property-card__location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.property-card__status {
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
}

.property-card__status--active {
  background: rgba(0, 255, 136, 0.15);
  color: var(--color-accent-green);
}

.property-card__status--pending {
  background: rgba(251, 191, 36, 0.15);
  color: var(--color-warning);
}

.property-card__status--review {
  background: rgba(0, 217, 255, 0.15);
  color: var(--color-accent-blue);
}

.property-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.metric {
  text-align: left;
}

.metric__label {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-xs);
}

.metric__value {
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.metric__value--positive {
  color: var(--color-accent-green);
}

.metric__value--negative {
  color: var(--color-danger);
}

/* Risk Score */
.risk-score {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.risk-score__bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.risk-score__fill {
  height: 100%;
  border-radius: 3px;
  transition: width var(--transition-slow);
}

.risk-score__fill--low {
  background: var(--color-accent-green);
  width: 25%;
}

.risk-score__fill--medium {
  background: var(--color-warning);
  width: 55%;
}

.risk-score__fill--high {
  background: var(--color-danger);
  width: 85%;
}

/* Chart Container */
.chart-container {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.chart-container__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
}

.chart-container__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.chart-container__legend {
  display: flex;
  gap: var(--space-lg);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.legend-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-item__dot--blue {
  background: var(--color-accent-blue);
}

.legend-item__dot--green {
  background: var(--color-accent-green);
}

/* SVG Chart */
.chart-svg {
  width: 100%;
  height: 250px;
}

.chart-line {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-line--primary {
  stroke: var(--color-accent-blue);
}

.chart-line--secondary {
  stroke: var(--color-accent-green);
}

.chart-area--primary {
  fill: url(#chartGradientBlue);
}

.chart-area--secondary {
  fill: url(#chartGradientGreen);
}

.chart-grid-line {
  stroke: var(--color-border);
  stroke-dasharray: 4;
}

.chart-label {
  fill: var(--color-text-muted);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* Ticker */
.ticker-container {
  background: rgba(26, 31, 58, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.ticker {
  display: flex;
  animation: ticker 30s linear infinite;
}

.ticker:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  white-space: nowrap;
  border-right: 1px solid var(--color-border);
}

.ticker-item__name {
  font-weight: 500;
  color: var(--color-text-primary);
}

.ticker-item__value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.ticker-item__value--up {
  color: var(--color-accent-green);
}

.ticker-item__value--down {
  color: var(--color-danger);
}

.ticker-item__change {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
}

.ticker-item__change--up {
  background: rgba(0, 255, 136, 0.15);
  color: var(--color-accent-green);
}

.ticker-item__change--down {
  background: rgba(239, 68, 68, 0.15);
  color: var(--color-danger);
}

/* ============================================
   Trust Section
   ============================================ */
.trust-section {
  text-align: center;
}

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.trust-logo {
  background: rgba(26, 31, 58, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  transition: all var(--transition-fast);
  min-height: 80px;
}

.trust-logo img {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.trust-logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

.trust-logo:hover {
  background: rgba(26, 31, 58, 0.6);
  border-color: var(--color-border-hover);
}

/* ============================================
   Comparison Table
   ============================================ */
.comparison-section {
  overflow: hidden;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table thead {
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-primary);
  background: var(--color-bg-card);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.comparison-table th:first-child {
  border-top-left-radius: 16px;
}

.comparison-table th:last-child {
  border-top-right-radius: 16px;
}

.comparison-table tbody tr {
  background: rgba(26, 31, 58, 0.3);
  transition: background var(--transition-fast);
}

.comparison-table tbody tr:hover {
  background: rgba(26, 31, 58, 0.6);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.comparison-table td:first-child {
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Highlight Cyndicate column */
.comparison-table th.highlight,
.comparison-table td.highlight {
  background: rgba(201, 162, 39, 0.08);
  position: relative;
}

.comparison-table th.highlight {
  color: var(--color-accent-gold);
}

.comparison-table th.highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent-gold);
}

.check-icon {
  color: var(--color-success);
  font-weight: 600;
}

.x-icon {
  color: var(--color-text-muted);
}

.partial-icon {
  color: var(--color-warning);
}

/* ============================================
   Platform Preview Section
   ============================================ */
.platform-preview {
  position: relative;
}

.preview-container {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.preview-header {
  padding: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: center;
}

.preview-search {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.preview-search__input {
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  padding-left: 3rem;
  background: rgba(10, 14, 39, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.preview-search__input::placeholder {
  color: var(--color-text-muted);
}

.preview-search__input:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.preview-search__icon {
  position: absolute;
  left: var(--space-md);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
}

.filter-chips {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-text-secondary);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-chip:hover,
.filter-chip--active {
  background: rgba(201, 162, 39, 0.1);
  border-color: var(--color-accent-gold);
  color: var(--color-accent-gold);
}

.preview-results {
  padding: var(--space-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.preview-result-card {
  background: rgba(10, 14, 39, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--space-lg);
  filter: blur(3px);
  transition: filter var(--transition-base);
}

.preview-result-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.preview-result-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.preview-result-card__stats {
  display: flex;
  gap: var(--space-lg);
}

.preview-result-card__stat {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Overlay */
.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(10, 14, 39, 0.95) 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: var(--space-3xl);
  text-align: center;
}

.preview-overlay__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.preview-overlay__text {
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 400px;
}

/* Preview Table Styles */
.preview-container--table {
  padding: 0;
}

.preview-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.preview-table-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.preview-table-header__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.preview-table-badge {
  background: rgba(201, 162, 39, 0.15);
  color: var(--color-accent-gold);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.preview-table-wrapper {
  overflow-x: auto;
  padding: 0;
}

.preview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.preview-table th {
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  background: rgba(10, 14, 39, 0.5);
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.preview-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  white-space: nowrap;
}

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

.preview-table .highlight-value {
  color: var(--color-accent-gold);
  font-weight: 600;
}

.preview-table .tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.preview-table .tag--blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.blurred-text {
  filter: blur(4px);
  user-select: none;
  opacity: 0.7;
}

/* ============================================
   Audience Section
   ============================================ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.audience-item {
  text-align: center;
  padding: var(--space-xl);
  background: rgba(26, 31, 58, 0.3);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all var(--transition-base);
}

.audience-item:hover {
  background: rgba(26, 31, 58, 0.6);
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
}

.audience-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  background: var(--color-accent-gold-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-gold);
}

.audience-item__icon svg {
  width: 32px;
  height: 32px;
}

.audience-item__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

/* Participant Cards - Market Participants Section */
.participant-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.participant-card {
  background: rgba(26, 31, 58, 0.5);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.participant-card:hover {
  background: rgba(26, 31, 58, 0.7);
  border-color: var(--color-border-hover);
  transform: translateY(-4px);
}

.participant-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent-gold-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.participant-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent-gold);
}

.participant-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.participant-card__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  flex-grow: 1;
}

.participant-card__cta {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  border: 1px solid var(--color-accent-gold);
  border-radius: 8px;
  color: var(--color-accent-gold);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.participant-card__cta:hover {
  background: var(--color-accent-gold-muted);
  color: var(--color-accent-gold);
}

@media (max-width: 1024px) {
  .participant-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .participant-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .participant-cards {
    grid-template-columns: 1fr;
  }

  .participant-card:last-child {
    max-width: 100%;
  }
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  text-align: center;
  padding: var(--space-5xl) 0;
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  position: relative;
  overflow: hidden;
}

/* Central Glow */
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.1) 0%, rgba(201, 162, 39, 0.03) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Secondary Accent */
.cta-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(201, 162, 39, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section__title {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
  position: relative;
}

.cta-section__desc {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* ============================================
   Security Badges
   ============================================ */
.security-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-2xl);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: rgba(26, 31, 58, 0.4);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.security-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent-gold);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer__logo span {
  color: var(--color-accent-gold);
}

.footer__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-accent-blue);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.footer__legal {
  display: flex;
  gap: var(--space-lg);
}

.footer__legal a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-accent-blue);
}

/* ============================================
   Page Headers
   ============================================ */
.page-header {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.page-header__bg svg {
  position: absolute;
  width: 100%;
  height: 100%;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.page-header__desc {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: 0;
}

/* ============================================
   Forms
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}

.form-label--required::after {
  content: ' *';
  color: var(--color-danger);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: rgba(26, 31, 58, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ba1b0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ============================================
   Tags
   ============================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary);
}

.tag--blue {
  background-color: rgba(0, 217, 255, 0.15);
  color: var(--color-accent-blue);
}

.tag--green {
  background-color: rgba(0, 255, 136, 0.15);
  color: var(--color-accent-green);
}

.tag--yellow {
  background-color: rgba(251, 191, 36, 0.15);
  color: var(--color-warning);
}

.tag--red {
  background-color: rgba(239, 68, 68, 0.15);
  color: var(--color-danger);
}

.tag--purple {
  background-color: rgba(168, 85, 247, 0.15);
  color: var(--color-accent-purple);
}

/* ============================================
   Data Tables
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.data-table th,
.data-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: rgba(26, 31, 58, 0.4);
  text-transform: uppercase;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
}

.data-table tbody tr {
  transition: background var(--transition-fast);
}

.data-table tbody tr:hover {
  background-color: rgba(26, 31, 58, 0.4);
}

/* ============================================
   Scroll Animations
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }

/* ============================================
   Skeleton Loading
   ============================================ */
.skeleton {
  background: linear-gradient(90deg, var(--color-bg-card) 25%, var(--color-bg-elevated) 50%, var(--color-bg-card) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================
   Cursor Trail - Disabled for Institutional Feel
   ============================================ */
.cursor-trail {
  display: none; /* Disabled - not appropriate for institutional design */
}

/* ============================================
   Utility Classes
   ============================================ */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
  .trust-logos {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .preview-results {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }

  .hero__headline {
    font-size: 3rem;
  }

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

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

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

  .trust-logos {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero__headline {
    font-size: 2.25rem;
  }

  .hero__subheadline {
    font-size: 1.125rem;
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-xl);
  }

  /* Hide membership logos on mobile */
  .hero__memberships {
    display: none;
  }

  /* Full-screen mobile navigation */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    background: rgba(10, 14, 39, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-2xl);
    padding-top: var(--space-3xl);
    gap: var(--space-lg);
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    z-index: 999;
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    font-size: 1.5rem;
    font-weight: 600;
    padding: var(--space-md) 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__signin {
    font-size: 1.25rem;
    font-weight: 500;
    padding: var(--space-md) 0;
    width: 100%;
    text-align: center;
    color: var(--color-text-secondary);
    border-bottom: 1px solid var(--color-border);
  }

  .nav__cta {
    margin-left: 0;
    margin-top: auto;
    margin-bottom: var(--space-2xl);
    font-size: 1.125rem;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
  }

  /* Fix dual CTA sections (insights.html and about.html) */
  .dual-cta-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  .dual-cta-card {
    width: 100% !important;
    max-width: none !important;
  }

  /* Fix form grids on mobile */
  .form-row-grid {
    grid-template-columns: 1fr !important;
  }

  /* Stack newsletter form on mobile */
  .newsletter-form {
    flex-direction: column !important;
  }

  .newsletter-form .btn {
    width: 100% !important;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .page-header__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-3xl) 0;
  }

  .trust-logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .preview-results {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.8125rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: var(--space-md) var(--space-sm);
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero__headline {
    font-size: 1.875rem;
  }

  .stat-item__value {
    font-size: 1.5rem;
  }

  .trust-logos {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Sticky CTA Bar
   ============================================ */
.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.sticky-cta__text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.sticky-cta__text strong {
  color: var(--color-text-primary);
}

/* ============================================
   Sign-In Modal
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: var(--space-xl);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal__header {
  padding: var(--space-xl) var(--space-xl) 0;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
}

.modal__close:focus {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
}

.modal__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.modal__subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.modal__body {
  padding: var(--space-xl);
}

.modal__footer {
  padding: 0 var(--space-xl) var(--space-xl);
  text-align: center;
}

.modal__footer-text {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.modal__footer-text a {
  color: var(--color-accent-blue);
}

/* Sign-in specific */
.signin-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
}

.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border);
}

.email-verification-notice {
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 10px;
  padding: var(--space-md);
  margin-bottom: var(--space-lg);
}

.email-verification-notice p {
  font-size: 0.8125rem;
  color: var(--color-accent-gold);
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.email-verification-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================
   Exit Intent Modal
   ============================================ */
.exit-modal .modal {
  max-width: 480px;
}

.exit-modal__icon {
  width: 64px;
  height: 64px;
  background: var(--color-accent-gold-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-accent-gold);
}

.exit-modal__icon svg {
  width: 32px;
  height: 32px;
}

/* ============================================
   Mid-Page CTA Block
   ============================================ */
.midpage-cta {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, rgba(201, 162, 39, 0.02) 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 16px;
  padding: var(--space-3xl);
  text-align: center;
  margin: var(--space-3xl) 0;
}

.midpage-cta__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.midpage-cta__text {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.midpage-cta__microcopy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* ============================================
   Trust Chips
   ============================================ */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.trust-chip {
  padding: 0.5rem 1rem;
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ============================================
   Hero Microcopy
   ============================================ */
.hero__trust-line {
  font-size: 0.875rem;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero__trust-line svg {
  width: 16px;
  height: 16px;
}

.hero__microcopy {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

/* ============================================
   Form Improvements
   ============================================ */
.form-header {
  margin-bottom: var(--space-xl);
}

.form-header__time {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-accent-green);
  margin-bottom: var(--space-sm);
}

.form-header__time svg {
  width: 14px;
  height: 14px;
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid rgba(0, 255, 136, 0.1);
  border-radius: 10px;
}

.form-privacy svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--color-accent-green);
  margin-top: 2px;
}

.form-success {
  text-align: center;
  padding: var(--space-3xl);
}

.form-success__icon {
  width: 72px;
  height: 72px;
  background: rgba(0, 255, 136, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  color: var(--color-accent-green);
}

.form-success__icon svg {
  width: 36px;
  height: 36px;
}

.form-success__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.form-success__text {
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Form validation */
.form-input.error,
.form-select.error {
  border-color: var(--color-danger);
}

.form-input.error:focus,
.form-select.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-error {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: var(--color-danger);
  margin-top: var(--space-xs);
}

.form-error svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ============================================
   Sign-In Button in Nav
   ============================================ */
.nav__signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-sm) var(--space-md);
  transition: color var(--transition-fast);
}

.nav__signin:hover {
  color: var(--color-text-primary);
}

.nav__signin:focus {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }

  .header,
  .footer,
  .hero__bg,
  .cursor-trail,
  .sticky-cta,
  .modal-overlay {
    display: none;
  }

  .card,
  .property-card {
    border: 1px solid #ccc;
    background: white;
  }
}

/* ============================================
   Mobile Adjustments for New Components
   ============================================ */
@media (max-width: 768px) {
  .sticky-cta__text {
    display: none;
  }

  .sticky-cta__inner {
    justify-content: flex-end;
  }

  .modal {
    margin: var(--space-md);
    max-height: calc(100vh - var(--space-xl) * 2);
  }

  .midpage-cta {
    padding: var(--space-2xl);
  }

  .midpage-cta__title {
    font-size: 1.5rem;
  }

  .trust-chips {
    gap: var(--space-xs);
  }

  .trust-chip {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* ============================================
   Subpage Components (Dark Theme)
   ============================================ */

/* Card Variants */
.card--bordered {
  border: 1px solid var(--color-border);
}

/* Content Block (for lists) */
.content-block {
  color: var(--color-text-secondary);
}

.content-block li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  padding-left: var(--space-lg);
}

.content-block li:last-child {
  border-bottom: none;
}

.content-block li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent-blue);
  border-radius: 50%;
}

/* Feature Section */
.feature-section {
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-3xl);
}

.feature-section__header {
  max-width: 700px;
  margin-bottom: var(--space-2xl);
}

.feature-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.feature-section__desc {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Solution Blocks */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
}

.solution-block__content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--color-text-primary);
}

.solution-block__content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.solution-block__features {
  margin-top: var(--space-lg);
}

.solution-block__features li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--color-text-secondary);
}

.solution-block__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-green);
  font-weight: 600;
}

.solution-block__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.solution-block__visual-placeholder {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-3xl);
  text-align: center;
  color: var(--color-text-muted);
}

.solution-block__visual-placeholder svg {
  opacity: 0.5;
  color: var(--color-accent-blue);
}

.solution-block__visual-placeholder p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.process-step {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-bg-primary);
}

.process-step__content {
  flex: 1;
}

.process-step__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.process-step__desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Disclosure Sections (Methodology) */
.disclosure-section {
  padding-bottom: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border);
}

.disclosure-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.disclosure-section__header {
  margin-bottom: var(--space-xl);
}

.disclosure-section__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

.disclosure-section__body h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--color-text-primary);
}

.disclosure-section__body p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.disclosure-section__body ul {
  margin-top: var(--space-md);
}

.disclosure-section__body li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  color: var(--color-text-secondary);
}

.disclosure-section__body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-accent-blue);
}

/* Article Cards */
.article-card {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.article-card__category {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-blue);
  margin-bottom: var(--space-sm);
}

.article-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-card__title a {
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.article-card__title a:hover {
  color: var(--color-accent-blue);
}

.article-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.article-card__meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

/* Deal Cards (Sample Data) */
.deal-card {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.deal-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-lg);
}

.deal-card__header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.deal-card__id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-accent-blue);
  margin-bottom: var(--space-xs);
}

.deal-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0;
}

.deal-card__body {
  padding: var(--space-lg);
}

.deal-card__row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.deal-card__row:last-of-type {
  border-bottom: none;
}

.deal-card__label {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.deal-card__value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.deal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.deal-card__footer {
  padding: var(--space-lg);
  background: rgba(10, 14, 39, 0.4);
  border-top: 1px solid var(--color-border);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--space-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline__item {
  position: relative;
  padding-bottom: var(--space-md);
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__dot {
  position: absolute;
  left: calc(-1 * var(--space-lg) + 0);
  top: 4px;
  width: 8px;
  height: 8px;
  background: var(--color-accent-blue);
  border-radius: 50%;
}

.timeline__date {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.timeline__content {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Form Hint */
.form-hint {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  margin-bottom: 0;
}

/* Active Nav Link */
.nav__link--active {
  color: var(--color-text-primary);
}

.nav__link--active::after {
  transform: scaleX(1);
}

/* Responsive for subpage components */
@media (max-width: 768px) {
  .solution-block {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .solution-block__visual {
    order: -1;
  }

  .process-step {
    flex-direction: column;
    gap: var(--space-md);
  }

  .feature-section__title,
  .disclosure-section__title {
    font-size: 1.5rem;
  }
}

/* ============================================
   Private Equity Markets Page
   ============================================ */

/* Page Header with Download */
.page-header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.pt-0 { padding-top: 0; }

/* Stat Cards */
.pe-stats-grid { gap: var(--space-lg); }

.pe-stat-card {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: var(--space-xl);
}

.pe-stat-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
}

.pe-stat-card__label {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.pe-stat-card__value {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.pe-stat-card__bar {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.pe-stat-card__bar-fill {
  height: 100%;
  background: var(--color-accent-green);
  border-radius: 2px;
}

.pe-info-btn {
  background: none;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast);
}

.pe-info-btn:hover { color: var(--color-accent-blue); }

/* Chart Cards */
.pe-chart-card {
  background: rgba(26, 31, 58, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
}

.pe-chart-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.pe-chart-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.pe-chart-card__title-icon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-primary);
}

.pe-chart-card__title-icon svg { color: var(--color-accent-blue); }

.pe-chart-subtitle {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  padding: 0 var(--space-lg);
}

.pe-chart-card__body {
  padding: var(--space-lg);
}

.pe-donut-container {
  display: flex;
  justify-content: center;
  max-height: 200px;
}

/* Chart Tabs */
.pe-chart-tabs {
  display: flex;
  gap: var(--space-xs);
}

.pe-chart-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pe-chart-tab:hover { border-color: var(--color-border-hover); }

.pe-chart-tab--active {
  background: rgba(0, 217, 255, 0.1);
  border-color: var(--color-accent-blue);
  color: var(--color-accent-blue);
}

/* Chart Legend */
.pe-chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.pe-chart-legend--vertical {
  flex-direction: column;
  gap: var(--space-sm);
}

.pe-legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.pe-legend-item strong {
  color: var(--color-text-primary);
  margin-left: auto;
}

.pe-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Horizontal Bar Charts */
.pe-bar-chart {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.pe-bar-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.pe-bar-label {
  flex: 0 0 120px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pe-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.pe-bar-fill {
  height: 100%;
  background: var(--color-accent-blue);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.pe-bar-fill--apy { background: var(--color-accent-blue); }
.pe-bar-fill--na { background: var(--color-text-muted); }

.pe-bar-value {
  flex: 0 0 40px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-primary);
  text-align: right;
}

.pe-bar-value--apy { color: var(--color-accent-blue); }
.pe-bar-value--na { color: var(--color-text-muted); }

.pe-bar-chart--apy .pe-bar-label { flex: 0 0 180px; }

/* Tables */
.pe-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.pe-table-header__left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.pe-table-header__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.pe-table-badge {
  background: rgba(0, 217, 255, 0.15);
  color: var(--color-accent-blue);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pe-table-badge--muted {
  background: rgba(255,255,255,0.1);
  color: var(--color-text-muted);
}

.pe-table-wrapper {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.pe-table-wrapper--scroll { overflow-x: auto; }

.pe-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.pe-table th,
.pe-table td {
  padding: var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

.pe-table th {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  background: rgba(26, 31, 58, 0.8);
  position: sticky;
  top: 0;
}

.pe-table th.sortable {
  cursor: pointer;
  user-select: none;
}

.pe-table th.sortable:hover { color: var(--color-accent-blue); }

.pe-table th.sort-asc::after { content: ' ▲'; font-size: 0.6rem; }
.pe-table th.sort-desc::after { content: ' ▼'; font-size: 0.6rem; }

.pe-table tbody tr {
  background: rgba(26, 31, 58, 0.4);
  transition: background var(--transition-fast);
}

.pe-table tbody tr:hover { background: rgba(26, 31, 58, 0.7); }
.pe-table tbody tr:last-child td { border-bottom: none; }

.pe-table .text-right { text-align: right; }

.pe-link {
  color: var(--color-accent-blue);
  font-weight: 500;
}

.pe-link:hover { text-decoration: underline; }

.pe-lock { opacity: 0.5; }

.pe-apy, .pe-irr { color: var(--color-accent-green); font-weight: 500; }

.pe-value-highlight {
  color: var(--color-accent-blue);
  font-weight: 600;
}

.pe-region-icon {
  color: var(--color-accent-blue);
  margin-right: var(--space-xs);
}

/* Grid variant for 60/40 split */
.grid--2-1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid--2-1 { grid-template-columns: 1fr; }
  .pe-bar-chart--apy .pe-bar-label { flex: 0 0 140px; }
}

@media (max-width: 768px) {
  .pe-stat-card__value { font-size: 2rem; }
  .pe-bar-label { flex: 0 0 100px; font-size: 0.75rem; }
  .pe-bar-chart--apy .pe-bar-label { flex: 0 0 100px; }
  .page-header__top { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   Dual CTA Cards - Responsive
   ============================================ */
@media (max-width: 900px) {
  .section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* Platform Metrics - Responsive */
@media (max-width: 600px) {
  .platform-metrics {
    flex-wrap: wrap !important;
    gap: 1.5rem !important;
  }
  .platform-metrics > div {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
