/* Font Logic Imports handled in HTML for performance */

:root {
  /* Core Colors */
  --bg-dark: #030014;
  --bg-card: rgba(23, 25, 50, 0.4);
  --bg-card-hover: rgba(30, 32, 70, 0.6);
  --primary: #7000ff;
  --primary-glow: rgba(112, 0, 255, 0.5);
  --primary-accent: #00ff88;
  --secondary: #00f3ff;
  --secondary-glow: rgba(0, 243, 255, 0.5);
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-text: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  --gradient-btn: linear-gradient(90deg, #7000ff 0%, #00c6ff 100%);
  --gradient-btn-hover: linear-gradient(90deg, #8a2be2 0%, #00d4ff 100%);

  /* Spacing & Layout */
  --container-width: 1400px;
  /* Increased from 1280px */
  --header-height: 80px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  /* overflow-x: hidden; */
  -webkit-font-smoothing: antialiased;
}

/* --- Background Effects --- */
/* --- Background Effects --- */
/* --- Background Effects --- */
/* --- Background Effects --- */
/* --- Background Effects --- */
.spline-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  /* Increased to 1 to ensure visibility over body bg, but under content (z-50) */
  opacity: var(--spline-opacity, 1);
  transition: opacity 0.1s linear;
  pointer-events: none !important;

  /* Restoring position to right side as requested */
  transform: translateX(25%) scale(1.4);
  transform-origin: center center;
}

/* ... existing iframe styles ... */

/* --- Layout & Interaction Final Fixes --- */

/* 1. Parent Sections: PASS THROUGH clicks (to reach globe on the right) */
.hero,
.pricing,
.connect-with-us,
.footer {
  pointer-events: none !important;
  position: relative;
  z-index: 50;
  /* Foreground Layer */
}

.spline-bg iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none !important;
  /* Double safety */
}

.spline-overlay {
  position: absolute;
  inset: 0;
  /* Lighter gradient to ensure globe is seen */
  background: radial-gradient(circle at 50% 50%, rgba(3, 0, 20, 0) 0%, var(--bg-dark) 90%);
  z-index: 1;
  pointer-events: none;
}

/* --- Utilities --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.text-gradient {
  background: linear-gradient(to right, #b0f3f1, #ffcfdf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

/* --- Header & Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(3, 0, 20, 0.5);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-main);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}

.dropdown {
  position: relative;
}

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

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #0f1126;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 8px;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

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

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn_hero {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.btn_hero:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--text-main);
}

/* --- User Dashboard (Navbar) --- */
.user-dashboard {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Avatar */
/* Avatar & Dropdown */
.user-dashboard {
  position: relative;
  z-index: 1000;
}

.user-avatar {
  width: 42px;
  height: 42px;
  background: var(--primary-accent);
  color: #050505;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.user-avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.6);
}

/* Dropdown Menu */
.profile-dropdown {
  position: relative;
  display: inline-block;
}

.profile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 15px;
  width: 220px;
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

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

.profile-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.profile-item i {
  width: 20px;
  text-align: center;
  color: var(--primary-accent);
}

.profile-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.profile-item.logout {
  color: #ff5e62;
}

.profile-item.logout i {
  color: #ff5e62;
}

.profile-item.logout:hover {
  background: rgba(255, 94, 98, 0.1);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}


/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 60px;
  position: relative;
}

.hero-left {
  max-width: 1100px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(112, 0, 255, 0.15);
  border: 1px solid rgba(112, 0, 255, 0.3);
  border-radius: 100px;
  font-size: 0.875rem;
  color: #c4b5fd;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.pill-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--secondary);
}

h1#hero-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 4.5rem;
  /* Optimized for 2 lines */
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

.btn.hero-btn {
  background: var(--gradient-btn);
  color: white;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(112, 0, 255, 0.4);
  transition: var(--transition-smooth);
}

.btn.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(112, 0, 255, 0.6);
  background: var(--gradient-btn-hover);
}

/* --- Stats --- */
/* --- Stats --- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Force 4 in a row */
  gap: 20px;
  margin-top: 100px;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
    /* Wrap on mobile/tablet */
  }
}

@media (max-width: 600px) {
  .stats {
    grid-template-columns: 1fr;
    /* Stack on phone */
  }
}

