/* ========================================
   MyPropGenius - Global Styles
   ======================================== */

/* === CSS RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === CSS VARIABLES === */
:root {
  /* Brand Colors */
  --orange: #ff7a00;
  --orange-bright: #ff9500;
  --orange-dark: #e56b00;
  --orange-glow: rgba(255, 122, 0, 0.5);
  --orange-subtle: rgba(255, 122, 0, 0.1);
  
  --blue: #0ea5e9;
  --blue-glow: rgba(14, 165, 233, 0.4);
  --blue-subtle: rgba(14, 165, 233, 0.1);
  
  --violet: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.4);
  
  /* Semantic Colors */
  --success: #22c55e;
  --success-subtle: rgba(34, 197, 94, 0.1);
  --warning: #eab308;
  --danger: #ef4444;
  --danger-subtle: rgba(239, 68, 68, 0.1);
  
  /* Dark Theme */
  --bg-primary: #030508;
  --bg-secondary: #0a0d12;
  --bg-elevated: #11151c;
  --bg-card: #161a22;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.15);
  
  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-muted: #475569;
  
  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Spacing */
  --header-height: 72px;
  --container-max: 1280px;
  --container-narrow: 800px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 8px 32px var(--orange-glow);
  --shadow-blue: 0 8px 32px var(--blue-glow);
}

/* === BASE STYLES === */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { color: var(--text-secondary); }

.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-blue {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-lg {
  padding: 120px 0;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(3, 5, 8, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-base);
}

.header.scrolled {
  background: rgba(3, 5, 8, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 0 25px var(--orange-glow);
  transition: var(--transition-base);
}

.logo:hover .logo-mark {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--orange-glow);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: white;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.nav-link.active {
  color: var(--orange);
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--orange-subtle);
  color: var(--orange);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  color: var(--text-primary);
  border-radius: 8px;
}

/* Mobile Menu Overlay - Hidden by default */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 320px;
  height: 100%;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-subtle);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active .mobile-menu {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
}

.mobile-menu-close:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.mobile-nav {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  display: block;
  padding: 14px 16px;
  color: var(--text-secondary);
  font-size: 1rem;
  border-radius: 10px;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.mobile-nav-cta {
  background: var(--orange);
  color: #000;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.mobile-nav-cta:hover {
  background: var(--orange-bright);
  color: #000;
}

.mobile-menu-toggle:hover {
  background: var(--border-subtle);
}

/* === FOOTER === */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--orange);
}

.footer-disclaimer {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.1);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-disclaimer strong {
  color: var(--text-tertiary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  transition: var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  color: #000;
  font-weight: 700;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--orange-glow);
}

.btn-secondary {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--orange);
  background: var(--orange-subtle);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  transition: var(--transition-base);
}

.card:hover {
  border-color: var(--border-light);
}

.card-elevated {
  background: var(--bg-elevated);
}

.card-interactive:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-orange {
  background: var(--orange-subtle);
  color: var(--orange);
  border: 1px solid rgba(255, 122, 0, 0.25);
}

.badge-blue {
  background: var(--blue-subtle);
  color: var(--blue);
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.badge-success {
  background: var(--success-subtle);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-danger {
  background: var(--danger-subtle);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

/* === FORM ELEMENTS === */
.input {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  outline: none;
  transition: var(--transition-fast);
}

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

.input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-subtle);
}

.input-group {
  display: flex;
  gap: 12px;
}

.input-group .input {
  flex: 1;
}

/* === TABLES === */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  background: var(--bg-secondary);
}

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

.table tr:hover td {
  background: var(--bg-secondary);
}

/* === RATING STARS === */
.rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.rating-star {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

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

.rating-value {
  margin-left: 8px;
  font-weight: 600;
  color: var(--text-primary);
}

/* === TAGS === */
.tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  border-radius: 6px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* === PROGRESS BAR === */
.progress {
  height: 8px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--blue));
  border-radius: 100px;
  transition: width var(--transition-slow);
}

