/* ═══════════════════════════════════════════════════════════════
   AWAY Landing Page V2 – Core Styles
   Dark Hero + Light Body | iPhone 15 Pro Titanium | DE/EN Toggle
   ═══════════════════════════════════════════════════════════════ */

/* ── Root Variables ─────────────────────────────────────────── */
:root {
  --color-indigo:      #6366f1;
  --color-indigo-dark: #4f46e5;
  --color-violet:      #8b5cf6;
  --color-blue:        #2563eb;
  --color-amber:       #f59e0b;
  --color-emerald:     #10b981;
  --color-red:         #ef4444;

  /* Dark sections */
  --dark-bg:       #070b14;
  --dark-surface:  #0f1422;
  --dark-surface2: #111827;
  --dark-border:   rgba(255,255,255,0.08);
  --dark-muted:    rgba(255,255,255,0.45);

  /* Light sections */
  --light-bg:      #f8fafc;
  --light-surface: #ffffff;
  --light-border:  rgba(0,0,0,0.06);

  /* Titanium iPhone frame gradient */
  --titanium-1: #8E8375;
  --titanium-2: #B0A99D;
  --titanium-3: #74706B;
  --titanium-4: #A9A49F;
}

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── 1. REVEAL ON SCROLL ──────────────────────────────────────*/
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ── 2. GLASSMORPHISM ─────────────────────────────────────────*/
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 8px 32px rgba(99,102,241,0.05);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.glass-card:hover {
  border-color: rgba(99,102,241,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(99,102,241,0.1);
}
.glass-card-dark {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--dark-border);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.glass-card-dark:hover {
  border-color: rgba(99,102,241,0.3);
  background: rgba(99,102,241,0.06);
}

/* ── 3. GRADIENT TEXT ─────────────────────────────────────────*/
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #2563eb, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 4. MARQUEE / LOGO TICKER ─────────────────────────────────*/
.marquee-track {
  animation: marquee 40s linear infinite;
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  align-items: center;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 5. ROI SLIDERS (Dark) ────────────────────────────────────*/
#roi input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
}
#roi input[type=range]::-webkit-slider-runnable-track {
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
#roi input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px; width: 22px;
  border-radius: 50%;
  background: #6366f1;
  border: 2px solid #fff;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 12px rgba(99,102,241,0.5);
  transition: transform 0.15s;
}
#roi input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
#roi input[type=range]::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
#roi input[type=range]::-moz-range-thumb {
  height: 22px; width: 22px;
  border-radius: 50%;
  background: #6366f1;
  border: 2px solid #fff;
  cursor: pointer;
}

/* ── 6. iPHONE 15 PRO TITANIUM FRAME ─────────────────────────*/
.iphone-frame {
  position: relative;
  width: 270px;
  height: 570px;
  border-radius: 48px;
  background: linear-gradient(
    145deg,
    var(--titanium-1) 0%,
    var(--titanium-2) 25%,
    var(--titanium-3) 55%,
    var(--titanium-4) 80%,
    var(--titanium-2) 100%
  );
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 48px 96px rgba(0,0,0,0.65),
    inset 0 1px 2px rgba(255,255,255,0.28);
  flex-shrink: 0;
}

/* Volume buttons */
.iphone-frame::before {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 108px;
  width: 3px;
  height: 32px;
  background: linear-gradient(to bottom, var(--titanium-2), var(--titanium-3));
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 var(--titanium-3), 0 0 4px rgba(0,0,0,0.3);
}
/* Power button */
.iphone-frame::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 138px;
  width: 3px;
  height: 64px;
  background: linear-gradient(to bottom, var(--titanium-2), var(--titanium-3));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.iphone-inner {
  width: 100%;
  height: 100%;
  border-radius: 46px;
  background: #000;
  overflow: hidden;
  position: relative;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 30;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.04);
}

/* Screen slides */
.app-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}
.app-screen.active { opacity: 1; }

