:root {
  --bg: #0a0a12;
  --bg-alt: #12121f;
  --bg-card: #13141e;
  --card-bg: #12121f;
  --card-border: rgba(155, 92, 255, 0.22);
  --accent: #9b5cff;
  --accent-light: #c9a6ff;
  --text: #e8e8f0;
  --text-dim: #9898b0;
  --border: rgba(155, 92, 255, 0.22);
  --shadow-glow: 0 4px 24px rgba(155,92,255,0.12);
  --z-dropdown: 10100;
  --nav-track-bg: rgba(255,255,255,0.04);
  --nav-track-border: rgba(155,92,255,0.12);
  --nav-active-bg: rgba(155,92,255,0.18);
  --nav-hover-bg: rgba(155,92,255,0.06);
  --nav-focus-ring: 0 0 0 2px rgba(155,92,255,0.38);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── Floating save bar (shared by dashboard + marketing bundles) ─────────── */
.save-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5%;
  background: #232236;
  border-top: 1px solid rgba(169, 112, 255, 0.12);
  box-shadow: 0 -6px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(100%);
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.save-bar.save-bar-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.save-bar-msg {
  font-size: 0.88rem;
  color: #8e8da4;
}
.save-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.save-bar-discard {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 0.55rem 1.15rem;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s;
}
.save-bar-discard:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.34);
}
.save-bar-discard:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.save-bar-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  box-shadow: 0 4px 18px rgba(155, 92, 255, 0.32);
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.save-bar-save:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(155, 92, 255, 0.42);
}
.save-bar-save:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow: 0 2px 12px rgba(155, 92, 255, 0.28);
}
.save-bar-save:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}
