/* ═══ LIGHT MODE THEME OVERRIDES ═══ */

/* Toggle button in header */
.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  cursor: pointer; transition: all 0.2s ease;
  color: rgba(255,255,255,0.6);
  margin-left: 8px;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

/* ═══ LIGHT THEME ═══ */
[data-theme="light"] {
  --black: #FFFFFF !important;
  --dark: #F5F5F7 !important;
  --dark-surface: #FFFFFF !important;
  --dark-border: #E5E5E7 !important;
  --white: #1A1A2E !important;
  --gray: #666666 !important;
}

[data-theme="light"] body {
  background: #F5F0EB !important;
  color: #1A1A2E !important;
}

/* Header */
[data-theme="light"] .header {
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}
[data-theme="light"] .header-inner {
  background: transparent !important;
}

/* Logo — invert text for header logo */
[data-theme="light"] .header .logo svg text { fill: #1A1A2E; }
[data-theme="light"] .header .logo svg path,
[data-theme="light"] .header .logo svg rect:first-of-type { stroke: #FF0051; }

/* Nav links */
[data-theme="light"] .nav a,
[data-theme="light"] .nav-dropdown > a {
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .nav a:hover,
[data-theme="light"] .nav-dropdown > a:hover {
  color: #1A1A2E !important;
}

/* Dropdown menus */
[data-theme="light"] .dropdown-menu,
[data-theme="light"] .dropdown-inner {
  background: rgba(255,255,255,0.98) !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}
[data-theme="light"] .dropdown-inner a {
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .dropdown-inner a:hover {
  background: rgba(0,0,0,0.04) !important;
  color: #1A1A2E !important;
}
[data-theme="light"] .mega-item-title {
  color: #1A1A2E !important;
}
[data-theme="light"] .mega-item-desc {
  color: rgba(0,0,0,0.45) !important;
}
[data-theme="light"] .mega-item-icon {
  background: rgba(255,0,81,0.08) !important;
}
[data-theme="light"] .mega-item-icon svg {
  stroke: #FF0051 !important;
}

/* Header CTA buttons */
[data-theme="light"] .btn-text {
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .btn-text:hover {
  color: #1A1A2E !important;
}
[data-theme="light"] .btn-secondary {
  color: #FFFFFF !important;
  background: #FF0051 !important;
  border: 1px solid #FF0051 !important;
}
[data-theme="light"] .btn-secondary:hover {
  background: #e0004a !important;
  transform: translateY(1px) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .btn-secondary:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.2) !important;
}
[data-theme="light"] .btn-primary {
  color: #FFFFFF !important;
  background: linear-gradient(to bottom, #FF0051, #cc0041) !important;
  border: 1px solid #FF0051 !important;
}
[data-theme="light"] .btn-primary:hover {
  transform: translateY(1px) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15) !important;
  opacity: 1 !important;
}
[data-theme="light"] .btn-primary:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.2) !important;
}

/* All buttons — pink fill + white text in light mode */
[data-theme="light"] .btn-outline,
[data-theme="light"] .hero-ctas .btn-outline,
[data-theme="light"] .cta .btn-outline,
[data-theme="light"] .cta-section .btn-outline,
[data-theme="light"] .cta-buttons .btn-outline {
  color: #FFFFFF !important;
  background: #FF0051 !important;
  border: 1px solid #FF0051 !important;
}
[data-theme="light"] .btn-outline:hover,
[data-theme="light"] .hero-ctas .btn-outline:hover,
[data-theme="light"] .cta .btn-outline:hover,
[data-theme="light"] .cta-section .btn-outline:hover,
[data-theme="light"] .cta-buttons .btn-outline:hover {
  background: #e0004a !important;
  transform: translateY(1px) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15) !important;
}
[data-theme="light"] .btn-outline:active,
[data-theme="light"] .hero-ctas .btn-outline:active,
[data-theme="light"] .cta .btn-outline:active,
[data-theme="light"] .cta-section .btn-outline:active,
[data-theme="light"] .cta-buttons .btn-outline:active {
  transform: translateY(2px) !important;
  box-shadow: inset 0 3px 6px rgba(0,0,0,0.2) !important;
}

/* Toggle button in light mode */
[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.1);
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.5);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.08);
  color: #1A1A2E;
}
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }

/* ═══ HERO SECTION ═══ */
[data-theme="light"] .hero {
  background: linear-gradient(180deg, #F5F5F7 0%, #EEEEF2 100%) !important;
}
[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center, rgba(255,0,81,0.06) 0%, transparent 70%) !important;
}
[data-theme="light"] .hero-badge {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .hero h1 {
  color: #1A1A2E !important;
}
[data-theme="light"] .hero p {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ PARTNER HERO (Toast pages) ═══ */
[data-theme="light"] .partner-hero {
  background: linear-gradient(180deg, #F5F5F7 0%, #EEEEF2 100%) !important;
}
[data-theme="light"] .partner-hero-content h1,
[data-theme="light"] .partner-hero-content .partner-title {
  color: #1A1A2E !important;
}
[data-theme="light"] .partner-hero-content p,
[data-theme="light"] .partner-subtitle {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .partner-logo-badge {
  border-color: rgba(0,0,0,0.08) !important;
  background: rgba(0,0,0,0.03) !important;
}

/* ═══ SECTION HEADINGS ═══ */
[data-theme="light"] .section-tag,
[data-theme="light"] .tag {
  background: rgba(255,0,81,0.06) !important;
  border-color: rgba(255,0,81,0.12) !important;
  color: #FF0051 !important;
}
[data-theme="light"] h2,
[data-theme="light"] h3 {
  color: #1A1A2E !important;
}
[data-theme="light"] section > p,
[data-theme="light"] .section-subtitle {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ CARDS (agents, enterprise, features, etc.) ═══ */
[data-theme="light"] .agent-card,
[data-theme="light"] .enterprise-card,
[data-theme="light"] .feature-card,
[data-theme="light"] .spoke-card,
[data-theme="light"] .detail-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.06) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
[data-theme="light"] .agent-card:hover,
[data-theme="light"] .enterprise-card:hover,
[data-theme="light"] .feature-card:hover,
[data-theme="light"] .spoke-card:hover,
[data-theme="light"] .detail-card:hover {
  border-color: rgba(255,0,81,0.2) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
[data-theme="light"] .agent-card h3,
[data-theme="light"] .enterprise-card h3,
[data-theme="light"] .feature-card h3,
[data-theme="light"] .spoke-card h3 {
  color: #1A1A2E !important;
}
[data-theme="light"] .agent-card p,
[data-theme="light"] .enterprise-card p,
[data-theme="light"] .feature-card p,
[data-theme="light"] .spoke-card p {
  color: rgba(0,0,0,0.5) !important;
}

/* Card icons */
[data-theme="light"] .agent-icon,
[data-theme="light"] .enterprise-icon,
[data-theme="light"] .feature-icon {
  background: rgba(255,0,81,0.08) !important;
}

/* ═══ ALTERNATING SECTIONS ═══ */
[data-theme="light"] .alt-section {
  border-color: rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .alt-content h2 {
  color: #1A1A2E !important;
}
[data-theme="light"] .alt-content p,
[data-theme="light"] .alt-content span {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .alt-feature {
  color: rgba(0,0,0,0.6) !important;
}

/* ═══ STATS SECTION ═══ */
[data-theme="light"] .stats {
  border-top-color: rgba(0,0,0,0.05) !important;
  border-bottom-color: rgba(0,0,0,0.05) !important;
  background: #FFFFFF !important;
}
[data-theme="light"] .stat-label {
  color: rgba(0,0,0,0.45) !important;
}

/* ═══ DATA INTELLIGENCE DASHBOARD ═══ */
[data-theme="light"] .di-chart-area {
  background: rgba(0,0,0,0.03) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .di-chart-title {
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .di-card {
  background: rgba(0,0,0,0.03) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .di-card:hover {
  border-color: rgba(255,0,81,0.25) !important;
}
[data-theme="light"] .di-card-label {
  color: rgba(0,0,0,0.35) !important;
}
[data-theme="light"] .di-card-msg {
  color: rgba(0,0,0,0.8) !important;
}

/* ═══ COPILOT / DEMO SECTIONS ═══ */
[data-theme="light"] .demo-prompt {
  background: rgba(0,0,0,0.03) !important;
  border-color: rgba(0,0,0,0.06) !important;
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .demo-prompt strong {
  color: #1A1A2E !important;
}
[data-theme="light"] .demo-response {
  background: rgba(255,0,81,0.03) !important;
  border-color: rgba(255,0,81,0.08) !important;
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .copilot-feature span {
  color: rgba(0,0,0,0.6) !important;
}

/* ═══ CTA SECTION ═══ */
[data-theme="light"] .cta {
  background: linear-gradient(180deg, #F5F5F7, #EEEEF2) !important;
}
[data-theme="light"] .cta h2 {
  color: #1A1A2E !important;
}
[data-theme="light"] .cta p {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ FOOTER ═══ */
[data-theme="light"] .footer {
  background: #1A1A2E !important;
  color: rgba(255,255,255,0.6) !important;
}
[data-theme="light"] .footer h4 {
  color: #FFFFFF !important;
}
[data-theme="light"] .footer a {
  color: rgba(255,255,255,0.5) !important;
}
[data-theme="light"] .footer a:hover {
  color: #FFFFFF !important;
}
[data-theme="light"] .footer-bottom {
  border-top-color: rgba(255,255,255,0.08) !important;
  color: rgba(255,255,255,0.3) !important;
}

/* ═══ FAQ SECTION ═══ */
[data-theme="light"] .faq-item {
  border-color: rgba(255,0,81,0.12) !important;
  background: rgba(255,0,81,0.02) !important;
}
[data-theme="light"] .faq-question {
  color: #1A1A2E !important;
}
[data-theme="light"] .faq-answer,
[data-theme="light"] .faq-answer p {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .faq-toggle {
  color: #FF0051 !important;
}

/* ═══ PARTNER CARDS (partners.html) ═══ */
[data-theme="light"] .partner-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .partner-card.blue {
  background: rgba(126,176,227,0.08) !important;
  border-color: rgba(126,176,227,0.2) !important;
}
[data-theme="light"] .partner-card.blue:hover {
  background: rgba(126,176,227,0.15) !important;
  border-color: rgba(126,176,227,0.35) !important;
  box-shadow: 0 8px 30px rgba(126,176,227,0.12) !important;
}
[data-theme="light"] .partner-card.yellow {
  background: rgba(245,217,126,0.1) !important;
  border-color: rgba(245,217,126,0.25) !important;
}
[data-theme="light"] .partner-card.yellow:hover {
  background: rgba(245,217,126,0.18) !important;
  border-color: rgba(245,217,126,0.4) !important;
  box-shadow: 0 8px 30px rgba(245,217,126,0.12) !important;
}
[data-theme="light"] .partner-card.green {
  background: rgba(126,232,184,0.08) !important;
  border-color: rgba(126,232,184,0.2) !important;
}
[data-theme="light"] .partner-card.green:hover {
  background: rgba(126,232,184,0.15) !important;
  border-color: rgba(126,232,184,0.35) !important;
  box-shadow: 0 8px 30px rgba(126,232,184,0.12) !important;
}
[data-theme="light"] .partner-card:hover {
  border-color: rgba(255,0,81,0.2) !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
[data-theme="light"] .partner-card h3,
[data-theme="light"] .partner-name {
  color: #1A1A2E !important;
}
[data-theme="light"] .partner-card p {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .partner-icon {
  background: rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .partner-icon.blue {
  background: rgba(126,176,227,0.15) !important;
}
[data-theme="light"] .partner-icon.yellow {
  background: rgba(245,217,126,0.2) !important;
}
[data-theme="light"] .partner-icon.green {
  background: rgba(126,232,184,0.15) !important;
}

/* Partners page sections & headings */
[data-theme="light"] .partners-hero {
  background: linear-gradient(180deg, #F5F5F7 0%, #EEEEF2 100%) !important;
}
[data-theme="light"] .partners-hero h1,
[data-theme="light"] .partners-hero .hero-title {
  color: #1A1A2E !important;
}
[data-theme="light"] .partners-hero p {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .category-label,
[data-theme="light"] .section-label {
  color: rgba(0,0,0,0.4) !important;
}
[data-theme="light"] .tag-pill {
  color: #1A1A2E !important;
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
}

/* ═══ PARTNERS PAGE — integration sections & visuals ═══ */
[data-theme="light"] .integration-section {
  background: transparent !important;
}
[data-theme="light"] .section-title {
  color: #1A1A2E !important;
}
[data-theme="light"] .section-subtitle {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .partner-visual {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .integration-content p,
[data-theme="light"] .integration-content li {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .integration-content h2,
[data-theme="light"] .integration-content h3 {
  color: #1A1A2E !important;
}
/* Keep section labels their color category */
[data-theme="light"] .label-blue {
  background: rgba(126,176,227,0.12) !important;
  border-color: rgba(126,176,227,0.25) !important;
}
[data-theme="light"] .label-yellow {
  background: rgba(245,217,126,0.12) !important;
  border-color: rgba(245,217,126,0.25) !important;
}
[data-theme="light"] .label-green {
  background: rgba(126,232,184,0.12) !important;
  border-color: rgba(126,232,184,0.25) !important;
}

/* Toast tag pill on partners page */
[data-theme="light"] .partner-card .tag-pill,
[data-theme="light"] a.tag-pill {
  color: #FF0051 !important;
  background: rgba(255,0,81,0.06) !important;
  border-color: rgba(255,0,81,0.15) !important;
}

/* ═══ BROAD CATCH-ALL for white text ═══ */
/* Any remaining white-on-white text not covered by specific rules */
[data-theme="light"] .intro-section p,
[data-theme="light"] .intro-inner p {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .intro-section h2,
[data-theme="light"] .intro-inner h2 {
  color: #1A1A2E !important;
}
[data-theme="light"] .cta-section p,
[data-theme="light"] .cta-section h2,
[data-theme="light"] .cta p {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .cta h2 {
  color: #1A1A2E !important;
}

/* ═══ INTEGRATION BANNER ═══ */
[data-theme="light"] .integration-banner {
  background: rgba(255,76,0,0.03) !important;
  border-color: rgba(255,76,0,0.12) !important;
}
[data-theme="light"] .integration-banner h3 {
  color: #1A1A2E !important;
}
[data-theme="light"] .integration-banner p {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ FORM SECTION (ai-consultation) ═══ */
[data-theme="light"] .consultation-form {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
  background: #F5F5F7 !important;
  border-color: rgba(0,0,0,0.1) !important;
  color: #1A1A2E !important;
}
[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
  color: rgba(0,0,0,0.35) !important;
}
[data-theme="light"] .form-label {
  color: rgba(0,0,0,0.6) !important;
}

/* ═══ SYNC DIAGRAM ═══ */
[data-theme="light"] .sync-diagram {
  background: rgba(0,0,0,0.02) !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .sync-node {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.08) !important;
  color: #1A1A2E !important;
}

/* ═══ MOBILE NAV OVERLAY ═══ */
[data-theme="light"] .mobile-nav-overlay {
  background: rgba(255,255,255,0.98) !important;
  border-left: 1px solid rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .mobile-nav-overlay a,
[data-theme="light"] .mobile-nav-link-main {
  color: rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .mobile-nav-overlay a:hover,
[data-theme="light"] .mobile-nav-link-main:hover {
  color: #1A1A2E !important;
}
[data-theme="light"] .mobile-nav-section {
  border-bottom-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .mobile-nav-label {
  color: #FF0051 !important;
}
[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(0,0,0,0.3) !important;
}
[data-theme="light"] .mobile-nav-chevron {
  color: rgba(0,0,0,0.3) !important;
}

/* ═══ HAMBURGER ═══ */
[data-theme="light"] .hamburger span {
  background: #1A1A2E !important;
}

/* ═══ SCROLL / MISC ═══ */
[data-theme="light"] .trusted-by {
  color: rgba(0,0,0,0.3) !important;
}
[data-theme="light"] .trusted-logos a {
  color: rgba(0,0,0,0.2) !important;
}
[data-theme="light"] .trusted-logos a:hover {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ CROSS-LINK SECTIONS ═══ */
[data-theme="light"] .cross-links {
  border-top-color: rgba(0,0,0,0.05) !important;
}
[data-theme="light"] .cross-link-card {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .cross-link-card:hover {
  border-color: rgba(255,0,81,0.2) !important;
}
[data-theme="light"] .cross-link-card h3 {
  color: #1A1A2E !important;
}
[data-theme="light"] .cross-link-card p {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ PARTICLES CANVAS — fade in light mode ═══ */
[data-theme="light"] #particles {
  opacity: 0.15 !important;
}

/* ═══ PERSONA SECTIONS ═══ */
[data-theme="light"] .persona-section:nth-child(even) {
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .persona-title { color: #1A1A2E !important; }
[data-theme="light"] .persona-sub { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .persona-label {
  background: rgba(255,0,81,0.08) !important;
  border: 1px solid rgba(255,0,81,0.12) !important;
}
[data-theme="light"] .persona-tag {
  background: rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: rgba(0,0,0,0.55) !important;
}
[data-theme="light"] .persona-tag:hover {
  background: rgba(255,0,81,0.06) !important;
  border-color: rgba(255,0,81,0.2) !important;
  color: #FF0051 !important;
}
[data-theme="light"] .persona-visual {
  background: transparent !important;
  border: none !important;
}
[data-theme="light"] .persona-visual-placeholder { color: rgba(0,0,0,0.15) !important; }

/* Personalization cards */
[data-theme="light"] .pcard {
  background: rgba(0,0,0,0.03) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .pcard:hover { border-color: rgba(0,0,0,0.18) !important; }
[data-theme="light"] .pcard-label { color: rgba(0,0,0,0.4) !important; }
[data-theme="light"] .pcard-msg { color: rgba(0,0,0,0.8) !important; }

/* Section 2 particle visual stays dark */
[data-theme="light"] .persona-visual:has(#sectionParticles) {
  background: #0a0a0a !important;
}

/* ═══ COPILOT FEATURE ICONS ═══ */
[data-theme="light"] .copilot-feature-icon {
  background: rgba(255,0,81,0.08) !important;
}

/* ═══ CAROUSEL ═══ */
[data-theme="light"] .carousel-tab {
  border-bottom: 2px solid rgba(0,0,0,0.1) !important;
  color: rgba(0,0,0,0.35) !important;
}
[data-theme="light"] .carousel-tab:hover { color: rgba(0,0,0,0.6) !important; }
[data-theme="light"] .carousel-tab.active {
  color: #1A1A2E !important;
  border-bottom-color: #1A1A2E !important;
}
[data-theme="light"] .carousel-card {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .carousel-arrow {
  background: rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: #1A1A2E !important;
}
[data-theme="light"] .carousel-dot { background: rgba(0,0,0,0.12) !important; }
[data-theme="light"] .carousel-dot.active { background: rgba(0,0,0,0.08) !important; }

/* ═══ LOGOS SECTION ═══ */
[data-theme="light"] .logos-section { background: #EDE7E0 !important; }
[data-theme="light"] .logos-label { color: rgba(0,0,0,0.35) !important; }
[data-theme="light"] .logo-item { color: #1A1A2E !important; }
[data-theme="light"] .logo-item img {
  filter: none !important; opacity: 0.85 !important;
}
[data-theme="light"] .logo-item .logo-text[style*="color: #ffffff"],
[data-theme="light"] .logo-item .logo-text[style*="color: #c8d0d4"] {
  color: #1A1A2E !important;
}

/* ═══ SECTION BADGES ═══ */
[data-theme="light"] .section-badge {
  background: rgba(255,0,81,0.06) !important;
  border: 1px solid rgba(255,0,81,0.12) !important;
}

/* ═══ STATS ═══ */
[data-theme="light"] .stats-section {
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .stat-label { color: rgba(0,0,0,0.45) !important; }

/* ═══ ENTERPRISE CARDS ═══ */
[data-theme="light"] .enterprise-card h4 { color: #1A1A2E !important; }
[data-theme="light"] .enterprise-card p { color: rgba(0,0,0,0.5) !important; }
[data-theme="light"] .enterprise-card-icon {
  background: rgba(255,0,81,0.08) !important;
}

/* ═══ CTA SECTION — stays dark ═══ */
[data-theme="light"] .cta-section {
  background: #1A1A1A !important;
}
[data-theme="light"] .cta-section h2 { color: #fff !important; }
[data-theme="light"] .cta-section p { color: rgba(255,255,255,0.6) !important; }
[data-theme="light"] .cta-section .btn-outline {
  background: transparent !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: #fff !important;
}

/* ═══ HERO — warm beige ═══ */
[data-theme="light"] .hero {
  background: #E8E0D5 !important;
}

/* ═══ GENERIC TEXT OVERRIDES ═══ */
[data-theme="light"] [style*="color: rgba(255,255,255"],
[data-theme="light"] [style*="color:rgba(255,255,255"] {
  color: inherit !important;
}
/* Keep white text inside dark particle visual */
[data-theme="light"] .persona-visual:has(#sectionParticles) [style*="color: rgba(255,255,255"],
[data-theme="light"] .persona-visual:has(#sectionParticles) [style*="color:rgba(255,255,255"] {
  color: rgba(255,255,255,0.8) !important;
}

/* Gradient text — italic serif pink in light mode */
[data-theme="light"] .gradient-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #FF0051 !important;
  background-clip: unset !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
}

/* ═══ BOX SECTIONS (ordering page etc.) ═══ */
[data-theme="light"] .box,
[data-theme="light"] .feature-box {
  background: #FFFFFF !important;
  border-color: rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .box:hover,
[data-theme="light"] .feature-box:hover {
  border-color: rgba(255,0,81,0.2) !important;
}
[data-theme="light"] .box h3,
[data-theme="light"] .feature-box h3 {
  color: #1A1A2E !important;
}
[data-theme="light"] .box p,
[data-theme="light"] .feature-box p {
  color: rgba(0,0,0,0.5) !important;
}

/* ═══ GENERAL SECTIONS ═══ */
[data-theme="light"] section {
  border-color: rgba(0,0,0,0.04) !important;
}

/* Tag pills */
[data-theme="light"] .tag-pill {
  background: rgba(255,0,81,0.06) !important;
  border-color: rgba(255,0,81,0.15) !important;
  color: #FF0051 !important;
}

/* ═══ MOBILE RESPONSIVE ═══ */
@media (max-width: 768px) {
  .theme-toggle {
    width: 32px; height: 32px; border-radius: 8px;
    margin-left: 4px;
  }
  .theme-toggle svg { width: 16px; height: 16px; }

  /* Light mode mobile nav overlay */
  [data-theme="light"] .mobile-nav-overlay {
    background: rgba(255,255,255,0.98) !important;
    border-left: 1px solid rgba(0,0,0,0.06) !important;
  }
  [data-theme="light"] .mobile-nav-overlay a,
  [data-theme="light"] .mobile-nav-link-main {
    color: rgba(0,0,0,0.6) !important;
  }
  [data-theme="light"] .mobile-nav-overlay a:hover,
  [data-theme="light"] .mobile-nav-link-main:hover {
    color: #1A1A2E !important;
  }
  [data-theme="light"] .mobile-nav-section {
    border-bottom-color: rgba(0,0,0,0.06) !important;
  }

  /* Light mode hamburger lines */
  [data-theme="light"] .hamburger span {
    background: #1A1A2E !important;
  }
}

/* ═══ DEMO PAGE — LIGHT MODE BACKGROUND SWAP ═══ */
/* Page gets dark bg, form card gets the beige */
[data-theme="light"] body.demo-page {
  background: #1A1A2E !important;
  color: #fff !important;
}
[data-theme="light"] .form-container {
  background: #F5F0EB !important;
  backdrop-filter: none !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
}
[data-theme="light"] .form-container::before {
  background: none !important;
}
/* Card text flips to dark on beige */
[data-theme="light"] .form-container h1 {
  color: #1A1A2E !important;
  -webkit-text-fill-color: #1A1A2E !important;
}
[data-theme="light"] .form-container .gradient-text {
  -webkit-text-fill-color: #FF0051 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  font-style: italic !important;
}
[data-theme="light"] .form-container .subtitle {
  color: rgba(0,0,0,0.45) !important;
}
[data-theme="light"] .form-container .badge {
  background: rgba(255,0,81,0.06) !important;
  border-color: rgba(255,0,81,0.15) !important;
  color: #FF0051 !important;
}
[data-theme="light"] .form-container .form-label {
  color: rgba(0,0,0,0.5) !important;
}
[data-theme="light"] .form-container .form-input,
[data-theme="light"] .form-container .form-select,
[data-theme="light"] .form-container .form-textarea {
  background: rgba(0,0,0,0.04) !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  color: #1A1A2E !important;
}
[data-theme="light"] .form-container .form-input::placeholder,
[data-theme="light"] .form-container .form-textarea::placeholder {
  color: rgba(0,0,0,0.25) !important;
}
[data-theme="light"] .form-container .form-input:focus,
[data-theme="light"] .form-container .form-select:focus,
[data-theme="light"] .form-container .form-textarea:focus {
  border-color: rgba(255,0,81,0.4) !important;
  background: rgba(255,0,81,0.04) !important;
  box-shadow: 0 0 0 3px rgba(255,0,81,0.1) !important;
}
[data-theme="light"] .form-container .form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='rgba(0,0,0,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}
[data-theme="light"] .form-container .form-select option {
  background: #F5F0EB !important;
  color: #1A1A2E !important;
}
[data-theme="light"] .form-container .form-footer {
  color: rgba(0,0,0,0.25) !important;
}
/* Success message on beige card */
[data-theme="light"] .form-container .success-message h2 {
  color: #1A1A2E !important;
}
[data-theme="light"] .form-container .success-message p {
  color: rgba(0,0,0,0.45) !important;
}
/* Bottom text stays light on dark page bg */
[data-theme="light"] body.demo-page .bottom-text {
  color: rgba(255,255,255,0.15) !important;
}
/* Theme toggle stays visible on dark bg */
[data-theme="light"] body.demo-page .theme-toggle {
  border-color: rgba(255,255,255,0.1) !important;
  background: rgba(255,255,255,0.05) !important;
  color: rgba(255,255,255,0.6) !important;
}
[data-theme="light"] body.demo-page .theme-toggle:hover {
  background: rgba(255,255,255,0.1) !important;
  color: #fff !important;
}
