/* Theme: Neurflo-inspired — dark AI SaaS, lavender/violet accents, calmer cards (less mint / less heavy glass). */
:root {
  --bg: #02121c;
  --bg-soft: rgba(0, 45, 55, 0.3);
  --surface: rgba(2, 25, 35, 0.75);
  --surface-strong: rgba(0, 55, 65, 0.55);
  --surface-hover: rgba(45, 212, 191, 0.12);
  --surface-well: rgba(0, 40, 50, 0.4);
  --surface-low: rgba(0, 60, 70, 0.25);
  --control-bg: rgba(2, 40, 48, 0.6);
  --border: rgba(45, 212, 191, 0.2);
  --border-strong: rgba(45, 212, 191, 0.45);
  --border-muted: rgba(45, 212, 191, 0.15);
  --border-subtle: rgba(0, 80, 90, 0.5);
  --border-fine: rgba(45, 212, 191, 0.1);
  --border-hairline: rgba(45, 212, 191, 0.08);
  --interactive-hover-bg: rgba(45, 212, 191, 0.15);
  --interactive-hover-border: rgba(45, 212, 191, 0.5);
  --glass-panel-a: rgba(45, 212, 191, 0.1);
  --glass-panel-b: rgba(2, 25, 35, 0.7);
  --glass-hero-a: rgba(45, 212, 191, 0.08);
  --glass-hero-b: rgba(2, 20, 28, 0.85);
  --section-muted-fade: rgba(45, 212, 191, 0.05);
  --card-border: rgba(45, 212, 191, 0.25);
  --glass-blur: 12px;
  --text: #e6f7f5;
  --muted: #7ab3b3;
  --text-on-glass: #caf2ef;
  --text-secondary: #b3dfda;
  --text-lead: #99cfca;
  --text-label: #7fc2bc;
  --text-support: #69b0a8;
  --text-soft: #529e96;
  --text-faint: #3f8a82;
  --text-minor: #2e736c;
  --text-ghost: #1f5e58;
  --text-placeholder: #1b4f4a;
  --focus-ring-width: 2px;
  --focus-ring-offset: 2px;
  --focus-ring: rgba(45, 212, 191, 0.7);
  --focus-ring-inner: rgba(45, 212, 191, 0.3);
  --focus-ring-on-accent: #02121c;
  --accent: #2dd4bf;
  --accent-dark: #14b8a6;
  --accent-foreground: #02121c;
  --danger: #ff7b72;
  --warning: #fbbf24;
  --shadow: 0 28px 60px rgba(0, 20, 25, 0.8), 0 0 0 1px rgba(45, 212, 191, 0.1);
}

html[data-theme="light"] {
  --bg: #edf3f8;
  --bg-soft: rgba(15, 23, 42, 0.04);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-hover: rgba(15, 23, 42, 0.06);
  --surface-well: rgba(255, 255, 255, 0.65);
  --surface-low: rgba(255, 255, 255, 0.55);
  --control-bg: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.12);
  --border-strong: rgba(15, 23, 42, 0.16);
  --border-muted: rgba(15, 23, 42, 0.1);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-fine: rgba(15, 23, 42, 0.07);
  --border-hairline: rgba(15, 23, 42, 0.1);
  --interactive-hover-bg: rgba(20, 184, 166, 0.12);
  --interactive-hover-border: rgba(15, 118, 110, 0.28);
  --glass-panel-a: rgba(20, 184, 166, 0.08);
  --glass-panel-b: rgba(255, 255, 255, 0.78);
  --glass-hero-a: rgba(20, 184, 166, 0.08);
  --glass-hero-b: rgba(255, 255, 255, 0.82);
  --section-muted-fade: rgba(20, 184, 166, 0.035);
  --card-border: rgba(15, 23, 42, 0.12);
  --glass-blur: 10px;
  --text: #0f172a;
  --muted: #64748b;
  --text-on-glass: rgba(15, 23, 42, 0.94);
  --text-secondary: rgba(15, 23, 42, 0.86);
  --text-lead: rgba(15, 23, 42, 0.78);
  --text-label: rgba(15, 23, 42, 0.74);
  --text-support: rgba(15, 23, 42, 0.68);
  --text-soft: rgba(15, 23, 42, 0.62);
  --text-faint: rgba(15, 23, 42, 0.56);
  --text-minor: rgba(15, 23, 42, 0.50);
  --text-ghost: rgba(15, 23, 42, 0.46);
  --text-placeholder: rgba(15, 23, 42, 0.46);
  --focus-ring: rgba(15, 118, 110, 0.45);
  --focus-ring-inner: rgba(20, 184, 166, 0.18);
  --focus-ring-on-accent: #ffffff;
  --accent: #0f766e;
  --accent-dark: #14b8a6;
  --accent-foreground: #ffffff;
  --danger: #dc2626;
  --warning: #d97706;
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(at 12% 18%, rgba(120, 90, 210, 0.28) 0, transparent 46%),
    radial-gradient(at 88% 12%, rgba(90, 70, 170, 0.22) 0, transparent 44%),
    radial-gradient(at 72% 78%, rgba(160, 130, 255, 0.1) 0, transparent 42%),
    #07060f;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.10), transparent 30%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.10), transparent 28%),
    var(--bg);
}

