/* ==========================================================================
   CPA Network Pro - International Enterprise Design System
   Full Light Mode & Dark Mode Support for Global Clients
   Clean, Crisp, High-Converting Fintech & Rewards Experience
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS (LIGHT & DARK MODES)
   -------------------------------------------------------------------------- */

/* Default Light Theme (International Crisp Fintech Style) */
:root,
body.theme-light,
[data-theme="light"],
body.public-home-active,
body.public-home-active.theme-light,
[data-theme="light"] body.public-home-active {
  --ph-bg: #f8fafc;
  --ph-bg-gradient: 
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.07) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.06) 0, transparent 50%),
    radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.05) 0, transparent 50%);
  --ph-surface: #ffffff;
  --ph-surface-hover: #f8fafc;
  --ph-surface-subtle: #f1f5f9;
  --ph-border: #e2e8f0;
  --ph-border-subtle: #f1f5f9;
  --ph-border-focus: #93c5fd;
  --ph-text-heading: #0f172a;
  --ph-text-body: #475569;
  --ph-text-muted: #64748b;
  --ph-primary: #2563eb;
  --ph-primary-hover: #1d4ed8;
  --ph-primary-glow: rgba(37, 99, 235, 0.28);
  --ph-primary-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --ph-heading-gradient: linear-gradient(135deg, #0f172a 20%, #1e40af 60%, #2563eb 100%);
  --ph-card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
  --ph-card-shadow-hover: 0 20px 35px -5px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.2);
  --ph-badge-bg: #eff6ff;
  --ph-badge-border: #bfdbfe;
  --ph-badge-text: #1d4ed8;
  --ph-nav-bg: rgba(255, 255, 255, 0.88);
  --ph-nav-border: #e2e8f0;
  --ph-chart-line: #2563eb;
  --ph-chart-fill: rgba(37, 99, 235, 0.12);
  --ph-chart-grid: #f1f5f9;
  --ph-footer-bg: #ffffff;
  --ph-payout-green: #16a34a;
  --ph-cta-banner-bg: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #2563eb 100%);
  --ph-cta-banner-text: #ffffff;
  --ph-cta-banner-btn-bg: #ffffff;
  --ph-cta-banner-btn-text: #1e3a8a;
  --ph-blob-1: rgba(37, 99, 235, 0.08);
  --ph-blob-2: rgba(124, 58, 237, 0.07);
}

/* Dark Theme (High-End Cyber-Luxury Mode) */
[data-theme="dark"],
body.theme-dark,
body:not(.theme-light),
body.public-home-active.theme-dark,
[data-theme="dark"] body.public-home-active {
  --ph-bg: #070a13;
  --ph-bg-gradient: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(38, 99, 235, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 85% 20%, rgba(124, 58, 237, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 30% at 15% 45%, rgba(0, 242, 254, 0.10), transparent 60%);
  --ph-surface: #151c2c;
  --ph-surface-hover: #1e293b;
  --ph-surface-subtle: rgba(255, 255, 255, 0.04);
  --ph-border: rgba(255, 255, 255, 0.08);
  --ph-border-subtle: rgba(255, 255, 255, 0.05);
  --ph-border-focus: rgba(0, 242, 254, 0.4);
  --ph-text-heading: #ffffff;
  --ph-text-body: #94a3b8;
  --ph-text-muted: #64748b;
  --ph-primary: #00f2fe;
  --ph-primary-hover: #38bdf8;
  --ph-primary-glow: rgba(0, 242, 254, 0.35);
  --ph-primary-gradient: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --ph-heading-gradient: linear-gradient(135deg, #00f2fe 0%, #38bdf8 40%, #818cf8 100%);
  --ph-card-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  --ph-card-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 242, 254, 0.15);
  --ph-badge-bg: rgba(0, 242, 254, 0.1);
  --ph-badge-border: rgba(0, 242, 254, 0.25);
  --ph-badge-text: #38bdf8;
  --ph-nav-bg: rgba(7, 10, 19, 0.88);
  --ph-nav-border: rgba(255, 255, 255, 0.07);
  --ph-chart-line: #00f2fe;
  --ph-chart-fill: rgba(0, 242, 254, 0.3);
  --ph-chart-grid: rgba(255, 255, 255, 0.06);
  --ph-footer-bg: #05070e;
  --ph-payout-green: #10b981;
  --ph-cta-banner-bg: linear-gradient(135deg, rgba(14, 23, 47, 0.95) 0%, rgba(20, 30, 60, 0.95) 100%);
  --ph-cta-banner-text: #ffffff;
  --ph-cta-banner-btn-bg: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --ph-cta-banner-btn-text: #070a13;
  --ph-blob-1: rgba(0, 242, 254, 0.12);
  --ph-blob-2: rgba(124, 58, 237, 0.15);
}

/* --------------------------------------------------------------------------
   2. BASE & CANVAS SETUP
   -------------------------------------------------------------------------- */
body.public-home-active {
  margin: 0;
  padding: 0;
  background-color: var(--ph-bg) !important;
  background-image: var(--ph-bg-gradient) !important;
  color: var(--ph-text-body) !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body.public-home-active .ambient {
  display: none !important;
}

/* --------------------------------------------------------------------------
   3. TOP NAVIGATION BAR
   -------------------------------------------------------------------------- */
body.public-home-active .topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - 1280px) / 2));
  height: 76px;
  background: var(--ph-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--ph-nav-border);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.public-home-active .brand {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ph-text-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-brand-logo {
  height: 38px;
  max-height: 38px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-brand-logo:hover {
  transform: translateY(-1px);
}

.site-logo-light {
  display: inline-block !important;
}

.site-logo-dark {
  display: none !important;
}

[data-theme="dark"] .site-logo-light,
body.theme-dark .site-logo-light,
body.dashboard-bucks-theme .site-logo-light {
  display: none !important;
}

[data-theme="dark"] .site-logo-dark,
body.theme-dark .site-logo-dark,
body.dashboard-bucks-theme .site-logo-dark {
  display: inline-block !important;
}

@media (max-width: 600px) {
  .site-brand-logo {
    height: 32px;
    max-height: 32px;
    max-width: 170px;
  }
}

body.public-home-active .brand i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--ph-primary-gradient);
  color: #fff;
  font-weight: 900;
  font-style: normal;
  font-size: 1.05rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--ph-primary-glow);
}

