/* ============================================
   LunaRabbit Design System
   ============================================ */

:root {
  /* Brand */
  --brand-primary: #4A8DFF;
  --brand-primary-hover: #3A7DEF;
  --brand-gradient: linear-gradient(135deg, #4A8DFF, #A960EE);

  /* Product Colors */
  --color-excel: #217346;
  --color-excel-light: #2ea85e;
  --color-ppt: #C43E1C;
  --color-ppt-light: #D95532;
  --color-word: #2B579A;
  --color-word-light: #3A6AB5;

  /* Dark Theme (default) */
  --bg-primary: #09090b;
  --bg-secondary: #111113;
  --bg-card: #18181b;
  --bg-card-hover: #1f1f23;
  --bg-elevated: #27272a;
  --border-primary: #27272a;
  --border-secondary: #3f3f46;
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  /* Typography */
  --font-sans: 'Pretendard Variable', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', 'SF Mono', monospace;

  --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;
  --text-6xl: 3.75rem;

  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(74, 141, 255, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 4rem;
}

/* Brand accent — used for semi-transparent brand backgrounds */
:root {
  --brand-accent-bg: rgba(74, 141, 255, 0.1);
  --brand-accent-border: rgba(74, 141, 255, 0.2);
  --brand-accent-glow: rgba(74, 141, 255, 0.3);
  --brand-accent-radial: rgba(74, 141, 255, 0.08);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f4f4f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f4f4f5;
  --bg-elevated: #e4e4e7;
  --border-primary: #e4e4e7;
  --border-secondary: #d4d4d8;
  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #a1a1aa;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(74, 141, 255, 0.1);

  --brand-accent-bg: rgba(74, 141, 255, 0.08);
  --brand-accent-border: rgba(74, 141, 255, 0.15);
  --brand-accent-glow: rgba(74, 141, 255, 0.2);
  --brand-accent-radial: rgba(74, 141, 255, 0.05);
}