.stat {
  background: rgba(36, 0, 70, 0.3);
  /* Transparent dark background */
  backdrop-filter: blur(12px);
  /* Glassmorphism */
  border: 1px solid rgba(130, 80, 255, 0.15);
  border-radius: 16px;
  padding: 20px;
  /* Reduced padding from 30px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.stat:hover {
  transform: translateY(-5px);
  background: rgba(36, 0, 70, 0.5);
  border-color: rgba(130, 80, 255, 0.3);
  box-shadow: 0 10px 30px rgba(36, 0, 70, 0.4);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: 'Clash Display', sans-serif;
  font-size: 1.75rem;
  /* Reduced from 2.5rem */
  font-weight: 600;
  color: #e0ccff;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  /* Reduced from 1rem */
  color: #b0a0d0;
  font-weight: 400;
}

/* Hide icons for the clean text look, or keep if preferred. 
   Reference image shows mostly text. */
.stat-icon {
  display: none;
}

/* Discount Card specific style if needed */
.discount-stat {
  background: rgba(36, 0, 70, 0.3);
}

.discount-stat .stat-num {
  color: #d8b4fe;
}

/* --- Pricing / Tables (The "Cool" Part) --- */
.pricing {
  padding: 30px 0 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-family: 'Clash Display', sans-serif;
  font-size: 3rem;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Toggle Buttons */
.pricing-buttons {
  background: rgba(255, 255, 255, 0.05);
  padding: 6px;
  border-radius: 100px;
  display: inline-flex;
  gap: 4px;
  margin-bottom: 40px;
  border: 1px solid var(--glass-border);
}

.btn.pricing-btn {
  padding: 10px 24px;
  border-radius: 100px;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition-fast);
}

.btn.pricing-btn.active {
  background: var(--bg-dark);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Filters */
.filters-container {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  width: 100%;
  max-width: 800px;
}

.search-wrapper,
.select-wrapper {
  position: relative;
  flex: 1;
}

.filter-input,
.filter-select {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 14px 20px;
  padding-left: 44px;
  /* for icon */
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.select-wrapper .filter-select {
  padding-left: 20px;
  appearance: none;
  cursor: pointer;
}

.search-icon,
.select-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-icon {
  left: 16px;
}

.select-icon {
  right: 16px;
  font-size: 0.8rem;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--primary);
  background: rgba(30, 32, 70, 0.4);
  box-shadow: 0 0 0 3px rgba(112, 0, 255, 0.2);
}

.platform-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
  /* Slight rounded corners for better aesthetics, or 0 for sharp square */
  margin-right: 4px;
  vertical-align: middle;
}

/* Tables */
.table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: visible;
  /* CRITICAL: Must be visible for sticky to stick to window */
  scrollbar-width: none;
  /* backdrop-filter removed */
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.5s ease;
}

/* Add overflow back only for mobile/tablet */
@media (max-width: 768px) {
  .table-wrapper {
    overflow-x: auto;
  }
}

.table-wrapper::-webkit-scrollbar {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  /* Changed from collapse for better sticky support */
  border-spacing: 0;
  white-space: nowrap;
}

/* Table Head */
.comparison-table thead {
  background: rgba(0, 0, 0, 0.2);
  /* border-bottom removed, handled by th border */
}

.comparison-table th {
  padding: 12px 10px;
  /* Further reduced from 14px 16px */
  text-align: left;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.75rem;
  /* Reduced from 0.85rem */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  /* Reduced from 1px */
  border-bottom: 1px solid var(--glass-border);

  /* Sticky Header */
  position: sticky;
  top: 95px;
  /* Clearance for slightly larger navbar/padding */
  z-index: 1000;
  background: #0a0a19;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Table Body */
.comparison-table tbody tr {
  transition: background 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

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

.comparison-table td {
  padding: 12px 10px;
  /* Further reduced padding from 12px 16px */
  font-size: 0.9rem;
  color: var(--text-main);
  vertical-align: middle;
}

/* Specific Columns Styling */
.firm-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.firm-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: transparent;
}

.firm-name {
  font-weight: 600;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  font-weight: 500;
  font-size: 0.85rem;
}

.broker-badge {
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.broker-ecn {
  background: rgba(0, 255, 128, 0.15);
  color: #00ff80;
}

.broker-stp {
  background: rgba(0, 198, 255, 0.15);
  color: #00c6ff;
}

.broker-mm {
  background: rgba(255, 0, 85, 0.15);
  color: #ff0055;
}

/* --- Review Table Specific Fixes --- */
#reviews-table .comparison-table th,
#reviews-table .comparison-table td {
  padding: 12px 10px;
  /* Reduced padding */
  font-size: 0.85rem;
  white-space: normal;
  /* Allow text wrapping for headers */
  vertical-align: middle;
}

#reviews-table .comparison-table th {
  text-transform: none;
  /* Can save space if capitalized naturally */
  letter-spacing: normal;
}