body.public-home-active .brand span {
  color: var(--ph-text-heading);
}

body.public-home-active .brand span span {
  color: var(--ph-primary);
}

.topbar #nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  margin-right: auto;
}

.topbar #nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  color: var(--ph-text-body, #94a3b8);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  white-space: nowrap;
}

.topbar #nav a::after {
  display: none !important;
}

.topbar #nav a:hover {
  color: var(--ph-primary, #00f2fe) !important;
  background: var(--ph-badge-bg, rgba(0, 242, 254, 0.1)) !important;
  border-color: var(--ph-badge-border, rgba(0, 242, 254, 0.25)) !important;
  transform: translateY(-1px);
}

.topbar #nav a.is-active {
  color: var(--ph-primary, #00f2fe) !important;
  background: var(--ph-badge-bg, rgba(0, 242, 254, 0.14)) !important;
  border-color: var(--ph-primary, rgba(0, 242, 254, 0.35)) !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.15);
}

.topbar #nav a.is-active:hover {
  color: var(--ph-primary-hover, #38bdf8) !important;
  background: var(--ph-badge-bg, rgba(0, 242, 254, 0.2)) !important;
}

body.public-home-active .nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Mobile Navigation Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--ph-border);
  background: var(--ph-surface);
  color: var(--ph-text-heading);
  cursor: pointer;
  z-index: 1002;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  background: var(--ph-surface-hover);
  border-color: var(--ph-primary);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer Backdrop */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  top: 68px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.mobile-nav-open .mobile-nav-backdrop {
  display: block;
  opacity: 1;
}

/* Mobile Nav Drawer Actions */
.mobile-nav-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--ph-border);
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

.mobile-nav-btn.ghost {
  background: var(--ph-surface-hover);
  border: 1px solid var(--ph-border);
  color: var(--ph-text-heading);
}

.mobile-nav-btn.primary {
  background: var(--ph-primary-gradient);
  color: #ffffff !important;
  box-shadow: 0 4px 15px var(--ph-primary-glow);
}

/* Theme Toggle Switch & Button */
.theme-toggle-switch {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  height: 32px !important;
  min-width: 58px !important;
  max-width: 58px !important;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9999px !important;
  background: rgba(14, 21, 38, 0.85) !important;
  cursor: pointer !important;
  outline: none !important;
  overflow: hidden !important;
  user-select: none !important;
  -webkit-tap-highlight-color: transparent !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  flex-shrink: 0 !important;
}

.theme-toggle-switch:hover {
  border-color: rgba(96, 165, 250, 0.4) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.35), 0 0 12px rgba(59, 130, 246, 0.25) !important;
}

.theme-toggle-switch:focus-visible {
  outline: 2px solid #3B82F6 !important;
  outline-offset: 2px !important;
}

.theme-switch-slider {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 5px !important;
  box-sizing: border-box !important;
}

.theme-switch-icon {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 11px !important;
  line-height: 1 !important;
  transition: color 0.25s ease, transform 0.25s ease, opacity 0.25s ease !important;
}

.theme-switch-moon {
  color: #60A5FA !important;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.6) !important;
  opacity: 1 !important;
}

.theme-switch-sun {
  color: #64748B !important;
  opacity: 0.45 !important;
}

