/* Dark Technical theme override */
:root {
  --color-bg: #111111;
  --color-surface: #1c1c1c;
  --color-border: rgba(243,239,230,0.18);
  --color-text: #f3efe6;
  --color-muted: #bbb3a7;
  --color-accent: #f3efe6;
  --color-accent-2: #ff4d2e;
  --color-accent-2-h: #ff6a50;
  --color-glow: #ff4d2e;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.35);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.28);
  --shadow-glow: 0 0 24px rgba(255,77,46,0.22);
}

html,
body {
  background: #111111 !important;
  color: #f3efe6 !important;
}

body,
section,
.page-hero,
#planner,
#planner-input,
#plan-output,
[style*="background: #F0EDE7"],
[style*="background:#F0EDE7"],
[style*="background: var(--color-surface)"],
[style*="background:var(--color-surface)"] {
  background: #111111 !important;
}

.nav {
  background: rgba(17,17,17,0.96) !important;
  border-bottom-color: rgba(243,239,230,0.2) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.nav-logo,
.nav-links a,
.nav-links a.active,
.nav-links a:hover {
  color: #f3efe6 !important;
}

.logo-ai,
.nav-logo span:not(.logo-ai),
.eyebrow,
a,
a:hover,
.card-icon,
.terminal-tag,
[style*="color: #FF3200"],
[style*="color:#FF3200"],
[style*="color: var(--color-accent-2)"] {
  color: #ff4d2e !important;
}

.nav-cta,
.btn-primary,
#generate-btn,
[style*="background: #FF3200"],
[style*="background:#FF3200"] {
  background: #ff4d2e !important;
  border-color: #ff4d2e !important;
  color: #ffffff !important;
}

[style*="background: #0a0a0a"],
[style*="background:#0a0a0a"] {
  background: #1c1c1c !important;
}

[style*="background: #E8E4DD"],
[style*="background:#E8E4DD"] {
  background: #1c1c1c !important;
}

[style*="background: #fff"],
[style*="background:#fff"],
.card,
.form-input,
.form-textarea,
select.form-input option {
  background: #1c1c1c !important;
  color: #f3efe6 !important;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
.lead,
.card h3,
.card h4,
.card p,
.form-label,
[style*="color: #0a0a0a"],
[style*="color:#0a0a0a"],
[style*="color: var(--color-text)"] {
  color: #f3efe6 !important;
}

p,
li,
.lead,
.text-muted,
.plan-page-desc,
.plan-feature-desc,
[style*="color: #555"],
[style*="color:#555"],
[style*="color: #666"],
[style*="color:#666"],
[style*="color: #888"],
[style*="color:#888"],
[style*="color: #aaa"],
[style*="color:#aaa"],
[style*="color: var(--color-muted)"] {
  color: #bbb3a7 !important;
}

.card,
.form-input,
.form-textarea,
.prompt-chip,
.home-service-pill,
[style*="border: 1.5px solid #0a0a0a"],
[style*="border-top: 2px solid #0a0a0a"],
[style*="border-bottom: 2px solid #0a0a0a"],
hr.divider {
  border-color: rgba(243,239,230,0.22) !important;
}

.card,
.home-service-pill,
.plan-block,
.plan-section,
.plan-page-card,
.plan-feature-item {
  border-color: rgba(243,239,230,0.16) !important;
}

.home-service-pill {
  background: rgba(243,239,230,0.05) !important;
}

.home-service-pill::before,
[style*="background: #FF3200"],
[style*="background:#FF3200"],
[style*="background: var(--color-accent-2)"] {
  background: #ff4d2e !important;
}

.prompt-chip {
  background: transparent !important;
}

.prompt-chip:hover {
  border-color: #ff4d2e !important;
  color: #ff4d2e !important;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #ff4d2e !important;
  box-shadow: 0 0 0 3px rgba(255,77,46,0.14) !important;
}

.btn-secondary,
[style*="border: 1.5px solid #0a0a0a"] {
  color: #f3efe6 !important;
}

footer,
footer[style],
[style*="background: #0a0a0a"][style*="padding: 48px"] {
  background: #0a0a0a !important;
}

footer a,
footer p,
footer span {
  color: #bbb3a7 !important;
}

footer a:first-child,
footer [style*="color: #F0EDE7"] {
  color: #f3efe6 !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(243,239,230,0.42) !important;
}