/* === TOOLTIPS === */
.tooltip {
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 12px;
  font-size: 0.8rem;
  color: var(--text-primary);
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.gap-xl { gap: 32px; }

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

.mt-sm { margin-top: 8px; }
.mt-md { margin-top: 16px; }
.mt-lg { margin-top: 24px; }
.mt-xl { margin-top: 32px; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 16px; }
.mb-lg { margin-bottom: 24px; }
.mb-xl { margin-bottom: 32px; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-in { animation: fadeIn 0.5s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-brand p {
    max-width: 400px;
    margin: 12px auto 0;
  }
  
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  
  .container { padding: 0 24px; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }
  
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
  
  * {
    box-sizing: border-box;
  }
  
  .section { padding: 40px 0; }
  .container { padding: 0 16px; max-width: 100%; width: 100%; }
  
  /* Navigation */
  .nav { display: none; }
  .mobile-menu-toggle { display: flex; align-items: center; justify-content: center; }
  
  /* Header */
  .header { padding: 0 16px; }
  .logo-text { font-size: 1rem; }
  .logo-mark { width: 32px; height: 32px; font-size: 0.7rem; }
  
  /* Typography scaling */
  h1 { font-size: 1.5rem; line-height: 1.2; word-wrap: break-word; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  p { font-size: 0.9rem; line-height: 1.6; }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; margin: 12px auto 0; font-size: 0.85rem; }
  
  .footer-column { text-align: center; }
  .footer-heading { font-size: 0.7rem; margin-bottom: 12px; }
  .footer-link { font-size: 0.85rem; padding: 6px 0; }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  
  .footer-disclaimer {
    font-size: 0.75rem;
    padding: 16px;
  }
  
  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  
  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
    text-align: center;
    justify-content: center;
  }
  
  .btn-full-mobile {
    width: 100%;
  }
  
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  /* Cards */
  .card {
    padding: 16px;
    border-radius: 12px;
  }
  
  /* Hero sections */
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  /* Stats */
  .stat-card {
    padding: 14px;
  }
  
  .stat-value {
    font-size: 1rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  /* Forms */
  input, select, textarea {
    font-size: 16px; /* Prevents iOS zoom */
    padding: 12px;
  }
  
  /* Tables - horizontal scroll */
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 0 16px;
  }
  
  table {
    min-width: 600px;
  }
  
  /* Images */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Review pages */
  .review-header {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 16px;
  }
  
  .review-rating-box {
    width: 100%;
  }
  
  .review-logo {
    width: 64px;
    height: 64px;
    font-size: 1.1rem;
  }
  
  .review-name {
    font-size: 1.5rem;
  }
  
  .review-meta {
    justify-content: center;
    font-size: 0.8rem;
  }
  
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .pros-cons {
    grid-template-columns: 1fr;
  }
  
  /* Hub page */
  .firm-card {
    padding: 16px;
  }
  
  .firm-name {
    font-size: 1rem;
  }
  
  /* Compare page */
  .compare-table {
    font-size: 0.8rem;
  }
  
  /* Breadcrumbs */
  .breadcrumb {
    padding: 80px 0 16px;
    font-size: 0.8rem;
  }
  
  .breadcrumb-list {
    flex-wrap: wrap;
    gap: 4px;
  }
  
  /* Page heroes (shared by guides, best-of, about, contact) */
  .page-hero {
    padding: 16px 0 32px;
  }
  
  .page-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
  }
  
  .page-meta {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
  }
  
  /* Article content (guides, about) */
  .article-content {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .article-content h2 {
    font-size: 1.3rem;
    margin: 36px 0 16px;
  }
  
  .article-content h3 {
    font-size: 1.1rem;
    margin: 24px 0 12px;
  }
  
  /* Callout boxes (guides) */
  .tip-box,
  .warning-box,
  .info-box {
    padding: 18px;
    border-radius: 14px;
    margin: 24px 0;
  }
  
  .quote-box {
    padding: 16px 18px;
    margin: 24px 0;
  }
  
  /* CTA boxes (shared by guides, best-of, about, contact) */
  .cta-box {
    padding: 32px 20px;
    border-radius: 20px;
  }
  
  .cta-title {
    font-size: 1.3rem;
  }
  
  .cta-text {
    font-size: 0.9rem;
  }
  
  /* TOC (guides) */
  .toc {
    padding: 18px;
    border-radius: 14px;
  }
  
  /* Review content */
  .review-content {
    padding: 0 16px 60px;
  }
  
  .review-content h2.review-h2 {
    font-size: 1.35rem;
    margin: 36px 0 14px;
  }
  
  .review-content h3.review-h3 {
    font-size: 1.15rem;
    margin: 24px 0 10px;
  }
  
  .review-content p {
    font-size: 0.95rem;
  }
  
  .review-table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .review-table th,
  .review-table td {
    padding: 10px 12px;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  
  .hero-rating {
    font-size: 0.9rem;
  }
  
  /* Standard review pages (178+ pages) */
  .review-section {
    margin-bottom: 32px;
  }
  
  .review-section h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
  
  .review-tagline {
    font-size: 0.9rem;
  }
  
  .rating-score {
    font-size: 2rem;
  }
  
  .rating-label {
    font-size: 0.75rem;
  }
  
  .content-wrapper {
    padding: 0 16px;
  }
  
  .pros-cons-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact page */
  .contact-card {
    padding: 24px;
  }
  
  .contact-icon {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    margin-bottom: 16px;
  }
  
  .faq-section {
    padding: 28px 20px;
    border-radius: 18px;
  }
  
  /* Best-of pages */
  .firms-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .filter-bar {
    padding: 18px;
    border-radius: 14px;
  }
  
  .filter-row {
    flex-direction: column;
  }
  
  .filter-group {
    width: 100%;
    min-width: unset;
  }
  
  .filter-select {
    font-size: 16px; /* prevent iOS zoom */
  }
  
  /* Guides index */
  .guides-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-guide {
    grid-template-columns: 1fr;
  }
  
  .guide-card {
    padding: 22px;
  }
  
  /* Legal pages */
  .legal-content {
    padding: 90px 16px 60px;
  }
  
  .legal-content h1 {
    font-size: 1.75rem;
  }
  
  .legal-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 14px;
  }
  
  /* Newsletter */
  .newsletter-box {
    padding: 22px 18px;
    border-radius: 16px;
  }
  
  /* Affiliate CTA */
  .affiliate-cta-box {
    padding: 20px;
    border-radius: 16px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  
  h1 { font-size: 1.35rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1rem; }
  
  .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .card {
    padding: 14px;
    border-radius: 10px;
  }
  
  .footer-grid {
    gap: 20px;
  }
  
  .footer-links {
    gap: 6px;
  }
  
  .footer-link {
    padding: 5px 0;
    font-size: 0.8rem;
  }
  
  .quick-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  
  .stat-card {
    padding: 12px;
  }
  
  .stat-value {
    font-size: 0.9rem;
  }
  
  .review-name {
    font-size: 1.3rem;
  }
  
  .breadcrumb {
    padding: 75px 0 12px;
    font-size: 0.75rem;
  }
  
  /* Page heroes */
  .page-hero {
    padding: 12px 0 24px;
  }
  
  .page-badge {
    padding: 6px 12px;
    font-size: 0.7rem;
    margin-bottom: 18px;
  }
  
  /* CTA boxes */
  .cta-box {
    padding: 28px 16px;
    border-radius: 18px;
  }
  
  .cta-title {
    font-size: 1.15rem;
  }
  
  /* Review content */
  .review-content {
    padding: 0 12px 48px;
  }
  
  .review-content h2.review-h2 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
  }
  
  .review-content blockquote {
    padding: 14px 16px;
    margin: 18px 0;
  }
  
  .review-cta a {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
  
  /* Standard review pages */
  .review-section h2 {
    font-size: 1.2rem;
  }
  
  .rating-score {
    font-size: 1.75rem;
  }
  
  .review-rating-box {
    padding: 18px;
  }
  
  .review-logo {
    width: 56px;
    height: 56px;
    font-size: 0.85rem;
  }
  
  .content-wrapper {
    padding: 0 12px;
  }
  
  /* Callout boxes */
  .tip-box,
  .warning-box,
  .info-box {
    padding: 16px;
    border-radius: 12px;
    margin: 20px 0;
  }
  
  /* Contact page */
  .contact-card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .faq-section {
    padding: 22px 16px;
    border-radius: 16px;
  }
  
  .faq-question {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  
  .faq-answer p {
    padding: 0 16px 14px;
    font-size: 0.88rem;
  }
  
  /* Legal */
  .legal-content {
    padding: 84px 12px 48px;
  }
  
  .legal-content h1 {
    font-size: 1.5rem;
  }
  
  /* Newsletter */
  .newsletter-box {
    padding: 18px 14px;
    border-radius: 14px;
  }
  
  /* Affiliate CTA */
  .affiliate-cta-box {
    padding: 18px;
    border-radius: 14px;
  }
  
  .affiliate-cta-title {
    font-size: 1.05rem;
  }
  
  /* Filter bar */
  .filter-bar {
    padding: 14px;
    border-radius: 12px;
  }
}

/* Very small phones (iPhone SE, etc) */
@media (max-width: 360px) {
  .container { padding: 0 10px; }
  
  h1 { font-size: 1.2rem; }
  h2 { font-size: 1.1rem; }
  
  .logo-text { display: none; }
  
  .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .quick-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-heading {
    font-size: 0.65rem;
  }
  
  .footer-link {
    font-size: 0.75rem;
  }
  
  /* CTA boxes */
  .cta-box {
    padding: 24px 14px;
  }
  
  /* Review */
  .review-content {
    padding: 0 10px 40px;
  }
  
  .content-wrapper {
    padding: 0 10px;
  }
  
  .review-section h2 {
    font-size: 1.1rem;
  }
  
  .rating-score {
    font-size: 1.5rem;
  }
  
  /* Legal */
  .legal-content {
    padding: 78px 10px 40px;
  }
  
  .legal-content h1 {
    font-size: 1.35rem;
  }
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-elevated);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* === SELECTION === */
::selection {
  background: var(--orange);
  color: white;
}

/* === FOCUS STYLES (Accessibility) === */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 8px;
}

.nav-link:focus-visible,
.nav-dropdown-item:focus-visible {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.faq-question:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
}

.similar-firm-card:focus-visible {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px var(--orange-glow);
}

/* === SKIP TO CONTENT (Accessibility) === */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--orange);
  color: white;
  font-weight: 600;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-to-content:focus {
  top: 0;
}

/* ========================================
   NEW COMPONENTS — Feb 2026 Update
   ======================================== */

/* === NEWSLETTER BAR === */
.newsletter-bar {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 20px;
  padding: 28px 32px;
  margin: 40px 0;
}

.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.newsletter-desc {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.newsletter-input {
  padding: 12px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  min-width: 240px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--orange);
}

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

.newsletter-btn {
  padding: 12px 24px;
  background: var(--orange);
  border: none;
  border-radius: 10px;
  color: #000;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  font-family: inherit;
}

.newsletter-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.newsletter-success {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  padding: 8px 0 0;
  color: var(--success);
  font-weight: 600;
  font-size: 0.95rem;
}

.newsletter-check {
  width: 28px;
  height: 28px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* === AFFILIATE CTA (GLOBAL — supplements per-page styles) === */
.affiliate-cta-box {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.12) 0%, rgba(255, 122, 0, 0.04) 100%);
  border: 2px solid rgba(255, 122, 0, 0.25);
  border-radius: 20px;
  padding: 28px;
  margin: 40px 0;
}