.theme-switch-thumb {
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%) !important;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  z-index: 1 !important;
  pointer-events: none !important;
  display: block !important;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, box-shadow 0.25s ease !important;
}

/* Light mode overrides for Home Page */
body.light-mode .theme-toggle-switch,
body.theme-light .theme-toggle-switch,
[data-theme="light"] .theme-toggle-switch,
.theme-toggle-switch[data-theme-current="light"] {
  background: #E2E8F0 !important;
  border-color: #CBD5E1 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .theme-toggle-switch:hover,
body.theme-light .theme-toggle-switch:hover,
[data-theme="light"] .theme-toggle-switch:hover,
.theme-toggle-switch[data-theme-current="light"]:hover {
  border-color: #F59E0B !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 0 12px rgba(245, 158, 11, 0.25) !important;
}

body.light-mode .theme-switch-thumb,
body.theme-light .theme-switch-thumb,
[data-theme="light"] .theme-switch-thumb,
.theme-toggle-switch[data-theme-current="light"] .theme-switch-thumb {
  transform: translateX(26px) !important;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

body.light-mode .theme-switch-moon,
body.theme-light .theme-switch-moon,
[data-theme="light"] .theme-switch-moon,
.theme-toggle-switch[data-theme-current="light"] .theme-switch-moon {
  color: #94A3B8 !important;
  text-shadow: none !important;
  opacity: 0.45 !important;
}

body.light-mode .theme-switch-sun,
body.theme-light .theme-switch-sun,
[data-theme="light"] .theme-switch-sun,
.theme-toggle-switch[data-theme-current="light"] .theme-switch-sun {
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.8) !important;
  opacity: 1 !important;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-text-body);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--ph-surface-hover);
  color: var(--ph-primary);
  border-color: var(--ph-primary);
}

body.public-home-active .nav-actions .cp-button.ghost {
  padding: 9px 18px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-text-heading);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

body.public-home-active .nav-actions .cp-button.ghost:hover {
  background: var(--ph-surface-hover);
  border-color: var(--ph-border-focus);
  color: var(--ph-primary);
}

body.public-home-active .nav-actions .cp-button.primary,
body.public-home-active .pro-signup-cta {
  padding: 10px 22px;
  background: var(--ph-primary-gradient);
  border: none;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--ph-primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.public-home-active .nav-actions .cp-button.primary:hover,
body.public-home-active .pro-signup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--ph-primary-glow);
  filter: brightness(1.05);
}

body.public-home-active .cp-public-contact {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. MAIN CONTAINER & HERO SECTION
   -------------------------------------------------------------------------- */
.pro-home-v2 {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

.pro-hero-v2 {
  position: relative;
  padding: 56px 0 60px;
  overflow: visible;
}

.hero-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-blob.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--ph-blob-1);
  top: -100px;
  left: -150px;
}

.hero-glow-blob.blob-2 {
  width: 550px;
  height: 550px;
  background: var(--ph-blob-2);
  top: 100px;
  right: -150px;
}

.pro-hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Hero Content */
.pro-hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 16px;
  background: var(--ph-badge-bg);
  border: 1px solid var(--ph-badge-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ph-badge-text);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ph-text-heading);
}

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

.hero-subtitle {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--ph-text-body);
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  background: var(--ph-primary-gradient);
  color: #ffffff !important;
  font-size: 1.02rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 6px 20px var(--ph-primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--ph-primary-glow);
  filter: brightness(1.05);
}

.btn-primary-glow.large {
  padding: 18px 36px;
  font-size: 1.15rem;
  border-radius: 14px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 24px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-text-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--ph-card-shadow);
  transition: all 0.25s ease;
}

.btn-glass:hover {
  background: var(--ph-surface-hover);
  border-color: var(--ph-border-focus);
  color: var(--ph-primary);
  transform: translateY(-2px);
}

.btn-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  color: var(--ph-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s;
}

.btn-subtle:hover {
  color: var(--ph-primary);
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--ph-border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ph-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-icon {
  color: var(--ph-primary);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   5. HERO SHOWCASE / GLASS DASHBOARD CARD
   -------------------------------------------------------------------------- */
.pro-hero-showcase {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-dashboard-card {
  width: 100%;
  max-width: 520px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--ph-card-shadow);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  transition: all 0.25s ease;
}

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

.window-controls {
  display: flex;
  gap: 6px;
}

.ctrl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ctrl.red { background: #ef4444; }
.ctrl.yellow { background: #f59e0b; }
.ctrl.green { background: #10b981; }

.window-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ph-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
}

.glass-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: var(--ph-surface-subtle);
  border: 1px solid var(--ph-border-subtle);
  border-radius: 12px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ph-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ph-text-heading);
}

.stat-trend {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ph-primary);
}

.stat-trend.green {
  color: #10b981;
}

.glass-chart-wrapper {
  position: relative;
  background: var(--ph-surface-subtle);
  border-radius: 14px;
  padding: 16px 12px 8px;
  border: 1px solid var(--ph-border);
  margin-bottom: 18px;
}

.chart-legend {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 0.75rem;
  color: var(--ph-text-muted);
  font-weight: 600;
}

.chart-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
}

