/* ==========================================================================
   Design Tokens — Desk Buddy (Violet Glassmorphism + Bento Grid)
   ========================================================================== */

:root {
  /* Mesh Gradient Canvas */
  --bg-mesh-base: #F3EEFF;
  --bg-mesh-gradient:
    radial-gradient(at 10% 12%, rgba(216, 180, 254, 0.58) 0px, transparent 52%),
    radial-gradient(at 88% 10%, rgba(186, 214, 255, 0.62) 0px, transparent 50%),
    radial-gradient(at 78% 88%, rgba(196, 167, 255, 0.56) 0px, transparent 54%),
    radial-gradient(at 14% 86%, rgba(244, 203, 248, 0.55) 0px, transparent 50%),
    linear-gradient(135deg, #F6F0FF 0%, #EEF2FF 52%, #F5ECFF 100%);

  /* Glassmorphism Surfaces */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.80);
  --glass-bg-subtle: rgba(245, 240, 255, 0.56);
  --glass-bg-hover: rgba(237, 233, 254, 0.74);
  --glass-bg-input: rgba(255, 255, 255, 0.68);
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.8);
  --glass-border-inner: 1px solid rgba(255, 255, 255, 0.74);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.92);

  /* Accent Colors — Deep Violet & Purple Gradient */
  --color-accent: #7C3AED;
  --color-accent-mid: #8B5CF6;
  --color-accent-light: #A855F7;
  --color-accent-hover: #6D28D9;
  --color-accent-active: #5B21B6;
  --color-accent-gradient: linear-gradient(135deg, #7C3AED 0%, #9333EA 58%, #A855F7 100%);
  --color-accent-deep-card: linear-gradient(135deg, #5B21B6 0%, #7C3AED 55%, #9333EA 100%);
  --color-accent-ring: rgba(124, 58, 237, 0.24);

  /* Secondary Accent — Soft Pastel Violet */
  --color-pastel-bg: rgba(237, 233, 254, 0.84);
  --color-pastel-strong: rgba(221, 214, 254, 0.92);
  --color-pastel-border: rgba(196, 181, 253, 0.62);
  --color-icon-inactive: #A78BFA;

  /* Priority & Deadline Badges */
  --color-deadline-bg: rgba(255, 255, 255, 0.2);
  --color-deadline-urgent-bg: #FEF3C7;
  --color-deadline-urgent-text: #92400E;
  --color-danger: #E11D48;
  --color-danger-soft: rgba(225, 29, 72, 0.11);

  /* Typography Colors */
  --color-text-primary: #1E1633;
  --color-text-secondary: #5B5074;
  --color-text-tertiary: #8478A1;
  --color-text-placeholder: #A196BA;
  --color-text-inverse: #FFFFFF;

  /* Dividers */
  --color-divider: rgba(139, 92, 246, 0.14);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "맑은 고딕", sans-serif;

  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.8125rem;    /* 13px */
  --text-base: 0.9375rem;  /* 15px */
  --text-md: 1.0625rem;    /* 17px */
  --text-lg: 1.25rem;      /* 20px */
  --text-xl: 1.625rem;     /* 26px */
  --text-2xl: 1.875rem;    /* 30px */
  --text-clock: 1.875rem;  /* 30px */

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --leading-tight: 1.2;
  --leading-snug: 1.45;
  --leading-relaxed: 1.6;

  --tracking-tight: -0.028em;
  --tracking-snug: -0.016em;
  --tracking-normal: -0.005em;

  /* Border Radius */
  --radius-card: 24px;
  --radius-inner: 16px;
  --radius-control: 12px;
  --radius-sm: 9px;
  --radius-pill: 9999px;

  /* Glass Elevation Shadows */
  --shadow-glass:
    0 8px 30px rgba(109, 40, 217, 0.08),
    0 2px 8px rgba(109, 40, 217, 0.04),
    var(--glass-highlight);
  --shadow-glass-hover:
    0 14px 38px rgba(109, 40, 217, 0.13),
    0 4px 12px rgba(109, 40, 217, 0.06),
    var(--glass-highlight);
  --shadow-accent: 0 8px 22px rgba(124, 58, 237, 0.3);
  --shadow-accent-sm: 0 4px 12px rgba(124, 58, 237, 0.24);
  --shadow-control: 0 2px 6px rgba(109, 40, 217, 0.1);

  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 28px;
  --space-8: 32px;

  /* Layout */
  --container-max: 1360px;

  /* Motion */
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 160ms;
  --duration-base: 260ms;
}