/* Compact the action column */
#reviews-table td:last-child {
  white-space: nowrap;
  width: 1%;
  /* Shrink to fit */
}

/* Compact the rank column */
#reviews-table td:nth-last-child(2),
#reviews-table th:nth-last-child(2) {
  width: 60px;
  text-align: center;
}

/* Ensure container doesn't force scroll unless strictly necessary on mobile */
#reviews-table {
  overflow-x: hidden;
}

@media (max-width: 900px) {
  #reviews-table {
    overflow-x: auto;
    /* Allow scroll on tablets/mobile */
  }
}

/* --- New Filter Group Design --- */
.filter-bar-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 24px;
  background: transparent;
}

/* The dark pill container for the "Filter" button */
.filter-pill-btn {
  background: #222226;
  border: none;
  border-radius: 100px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-pill-btn:hover {
  background: #333338;
}

.filter-pill-btn i {
  font-size: 1rem;
}

/* Vertical Separator */
.filter-separator {
  width: 1px;
  height: 28px;
  background: #444;
}

/* Individual Dropdown Pills */
.filter-dropdown-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: #222226;
  border-radius: 100px;
  padding: 0 16px;
  transition: background 0.2s;
  min-width: 140px;
}

.filter-dropdown-pill:hover {
  background: #333338;
}

.filter-dropdown-pill span.label {
  color: #888;
  font-size: 0.9rem;
  margin-right: 4px;
  white-space: nowrap;
}

.filter-dropdown-pill select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 30px 12px 4px;
  /* Space for arrow */
  width: 100%;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

/* Custom Arrow Icon positioned absolutely */
.filter-dropdown-pill i.fa-chevron-down {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.75rem;
  pointer-events: none;
}

/* Styling options inside the dropdown (browser dependant but helps) */
.filter-dropdown-pill select option {
  background: #222226;
  color: #fff;
  padding: 10px;
}

/* --- Table Specifics --- */
.profit-phase-text {
  font-weight: 700;
  color: #fff;
}

.profit-phase-sub {
  color: #888;
  margin-left: 4px;
}

.split-main {
  font-weight: 700;
  color: #fff;
  margin-right: 6px;
}

.split-bars {
  display: inline-flex;
  gap: 1.5px;
}

.split-bar {
  width: 3px;
  height: 10px;
  background: #333;
  border-radius: 1px;
}

