/* June 30, 2026 palette/shell overrides for restored root home. */
:root {
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-primary-dark: #1e3a8a;
  --brand-navy: #0f172a;
  --brand-deep: #1f2937;
  --brand-canvas: #f8fafc;
  --brand-surface: #ffffff;
  --brand-soft: #f8fafc;
  --brand-soft-blue: #eef2ff;
  --brand-border: rgba(148, 163, 184, 0.35);
  --brand-ink: #111827;
  --brand-muted: #6b7280;
  --brand-positive: #10b981;
  --primary-color: #2563eb;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --body-gradient-light: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --body-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1f2937 100%);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --shadow-soft: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body {
  --bs-primary: #2563eb;
  --bs-primary-rgb: 37, 99, 235;
  --bs-link-color: #2563eb;
  --bs-link-color-rgb: 37, 99, 235;
  --bs-link-hover-color: #1d4ed8;
  --bs-link-hover-color-rgb: 29, 78, 216;
  --bs-body-bg: #f8fafc;
  --bs-body-color: #111827;
  --bs-border-color: rgba(148, 163, 184, 0.35);
  --bs-secondary-color: #6b7280;
  --bs-tertiary-bg: #f8fafc;
  background: var(--body-gradient-light);
  color: #111827;
}

body.theme-dark {
  --bs-body-bg: #0f172a;
  --bs-body-color: #e5e7eb;
  --bs-border-color: rgba(148, 163, 184, 0.35);
  --bs-secondary-color: #94a3b8;
  --bs-tertiary-bg: #1f2937;
  background: var(--body-gradient-dark);
  color: #e5e7eb;
}

.card-soft {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  border: none;
}

.theme-toggle-shell {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.theme-toggle-icon,
.theme-toggle-label {
  color: rgba(255, 255, 255, 0.92);
}

.navbar-custom {
  background: rgba(31, 41, 55, 0.25);
  border-bottom: none;
  backdrop-filter: blur(8px);
}

.navbar-custom.navbar-scrolled {
  background: rgba(31, 41, 55, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.navbar-custom .btn-outline-light {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.65);
  background-color: transparent;
}

.navbar-custom .btn-outline-light:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.08);
}

.navbar-custom.navbar-scrolled .btn-outline-light {
  color: #1f2937;
  border-color: rgba(31, 41, 55, 0.45);
  background-color: rgba(255, 255, 255, 0.9);
}

.navbar-custom.navbar-scrolled .btn-outline-light:hover {
  background-color: #fff;
  border-color: rgba(31, 41, 55, 0.65);
  color: #111827;
}

.card-hover:hover {
  box-shadow: var(--shadow-strong);
  border-color: rgba(37, 99, 235, 0.35) !important;
}

.pricing-highlight {
  border: 3px solid #2563eb !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.site-footer {
  border-top: none;
  background: transparent;
  padding-left: 0;
  padding-right: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
}

.footer-links a:hover {
  color: #fff;
}

.footer-legal-disclaimer {
  max-width: 980px;
}

.cookie-banner {
  background: rgba(17, 24, 39, 0.9);
  color: #f9fafb;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cookie-banner a {
  color: #93c5fd;
}

body.theme-dark .card-soft {
  background: #111827;
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #e5e7eb;
}

body.theme-dark .text-muted {
  color: #94a3b8 !important;
}

body.theme-dark .theme-toggle-shell {
  border-color: rgba(148, 163, 184, 0.38);
  background: rgba(15, 23, 42, 0.7);
}

body.theme-dark .navbar-custom {
  background: rgba(15, 23, 42, 0.72);
}

body.theme-dark .navbar-custom.navbar-scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

body.theme-dark .navbar-custom .btn-outline-light {
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.45);
}

body.theme-dark .navbar-custom .btn-outline-light:hover {
  color: #f8fafc;
  border-color: rgba(226, 232, 240, 0.95);
  background: rgba(30, 41, 59, 0.86);
}

body.theme-dark .navbar-custom .btn-light {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.45);
  background: rgba(30, 41, 59, 0.9);
}

body.theme-dark .navbar-custom .btn-light:hover {
  background: rgba(51, 65, 85, 0.95);
}

body.theme-dark .list-group-item {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(100, 116, 139, 0.45);
}

body.theme-dark .list-group-item.active {
  border-color: #1d4ed8;
}

body.theme-dark .form-control,
body.theme-dark .form-select {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(100, 116, 139, 0.6);
  color: #e5e7eb;
}

body.theme-dark .form-control:focus,
body.theme-dark .form-select:focus {
  background: rgba(15, 23, 42, 1);
  border-color: #60a5fa;
  color: #f8fafc;
}

body.theme-dark .accordion-item,
body.theme-dark .accordion-button {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border-color: rgba(100, 116, 139, 0.4);
}

body.theme-dark .accordion-button:not(.collapsed) {
  background: rgba(30, 58, 138, 0.4);
  color: #dbeafe;
}

body.theme-dark .cookie-banner {
  background: rgba(2, 6, 23, 0.92);
  border-color: rgba(148, 163, 184, 0.35);
}