.affiliate-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.affiliate-cta-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.affiliate-cta-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
}

.affiliate-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.affiliate-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* === SIMILAR FIRMS === */
.similar-firms-section {
  margin: 48px 0;
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}

.similar-firms-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.similar-firms-intro {
  color: var(--text-tertiary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.similar-firms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.similar-firm-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s;
}

.similar-firm-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.similar-firm-logo {
  width: 44px;
  height: 44px;
  background: var(--bg-elevated);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--orange);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.similar-firm-info {
  flex: 1;
  min-width: 0;
}

.similar-firm-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-firm-tagline {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.similar-firm-rating {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.similar-star {
  color: var(--orange);
}

.similar-firms-cta {
  text-align: center;
  margin-top: 16px;
}

/* === FAQ SECTION === */
.faq-section {
  margin: 48px 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--orange);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* === POPULAR COMPARISONS === */
.popular-comparisons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.popular-comparison-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s;
  font-weight: 600;
  font-size: 0.9rem;
}

.popular-comparison-card:hover {
  border-color: var(--orange);
  background: var(--orange-subtle);
  transform: translateY(-2px);
}

.comparison-vs {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 99;
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
}

/* Body padding when sticky email bar is active */
body.has-sticky-bar {
  padding-bottom: 64px;
}

/* === RESPONSIVE — NEW COMPONENTS === */
@media (max-width: 768px) {
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  
  .newsletter-input {
    min-width: unset;
    width: 100%;
    font-size: 16px; /* prevent iOS zoom */
  }
  
  .newsletter-btn {
    width: 100%;
  }
  
  .affiliate-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .affiliate-cta-right {
    width: 100%;
  }
  
  .affiliate-btn {
    width: 100%;
    justify-content: center;
  }
  
  .similar-firms-grid {
    grid-template-columns: 1fr;
  }
  
  .popular-comparisons {
    grid-template-columns: 1fr;
  }
}

/* =================================================================
   REVIEW PAGE ENHANCEMENTS — Section Cards, Glow CTAs, Tables, Alignment
   Applied globally to all 206 review pages
   ================================================================= */

/* --- Section Cards: Individual boxes around each content section --- */
.review-section {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 32px 28px;
  margin-bottom: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.review-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.review-section:hover {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow: 0 4px 24px rgba(255, 122, 0, 0.06);
}
.review-section:hover::before {
  opacity: 1;
}
.review-section h2 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary, #f1f5f9);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 122, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* --- Full Review Section Cards (for the 10 detailed reviews) --- */
.review-section-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.review-section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.review-section-card:hover {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow: 0 4px 24px rgba(255, 122, 0, 0.06);
}
.review-section-card:hover::before {
  opacity: 1;
}
.review-section-card h2 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-primary, #f1f5f9);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 122, 0, 0.12);
}
.review-section-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary, #f1f5f9);
}
.review-section-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 20px 0 8px;
  color: var(--orange, #ff7a00);
}
.review-section-card p {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}
.review-section-card ul,
.review-section-card ol {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}
.review-section-card li {
  margin-bottom: 8px;
}
.review-section-card li strong,
.review-section-card strong {
  color: var(--text-primary, #f1f5f9);
}
.review-section-card em {
  color: var(--text-tertiary, #94a3b8);
  font-style: italic;
}
.review-section-card a {
  color: var(--orange, #ff7a00);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.review-section-card a:hover {
  border-bottom-color: var(--orange, #ff7a00);
}
.review-section-card blockquote {
  border-left: 3px solid var(--orange, #ff7a00);
  padding: 16px 20px;
  margin: 24px 0;
  background: rgba(255, 122, 0, 0.05);
  border-radius: 0 10px 10px 0;
}
.review-section-card blockquote p {
  margin-bottom: 0;
}

/* --- Enhanced Table Styling (universal) --- */
.review-table,
.review-section table,
.review-section-card table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.95rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.15);
  background: var(--bg-elevated, #1e293b);
}
.review-table th,
.review-section table th,
.review-section-card table th {
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange, #ff7a00);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(255, 122, 0, 0.2);
}
.review-table td,
.review-section table td,
.review-section-card table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, #cbd5e1);
}
.review-table tr:last-child td,
.review-section table tr:last-child td,
.review-section-card table tr:last-child td {
  border-bottom: none;
}
.review-table tr:hover td,
.review-section table tr:hover td,
.review-section-card table tr:hover td {
  background: rgba(255, 122, 0, 0.04);
}
.review-table td:first-child,
.review-section table td:first-child,
.review-section-card table td:first-child {
  font-weight: 600;
  color: var(--text-primary, #f1f5f9);
}

/* --- Glowing CTA Animation --- */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(255, 122, 0, 0.3), 0 0 24px rgba(255, 122, 0, 0.1); }
  50% { box-shadow: 0 0 20px rgba(255, 122, 0, 0.5), 0 0 40px rgba(255, 122, 0, 0.2); }
}
@keyframes glow-border {
  0%, 100% { border-color: rgba(255, 122, 0, 0.4); }
  50% { border-color: rgba(255, 122, 0, 0.8); }
}

/* Apply glow to all main CTA buttons across review pages */
.cta-box .btn-primary,
.cta-box .btn.btn-primary,
.affiliate-btn,
.affiliate-cta-block .hero-visit-btn,
.review-cta a,
.hero-visit-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
}
.hero-visit-btn:hover,
.cta-box .btn-primary:hover,
.affiliate-btn:hover,
.review-cta a:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5);
}

