/* ==========================================================================
   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) */
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) */
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: space-between;
  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;
  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);
}

body.public-home-active #nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

body.public-home-active #nav a {
  padding: 8px 16px;
  color: var(--ph-text-body);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

body.public-home-active #nav a:hover,
body.public-home-active #nav a.is-active {
  color: var(--ph-primary);
  background: var(--ph-badge-bg);
}

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

/* Theme Toggle Button */
.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;
  transition: all 0.2s;
}

.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. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .pro-hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pro-hero-showcase {
    order: -1;
  }
  .steps-grid,
  .offers-teaser-grid,
  .payout-cards-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  body.public-home-active .site-footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  body.public-home-active .topbar {
    padding: 0 16px;
    height: 68px;
  }
  body.public-home-active #nav {
    display: none;
  }
  .pro-home-v2 {
    padding: 0 16px 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .pro-metrics-strip {
    padding: 24px 16px;
  }
  .metric-container {
    flex-direction: column;
    gap: 20px;
  }
  .metric-divider {
    width: 100%;
    height: 1px;
  }
  .steps-grid,
  .offers-teaser-grid,
  .payout-cards-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  body.public-home-active .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