/* Light theme: ensure main cards/panels are actually light (some components use hardcoded dark gradients). */
html[data-theme="light"] .glass-panel,
html[data-theme="light"] .feature-card,
html[data-theme="light"] .cta-banner,
html[data-theme="light"] .pricing-card {
  border-color: var(--card-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .pricing-card__badge {
  background: rgba(20, 184, 166, 0.12);
  border-color: rgba(15, 118, 110, 0.18);
  color: rgba(15, 118, 110, 0.95);
}

html[data-theme="light"] .cloud-card {
  border-color: var(--card-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.96) 100%);
  box-shadow: var(--shadow);
}

html[data-theme="light"] .cloud-card::before {
  background:
    radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.14), transparent 34%),
    radial-gradient(circle at 0% 100%, rgba(15, 118, 110, 0.10), transparent 32%);
}

html[data-theme="light"] .cloud-card__eyebrow {
  background: rgba(20, 184, 166, 0.12);
  color: rgba(15, 118, 110, 0.95);
}

html[data-theme="light"] .cloud-card__process-line {
  background: linear-gradient(
    90deg,
    rgba(15, 118, 110, 0.12),
    rgba(20, 184, 166, 0.55),
    rgba(15, 118, 110, 0.12)
  );
}

html[data-theme="light"] .cloud-card__step {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
}

html[data-theme="light"] .cloud-card__step-icon {
  background: rgba(20, 184, 166, 0.12);
  color: rgba(15, 118, 110, 0.95);
}

html[data-theme="light"] .cloud-card__benefits {
  border-top-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .cloud-card__benefit {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .cloud-card__benefit:hover {
  background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .cloud-card__benefit-icon {
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 118, 110, 0.95);
}

html[data-theme="light"] .display-title .accent {
  background: rgba(20, 184, 166, 0.14);
  color: var(--text);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  padding: 0.08em 0.22em;
  border-radius: 14px;
  display: inline-block;
  width: fit-content;
}

html[data-theme="light"] .display-title__accent {
  background: rgba(20, 184, 166, 0.14);
  color: var(--text);
  -webkit-background-clip: border-box;
  background-clip: border-box;
  padding: 0.08em 0.22em;
  border-radius: 14px;
  display: inline-block;
  width: fit-content;
}

html[data-theme="light"] .auth-divider span {
  background: rgba(255, 255, 255, 0.92);
}

html[data-theme="light"] .btn-social {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

html[data-theme="light"] .btn-social span {
  color: rgba(15, 23, 42, 0.55);
}

html[data-theme="light"] .btn-ghost {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .btn-outline-light {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.65);
}

html[data-theme="light"] .btn-outline-light:hover {
  color: var(--text);
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.16);
}

html[data-theme="light"] .pricing-card .btn-outline-light {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(15, 118, 110, 0.22);
}

html[data-theme="light"] .pricing-card .btn-outline-light:hover,
html[data-theme="light"] .pricing-card .btn-outline-light:focus-visible {
  background: rgba(20, 184, 166, 0.10);
  border-color: rgba(15, 118, 110, 0.32);
}

html[data-theme="light"] .app-toast {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  border-color: var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .app-toast__close:hover {
  color: var(--text);
}

html[data-theme="light"] .mobile-nav {
  background: rgba(15, 23, 42, 0.35);
}

html[data-theme="light"] .mobile-nav__panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: var(--border);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