/* Fix: Ensure CTA buttons keep dark text when inside containers that set link color */
.review-content .hero-visit-btn,
.review-content .review-cta a,
.review-content .btn-primary,
.review-content .affiliate-btn,
.review-section-card .hero-visit-btn,
.review-section-card .btn-primary,
.review-section-card .affiliate-btn,
.affiliate-cta-block .hero-visit-btn,
.affiliate-cta-block .btn-primary {
  color: #000;
}

/* Glowing CTA Box */
.cta-box {
  background: var(--bg-card, #0f172a);
  border: 2px solid rgba(255, 122, 0, 0.3);
  border-radius: 20px;
  padding: 36px;
  text-align: center;
  margin-top: 40px;
  animation: glow-border 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,122,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.cta-box .cta-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary, #f1f5f9);
  position: relative;
}
.cta-box .cta-text {
  color: var(--text-secondary, #cbd5e1);
  margin-bottom: 24px;
  position: relative;
}

/* Glowing Affiliate CTA */
.affiliate-cta-box {
  animation: glow-border 3s ease-in-out infinite;
}
.affiliate-cta-block {
  animation: glow-border 3s ease-in-out infinite;
}

/* Glowing Verdict Box */
.verdict-box {
  background: linear-gradient(135deg, rgba(255,122,0,0.08) 0%, rgba(14,165,233,0.06) 50%, rgba(139,92,246,0.08) 100%);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 24px;
  padding: 36px;
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}
.verdict-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), var(--blue, #0ea5e9), var(--violet, #8b5cf6));
}
.verdict-box .verdict-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary, #f1f5f9);
}
.verdict-box .verdict-text {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.8;
}