.split-bar.filled {
  background: linear-gradient(180deg, #d84bf7 0%, #a020f0 100%);
}

.payout-freq-main {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.payout-freq-sub {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

.loyalty-gem {
  color: #a020f0;
  margin-right: 6px;
  font-size: 0.9rem;
}

.buy-btn-gradient {
  background: linear-gradient(90deg, #d84bf7 0%, #a020f0 100%);
  border: none;
  color: white;
  padding: 8px 24px;
  border-radius: 100px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.buy-btn-gradient:hover {
  opacity: 0.9;
}

.old-price {
  text-decoration: line-through;
  color: #666;
  font-size: 0.8rem;
  display: block;
}

/* Callout / Footer */
.connect-with-us {
  padding: 80px 0;
}

.callout-container {
  background: linear-gradient(135deg, rgba(112, 0, 255, 0.1) 0%, rgba(0, 243, 255, 0.1) 100%);
  border: 1px solid rgba(112, 0, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.callout-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.callout-container h2,
.callout-container p,
.callout-container .social-links {
  position: relative;
  z-index: 1;
}

.callout-container h2 {
  font-family: 'Clash Display', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

.social-links a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: var(--text-main);
  color: var(--primary);
  transform: translateY(-5px);
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.foot-links {
  display: flex;
  gap: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  h1#hero-title {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
    /* simple mobile hide for now, usually needs burger */
  }

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

  .hero-left {
    margin: 0 auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .filters-container {
    flex-direction: column;
  }

  .comparison-table {
    white-space: nowrap;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

/* --- Layout & Interaction Final Fixes --- */

/* 1. Parent Sections: PASS THROUGH clicks (to reach globe on the right) */
.hero,
.pricing,
.connect-with-us,
.footer {
  pointer-events: none !important;
}

/* 2. Child Content: CAPTURE clicks (so buttons/text work) */
.hero .container,
.pricing.container,
.connect-with-us .callout-container,
.footer span,
.nav {
  pointer-events: auto !important;
}

/* 3. Constrain layout to the left to expose the globe on the right */
@media (min-width: 1024px) {

  .hero .container,
  .connect-with-us .callout-container {
    width: 60%;
    margin-left: 5%;
    /* Slight offset from left edge */
    margin-right: auto;
    /* Reset margins */
    max-width: 900px;

    /* Ensure content is above the globe */
    position: relative;
    /* z-index handled by parent .hero, .pricing etc to be safe */
  }

  .pricing .container {
    width: 94%;
    margin-left: 3%;
    margin-right: auto;
    max-width: 1600px;
    position: relative;
  }

  /* Adjust the specific callout container since it's different */
  .connect-with-us .callout-container {
    width: 60%;
    margin: 0 0 0 5%;
  }
}

/* 4. Ensure Table Scrolling Works */
.table-wrapper {
  pointer-events: auto !important;
  overflow-x: auto !important;
  touch-action: auto;
}

/* 5. Table Header Organization */
.comparison-table th {
  white-space: nowrap;
  background: rgba(10, 10, 25, 0.95);
  /* Darker background for readability */
  position: sticky;
  /* Keep headers visible if needed */
  top: 0;
  z-index: 10;
}

/* Mobile Fallback */
@media (max-width: 1023px) {

  .hero .container,
  .pricing .container,
  .connect-with-us .callout-container {
    width: 90%;
    margin: 0 auto;
  }

  .spline-bg {
    opacity: 0.3;
    /* Fade globe on mobile to focus on content */
    pointer-events: none;
    /* Disable globe on mobile to prevent scroll hijacking */
  }
}

/* --- Logo Slider --- */
.logo-slider {
  width: 100%;
  margin-bottom: 50px;
  /* Space above pricing buttons */
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-slide-track {
  display: flex;
  gap: 60px;
  /* Space between logos */
  width: max-content;
  animation: scroll 40s linear infinite;
  /* Adjust speed as needed */
  padding: 20px 0;
  will-change: transform;
}

.logo-slide-track:hover {
  animation-play-state: paused;
}

.logo-slide-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  /* Fixed width for consistency */
  height: 80px;
}

.logo-slide-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* filter: grayscale(100%) opacity(0.7); REMOVED - Always colorful */
  transition: transform var(--transition-fast);
}

.logo-slide-item img:hover {
  /* filter: grayscale(0%) opacity(1); REMOVED */
  transform: scale(1.1);
}

/* Keyframes */
@keyframes scroll {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .logo-slide-track {
    gap: 40px;
  }

  .logo-slide-item {
    width: 100px;
    height: 60px;
  }
}

/* =======================
   New Filter & Dropdown Styles
   ======================= */
/* Multi-Select Dropdown Container */
.multi-select-container {
  position: relative;
  user-select: none;
  min-width: 200px;
  font-family: 'Outfit', sans-serif;
}

.select-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.select-btn:hover,
.select-btn.active {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(112, 0, 255, 0.2);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #0f1126;
  /* Solid dark background for readability */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 300px;
  overflow-y: auto;
}

.select-dropdown.show {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.asset-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s;
  color: #ccc;
  font-size: 0.95rem;
}

.asset-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.asset-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

/* Sort Select Styling */
#sort-filter {
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  outline: none;
}

#sort-filter:hover,
#sort-filter:focus {
  border-color: var(--primary);
}

#sort-filter option {
  background: #0f1126;
  color: #fff;
  padding: 10px;
}

/* --- Reviews Table "Star Pill" Styles --- */
.star-rating-pill {
  background: #000000;
  /* Pure black like the image */
  border-radius: 100px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
  /* Ensure consistent width */
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rating-number {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.rating-stars {
  display: flex;
  gap: 4px;
  color: #ffc107;
  /* Gold stars */
}

/* Specific colors for number if desired, or keep white as per image */
.rating-number.high {
  color: #fff;
}

.rating-number.mid {
  color: #fff;
}

.rating-number.low {
  color: #fff;
}

.review-progress-container {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  max-width: 120px;
  position: relative;
}

.review-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7000ff, #00f3ff);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(112, 0, 255, 0.6);
  position: relative;
}

/* Add a shimmer effect to the progress bar */
.review-progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

.btn-view-reviews {
  background: var(--gradient-btn);
  border: none;
  color: white;
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(112, 0, 255, 0.4);
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-view-reviews:hover {
  background: var(--gradient-btn-hover);
  color: white;
  box-shadow: 0 0 25px rgba(112, 0, 255, 0.7);
  transform: translateY(-2px) scale(1.05);
}

/* Rank Score Badge (Green Pill) */
.rank-score-badge {
  background: rgba(0, 255, 157, 0.1);
  color: #00ff9d;
  /* Bright green */
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 50px;
  /* Pill shape */
  padding: 6px 16px;
  font-size: 1.1rem;
  font-weight: 700;
  display: inline-block;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* --- Rank / Review Cell Styles --- */
.rank-review-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 90px;
}

.rating-badge-large {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 18px;
  border-radius: 100px;
  display: inline-block;
  border: 1px solid #d946ef;
  /* bright pink/purple */
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.25);
  margin-bottom: 2px;
  font-family: 'Outfit', sans-serif;
}

.stars-row {
  color: #a855f7;
  /* Purple stars */
  font-size: 0.9rem;
  display: flex;
  gap: 3px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.4);
}

.review-count-text {
  font-size: 0.9rem;
  color: #f472b6;
  /* Pink text */
  font-weight: 600;
}

/* --- Promo Cell Styles --- */
.promo-cell {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-card {
  background: linear-gradient(135deg, #d946ef 0%, #a855f7 100%);
  border-radius: 12px;
  padding: 3px;
  width: 130px;
  height: 70px;
  /* Fixed height for consistency */
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1px;
  overflow: hidden;
  justify-content: center;
  /* Center content vertically */
}

.promo-card.simple {
  padding: 10px;
  align-items: center;
  justify-content: center;
  height: 70px;
  /* Matched height */
  gap: 0;
}

.promo-top {
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 4px 0;
  text-transform: uppercase;
}

.promo-single {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-bottom {
  background: #111;
  color: white;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s;
  margin: 0 1px 1px 1px;
}

.promo-bottom:hover {
  background: #222;
}

.promo-bottom i {
  color: #d946ef;
}

/* --- Firm Cell Refined --- */
.firm-cell {
  gap: 10px;
}

.firm-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.firm-name {
  font-size: 0.95rem;
  line-height: 1.2;
}

.firm-likes {
  font-size: 0.75rem;
  color: #d946ef;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Country Cell --- */
.country-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.country-code {
  font-size: 0.9rem;
  color: #ccc;
}

/* --- Years Circular Chart --- */
.years-circle {
  width: 44px;
  height: 44px;
  margin: 0 auto;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 100%;
}

.circle-bg {
  fill: none;
  stroke: #333;
  stroke-width: 3.8;
}

.circle {
  fill: none;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke: #d946ef;
  animation: progress 1s ease-out forwards;
}

.percentage {
  fill: #fff;
  font-family: sans-serif;
  font-weight: bold;
  font-size: 0.8em;
  text-anchor: middle;
}

/* --- Allocation --- */
.allocation-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 80px;
}

.allocation-val {
  font-weight: 700;
  color: #fff;
}

.allocation-bar {
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  overflow: hidden;
}

.allocation-fill {
  height: 100%;
  background: #a855f7;
  border-radius: 2px;
}

/* Tooltip for Payout Column */
.payout-tooltip-container {
  position: relative;
  cursor: help;
  display: inline-block;
}

.payout-tooltip-container::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  /* Position above */
  left: 50%;
  transform: translateX(-50%);
  background: #18181b;
  /* Zinc-900 like dark */
  color: #f4f4f5;
  /* Zinc-100 text */
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: normal;
  width: max-content;
  max-width: 280px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  z-index: 1000;
  text-align: center;
  line-height: 1.4;
  pointer-events: none;
}

.payout-tooltip-container:hover::after {
  opacity: 1;
  visibility: visible;
  bottom: 130%;
  /* Slight slide up effect */
}

/* --- YouTube Section --- */
.youtube-section {
  padding: 100px 0;
  pointer-events: auto !important;
  /* Allow interaction */
}

.youtube-slider-container {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  margin-top: 40px;
}

.youtube-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  margin: 0 -40px;
  /* Offset the track padding to keep things centered */
}

.youtube-track {
  display: flex;
  gap: 24px;
  padding: 0 40px;
  /* Horizontal space for scale/glow on edges */
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-card {
  flex: 0 0 calc(25% - 18px);
  /* 4 cards on desktop */
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .video-card {
    flex: 0 0 calc(33.33% - 16px);
  }
}

@media (max-width: 900px) {
  .video-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 600px) {
  .video-card {
    flex: 0 0 100%;
  }
}

.video-card:hover {
  transform: translateY(-10px) scale(1.05);
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(112, 0, 255, 0.2);
  z-index: 10;
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.video-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.video-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.slider-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  z-index: 20;
  flex-shrink: 0;
}

.slider-nav:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: scale(1.1);
}

.slider-nav:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.loading-videos {
  width: 100%;
  text-align: center;
  padding: 40px;
  color: var(--text-muted);
  font-style: italic;
}