.chart-dot.cyan { background: var(--ph-chart-line); }
.chart-dot.purple { background: #8b5cf6; }

.hero-svg-chart {
  width: 100%;
  height: 140px;
  overflow: visible;
}

.chart-gridline {
  stroke: var(--ph-chart-grid);
  stroke-width: 1;
}

.chart-path-fill {
  fill: var(--ph-chart-fill);
}

.chart-path-line {
  stroke: var(--ph-chart-line);
}

.chart-path-secondary {
  stroke: #8b5cf6;
}

.chart-point {
  fill: var(--ph-chart-line);
  filter: drop-shadow(0 0 6px var(--ph-primary-glow));
}

/* Glass Live Feed */
.glass-live-feed {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--ph-surface);
  border-radius: 10px;
  border: 1px solid var(--ph-border);
  transition: background 0.2s;
}

.feed-item:hover {
  background: var(--ph-surface-hover);
}

.feed-avatar {
  font-size: 1.15rem;
}

.feed-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feed-info strong {
  font-size: 0.85rem;
  color: var(--ph-text-heading);
}

.feed-info small {
  font-size: 0.72rem;
  color: var(--ph-text-muted);
}

.feed-payout {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ph-primary);
}

.feed-payout.green {
  color: var(--ph-payout-green);
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 16px;
  box-shadow: var(--ph-card-shadow);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge.badge-top-right {
  top: -20px;
  right: -25px;
}

.floating-badge.badge-bottom-left {
  bottom: -20px;
  left: -25px;
  animation-delay: -2.5s;
}

.float-icon {
  font-size: 1.5rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.98rem;
  color: var(--ph-text-heading);
  font-weight: 700;
}

.floating-badge small {
  font-size: 0.75rem;
  color: var(--ph-text-muted);
}

/* --------------------------------------------------------------------------
   6. METRICS STRIP
   -------------------------------------------------------------------------- */
.pro-metrics-strip {
  margin: 20px 0 60px;
  padding: 32px 40px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  box-shadow: var(--ph-card-shadow);
}

.metric-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.metric-box {
  flex: 1;
  text-align: center;
}

.metric-num {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ph-text-heading);
  letter-spacing: -0.02em;
}

.metric-desc {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ph-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.metric-divider {
  width: 1px;
  height: 48px;
  background: var(--ph-border);
}

/* --------------------------------------------------------------------------
   7. PARTNER NETWORKS SECTION & TICKER
   -------------------------------------------------------------------------- */
.pro-partners-section {
  padding: 40px 0 60px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: var(--ph-badge-bg);
  border: 1px solid var(--ph-badge-border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ph-badge-text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.partners-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ph-text-heading);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.partners-header p {
  color: var(--ph-text-body);
  font-size: 1.05rem;
  margin: 0 0 35px;
}

.partners-marquee-mask {
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.partners-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollMarquee 30s linear infinite;
}

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

.partner-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.partner-badge-card:hover {
  transform: translateY(-3px);
  border-color: var(--ph-border-focus);
  box-shadow: var(--ph-card-shadow-hover);
}

.partner-badge-card img {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}

.partner-badge-card .p-name {
  font-weight: 700;
  color: var(--ph-text-heading);
  font-size: 0.95rem;
  display: block;
}

.partner-badge-card .p-type {
  font-size: 0.75rem;
  color: var(--ph-text-muted);
}

/* --------------------------------------------------------------------------
   8. HOW IT WORKS (3 STEPS)
   -------------------------------------------------------------------------- */
.pro-how-it-works {
  padding: 60px 0;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-header-center h2 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--ph-text-heading);
  margin: 10px 0 14px;
  letter-spacing: -0.025em;
}

.section-header-center p {
  color: var(--ph-text-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

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

.step-card {
  position: relative;
  padding: 36px 30px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  box-shadow: var(--ph-card-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--ph-border-focus);
  box-shadow: var(--ph-card-shadow-hover);
}

.step-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--ph-badge-bg);
  color: var(--ph-badge-text);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: 6px;
  margin-bottom: 20px;
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ph-text-heading);
  margin: 0 0 12px;
}

.step-card p {
  color: var(--ph-text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   9. FEATURED OFFERS SHOWCASE
   -------------------------------------------------------------------------- */
.pro-featured-offers {
  padding: 60px 0;
}

.section-header-flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-header-flex h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ph-text-heading);
  margin: 10px 0 10px;
  letter-spacing: -0.025em;
}

.section-header-flex p {
  color: var(--ph-text-body);
  font-size: 1.05rem;
  margin: 0;
}

