:root[data-theme="dark"] {
  color-scheme: dark;
  --page-bg: #08111f;
  --page-bg-2: #0f172a;
  --section-alt: rgba(255, 255, 255, 0.025);
  --surface: rgba(15, 23, 42, 0.90);
  --surface-alt: rgba(17, 24, 39, 0.92);
  --surface-strong: #0f172a;
  --header-bg: rgba(8, 16, 31, 0.74);
  --nav-bg: rgba(8, 16, 31, 0.98);

  --text: #d8e3f2;
  --text-muted: #9cabbf;
  --heading: #f8fbff;

  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(79, 140, 255, 0.32);

  --primary: #4f8cff;
  --primary-hover: #6ea4ff;
  --primary-soft: rgba(79, 140, 255, 0.14);
  --accent: #8b5cf6;

  --success: #34d399;
  --focus: rgba(79, 140, 255, 0.26);
  --bg-overlay: linear-gradient(180deg, rgba(8, 17, 31, 0.70) 0%, rgba(8, 17, 31, 0.86) 55%, rgba(8, 17, 31, 0.98) 100%);

  --shadow-sm: 0 10px 26px rgba(2, 6, 23, 0.24);
  --shadow-md: 0 18px 44px rgba(2, 6, 23, 0.32);
  --shadow-lg: 0 28px 84px rgba(2, 6, 23, 0.46);
}

:root[data-theme="dark"] body::before {
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 140, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(139, 92, 246, 0.10), transparent 26%),
    radial-gradient(circle at 50% 78%, rgba(59, 130, 246, 0.07), transparent 22%);
}

:root[data-theme="dark"] .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .btn--outline {
  color: #9fc0ff;
  border-color: rgba(79, 140, 255, 0.42);
}

:root[data-theme="dark"] .btn--outline:hover {
  background: rgba(79, 140, 255, 0.08);
}

:root[data-theme="dark"] .card-icon {
  background: rgba(79, 140, 255, 0.16);
}

:root[data-theme="dark"] .card:hover {
  border-color: rgba(79, 140, 255, 0.28);
}

:root[data-theme="dark"] .channel-pill.is-active {
  box-shadow: 0 14px 28px rgba(79, 140, 255, 0.24);
}

:root[data-theme="dark"] .form-status--success {
  color: #34d399;
}

:root[data-theme="dark"] input::placeholder,
:root[data-theme="dark"] textarea::placeholder {
  color: rgba(156, 171, 191, 0.9);
}

:root[data-theme="dark"] .pricing-card--featured {
  box-shadow: 0 24px 64px rgba(59, 130, 246, 0.34);
}

:root[data-theme="dark"] .pricing-card--featured .btn--ghost {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.24);
}

:root[data-theme="dark"] .pricing-card--featured .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

:root[data-theme="dark"] .header__menu-toggle {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .theme-toggle {
  background: rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .header--scrolled {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .section--alt {
  background: rgba(255, 255, 255, 0.02);
}