/* --- Alignment Fixes: Ensure left-alignment throughout --- */
.review-hero {
  text-align: center; /* Hero stays centered — that's standard */
}
.review-content,
.content-wrapper,
.review-section .review-content,
.review-section-card {
  text-align: left;
}

/* --- Enhanced Pros/Cons Cards --- */
.pros-cons, .pros-cons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.pros-list, .cons-list {
  background: var(--bg-card, #0f172a);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  position: relative;
  overflow: hidden;
}
.pros-list::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #10b981, transparent 70%);
}
.cons-list::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ef4444, transparent 70%);
}
.pros-list h4 {
  color: #10b981;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.cons-list h4 {
  color: #ef4444;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.05rem;
}
.pros-list ul, .cons-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pros-list li, .cons-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.95rem;
  line-height: 1.6;
}
.pros-list li:last-child, .cons-list li:last-child {
  border-bottom: none;
}

/* --- Enhanced Quick Stats --- */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.stat-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.3s, transform 0.2s;
}
.stat-card:hover {
  border-color: rgba(255, 122, 0, 0.25);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--orange, #ff7a00);
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary, #94a3b8);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --- FAQ Section Enhancement --- */
.faq-section {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 36px 32px;
  margin: 40px 0;
}
.faq-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary, #f1f5f9);
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-primary, #f1f5f9);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  transition: color 0.2s;
  font-family: inherit;
}
.faq-question:hover {
  color: var(--orange, #ff7a00);
}
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-tertiary, #94a3b8);
}
.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 0 18px;
}
.faq-answer p {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- Review Page Responsive Overrides --- */
@media (max-width: 768px) {
  .review-section,
  .review-section-card {
    padding: 24px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .review-section-card h2 {
    font-size: 1.3rem;
  }
  .cta-box {
    padding: 28px 20px;
    border-radius: 16px;
  }
  .verdict-box {
    padding: 28px 20px;
    border-radius: 18px;
  }
  .faq-section {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .review-table,
  .review-section table,
  .review-section-card table {
    font-size: 0.85rem;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .review-table th,
  .review-section table th,
  .review-section-card table th,
  .review-table td,
  .review-section table td,
  .review-section-card table td {
    padding: 10px 12px;
  }
}
@media (max-width: 480px) {
  .review-section,
  .review-section-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .review-section-card h2 {
    font-size: 1.15rem;
  }
  .review-section-card p {
    font-size: 0.92rem;
  }
  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .stat-card {
    padding: 16px 12px;
  }
  .stat-value {
    font-size: 1.1rem;
  }
  .review-table,
  .review-section-card table {
    font-size: 0.8rem;
  }
  .faq-section {
    padding: 20px 16px;
  }
}

/* =================================================================
   SITE-WIDE ENHANCEMENTS — Guides, Compare, Best-Prop-Firms, About, Contact
   Ensures consistent glow CTAs, section cards, tables, bg theme
   ================================================================= */

/* --- Extend Glow to ALL CTA buttons site-wide --- */
.vs-cta-btns .btn-primary,
.vs-cta-btns .btn.btn-primary,
.verdict-card .btn-primary,
.verdict-card .btn.btn-primary,
.btn.btn-primary.btn-lg,
.contact-cta .btn,
.page-cta .btn-primary {
  animation: glow-pulse 2.5s ease-in-out infinite;
}
.vs-cta-btns .btn-primary:hover,
.verdict-card .btn-primary:hover,
.btn.btn-primary.btn-lg:hover,
.contact-cta .btn:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5);
}

/* --- Guide Article Section Cards --- */
.article-section-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 28px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.article-section-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.article-section-card:hover {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow: 0 4px 24px rgba(255, 122, 0, 0.06);
}
.article-section-card:hover::before {
  opacity: 1;
}
.article-section-card h2 {
  font-family: var(--font-display, 'Space Grotesk', sans-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 122, 0, 0.12);
  border-top: none;
  padding-top: 0;
}
.article-section-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary, #f1f5f9);
  margin: 28px 0 14px;
}
.article-section-card p {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-section-card ul,
.article-section-card ol {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.8;
  margin: 16px 0;
  padding-left: 24px;
}
.article-section-card li {
  margin-bottom: 10px;
}
.article-section-card li strong,
.article-section-card strong {
  color: var(--text-primary, #f1f5f9);
}

/* --- Enhanced comparison-table (Guides & Compare) --- */
.comparison-table,
.vs-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 24px 0;
  font-size: 0.95rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.15);
  background: var(--bg-elevated, #1e293b);
}
.comparison-table th,
.vs-table table th {
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange, #ff7a00);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(255, 122, 0, 0.2);
  border: none;
}
.comparison-table td,
.vs-table table td {
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, #cbd5e1);
  border-left: none;
  border-right: none;
  border-top: none;
}
.comparison-table tr:last-child td,
.vs-table table tr:last-child td {
  border-bottom: none;
}
.comparison-table tr:hover td,
.vs-table table tr:hover td {
  background: rgba(255, 122, 0, 0.04);
}
.comparison-table td:first-child,
.vs-table table td:first-child {
  font-weight: 600;
  color: var(--text-primary, #f1f5f9);
}
.comparison-table td strong {
  color: var(--text-primary, #f1f5f9);
}

/* --- Enhanced Tip/Warning/Info Boxes (Guides) --- */
.tip-box {
  background: rgba(255, 122, 0, 0.06);
  border: 1px solid rgba(255, 122, 0, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.tip-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--orange, #ff7a00);
}
.tip-box-title {
  font-weight: 700;
  color: var(--orange, #ff7a00);
  margin-bottom: 8px;
  font-size: 1rem;
}
.warning-box {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.warning-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: #ef4444;
}
.warning-box-title {
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 8px;
  font-size: 1rem;
}
.info-box {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}
.info-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--blue, #0ea5e9);
}

/* --- Enhanced Rule Cards (Guides) --- */
.rule-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
  transition: border-color 0.3s;
}
.rule-card:hover {
  border-color: rgba(255, 122, 0, 0.2);
}
.rule-title {
  font-weight: 700;
  color: var(--text-primary, #f1f5f9);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
}
.rule-desc {
  color: var(--text-secondary, #cbd5e1);
  line-height: 1.7;
}

/* --- Compare Page Section Enhancement --- */
.vs-section {
  position: relative;
}
.vs-cta {
  text-align: center;
  position: relative;
}
.vs-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,122,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.vs-verdict {
  position: relative;
}
.verdict-card {
  position: relative;
  overflow: hidden;
}
.verdict-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
}
.verdict-card:hover::before {
  opacity: 1;
}

/* --- Best-Prop-Firms Table Enhancement --- */
.firms-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.12);
  background: var(--bg-card, #0f172a);
}
.firms-table th {
  background: rgba(255, 122, 0, 0.1);
  color: var(--orange, #ff7a00);
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: 2px solid rgba(255, 122, 0, 0.15);
}
.firms-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, #cbd5e1);
}
.firms-table tr:last-child td {
  border-bottom: none;
}
.firms-table tr:hover td {
  background: rgba(255, 122, 0, 0.03);
}
.firm-name {
  color: var(--text-primary, #f1f5f9);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.firm-name:hover {
  color: var(--orange, #ff7a00);
}
.firm-rating {
  background: rgba(255, 122, 0, 0.12);
  color: var(--orange, #ff7a00);
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* --- About Page Value Cards --- */
.value-card,
.about-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 18px;
  padding: 28px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.value-card::before,
.about-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.value-card:hover,
.about-card:hover {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow: 0 4px 24px rgba(255, 122, 0, 0.06);
}
.value-card:hover::before,
.about-card:hover::before {
  opacity: 1;
}

/* --- Contact Page Enhancement --- */
.contact-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
}

/* --- Related Content Grid Enhancement (Guides) --- */
.related-content-grid a,
.related-guides a {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 14px;
  transition: all 0.25s;
}
.related-content-grid a:hover,
.related-guides a:hover {
  border-color: rgba(255, 122, 0, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.08);
}

/* --- Guides Index & Compare Index Card Grids --- */
.guide-card,
.compare-card {
  background: var(--bg-card, #0f172a);
  border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
  border-radius: 18px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.guide-card::before,
.compare-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.guide-card:hover,
.compare-card:hover {
  border-color: rgba(255, 122, 0, 0.2);
  box-shadow: 0 6px 24px rgba(255, 122, 0, 0.08);
  transform: translateY(-3px);
}
.guide-card:hover::before,
.compare-card:hover::before {
  opacity: 1;
}

/* --- Responsive for article-section-card, comparison-table, etc. --- */
@media (max-width: 768px) {
  .article-section-card {
    padding: 24px 20px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .article-section-card h2 {
    font-size: 1.3rem;
  }
  .comparison-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  .vs-cta-btns .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .article-section-card {
    padding: 20px 16px;
    border-radius: 14px;
  }
  .article-section-card h2 {
    font-size: 1.15rem;
  }
  .article-section-card p {
    font-size: 0.92rem;
  }
  .comparison-table th,
  .comparison-table td {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

/* =================================================================
   REMAINING PAGE FIXES — Compare, Best-Prop-Firms Index, Contact
   ================================================================= */

/* --- Compare Page: Enhanced vs-table --- */
.vs-table-wrap {
  border: 1px solid rgba(255, 122, 0, 0.15) !important;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-card, #0f172a);
}
.vs-table thead th {
  background: rgba(255, 122, 0, 0.08) !important;
  border-bottom: 2px solid rgba(255, 122, 0, 0.15) !important;
}
.vs-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.vs-table tr:last-child td {
  border-bottom: none !important;
}
.vs-table tr:hover td {
  background: rgba(255, 122, 0, 0.04) !important;
}

/* --- Compare Page: Glow on vs-cta section --- */
.vs-cta {
  position: relative;
  padding: 60px 0;
}
.vs-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,122,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.vs-cta .btn.btn-primary,
.vs-cta .btn-primary.btn-lg {
  animation: glow-pulse 2.5s ease-in-out infinite;
  position: relative;
}
.vs-cta .btn.btn-primary:hover,
.vs-cta .btn-primary.btn-lg:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5);
}

/* --- Compare Page: Verdict card accent bars --- */
.verdict-card {
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.verdict-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange, #ff7a00), transparent 70%);
  opacity: 0.6;
  transition: opacity 0.3s;
}
.verdict-card:hover {
  border-color: rgba(255, 122, 0, 0.25);
  box-shadow: 0 4px 24px rgba(255, 122, 0, 0.08);
}
.verdict-card:hover::before {
  opacity: 1;
}
/* Second verdict card gets blue accent */
.verdict-grid .verdict-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--blue, #0ea5e9), transparent 70%);
}
.verdict-card .btn.btn-primary {
  animation: glow-pulse 2.5s ease-in-out infinite;
}
.verdict-card .btn.btn-primary:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5);
}

/* --- Compare Page: Verdict summary glow border --- */
.verdict-summary {
  animation: glow-border 3s ease-in-out infinite;
  border: 1px solid rgba(255, 122, 0, 0.3);
}

/* --- Compare Page: Visit firm button glow --- */
.visit-firm-btn {
  transition: all 0.25s;
}
.visit-firm-btn:hover {
  border-color: var(--orange, #ff7a00);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.25);
  color: var(--orange, #ff7a00);
}

/* --- Compare Index: Enhanced compare-table --- */
table.compare-table {
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.12);
  background: var(--bg-card, #0f172a);
}
table.compare-table th {
  background: rgba(255, 122, 0, 0.1) !important;
  color: var(--orange, #ff7a00) !important;
  padding: 14px 16px !important;
  border-bottom: 2px solid rgba(255, 122, 0, 0.15) !important;
}
table.compare-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
table.compare-table tr:last-child td {
  border-bottom: none !important;
}
table.compare-table tr:hover td {
  background: rgba(255, 122, 0, 0.04) !important;
}

/* --- Compare Index: Analyze button glow --- */
.analyze-btn {
  animation: glow-pulse 2.5s ease-in-out infinite;
  position: relative;
}
.analyze-btn:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5) !important;
}

/* --- Compare Index: Tool section card styling --- */
.tool-section .container > div {
  position: relative;
}

/* --- Compare Index: Other comparison links --- */
.other-comp-link {
  transition: all 0.25s;
}
.other-comp-link:hover {
  border-color: rgba(255, 122, 0, 0.3) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.08);
}

/* --- Compare Index: Popular comparison cards glow --- */
.popular-comparison-card {
  transition: all 0.25s;
}
.popular-comparison-card:hover {
  border-color: rgba(255, 122, 0, 0.3) !important;
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.1);
  transform: translateY(-2px);
}

/* --- Best-Prop-Firms Index: Enhanced results-table --- */
.results-table {
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.12);
  background: var(--bg-card, #0f172a);
}
.results-table th {
  background: rgba(255, 122, 0, 0.1) !important;
  color: var(--orange, #ff7a00) !important;
  border-bottom: 2px solid rgba(255, 122, 0, 0.15) !important;
}
.results-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.results-table tr:last-child td {
  border-bottom: none !important;
}
.results-table tr:hover td {
  background: rgba(255, 122, 0, 0.04) !important;
}

/* --- Best-Prop-Firms Category Pages: firms-table enhanced --- */
.firms-table {
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 14px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 0, 0.12) !important;
  background: var(--bg-card, #0f172a);
}
.firms-table th {
  background: rgba(255, 122, 0, 0.1) !important;
  color: var(--orange, #ff7a00) !important;
  border-bottom: 2px solid rgba(255, 122, 0, 0.15) !important;
}
.firms-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}
.firms-table tr:last-child td {
  border-bottom: none !important;
}
.firms-table tr:hover td {
  background: rgba(255, 122, 0, 0.04) !important;
}

/* --- Best-Prop-Firms Index: View button enhancements --- */
.view-btn {
  transition: all 0.25s;
}
.view-btn:hover {
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.2);
  transform: translateY(-1px);
}

/* --- Contact Page: Submit button glow --- */
.contact-section .btn,
.contact-section button[type="submit"],
form .btn.btn-primary {
  animation: glow-pulse 2.5s ease-in-out infinite;
}
.contact-section .btn:hover,
.contact-section button[type="submit"]:hover,
form .btn.btn-primary:hover {
  animation: none;
  box-shadow: 0 8px 32px rgba(255, 122, 0, 0.5);
}

/* --- vs-section card-like backgrounds --- */
.vs-section {
  position: relative;
}
.vs-section .container {
  position: relative;
}

/* --- Ensure all page backgrounds match dark theme --- */
body {
  background-color: var(--bg-primary, #030712);
}
section {
  position: relative;
}