/* ─ Screen 1: Dashboard (light, matches real app) ─ */
.screen-dashboard {
  background: #f4f4f5; /* zinc-100 */
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sc-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 6px;
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
}
.sc-app-logo {
  display: flex;
  align-items: center;
  gap: 5px;
}
.sc-logo-dot {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-logo-text {
  font-size: 9px;
  font-weight: 800;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.01em;
}
.sc-new-btn {
  background: #2563eb;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.sc-page-title {
  font-size: 11px;
  font-weight: 800;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
  padding: 8px 12px 4px;
}
.sc-scan-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px 10px 10px;
  overflow: hidden;
}
.sc-scan-item {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sc-scan-icon {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-scan-info { flex: 1; min-width: 0; }
.sc-scan-name {
  height: 5px;
  border-radius: 3px;
  background: #3f3f46;
  width: 72%;
  margin-bottom: 3px;
}
.sc-scan-date {
  height: 4px;
  border-radius: 2px;
  background: #d4d4d8;
  width: 45%;
}
.sc-badge {
  font-size: 5.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}
.sc-badge-green  { background: #dcfce7; color: #16a34a; }
.sc-badge-yellow { background: #fef9c3; color: #a16207; }
.sc-badge-blue   { background: #dbeafe; color: #1d4ed8; }
.sc-upgrade-banner {
  margin: 0 10px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.sc-upgrade-text {
  font-size: 6.5px;
  color: #1e3a8a;
  font-weight: 600;
  flex: 1;
  line-height: 1.4;
}
.sc-upgrade-cta {
  background: #2563eb;
  color: #fff;
  font-size: 6px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─ Screen 2: Scan-Ergebnis (light, FindingCard) ─ */
.screen-result {
  background: #f4f4f5;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sc-result-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
}
.sc-back-arrow {
  font-size: 8px;
  color: #71717a;
  font-weight: 600;
}
.sc-result-bar-title {
  font-size: 8.5px;
  font-weight: 700;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
}
.sc-status-card {
  margin: 8px 10px 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  padding: 9px 11px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.sc-status-filename {
  height: 5px; border-radius: 3px;
  background: #3f3f46;
  width: 80%;
  margin-bottom: 3px;
}
.sc-status-date {
  height: 4px; border-radius: 2px;
  background: #d4d4d8;
  width: 55%;
}
.sc-errors-count {
  text-align: right;
  flex-shrink: 0;
}
.sc-errors-num {
  font-size: 18px;
  font-weight: 900;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}
.sc-errors-label {
  font-size: 6px;
  color: #71717a;
  font-weight: 600;
  margin-top: 1px;
}
.sc-disclaimer {
  margin: 5px 10px 0;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 9px;
  padding: 5px 8px;
  font-size: 6px;
  color: #78350f;
  line-height: 1.45;
  font-weight: 500;
}
.sc-finding-card {
  margin: 5px 10px 0;
  border-radius: 10px;
  padding: 8px 10px;
}
.sc-finding-card.high {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.sc-finding-card.medium {
  background: #fefce8;
  border: 1px solid #fde68a;
}
.sc-finding-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.sc-finding-type {
  font-size: 7.5px;
  font-weight: 700;
  color: #7f1d1d;
}
.sc-finding-sev {
  font-size: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #b91c1c;
}
.sc-finding-medium-type { color: #78350f; }
.sc-finding-medium-sev  { color: #a16207; }
.sc-finding-expl {
  height: 4px; border-radius: 2px;
  background: rgba(127,29,29,0.2);
  width: 90%;
  margin-bottom: 2px;
}
.sc-finding-expl2 {
  height: 4px; border-radius: 2px;
  background: rgba(127,29,29,0.12);
  width: 65%;
  margin-bottom: 5px;
}
.sc-finding-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.sc-meta-item { font-size: 5.5px; color: rgba(127,29,29,0.6); line-height: 1.5; }
.sc-meta-item b { display: block; color: rgba(127,29,29,0.9); font-weight: 700; }
.sc-letter-btn {
  margin: 6px 10px 0;
  background: #2563eb;
  border-radius: 9px;
  padding: 7px;
  text-align: center;
  font-size: 7.5px;
  font-weight: 700;
  color: #fff;
}

/* ─ Screen 3: Upload (light, UploadForm) ─ */
.screen-upload {
  background: #f4f4f5;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sc-upload-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border-bottom: 1px solid #e4e4e7;
}
.sc-upload-title {
  font-size: 9px;
  font-weight: 800;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
}
.sc-upload-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-upload-heading {
  font-size: 11px;
  font-weight: 800;
  color: #18181b;
  font-family: 'Outfit', sans-serif;
}
.sc-upload-sub {
  font-size: 6.5px;
  color: #71717a;
  margin-top: 1px;
}
.sc-dropzone {
  border: 2px dashed #d4d4d8;
  border-radius: 12px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: #fff;
}
.sc-dropzone-icon {
  width: 28px; height: 28px;
  border-radius: 9px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sc-dropzone-main {
  font-size: 7.5px;
  font-weight: 700;
  color: #18181b;
  text-align: center;
}
.sc-dropzone-sub {
  font-size: 6px;
  color: #71717a;
  text-align: center;
  line-height: 1.4;
}
.sc-dropzone-tag {
  background: #f4f4f5;
  border: 1px solid #e4e4e7;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 6px;
  font-weight: 700;
  color: #52525b;
}
.sc-guide-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e4e4e7;
  padding: 8px 10px;
}
.sc-guide-title {
  font-size: 7.5px;
  font-weight: 700;
  color: #18181b;
  margin-bottom: 5px;
}
.sc-guide-step {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.sc-step-num {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 6px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-step-text {
  height: 4px;
  border-radius: 2px;
  background: #d4d4d8;
  flex: 1;
}

/* ── 7. PRICING CARDS ─────────────────────────────────────────*/
.pricing-card {
  border-radius: 26px;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.25);
}
.pricing-card.featured {
  border-color: #6366f1;
  box-shadow: 0 0 0 1px #6366f1, 0 20px 60px rgba(99,102,241,0.18);
}
.pf-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #475569;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.4;
}
.pf-row:last-child { border-bottom: none; }
.check-ico { color: #6366f1; flex-shrink: 0; margin-top: 2px; }
.cross-ico { color: #cbd5e1; flex-shrink: 0; margin-top: 2px; }

/* ── 8. APP SHOWCASE TABS ─────────────────────────────────────*/
.tab-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.tab-btn:hover { color: rgba(255,255,255,0.75); }
.tab-btn.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── 9. APP MOCK WINDOW ───────────────────────────────────────*/
.app-window {
  background: var(--dark-surface);
  border-radius: 16px;
  border: 1px solid var(--dark-border);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.app-window-bar {
  background: #06090f;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--dark-border);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot-red    { background: #ff5f57; }
.win-dot-yellow { background: #febc2e; }
.win-dot-green  { background: #28c840; }
.win-url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  family: monospace;
}

.app-window-body {
  display: flex;
  height: 380px;
  overflow: hidden;
}
.app-sidebar {
  width: 185px;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.sidebar-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 12px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 8px;
}
.sidebar-logo-icon {
  width: 22px; height: 22px;
  background: #6366f1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo-text {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}
.sidebar-nav-item {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
.sidebar-nav-item.active {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  font-weight: 600;
}
.sidebar-nav-item:hover:not(.active) {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
}
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.nav-dot.active { background: #6366f1; }

.app-content { flex: 1; padding: 18px; overflow: hidden; }
.content-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-approved  { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-pending   { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.badge-rejected  { background: rgba(239,68,68,0.12);   color: #f87171; }

/* ── 10. FAQ ACCORDION ────────────────────────────────────────*/
.faq-item {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.open {
  box-shadow: 0 8px 30px rgba(99,102,241,0.08);
  border-color: rgba(99,102,241,0.2);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: #6366f1; }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  color: #94a3b8;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #6366f1; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s;
  padding: 0 22px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ── 11. NAVBAR SCROLL ────────────────────────────────────────*/
.nav-scrolled {
  background: rgba(7,11,20,0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.3) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* ── 12. LANGUAGE TOGGLE ──────────────────────────────────────*/
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 2px;
}
.lang-btn {
  padding: 4px 12px;
  border-radius: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
}
.lang-btn.active-lang {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* ── 13. STEP CONNECTOR ───────────────────────────────────────*/
.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(99,102,241,0.35), rgba(168,85,247,0.2));
  margin-top: -2px;
  flex-shrink: 0;
}
@media (max-width: 768px) { .step-connector { display: none; } }

/* ── 14. BENTO CARDS ──────────────────────────────────────────*/
.bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.2);
}

/* ── 15. TRUST BAR ────────────────────────────────────────────*/
.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  transition: opacity 0.2s;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.trust-logo:hover { opacity: 1; }

/* ── 16. SECTION LABELS ───────────────────────────────────────*/
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.15);
  color: #6366f1;
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-chip-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}

/* ── 17. TOAST ANIMATION ──────────────────────────────────────*/
@keyframes toast-up {
  0%   { opacity: 0; transform: translateY(10px); }
  15%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
.toast-animate { animation: toast-up 4s ease-in-out infinite; }

/* ── 18. GLOW ORBS ────────────────────────────────────────────*/
@keyframes glow-pulse {
  0%,100% { opacity: 0.18; transform: scale(1); }
  50%      { opacity: 0.30; transform: scale(1.1); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: glow-pulse 7s ease-in-out infinite;
}

/* ── 19. INNOVATION CARD ──────────────────────────────────────*/
.innovation-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 26px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.innovation-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(99,102,241,0.12);
  border-radius: 50%;
  filter: blur(40px);
}
.innovation-card:hover {
  border-color: rgba(99,102,241,0.45);
  box-shadow: 0 20px 60px rgba(99,102,241,0.18);
}

/* ── 20. MOBILE ───────────────────────────────────────────────*/
@media (max-width: 640px) {
  .iphone-frame { width: 220px; height: 464px; }
  .app-window-body { height: 280px; }
  .app-sidebar { display: none; }
  .tab-btn { padding: 6px 12px; font-size: 0.75rem; }
}

/* ── 21. THEME TOGGLE BUTTON ──────────────────────────────────*/
/* (Overrides für den Hell-Modus weiter unten in #23) */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.theme-toggle svg { pointer-events: none; }

/* ── 22. DARK MODE (html[data-theme="dark"]) ─────────────────*/

/* Body */
html[data-theme="dark"] body {
  background: #070b14 !important;
  color: #e2e8f0;
}

/* ── Section backgrounds ── */
html[data-theme="dark"] .bg-white              { background-color: #0f1422 !important; }
html[data-theme="dark"] .bg-slate-50           { background-color: #0a0f1e !important; }
html[data-theme="dark"] section[style*="#f8fafc"] { background-color: #0a0f1e !important; }

/* ── First-level cards ── */
html[data-theme="dark"] .bento-card {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .bento-card:hover {
  border-color: rgba(99,102,241,0.3) !important;
}
html[data-theme="dark"] .pricing-card {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .pricing-card.featured {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 1px #6366f1, 0 20px 60px rgba(99,102,241,0.2) !important;
}
html[data-theme="dark"] .faq-item {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.06) !important;
}
html[data-theme="dark"] .faq-item.open {
  border-color: rgba(99,102,241,0.25) !important;
}
html[data-theme="dark"] .glass-card {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
/* Stat cards (standalone bg-white in stats section) */
html[data-theme="dark"] .rounded-2xl.bg-white {
  background: #111827 !important;
}

/* ── Nested content inside cards ── */
html[data-theme="dark"] .bento-card .bg-white,
html[data-theme="dark"] .bento-card .bg-slate-50 { background-color: #1a2436 !important; }
html[data-theme="dark"] .bento-card .border-slate-200,
html[data-theme="dark"] .bento-card .border-slate-100 { border-color: rgba(255,255,255,0.08) !important; }
html[data-theme="dark"] .bento-card .text-slate-400.font-semibold { color: #475569 !important; }

/* Mobile menu (dark by default, keep dark) */
html[data-theme="dark"] #mobile-nav {
  background: #0f1422 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Contact modal */
html[data-theme="dark"] #contact-modal > div {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
html[data-theme="dark"] #contact-modal input,
html[data-theme="dark"] #contact-modal textarea,
html[data-theme="dark"] #contact-modal select {
  background: #1e293b !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e2e8f0 !important;
}

/* ── Text colors ── */
html[data-theme="dark"] .text-slate-900 { color: #f1f5f9 !important; }
html[data-theme="dark"] .text-slate-800 { color: #e2e8f0 !important; }
html[data-theme="dark"] .text-slate-700 { color: #cbd5e1 !important; }
html[data-theme="dark"] .text-slate-600 { color: #94a3b8 !important; }
html[data-theme="dark"] .text-slate-500 { color: #64748b !important; }
html[data-theme="dark"] .text-slate-400 { color: #475569 !important; }
html[data-theme="dark"] .text-slate-300 { color: #334155 !important; }
html[data-theme="dark"] .text-gray-700  { color: #cbd5e1 !important; }
html[data-theme="dark"] .text-gray-600  { color: #94a3b8 !important; }

/* ── FAQ ── */
html[data-theme="dark"] .faq-question { color: #f1f5f9 !important; }
html[data-theme="dark"] .faq-answer   { color: #94a3b8 !important; }
html[data-theme="dark"] .faq-chevron  { color: #475569 !important; }

/* ── Pricing rows ── */
html[data-theme="dark"] .pf-row {
  color: #94a3b8 !important;
  border-bottom-color: rgba(255,255,255,0.05) !important;
}
html[data-theme="dark"] .cross-ico { color: #374151 !important; }

/* ── Borders ── */
html[data-theme="dark"] .border-slate-100 { border-color: rgba(255,255,255,0.06) !important; }
html[data-theme="dark"] .border-slate-200 { border-color: rgba(255,255,255,0.08) !important; }

/* ── Navbar ── */
html[data-theme="dark"] .nav-scrolled {
  background: rgba(7,11,20,0.92) !important;
}

/* ── Section chip ── */
html[data-theme="dark"] .section-chip {
  background: rgba(99,102,241,0.12) !important;
  border-color: rgba(99,102,241,0.2) !important;
}

/* ── Step connector ── */
html[data-theme="dark"] .step-connector {
  background: linear-gradient(to right, rgba(99,102,241,0.2), rgba(168,85,247,0.1));
}

/* ── Amber disclaimer boxes ── */
html[data-theme="dark"] .bg-amber-50 {
  background-color: rgba(251,191,36,0.08) !important;
  border-color: rgba(251,191,36,0.2) !important;
}

/* ── iPhone Screens (dark mode) ── */

/* Screen 1: Dashboard */
html[data-theme="dark"] .screen-dashboard { background: #0d1117 !important; }
html[data-theme="dark"] .sc-app-bar {
  background: #161b22 !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-logo-text { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-page-title { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-upgrade-banner {
  background: rgba(37,99,235,0.12) !important;
  border-color: rgba(37,99,235,0.25) !important;
}
html[data-theme="dark"] .sc-upgrade-text { color: #93c5fd !important; }
html[data-theme="dark"] .sc-scan-item {
  background: #161b22 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-scan-icon { background: rgba(37,99,235,0.15) !important; }
html[data-theme="dark"] .sc-scan-name { background: rgba(240,246,255,0.18) !important; }
html[data-theme="dark"] .sc-scan-date { background: rgba(255,255,255,0.1) !important; }
/* Badges – etwas dunkler, bleibt lesbar */
html[data-theme="dark"] .sc-badge-green  { background: rgba(22,163,74,0.2)  !important; color: #4ade80 !important; }
html[data-theme="dark"] .sc-badge-yellow { background: rgba(161,98,7,0.22)   !important; color: #fbbf24 !important; }
html[data-theme="dark"] .sc-badge-blue   { background: rgba(29,78,216,0.22)  !important; color: #60a5fa !important; }

/* Screen 2: Ergebnis */
html[data-theme="dark"] .screen-result { background: #0d1117 !important; }
html[data-theme="dark"] .sc-result-bar {
  background: #161b22 !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-back-arrow     { color: #8b949e !important; }
html[data-theme="dark"] .sc-result-bar-title { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-status-card {
  background: #161b22 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-status-filename { background: rgba(240,246,255,0.18) !important; }
html[data-theme="dark"] .sc-status-date     { background: rgba(255,255,255,0.1) !important; }
html[data-theme="dark"] .sc-errors-num      { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-errors-label    { color: #8b949e !important; }
html[data-theme="dark"] .sc-disclaimer {
  background: rgba(120,53,15,0.2) !important;
  border-color: rgba(251,191,36,0.2) !important;
  color: #fde68a !important;
}
html[data-theme="dark"] .sc-finding-card.high {
  background: rgba(127,29,29,0.22) !important;
  border-color: rgba(239,68,68,0.25) !important;
}
html[data-theme="dark"] .sc-finding-card.medium {
  background: rgba(120,53,15,0.2) !important;
  border-color: rgba(251,191,36,0.2) !important;
}
html[data-theme="dark"] .sc-finding-type       { color: #fca5a5 !important; }
html[data-theme="dark"] .sc-finding-sev        { color: #f87171 !important; }
html[data-theme="dark"] .sc-finding-medium-type { color: #fde68a !important; }
html[data-theme="dark"] .sc-finding-medium-sev  { color: #fbbf24 !important; }
html[data-theme="dark"] .sc-meta-item          { color: rgba(252,165,165,0.55) !important; }
html[data-theme="dark"] .sc-meta-item b        { color: rgba(252,165,165,0.8)  !important; }

/* Screen 3: Upload */
html[data-theme="dark"] .screen-upload { background: #0d1117 !important; }
html[data-theme="dark"] .sc-upload-bar {
  background: #161b22 !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-upload-title   { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-upload-heading { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-upload-sub     { color: #8b949e !important; }
html[data-theme="dark"] .sc-dropzone {
  background: #161b22 !important;
  border-color: rgba(255,255,255,0.1) !important;
}
html[data-theme="dark"] .sc-dropzone-icon {
  background: rgba(37,99,235,0.15) !important;
  border-color: rgba(37,99,235,0.25) !important;
}
html[data-theme="dark"] .sc-dropzone-main  { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-dropzone-sub   { color: #8b949e !important; }
html[data-theme="dark"] .sc-dropzone-tag {
  background: #0d1117 !important;
  border-color: rgba(255,255,255,0.1) !important;
  color: #8b949e !important;
}
html[data-theme="dark"] .sc-guide-card {
  background: #161b22 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .sc-guide-title { color: #f0f6ff !important; }
html[data-theme="dark"] .sc-step-text   { background: rgba(255,255,255,0.12) !important; }

/* ── 23. HELL-MODUS: Dunkle Bereiche aufhellen ──────────────*/

/* ── NAV ── */
html[data-theme="light"] #nav {
  background: rgba(255,255,255,0.93) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06) !important;
}
html[data-theme="light"] .nav-scrolled {
  background: rgba(255,255,255,0.97) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.07) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
/* Nav-Pill (desktop) */
html[data-theme="light"] #nav nav {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.07) !important;
}
/* Logo + alle Texte im Nav */
html[data-theme="light"] #nav .text-white          { color: #0f172a !important; }
html[data-theme="light"] #nav [class*="text-white"] { color: #475569 !important; }
html[data-theme="light"] #nav a[class*="text-white"]:hover { color: #0f172a !important; }
/* Hamburger-Linien */
html[data-theme="light"] #mobile-menu-btn span { background-color: #374151 !important; }
/* Mobile-Nav */
html[data-theme="light"] #mobile-nav {
  background: #f8fafc !important;
  border-color: rgba(0,0,0,0.06) !important;
}
html[data-theme="light"] #mobile-nav [class*="text-white"] { color: #475569 !important; }
html[data-theme="light"] #mobile-nav hr { border-color: rgba(0,0,0,0.07) !important; }
/* Theme-Toggle */
html[data-theme="light"] .theme-toggle {
  border-color: rgba(0,0,0,0.12) !important;
  background: rgba(0,0,0,0.05) !important;
  color: #374151 !important;
}
html[data-theme="light"] .theme-toggle:hover {
  background: rgba(0,0,0,0.09) !important;
  color: #0f172a !important;
}
/* Lang-Toggle */
html[data-theme="light"] .lang-toggle {
  background: rgba(0,0,0,0.05) !important;
  border-color: rgba(0,0,0,0.09) !important;
}
html[data-theme="light"] .lang-btn { color: #64748b !important; }
html[data-theme="light"] .lang-btn.active-lang {
  background: rgba(0,0,0,0.08) !important;
  color: #0f172a !important;
}

/* ── HERO ── */
html[data-theme="light"] #hero {
  background: linear-gradient(150deg, #eef2ff 0%, #f8fafc 55%, #f0f4ff 100%) !important;
}
html[data-theme="light"] #hero .orb { opacity: 0.3; }
/* Alle weißen Texte im Hero */
html[data-theme="light"] #hero .text-white          { color: #0f172a !important; }
html[data-theme="light"] #hero [class*="text-white"] { color: #374151 !important; }
/* Badge (Neu-Chip) */
html[data-theme="light"] #hero .text-indigo-300 { color: #4f46e5 !important; }
html[data-theme="light"] #hero .bg-indigo-500\/10 { background: rgba(99,102,241,0.08) !important; }
html[data-theme="light"] #hero .border-indigo-500\/20 { border-color: rgba(99,102,241,0.25) !important; }
/* Sekundär-Button (ghost, border-white) */
html[data-theme="light"] #hero a[class*="border-white"] {
  border-color: rgba(15,23,42,0.18) !important;
  color: #374151 !important;
}
html[data-theme="light"] #hero a[class*="border-white"]:hover {
  border-color: rgba(15,23,42,0.35) !important;
  color: #0f172a !important;
}
/* Trust-Indikatoren unter Hero-CTAs */
html[data-theme="light"] #hero .text-emerald-400 { color: #059669 !important; }
html[data-theme="light"] #hero .text-indigo-400  { color: #4f46e5 !important; }
html[data-theme="light"] #hero .text-amber-400   { color: #d97706 !important; }
/* Floating Toast */
html[data-theme="light"] #hero .bg-slate-800\/90 {
  background: rgba(255,255,255,0.94) !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* ── TRUST BAR ── */
html[data-theme="light"] #trust-bar {
  background: #e2e8f4 !important;
  border-top-color: rgba(0,0,0,0.07) !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
html[data-theme="light"] #trust-bar [class*="text-white"] { color: #64748b !important; }
html[data-theme="light"] #trust-bar span { color: #475569 !important; }
html[data-theme="light"] #trust-bar .trust-logo { opacity: 0.8; }

/* ── APP SHOWCASE ── */
html[data-theme="light"] #showcase {
  background: #f4f6fc !important;
}
html[data-theme="light"] #showcase .text-white          { color: #0f172a !important; }
html[data-theme="light"] #showcase [class*="text-white"] { color: #475569 !important; }
html[data-theme="light"] #showcase .section-chip-dark {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.18) !important;
  color: #6366f1 !important;
}
/* Tab-Buttons im Showcase */
html[data-theme="light"] .tab-btn          { color: #64748b !important; background: transparent !important; }
html[data-theme="light"] .tab-btn:hover    { color: #374151 !important; }
html[data-theme="light"] .tab-btn.active   {
  background: rgba(0,0,0,0.07) !important;
  color: #0f172a !important;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.09) !important;
}
/* App-Window: von dunkel auf hell */
html[data-theme="light"] .app-window {
  background: #fff !important;
  border-color: rgba(0,0,0,0.07) !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.09) !important;
}
html[data-theme="light"] .app-window-bar {
  background: #f8fafc !important;
  border-bottom-color: rgba(0,0,0,0.07) !important;
}
html[data-theme="light"] .win-url { color: rgba(0,0,0,0.25) !important; }
html[data-theme="light"] .app-sidebar {
  background: #f4f6fa !important;
  border-right-color: rgba(0,0,0,0.07) !important;
}
html[data-theme="light"] .sidebar-logo-row { border-bottom-color: rgba(0,0,0,0.07) !important; }
html[data-theme="light"] .sidebar-logo-text { color: #1e293b !important; }
html[data-theme="light"] .sidebar-nav-item  { color: rgba(15,23,42,0.4) !important; }
html[data-theme="light"] .sidebar-nav-item.active {
  background: rgba(99,102,241,0.08) !important;
  color: #6366f1 !important;
}
html[data-theme="light"] .sidebar-nav-item:hover:not(.active) {
  background: rgba(0,0,0,0.04) !important;
  color: rgba(15,23,42,0.65) !important;
}
html[data-theme="light"] .nav-dot         { background: rgba(0,0,0,0.15) !important; }
html[data-theme="light"] .nav-dot.active  { background: #6366f1 !important; }
html[data-theme="light"] .app-content     { background: #fff !important; }
html[data-theme="light"] .content-title   { color: #0f172a !important; }
/* glass-card-dark → hell */
html[data-theme="light"] .glass-card-dark {
  background: rgba(0,0,0,0.03) !important;
  border-color: rgba(0,0,0,0.07) !important;
}
html[data-theme="light"] .glass-card-dark:hover {
  background: rgba(99,102,241,0.04) !important;
  border-color: rgba(99,102,241,0.18) !important;
}
/* Inline-Texte mit weißer Farbe in App-Window */
html[data-theme="light"] .app-content [style*="rgba(255,255,255"] { color: rgba(0,0,0,0.45) !important; }
html[data-theme="light"] .app-content [style*="color:#fff"]       { color: #0f172a !important; }
html[data-theme="light"] .app-sidebar [style*="rgba(255,255,255"] { color: rgba(0,0,0,0.4) !important; }
html[data-theme="light"] .app-sidebar [style*="color:#fff"]       { color: #0f172a !important; }

/* ── INNOVATION CARD (in Extras / bg-white Sektion) ── */
html[data-theme="light"] .innovation-card {
  background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
  border-color: rgba(99,102,241,0.2) !important;
}
html[data-theme="light"] .innovation-card [class*="text-white"] { color: #374151 !important; }
html[data-theme="light"] .innovation-card .text-white           { color: #0f172a !important; }
html[data-theme="light"] .innovation-card::before               { background: rgba(99,102,241,0.06); }

/* ── ROI RECHNER ── */
html[data-theme="light"] #roi {
  background: #eef1f9 !important;
}
html[data-theme="light"] #roi .orb { opacity: 0.18; }
html[data-theme="light"] #roi .text-white          { color: #0f172a !important; }
html[data-theme="light"] #roi [class*="text-white"] { color: #475569 !important; }
html[data-theme="light"] #roi .section-chip-dark {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.18) !important;
  color: #6366f1 !important;
}
html[data-theme="light"] #roi .text-indigo-400 { color: #4f46e5 !important; }
/* Slider-Track */
html[data-theme="light"] #roi input[type=range]::-webkit-slider-runnable-track {
  background: rgba(0,0,0,0.13) !important;
}
html[data-theme="light"] #roi input[type=range]::-moz-range-track {
  background: rgba(0,0,0,0.13) !important;
}
/* Disclaimer-Box im ROI */
html[data-theme="light"] #roi .bg-white\/4 {
  background: rgba(0,0,0,0.04) !important;
  border-color: rgba(0,0,0,0.08) !important;
}
/* Ergebnis-Karte im ROI */
html[data-theme="light"] #roi .glass-card-dark {
  background: #fff !important;
  border-color: rgba(0,0,0,0.08) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08) !important;
}
html[data-theme="light"] #roi #savings-value { color: #0f172a !important; }

/* ── FOOTER CTA ── */
html[data-theme="light"] #footer-cta {
  background: #eef2ff !important;
}
html[data-theme="light"] #footer-cta .orb { opacity: 0.2; }
html[data-theme="light"] #footer-cta .text-white          { color: #0f172a !important; }
html[data-theme="light"] #footer-cta [class*="text-white"] { color: #4b5563 !important; }
html[data-theme="light"] #footer-cta .text-indigo-400     { color: #4f46e5 !important; }
/* Ghost-Button */
html[data-theme="light"] #footer-cta a[class*="border-white"] {
  border-color: rgba(79,70,229,0.3) !important;
  color: #4f46e5 !important;
}
html[data-theme="light"] #footer-cta a[class*="border-white"]:hover {
  border-color: rgba(79,70,229,0.55) !important;
  color: #3730a3 !important;
}

/* ── FOOTER ── */
html[data-theme="light"] #site-footer {
  background: #f4f6fa !important;
  border-top-color: rgba(0,0,0,0.07) !important;
}
html[data-theme="light"] #site-footer .text-white          { color: #0f172a !important; }
html[data-theme="light"] #site-footer [class*="text-white"] { color: #64748b !important; }
html[data-theme="light"] #site-footer a[class*="text-white"]:hover { color: #0f172a !important; }
html[data-theme="light"] #site-footer [style*="border-top:1px solid rgba(255,255,255"] {
  border-top-color: rgba(0,0,0,0.07) !important;
}
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.07);
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.theme-toggle svg { pointer-events: none; }

/* ── 22. DARK MODE (html[data-theme="dark"]) ─────────────────*/

/* Body */
html[data-theme="dark"] body {
  background: #070b14 !important;
  color: #e2e8f0;
}

/* ── Section backgrounds ── */
html[data-theme="dark"] .bg-white              { background-color: #0f1422 !important; }
html[data-theme="dark"] .bg-slate-50           { background-color: #0a0f1e !important; }
html[data-theme="dark"] section[style*="#f8fafc"] { background-color: #0a0f1e !important; }

/* ── First-level cards ── */
html[data-theme="dark"] .bento-card {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .bento-card:hover {
  border-color: rgba(99,102,241,0.3) !important;
}
html[data-theme="dark"] .pricing-card {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.07) !important;
}
html[data-theme="dark"] .pricing-card.featured {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 1px #6366f1, 0 20px 60px rgba(99,102,241,0.2) !important;
}
html[data-theme="dark"] .faq-item {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.06) !important;
}
html[data-theme="dark"] .faq-item.open {
  border-color: rgba(99,102,241,0.25) !important;
}
html[data-theme="dark"] .glass-card {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
/* Stat cards (standalone bg-white in stats section) */
html[data-theme="dark"] .rounded-2xl.bg-white {
  background: #111827 !important;
}

/* ── Nested content inside cards ── */
html[data-theme="dark"] .bento-card .bg-white,
html[data-theme="dark"] .bento-card .bg-slate-50 { background-color: #1a2436 !important; }
html[data-theme="dark"] .bento-card .border-slate-200,
html[data-theme="dark"] .bento-card .border-slate-100 { border-color: rgba(255,255,255,0.08) !important; }
html[data-theme="dark"] .bento-card .text-slate-400.font-semibold { color: #475569 !important; }

/* Mobile menu (dark by default, keep dark) */
html[data-theme="dark"] #mobile-nav {
  background: #0f1422 !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* Contact modal */
html[data-theme="dark"] #contact-modal > div {
  background: #111827 !important;
  border-color: rgba(255,255,255,0.08) !important;
}
html[data-theme="dark"] #contact-modal input,
html[data-theme="dark"] #contact-modal textarea,
html[data-theme="dark"] #contact-modal select {
  background: #1e293b !important;
  border-color: rgba(255,255,255,0.12) !important;
  color: #e2e8f0 !important;
}

/* ── Text colors ── */
html[data-theme="dark"] .text-slate-900 { color: #f1f5f9 !important; }
html[data-theme="dark"] .text-slate-800 { color: #e2e8f0 !important; }
html[data-theme="dark"] .text-slate-700 { color: #cbd5e1 !important; }
html[data-theme="dark"] .text-slate-600 { color: #94a3b8 !important; }
html[data-theme="dark"] .text-slate-500 { color: #64748b !important; }
html[data-theme="dark"] .text-slate-400 { color: #475569 !important; }
html[data-theme="dark"] .text-slate-300 { color: #334155 !important; }
html[data-theme="dark"] .text-gray-700  { color: #cbd5e1 !important; }
html[data-theme="dark"] .text-gray-600  { color: #94a3b8 !important; }

/* ── FAQ ── */
html[data-theme="dark"] .faq-question { color: #f1f5f9 !important; }
html[data-theme="dark"] .faq-answer   { color: #94a3b8 !important; }
html[data-theme="dark"] .faq-chevron  { color: #475569 !important; }

/* ── Pricing rows ── */
html[data-theme="dark"] .pf-row {
  color: #94a3b8 !important;
  border-bottom-color: rgba(255,255,255,0.05) !important;
}
html[data-theme="dark"] .cross-ico { color: #374151 !important; }

/* ── Borders ── */
html[data-theme="dark"] .border-slate-100 { border-color: rgba(255,255,255,0.06) !important; }
html[data-theme="dark"] .border-slate-200 { border-color: rgba(255,255,255,0.08) !important; }

/* ── Navbar ── */
html[data-theme="dark"] .nav-scrolled {
  background: rgba(7,11,20,0.92) !important;
}

/* ── Section chip ── */
html[data-theme="dark"] .section-chip {
  background: rgba(99,102,241,0.12) !important;
  border-color: rgba(99,102,241,0.2) !important;
}

/* ── Step connector ── */
html[data-theme="dark"] .step-connector {
  background: linear-gradient(to right, rgba(99,102,241,0.2), rgba(168,85,247,0.1));
}

/* ── Innovation card (already dark, stays as-is) ── */
/* already styled dark, no override needed */

/* ── Amber disclaimer boxes (keep warm in dark mode) ── */
html[data-theme="dark"] .bg-amber-50 {
  background-color: rgba(251,191,36,0.08) !important;
  border-color: rgba(251,191,36,0.2) !important;
}
