/* Light theme (default) */
:root,
[data-theme="light"] {
  --bg: #faf9f7;
  --surface: #ffffff;
  --surface-muted: #f5f4f1;
  --surface-elevated: #ffffff;
  --border: #e5e2db;
  --text: #1a1f1e;
  --text-muted: #5c6560;
  --heading: #1a1f1e;
  --accent: #3d7a5f;
  --accent-soft: #e8f2ec;
  --accent-glow: rgba(61, 122, 95, 0.15);
  --gold: #b8860b;
  --gold-light: #d4a84b;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-text: #2c3330;
  --header-link: #2c3330;
  --hero-overlay: linear-gradient(180deg, rgba(26, 31, 30, 0.55) 0%, rgba(26, 31, 30, 0.4) 45%, rgba(26, 31, 30, 0.72) 100%);
  --card-shadow: 0 16px 48px rgba(26, 31, 30, 0.08);
  --footer-bg: #1a1f1e;
  --icon-color: #3d7a5f;
  --btn-primary-bg: #1a1f1e;
  --btn-primary-text: #ffffff;
  --strip-bg: #ffffff;
  --marquee-bg: #1a1f1e;
  --marquee-text: rgba(255, 255, 255, 0.75);
}

/* Dark theme — green */
[data-theme="dark"] {
  --bg: #0a1612;
  --surface: #0f1f18;
  --surface-muted: #152a21;
  --surface-elevated: #1a3328;
  --border: #2a4d3a;
  --text: #e8f0eb;
  --text-muted: rgba(232, 240, 235, 0.65);
  --heading: #f4f1e8;
  --accent: #6aab82;
  --accent-soft: #1e3d2f;
  --accent-glow: rgba(106, 171, 130, 0.2);
  --gold: #d4a84b;
  --gold-light: #e8c878;
  --header-bg: rgba(15, 31, 24, 0.92);
  --header-text: #f4f1e8;
  --header-link: rgba(244, 241, 232, 0.85);
  --hero-overlay: linear-gradient(180deg, rgba(10, 22, 18, 0.7) 0%, rgba(15, 31, 24, 0.55) 45%, rgba(10, 22, 18, 0.88) 100%);
  --card-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  --footer-bg: #071210;
  --icon-color: #6aab82;
  --btn-primary-bg: #40916c;
  --btn-primary-text: #ffffff;
  --strip-bg: #0f1f18;
  --marquee-bg: #152a21;
  --marquee-text: rgba(232, 240, 235, 0.7);
}

/* Hero / header on video — light text in both themes */
[data-theme="light"] .site-header:not(.scrolled) .brand-text strong,
[data-theme="light"] .hero h1 {
  color: #ffffff;
}

[data-theme="dark"] .site-header:not(.scrolled) .brand-text strong,
[data-theme="dark"] .site-header:not(.scrolled) .nav-desktop a,
[data-theme="dark"] .site-header:not(.scrolled) .nav-toggle,
[data-theme="dark"] .site-header:not(.scrolled) .theme-toggle {
  color: var(--heading);
}

[data-theme="dark"] .hero h1 {
  color: var(--heading);
}

[data-theme="dark"] .site-header.scrolled {
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .site-header.scrolled .brand-text strong { color: var(--heading); }
[data-theme="dark"] .site-header.scrolled .brand-text span { color: var(--text-muted); }
[data-theme="dark"] .site-header.scrolled .nav-desktop a { color: var(--header-link); }
[data-theme="dark"] .site-header.scrolled .nav-desktop a:hover { color: var(--accent); }

[data-theme="dark"] .hero-badge {
  color: var(--gold-light);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .sec-stats .stat-num { color: var(--heading); }
[data-theme="dark"] .sec-stats .stat-num span { color: var(--accent); }

[data-theme="dark"] .bento-e {
  background: var(--surface-elevated);
  color: var(--heading);
  border-color: var(--border);
}

[data-theme="dark"] .products-promo .bento-e {
  background: linear-gradient(145deg, var(--accent-soft) 0%, var(--surface-elevated) 55%, var(--surface) 100%);
  border-color: rgba(106, 171, 130, 0.28);
}

[data-theme="dark"] .bento-cta-eyebrow {
  background: rgba(106, 171, 130, 0.14);
  border-color: rgba(106, 171, 130, 0.28);
}

[data-theme="dark"] .bento-cta-features li::before {
  border-color: rgba(106, 171, 130, 0.35);
  background-color: var(--accent-soft);
}

[data-theme="dark"] .compare-export .tag {
  background: var(--accent-soft);
  color: var(--accent);
}

[data-theme="dark"] .spot-card {
  background: var(--surface-elevated);
  border-color: var(--border);
}

[data-theme="dark"] .spot-card h2 { color: var(--heading); }

[data-theme="dark"] .process-step {
  background: var(--surface-elevated);
  border: 1px solid var(--border);
}

[data-theme="dark"] .trade-point .num {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--border);
}

[data-theme="dark"] .faq-question .icon {
  background: var(--accent-soft);
  color: var(--accent);
}

[data-theme="dark"] section {
  transition: background 0.35s ease, color 0.35s ease;
}