.btn-outline-glow {
  padding: 12px 24px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  color: var(--ph-primary);
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: var(--ph-card-shadow);
  transition: all 0.25s ease;
}

.btn-outline-glow:hover {
  background: var(--ph-badge-bg);
  border-color: var(--ph-primary);
  color: var(--ph-primary-hover);
}

.offers-teaser-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.teaser-offer-card {
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 18px;
  box-shadow: var(--ph-card-shadow);
  transition: all 0.25s ease;
}

.teaser-offer-card:hover {
  transform: translateY(-4px);
  border-color: var(--ph-border-focus);
  box-shadow: var(--ph-card-shadow-hover);
}

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

.offer-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--ph-surface-subtle);
}

.offer-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}

.offer-tag.hot { background: #fee2e2; color: #dc2626; }
.offer-tag.instant { background: #dcfce7; color: #16a34a; }
.offer-tag.high { background: #f3e8ff; color: #7e22ce; }

.teaser-offer-card h4 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ph-text-heading);
  margin: 0 0 6px;
}

.offer-action-desc {
  font-size: 0.85rem;
  color: var(--ph-text-body);
  margin: 0 0 18px;
  line-height: 1.45;
  flex: 1;
}

.offer-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--ph-border-subtle);
}

.offer-payout-amount {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ph-payout-green);
}

