/* ============================================
   CSS Variables — 鸿链数科 Honchain
   Design Token System
   ============================================ */

:root {
  /* === Color System === */

  /* Background Layers */
  --bg-deep: #050508;
  --bg-primary: #0A0A0F;
  --bg-secondary: #0F0F1A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(15, 15, 30, 0.6);

  /* Primary Gradient — 蓝紫 → 赛博青 */
  --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 30%, #06B6D4 100%);
  --gradient-hover: linear-gradient(135deg, #818CF8 0%, #A78BFA 30%, #22D3EE 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(6, 182, 212, 0.1) 100%);

  /* Accent Colors */
  --accent-cyan: #22D3EE;
  --accent-purple: #A78BFA;
  --accent-blue: #6366F1;
  --accent-teal: #06B6D4;

  /* Border */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.10);
  --border-glow: rgba(99, 102, 241, 0.4);
  --border-glow-strong: rgba(6, 182, 212, 0.6);

  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-tertiary: #94A3B8;
  --text-muted: #64748B;

  /* Status */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* === Typography === */
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-en: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", "Fira Code", monospace;
  --font-number: "Inter", "DIN Alternate", "SF Pro Display", sans-serif;

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

  /* Line Heights */
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;
  --leading-tight: 1.25;
  --leading-heading: 1.15;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.05em;
  --tracking-wider: 0.1em;

  /* === 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;
  --space-32: 8rem;

  /* === Border Radius === */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 60px rgba(6, 182, 212, 0.15);
  --shadow-glow-strong: 0 0 30px rgba(99, 102, 241, 0.5), 0 0 80px rgba(6, 182, 212, 0.25);

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

  /* === Layout === */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --navbar-height: 72px;

  /* === Breakpoints (reference only, used in media queries) === */
  /* Mobile: < 768px */
  /* Tablet: 768px - 1024px */
  /* Desktop: > 1024px */

  /* === Glassmorphism === */
  --glass-bg: rgba(15, 15, 30, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;
  --glass-saturate: 180%;
}

/* === Light Mode Override (default is dark) === */
/* Reserved for potential future light mode toggle */
