/* ═══════════════════════════════════════════
   MarketingOS — Design Tokens & Custom Properties
   ═══════════════════════════════════════════ */

:root {
  /* ── Colors ── */
  --bg-primary: #07070F;
  --bg-secondary: #0F0F1A;
  --bg-card: #13131F;
  --bg-card-hover: #1A1A2E;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);

  /* ── Accents ── */
  --accent-lime: #BDFF47;
  --accent-violet: #7B5EFF;
  --accent-cyan: #33E8FF;
  --accent-coral: #FF6B6B;
  --accent-gold: #FFD166;

  /* ── Text ── */
  --text-primary: #F2EDFF;
  --text-secondary: #9090B0;
  --text-muted: #4A4A6A;
  --text-inverse: #07070F;

  /* ── Semantic ── */
  --success: #4DFFB0;
  --warning: #FFD166;
  --error: #FF5C5C;
  --info: #33E8FF;

  /* ── Typography ── */
  --font-display: 'Clash Display', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* ── Font Sizes ── */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* ── Font Weights ── */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* ── Line Heights ── */
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --leading-relaxed: 1.7;

  /* ── Spacing Scale ── */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* ── Border Radius ── */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow-lime: 0 0 32px rgba(189, 255, 71, 0.2);
  --shadow-glow-violet: 0 0 32px rgba(123, 94, 255, 0.2);
  --shadow-glow-cyan: 0 0 32px rgba(51, 232, 255, 0.2);
  --shadow-glow-coral: 0 0 32px rgba(255, 107, 107, 0.2);

  /* ── Transitions ── */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Layout ── */
  --sidebar-width: 80px;
  --sidebar-expanded: 260px;
  --topbar-height: 64px;
  --ai-panel-width: 400px;
  --content-max: 1100px;

  /* ── Z-Index Scale ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-sidebar: 300;
  --z-topbar: 400;
  --z-modal: 500;
  --z-toast: 600;
  --z-tooltip: 700;
  --z-confetti: 800;
}

/* ═══════════════════════════════════════════
   Light Theme Override
   ═══════════════════════════════════════════ */
[data-theme="light"] {
  --bg-primary: #F4F4FF;
  --bg-secondary: #EAEAF8;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0F0FC;
  --text-primary: #0F0F1A;
  --text-secondary: #4A4A6A;
  --text-muted: #9090B0;
  --text-inverse: #F2EDFF;
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 48px rgba(0, 0, 0, 0.12);
}
