:root {
  --surface-bg: #000000;
  --surface-soft: #0f1117;
  --surface-card: #101114;
  --surface-border: #2a2f40;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
  --brand: #334089;
  --brand-soft: #8c9cff;
}

html.theme-light {
  --surface-bg: #f6f8fd;
  --surface-soft: #edf1fb;
  --surface-card: #ffffff;
  --surface-border: #d2d9ec;
  --text-main: #0f172a;
  --text-muted: #475569;
  --brand: #334089;
  --brand-soft: #334089;
}

body {
  background-color: var(--surface-bg);
  color: var(--text-main);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.site-theme-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid var(--surface-border);
  background: var(--surface-card);
  color: var(--text-main);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.site-theme-toggle:hover {
  transform: translateY(-2px);
}

.site-newsletter-status {
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.site-newsletter-status-success {
  color: #16a34a;
}

.site-newsletter-status-error {
  color: #dc2626;
}

.site-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.site-carousel-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: rgba(156, 163, 175, 0.45);
  transition: all 0.2s ease;
}

.site-carousel-dot.is-active {
  width: 1.35rem;
  background: var(--brand-soft);
}

#carousel-container {
  scroll-padding-inline: 1rem;
}

#carousel-container::before,
#carousel-container::after {
  content: "";
  position: sticky;
  top: 0;
  width: 1.5rem;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

#carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--surface-bg), transparent);
}

#carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--surface-bg), transparent);
}

#benefits .compare-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1.15rem;
}

#benefits .compare-badge-yes {
  background: rgba(51, 64, 137, 0.18);
  color: #7dd3fc;
}

#benefits .compare-badge-no {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
}

#benefits table th,
#benefits table td {
  padding: 0.62rem 0.72rem !important;
}

html.theme-light .bg-black,
html.theme-light .bg-black\/50,
html.theme-light .bg-black\/80,
html.theme-light .bg-gray-900,
html.theme-light .bg-gray-900\/20,
html.theme-light .bg-gray-900\/50,
html.theme-light .bg-gray-800,
html.theme-light .bg-gray-800\/50,
html.theme-light .bg-gray-800\/20 {
  background-color: var(--surface-card) !important;
}

html.theme-light .from-\[\#0d0d0d\],
html.theme-light .to-\[\#122b99\]\/30 {
  --tw-gradient-from: #ffffff var(--tw-gradient-from-position) !important;
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position) !important;
}

html.theme-light .text-white,
html.theme-light .text-gray-300,
html.theme-light .text-gray-400,
html.theme-light .text-gray-500 {
  color: var(--text-main) !important;
}

html.theme-light .border-gray-900,
html.theme-light .border-gray-800,
html.theme-light .border-gray-700,
html.theme-light .border-gray-800\/50 {
  border-color: var(--surface-border) !important;
}

html.theme-light input,
html.theme-light textarea,
html.theme-light select {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

html.theme-light #hero-particles {
  background: radial-gradient(circle at 40% 30%, #dfe8ff 0%, #f6f8fd 70%);
}

@media (max-width: 767px) {
  .site-theme-toggle {
    width: 2.5rem;
    height: 2.5rem;
    right: 0.75rem;
    bottom: 0.75rem;
  }

  #benefits .overflow-x-auto {
    border-radius: 0.85rem;
  }

  .site-carousel-dots {
    display: flex;
  }

  #benefits table {
    min-width: 700px;
  }

  footer .grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .site-carousel-dots {
    display: none;
  }
}
