/* ============================================
   Resource Share Site - Brand Design Tokens
   Style: Dark Tech / 暗色科技风
   ============================================ */

:root {
  /* ---- Color System ---- */
  --color-bg-primary: #0f1117;
  --color-bg-secondary: #1a1d27;
  --color-bg-tertiary: #232733;
  --color-bg-elevated: #2a2f3e;
  --color-bg-surface: #1e2130;
  --color-bg-card: #1e2130;
  --color-bg-card-hover: #262b3d;
  --color-bg-input: #232733;
  --color-bg-overlay: rgba(0, 0, 0, 0.7);

  --color-text-primary: #e8eaed;
  --color-text-secondary: #9aa0b0;
  --color-text-tertiary: #6b7280;
  --color-text-inverse: #0f1117;
  --color-text-link: #f97316;

  --color-brand-primary: #f97316;
  --color-brand-primary-hover: #fb923c;
  --color-brand-primary-muted: rgba(249, 115, 22, 0.15);
  --color-brand-primary-subtle: rgba(249, 115, 22, 0.08);

  --color-border-primary: #2d3348;
  --color-border-secondary: #3d4460;
  --color-border-focus: #f97316;

  --state-success: #22c55e;
  --state-warning: #f59e0b;
  --state-error: #ef4444;
  --state-info: #3b82f6;

  /* ---- Typography ---- */
  --font-display: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 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;

  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ---- 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;

  /* ---- Radius ---- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* ---- Shadows ---- */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-modal: 0 16px 48px rgba(0, 0, 0, 0.3);

  /* ---- Transitions ---- */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
}
