/* ==========================================================================
   AKMods Design System - Professional Design Tokens
   Default: Pure Black (#000000) for all users
   Toggleable to Pure White (#ffffff) via Theme Changer
   ========================================================================== */

:root,
:root[data-theme="dark"] {
  /* Brand Signature Colors with verified WCAG AA/AAA Contrast */
  --adobe-blue: #38bdf8;
  --adobe-blue-hover: #7dd3fc;
  --adobe-red: #b91c1c;
  --adobe-red-hover: #991b1b;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: clamp(2.25rem, 4.5vw, 3rem); /* 36px - 48px */
  --font-size-5xl: clamp(2.75rem, 5.5vw, 4rem); /* 44px - 64px */

  /* Spacing Scale */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */

  /* AKMods Corner Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px; /* Pill buttons */

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container-max: 1240px;
  --header-height: 64px;

  /* Default Pure Black Dark Theme */
  --bg-page: #000000;
  --bg-surface: #0a0a0a;
  --bg-surface-elevated: #141414;
  --bg-surface-subtle: #1c1c1c;
  --bg-surface-hover: #262626;
  --bg-glass: rgba(0, 0, 0, 0.95);

  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --text-muted: #9ca3af;
  --text-inverse: #000000;

  --border-color: #374151;
  --border-subtle: #1f2937;
  --border-focus: #38bdf8;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.7);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.6);

  --dropzone-bg: #0d0d0d;
  --dropzone-border: #262626;
  --dropzone-hover-bg: #00132a;
}

/* User-Selected Light Theme (#ffffff) */
:root[data-theme="light"] {
  --adobe-blue: #0265d2;
  --adobe-blue-hover: #014da1;
  --adobe-red: #b91c1c;
  --adobe-red-hover: #991b1b;

  --bg-page: #ffffff;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f8f8f8;
  --bg-surface-subtle: #f2f2f2;
  --bg-surface-hover: #e8e8e8;
  --bg-glass: rgba(255, 255, 255, 0.95);

  --text-primary: #111827;
  --text-secondary: #374151;
  --text-muted: #4b5563;
  --text-inverse: #ffffff;

  --border-color: #d1d5db;
  --border-subtle: #e5e7eb;
  --border-focus: #0265d2;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.06);

  --dropzone-bg: #fafafa;
  --dropzone-border: #d4d4d4;
  --dropzone-hover-bg: #f0f7ff;
}
