/**
 * PoulsBRVM - Master Theme Unification CSS (Daylight White Aesthetic)
 * Enforces pure white backgrounds, crisp dark headings, slate typography,
 * light borders, and eliminates all dark/black themes across every page.
 */

/* 1. Global Page Background & Root Defaults */
html, body {
  background-color: #ffffff !important;
  color: #0f172a !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#page-wrap, .wrap, main {
  background-color: #ffffff !important;
}

/* 2. Top Header Navigation (White translucent background) */
.site-header,
.site-header.navbar-dark-mode,
.template-rebates-explained .site-header.navbar-dark-mode {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

.site-header .menu-main > li > a,
.site-header a {
  color: #0f172a !important;
}

.site-header .menu-main > li > a:hover {
  color: #047857 !important;
}

/* 3. Global Section Dark Neutralization */
[data-section-dark],
section[data-section-dark] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

[data-section-dark] h1,
[data-section-dark] h2,
[data-section-dark] h3,
[data-section-dark] h4 {
  color: #0f172a !important;
}

[data-section-dark] p,
[data-section-dark] li {
  color: #475569 !important;
}

/* 4. Options Rebate Explained Page Unification */
.template-rebates-explained,
.template-rebates-explained body,
.template-rebates-explained #page-wrap,
.template-rebates-explained .section {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #0f172a !important;
}

.template-rebates-explained h1,
.template-rebates-explained h2,
.template-rebates-explained h3,
.template-rebates-explained h4,
.template-rebates-explained .section-page-hero h2,
.template-rebates-explained .section-video-explain h2,
.template-rebates-explained .section-diagram h2,
.template-rebates-explained .section-fees-compared h2,
.template-rebates-explained .section-features h2,
.template-rebates-explained .section-transparency h2,
.template-rebates-explained .section-cta h2 {
  color: #0f172a !important;
}

.template-rebates-explained p,
.template-rebates-explained li,
.template-rebates-explained .section-page-hero p,
.template-rebates-explained .section-fees-compared p,
.template-rebates-explained .section-features p {
  color: #475569 !important;
}

.template-rebates-explained .row-cards,
.template-rebates-explained .card,
.template-rebates-explained .feature-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

/* 5. Bond Account Hero & Sections Unification */
.template-bond-account,
.template-bond-account body,
.template-bond-account #page-wrap {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.template-bond-account .section-page-hero {
  background: #ffffff !important;
  background-image: none !important;
}

.template-bond-account .section-page-hero .container::before {
  background: transparent !important;
  display: none !important;
}

.template-bond-account .section-page-hero .container::after {
  background: transparent !important;
  display: none !important;
}

.template-bond-account .section-page-hero h2 {
  color: #0f172a !important;
}

.template-bond-account .section-page-hero p {
  color: #475569 !important;
}

.template-bond-account .section-page-hero .rate-wrap span {
  color: #047857 !important;
  background: none !important;
  -webkit-text-fill-color: #047857 !important;
}

.template-bond-account .section-countdown,
.template-bond-account .section-cta-title-button {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.template-bond-account .section-countdown h2,
.template-bond-account .section-cta-title-button h2 {
  color: #0f172a !important;
}

.template-bond-account .section-countdown p,
.template-bond-account .section-cta-title-button p {
  color: #475569 !important;
}

/* 6. Active Trading & Preset Agents (Homepage) Unification */
.section-active-trading {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.section-active-trading h2 {
  color: #0f172a !important;
}

.section-active-trading h2 span {
  color: #64748b !important;
}

.section-active-trading h3 {
  color: #0f172a !important;
}

.section-active-trading p {
  color: #475569 !important;
}

.section-active-trading .row-cards {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.section-active-trading .span-card {
  border-color: #e2e8f0 !important;
  background: #ffffff !important;
}

.section-active-trading .hp-link {
  color: #047857 !important;
}

.section-active-trading .rate.base {
  color: #64748b !important;
}

.section-active-trading .rate.low {
  color: #0f172a !important;
}

.section-active-trading .rate.low b {
  color: #047857 !important;
}

.section-preset-agents {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.section-concierge {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

.section-concierge h2,
.section-concierge h3 {
  color: #0f172a !important;
}

.section-concierge p {
  color: #475569 !important;
}

/* 7. AI Agents Page Unification */
.template-agents,
.template-agents body {
  background: #ffffff !important;
}

.section-research-agentic,
.section-agentic-cta {
  background: #ffffff !important;
  background-image: none !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.section-research-agentic h2,
.section-research-agentic h3,
.section-agentic-cta h2,
.section-agentic-cta h3 {
  color: #0f172a !important;
}

.section-research-agentic p,
.section-agentic-cta p {
  color: #475569 !important;
}

/* 8. Live Ticker Unification (Clean Daylight Ticker) */
.brvm-live-ticker {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.brvm-live-ticker span[style*="color:#ffffff"],
.brvm-live-ticker span[style*="color: #ffffff"] {
  color: #0f172a !important;
}

.brvm-live-ticker span[style*="color:#94a3b8"],
.brvm-live-ticker span[style*="color: #94a3b8"] {
  color: #475569 !important;
}

/* 9. Canonical Card & Table Styling */
.card-light,
.agent-preset-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.card-light:hover,
.agent-preset-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 24px rgba(57, 255, 20, 0.22) !important;
}

/* Neon Signal / LED Trading Terminal Utilities */
.neon-led {
  background-color: #39FF14 !important;
  box-shadow: 0 0 8px #39FF14, 0 0 16px rgba(57, 255, 20, 0.6) !important;
}

.neon-btn-primary {
  background-color: #39FF14 !important;
  color: #000000 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.35) !important;
  transition: all 0.2s ease-in-out !important;
}

.neon-btn-primary:hover {
  background-color: #32e012 !important;
  box-shadow: 0 0 18px rgba(57, 255, 20, 0.6) !important;
  transform: translateY(-1px);
}

.neon-badge-active {
  background: rgba(57, 255, 20, 0.12) !important;
  border: 1px solid rgba(57, 255, 20, 0.45) !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}

/* 10. Sub-menu Grid Alignment & Harmony */
@media (min-width: 1200px) {
  #sub-menu-invest .sub-menu .menu-item {
    width: 280px;
  }
}

