/* ==========================================================================
   SmartERP Theme Color Variables (theme.css)
   --------------------------------------------------------------------------
   Modify ONLY the variables inside :root below to test different color
   schemes across the entire site (Homepage Hero, Header, Footer, Cards,
   Accents, Compliance Badges, and Primary CTA Buttons).

   QUICK PRESETS TO TEST (copy & paste hex codes into :root below):

   1. Corporate Blue (Default):
      --smarterp-hero-bg: #1e4a81; 
      // #00a6ff; 
      --smarterp-bg-page: #0f172a;
      --smarterp-bg-surface: #020617;
      --smarterp-bg-card: #0f172a;
      --smarterp-accent: #22d3ee;
      --smarterp-cta-from: #06b6d4;
      --smarterp-cta-to: #2563eb;

   2. Executive Emerald & Dark Slate:
      --smarterp-hero-bg: #0f4c3a;
      --smarterp-bg-page: #0b1318;
      --smarterp-bg-surface: #060b0e;
      --smarterp-bg-card: #101d24;
      --smarterp-accent: #34d399;
      --smarterp-cta-from: #10b981;
      --smarterp-cta-to: #047857;

   3. Obsidian & Warm Gold:
      --smarterp-hero-bg: #292524;
      --smarterp-bg-page: #18181b;
      --smarterp-bg-surface: #09090b;
      --smarterp-bg-card: #1f1f23;
      --smarterp-accent: #fbbf24;
      --smarterp-cta-from: #f59e0b;
      --smarterp-cta-to: #d97706;
   ========================================================================== */

:root {
  /* 1. Core Backgrounds */
  --smarterp-hero-bg: #1e4a81;
  --smarterp-bg-page: #0f172a;
  --smarterp-bg-surface: #020617;
  --smarterp-bg-card: #0f172a;
  --smarterp-bg-elevated: #1e293b;
  --smarterp-border: #1e293b;
  --smarterp-border-strong: #334155;

  /* 2. Primary Accent & Interactive Highlights */
  --smarterp-accent: #22d3ee;
  --smarterp-accent-soft: #67e8f9;
  --smarterp-accent-surface: rgba(8, 51, 68, 0.72);
  --smarterp-accent-border: rgba(6, 182, 212, 0.35);

  /* 3. Primary Action Buttons (CTAs) */
  --smarterp-cta-from: #06b6d4;
  --smarterp-cta-to: #2563eb;
  --smarterp-cta-text: #ffffff;

  /* 4. Typography & Semantic Audit Accent */
  --smarterp-text-primary: #f8fafc;
  --smarterp-text-secondary: #cbd5e1;
  --smarterp-text-muted: #94a3b8;
  --smarterp-success: #34d399;
}

/* ==========================================================================
   Variable Mapping Layer (applies :root variables cleanly over base styles)
   ========================================================================== */

body.bg-slate-900 {
  background-color: var(--smarterp-accent);
  color: var(--smarterp-text-primary);
}

#home-view,
#root > main > div#home-view {
  background-color: var(--smarterp-hero-bg);
  background-image: linear-gradient(to right, var(--smarterp-hero-bg), var(--smarterp-cta-to));
}

header.bg-slate-900\/90,
header.bg-slate-900\/95 {
  background-color: color-mix(in srgb, var(--smarterp-bg-page) 92%, transparent);
  border-color: var(--smarterp-border);
}

footer.bg-slate-950,
footer.bg-slate-950\/80,
footer.bg-slate-900 {
  background-color: var(--smarterp-bg-surface);
  border-color: var(--smarterp-border);
}

.bg-slate-900 {
  background-color: var(--smarterp-bg-card);
}

.bg-slate-950 {
  background-color: var(--smarterp-bg-surface);
}

.bg-slate-800,
.bg-slate-800\/80,
.bg-slate-800\/90,
.bg-slate-850 {
  background-color: var(--smarterp-bg-elevated);
}

.border-slate-800,
.border-slate-800\/80 {
  border-color: var(--smarterp-border);
}

.border-slate-700,
.border-slate-700\/80 {
  border-color: var(--smarterp-border-strong);
}

.text-cyan-400,
.hover\:text-cyan-400:hover,
.group:hover .group-hover\:text-cyan-400 {
  color: var(--smarterp-accent);
}

.text-cyan-300,
.hover\:text-cyan-300:hover,
.group:hover .group-hover\:text-cyan-300 {
  color: var(--smarterp-accent-soft);
}

.bg-cyan-950,
.bg-cyan-950\/80,
.bg-cyan-950\/70,
.bg-cyan-950\/60,
.bg-cyan-950\/40 {
  background-color: var(--smarterp-accent-surface);
}

.border-cyan-500\/30,
.border-cyan-500\/40,
.border-cyan-500\/50,
.border-cyan-800,
.border-cyan-800\/60,
.border-cyan-800\/50 {
  border-color: var(--smarterp-accent-border);
}

.text-emerald-400 {
  color: var(--smarterp-success);
}

.text-slate-300 {
  color: var(--smarterp-text-secondary);
}

.text-slate-400 {
  color: var(--smarterp-text-muted);
}

#navbar-demo-btn,
#hero-demo-btn,
#detail-demo-btn,
#industry-demo-btn,
#service-consult-btn,
#diag-request-demo-btn,
#demo-submit-btn,
.hero-demo-trigger,
.theme-cta-gradient {
  background-image: linear-gradient(to right, var(--smarterp-cta-from), var(--smarterp-cta-to));
  color: var(--smarterp-cta-text);
}

#navbar-demo-btn > span {
  color: var(--smarterp-cta-text);
}