.offer-start-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ph-primary);
  text-decoration: none;
  background: var(--ph-badge-bg);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.offer-start-link:hover {
  background: var(--ph-primary);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. PAYOUT METHODS SECTION
   -------------------------------------------------------------------------- */
.pro-payout-methods {
  padding: 60px 0;
}

.payout-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.payout-method-card {
  padding: 30px 24px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 20px;
  box-shadow: var(--ph-card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.payout-method-card:hover {
  transform: translateY(-5px);
  border-color: var(--ph-border-focus);
  box-shadow: var(--ph-card-shadow-hover);
}

.payout-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.payout-icon-box.crypto { background: #fef3c7; }
.payout-icon-box.paypal { background: #dbeafe; }
.payout-icon-box.bank { background: #dcfce7; }
.payout-icon-box.gift { background: #f3e8ff; }

[data-theme="dark"] .payout-icon-box.crypto { background: rgba(245, 158, 11, 0.18); }
[data-theme="dark"] .payout-icon-box.paypal { background: rgba(59, 130, 246, 0.18); }
[data-theme="dark"] .payout-icon-box.bank { background: rgba(16, 185, 129, 0.18); }
[data-theme="dark"] .payout-icon-box.gift { background: rgba(168, 85, 247, 0.18); }

.payout-method-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ph-text-heading);
  margin: 0 0 10px;
}

.payout-method-card p {
  color: var(--ph-text-body);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}

.payout-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: #fef3c7;
  color: #b45309;
}

.payout-tag.green { background: #dcfce7; color: #15803d; }
.payout-tag.blue { background: #dbeafe; color: #1d4ed8; }
.payout-tag.purple { background: #f3e8ff; color: #7e22ce; }

/* --------------------------------------------------------------------------
   11. ADVANTAGES SECTION
   -------------------------------------------------------------------------- */
.pro-advantages {
  padding: 60px 0;
}

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

.adv-card {
  padding: 28px 24px;
  background: var(--ph-surface);
  border: 1px solid var(--ph-border);
  border-radius: 18px;
  box-shadow: var(--ph-card-shadow);
  transition: all 0.25s ease;
}

.adv-card:hover {
  border-color: var(--ph-border-focus);
  transform: translateY(-4px);
  box-shadow: var(--ph-card-shadow-hover);
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.adv-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ph-text-heading);
  margin: 0 0 10px;
}

.adv-card p {
  color: var(--ph-text-body);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   12. FINAL CALL-TO-ACTION BANNER
   -------------------------------------------------------------------------- */
.pro-final-banner {
  margin: 60px 0 30px;
}

.banner-inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 60px 30px;
  background: var(--ph-cta-banner-bg);
  color: var(--ph-cta-banner-text);
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.25);
}

.banner-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.banner-tag {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 100px;
  margin-bottom: 16px;
}

.banner-inner h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.025em;
}

.banner-inner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.12rem;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.banner-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.banner-actions .btn-primary-glow.large {
  background: var(--ph-cta-banner-btn-bg);
  color: var(--ph-cta-banner-btn-text) !important;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.banner-actions .btn-primary-glow.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.banner-guarantees {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  font-weight: 600;
}

.banner-guarantees span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   13. SITE FOOTER
   -------------------------------------------------------------------------- */
body.public-home-active .site-footer {
  background: var(--ph-footer-bg);
  border-top: 1px solid var(--ph-border);
  padding: 60px max(24px, calc((100vw - 1280px) / 2)) 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  color: var(--ph-text-muted);
  transition: background 0.25s ease, border-color 0.25s ease;
}

body.public-home-active .site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ph-text-heading);
  margin-bottom: 16px;
}

body.public-home-active .site-footer-brand img {
  width: auto;
  height: auto;
}

body.public-home-active .site-footer-brand img.site-brand-logo {
  height: 34px;
  max-height: 34px;
  width: auto;
  max-width: 190px;
}

body.public-home-active .site-footer-brand span span {
  color: var(--ph-primary);
}

body.public-home-active .site-footer h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ph-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

body.public-home-active .site-footer a {
  display: block;
  color: var(--ph-text-body);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

body.public-home-active .site-footer a:hover {
  color: var(--ph-primary);
}

body.public-home-active .site-footer p {
  color: var(--ph-text-body);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 340px;
  margin: 0 0 16px;
}

body.public-home-active .site-footer small {
  color: var(--ph-text-muted);
  font-size: 0.82rem;
}

body.public-home-active .footer-chat-button {
  padding: 8px 16px;
  background: var(--ph-badge-bg);
  border: 1px solid var(--ph-badge-border);
  color: var(--ph-primary);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

body.public-home-active .footer-chat-button:hover {
  background: var(--ph-primary);
  color: #ffffff;
}

/* ==========================================================================
   14. COMPREHENSIVE 4-DEVICE RESPONSIVE SYSTEM
   Device 1: Mobile (< 600px)
   Device 2: Tablet (600px - 1024px)
   Device 3: Laptop & Standard Desktop (1025px - 1440px)
   Device 4: Large Desktop & 4K (> 1440px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   DEVICE 4: LARGE DESKTOP & 4K (> 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1441px) {
  .pro-home-v2 {
    max-width: 1400px;
    padding: 0 40px 80px;
  }
  .pro-hero-container {
    gap: 60px;
  }
  .hero-title {
    font-size: clamp(3.4rem, 4vw, 4.2rem);
  }
  .glass-dashboard-card {
    max-width: 560px;
  }
  .pro-metrics-strip {
    padding: 36px 48px;
  }
  .metric-num {
    font-size: 2.5rem;
  }
  .banner-inner {
    padding: 72px 48px;
  }
  body.public-home-active .site-footer {
    padding: 72px max(40px, calc((100vw - 1400px) / 2)) 48px;
    gap: 48px;
  }
}

/* --------------------------------------------------------------------------
   DEVICE 3: LAPTOP & STANDARD DESKTOP (1025px - 1440px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .pro-home-v2 {
    max-width: 1240px;
    padding: 0 24px 60px;
  }
  .pro-hero-container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
  .steps-grid,
  .offers-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .payout-cards-grid,
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   DEVICE 2: TABLET (600px - 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pro-hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pro-hero-content {
    order: 1;
  }
  .pro-hero-showcase {
    order: 2;
  }
  .glass-dashboard-card {
    max-width: 520px;
    margin: 0 auto;
  }
  .steps-grid,
  .offers-teaser-grid,
  .payout-cards-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  body.public-home-active .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 24px 32px;
  }
}

/* Tablet & Mobile Navigation Trigger (< 992px) */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex !important;
  }
  body.public-home-active .topbar {
    padding: 0 20px;
    height: 70px;
  }
  body.public-home-active #nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--ph-surface);
    border-bottom: 1px solid var(--ph-border);
    padding: 20px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    max-height: calc(100vh - 70px);
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, visibility 0.2s;
  }
  body.mobile-nav-open #nav,
  body.public-home-active #nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .topbar #nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    font-size: 1.02rem;
    font-weight: 600;
    border-radius: 12px;
    background: var(--ph-surface-hover);
    border: 1px solid var(--ph-border-subtle);
  }
  .topbar #nav a:hover,
  .topbar #nav a.is-active {
    background: var(--ph-primary-gradient) !important;
    color: #ffffff !important;
    border-color: var(--ph-primary) !important;
  }
  .pro-metrics-strip {
    padding: 24px 24px;
  }
  .metric-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-divider {
    display: none;
  }
  .floating-badge {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   DEVICE 1: MOBILE PHONE (< 600px)
   -------------------------------------------------------------------------- */
@media (max-width: 599px) {
  body.public-home-active .topbar {
    padding: 0 14px;
    height: 64px;
  }
  .mobile-nav-backdrop {
    top: 64px;
  }
  body.public-home-active #nav {
    top: 64px;
    padding: 16px 16px 24px;
    max-height: calc(100vh - 64px);
    max-height: calc(100dvh - 64px);
  }
  .site-brand-logo {
    height: 30px;
    max-height: 30px;
    max-width: 145px;
  }
  body.public-home-active .nav-actions .cp-button.ghost {
    display: none;
  }
  body.public-home-active .pro-signup-cta {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
  .nav-actions {
    gap: 8px !important;
  }
  .theme-toggle-switch,
  .nav-actions .theme-toggle-switch {
    width: 52px !important;
    height: 28px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }
  .theme-switch-slider {
    padding: 0 3px !important;
  }
  .theme-switch-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }
  .theme-switch-thumb {
    top: 2px !important;
    left: 2px !important;
    width: 22px !important;
    height: 22px !important;
    display: block !important;
  }
  body.light-mode .theme-switch-thumb,
  body.theme-light .theme-switch-thumb,
  [data-theme="light"] .theme-switch-thumb,
  .theme-toggle-switch[data-theme-current="light"] .theme-switch-thumb {
    transform: translateX(24px) !important;
  }
  .theme-toggle {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
  .theme-toggle span:last-child {
    display: none;
  }
  .pro-home-v2 {
    padding: 0 14px 40px;
  }
  .pro-hero-v2 {
    padding: 24px 0 36px;
  }
  .hero-badge {
    padding: 6px 12px;
    margin-bottom: 16px;
  }
  .badge-text {
    font-size: 0.74rem;
    line-height: 1.35;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.8vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }
  .btn-primary-glow,
  .btn-glass {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.98rem;
  }
  .hero-trust-badges {
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
  }
  .glass-dashboard-card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .stat-pill {
    padding: 10px 12px;
  }
  .stat-val {
    font-size: 1.1rem;
  }
  .feed-item {
    padding: 8px 10px;
    font-size: 0.8rem;
  }
  .pro-metrics-strip {
    padding: 18px 14px;
    margin: 16px 0 40px;
    border-radius: 16px;
  }
  .metric-num {
    font-size: 1.7rem;
  }
  .metric-desc {
    font-size: 0.75rem;
  }
  .partners-header h2 {
    font-size: 1.7rem;
  }
  .partners-header p {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }
  .section-header-center {
    margin-bottom: 28px;
    padding: 0 4px;
  }
  .section-header-center h2,
  .section-header-flex h2,
  .payout-header h2,
  .adv-header h2 {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    line-height: 1.25;
    word-break: break-word;
  }
  .section-header-center p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .steps-grid,
  .offers-teaser-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .payout-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .payout-method-card {
    padding: 18px 14px;
    border-radius: 16px;
  }
  .payout-logo-box {
    width: 44px;
    height: 44px;
  }
  .banner-inner {
    padding: 36px 16px;
    border-radius: 20px;
  }
  .banner-inner h2 {
    font-size: 1.65rem;
  }
  .banner-inner p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .banner-inner .btn-primary-glow.large {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
  body.public-home-active .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 16px 28px;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  body.public-home-active .topbar {
    padding: 0 10px;
  }
  .site-brand-logo {
    max-width: 125px;
    height: 28px;
  }
  .metric-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .payout-cards-grid {
    grid-template-columns: 1fr;
  }
  .glass-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==========================================================================
   PORTALS SHOWCASE (Earners, Advertisers, Partners)
   ========================================================================== */
.pro-portals-section {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.portals-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.portals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  box-sizing: border-box;
}

.portal-card {
  background: var(--ph-surface, #151c2c);
  border: 1px solid var(--ph-border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--ph-card-shadow, 0 4px 20px rgba(0,0,0,0.2));
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ph-card-shadow-hover, 0 20px 35px rgba(0,0,0,0.3));
  border-color: var(--ph-primary, #00f2fe);
}

.portal-card.highlight {
  border-color: var(--ph-primary, #00f2fe);
  background: linear-gradient(145deg, var(--ph-surface, #151c2c), var(--ph-surface-subtle, rgba(255, 255, 255, 0.04)));
  box-shadow: 0 0 24px -4px var(--ph-primary-glow, rgba(0, 242, 254, 0.25));
}

.portal-card-badge,
.portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ph-badge-bg, rgba(0, 242, 254, 0.1));
  border: 1px solid var(--ph-badge-border, rgba(0, 242, 254, 0.25));
  color: var(--ph-badge-text, var(--ph-primary, #00f2fe));
  width: fit-content;
  margin-bottom: 16px;
}

.portal-card-icon,
.portal-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.portal-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ph-text-heading, #ffffff);
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.portal-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ph-text-body, #94a3b8);
  margin: 0 0 20px 0;
}

.portal-checklist,
.portal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-checklist li,
.portal-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ph-text-body, #e2e8f0);
}

.portal-checklist li i,
.portal-list li i {
  color: #10B981;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.25s ease;
  background: var(--ph-surface-subtle, rgba(255, 255, 255, 0.05));
  border: 1px solid var(--ph-border, rgba(255, 255, 255, 0.12));
  color: var(--ph-text-heading, #ffffff) !important;
  box-sizing: border-box;
  cursor: pointer;
}

.portal-btn:hover {
  background: var(--ph-primary, #00f2fe);
  color: #04121b !important;
  border-color: var(--ph-primary, #00f2fe);
  transform: translateY(-2px);
}

body.theme-light .portal-btn:hover,
[data-theme="light"] .portal-btn:hover {
  background: var(--ph-primary, #2563eb);
  color: #ffffff !important;
  border-color: var(--ph-primary, #2563eb);
}

.portal-card.highlight .portal-btn {
  background: var(--ph-primary, #00f2fe);
  color: #04121b !important;
  border-color: var(--ph-primary, #00f2fe);
  box-shadow: 0 4px 14px -2px var(--ph-primary-glow, rgba(0, 242, 254, 0.3));
}

body.theme-light .portal-card.highlight .portal-btn,
[data-theme="light"] .portal-card.highlight .portal-btn {
  background: var(--ph-primary, #2563eb);
  color: #ffffff !important;
  border-color: var(--ph-primary, #2563eb);
}

.portal-card.highlight .portal-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* ==========================================================================
   SEO FAQ ACCORDION
   ========================================================================== */
.pro-faq-section {
  padding: 80px 24px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.faq-accordion {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--ph-surface, #151c2c);
  border: 1px solid var(--ph-border, rgba(255, 255, 255, 0.08));
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--ph-card-shadow, 0 4px 20px rgba(0,0,0,0.1));
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: var(--ph-border-focus, rgba(0, 242, 254, 0.4));
}

.faq-item.active {
  border-color: var(--ph-primary, #00f2fe);
  box-shadow: 0 0 16px -2px var(--ph-primary-glow, rgba(0, 242, 254, 0.25));
}

body.theme-light .faq-item.active,
[data-theme="light"] .faq-item.active {
  border-color: var(--ph-primary, #2563eb);
  box-shadow: 0 0 16px -2px var(--ph-primary-glow, rgba(37, 99, 235, 0.2));
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ph-text-heading, #ffffff);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease, background-color 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

.faq-question:hover {
  color: var(--ph-primary, #00f2fe);
}

body.theme-light .faq-question:hover,
[data-theme="light"] .faq-question:hover {
  color: var(--ph-primary, #2563eb);
}

.faq-question span {
  flex: 1;
  line-height: 1.45;
}

.faq-question i.faq-chevron {
  font-size: 0.9rem;
  color: var(--ph-text-muted, #94a3b8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron,
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--ph-primary, #00f2fe);
}

body.theme-light .faq-item.active .faq-chevron,
[data-theme="light"] .faq-item.active .faq-chevron {
  color: var(--ph-primary, #2563eb);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px 24px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ph-text-body, #94a3b8);
  box-sizing: border-box;
  animation: faqSlideIn 0.25s ease forwards;
}

.faq-item.active .faq-answer {
  display: block;
}

@keyframes faqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PORTALS & FAQ RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .pro-portals-section {
    padding: 60px 20px;
  }
  .portals-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .pro-faq-section {
    padding: 60px 20px;
  }
  .faq-question {
    font-size: 1rem;
    padding: 18px 20px;
  }
  .faq-answer {
    font-size: 0.92rem;
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 600px) {
  .pro-portals-section {
    padding: 44px 14px;
  }
  .portals-grid {
    margin-top: 24px;
    gap: 16px;
  }
  .portal-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .portal-card-badge,
  .portal-badge {
    font-size: 0.68rem;
    padding: 3px 10px;
    margin-bottom: 12px;
  }
  .portal-card-icon,
  .portal-icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .portal-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .portal-card p {
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .portal-checklist,
  .portal-list {
    margin-bottom: 18px;
    gap: 8px;
  }
  .portal-checklist li,
  .portal-list li {
    font-size: 0.84rem;
    gap: 8px;
  }
  .portal-btn {
    padding: 12px 16px;
    font-size: 0.88rem;
    border-radius: 10px;
  }
  .pro-faq-section {
    padding: 44px 14px;
  }
  .faq-accordion {
    margin-top: 24px;
    gap: 10px;
  }
  .faq-item {
    border-radius: 14px;
  }
  .faq-question {
    font-size: 0.92rem;
    padding: 15px 16px;
    gap: 10px;
  }
  .faq-answer {
    font-size: 0.86rem;
    padding: 0 16px 16px 16px;
    line-height: 1.6;
  }
}

@media (max-width: 380px) {
  .pro-portals-section {
    padding: 36px 10px;
  }
  .portal-card {
    padding: 20px 14px;
  }
  .portal-card h3 {
    font-size: 1.1rem;
  }
  .pro-faq-section {
    padding: 36px 10px;
  }
  .faq-question {
    font-size: 0.88rem;
    padding: 14px 12px;
  }
  .faq-answer {
    font-size: 0.82rem;
    padding: 0 12px 14px 12px;
  }
}

