/* =====================================================
   CHONRY DESIGN SYSTEM v2.0 - CSS Variables
   Modern Light SaaS Style
   ===================================================== */

:root {
  /* ── Brand Colors ─────────────────────────────────── */
  /* Primary: Bright Royal Blue — trust, tech, clarity */
  --color-primary: #4361ee;
  --color-primary-dark: #3730a3;
  --color-primary-light: #6366f1;
  --color-primary-50: #eef2ff;
  --color-primary-100: #e0e7ff;
  --color-primary-200: #c7d2fe;

  /* Accent: Warm Orange — energy, CTA, action */
  --color-accent: #f97316;
  --color-accent-dark: #ea580c;
  --color-accent-light: #fb923c;
  --color-accent-50: #fff7ed;
  --color-accent-100: #ffedd5;

  /* ── Background Colors ─────────────────────────────── */
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  --color-bg-deep: #e2e8f0;

  /* ── Text Colors ──────────────────────────────────── */
  --color-text: #0f172a;
  --color-text-secondary: #475569;
  --color-text-muted: #94a3b8;
  --color-text-light: #cbd5e1;
  --color-text-inverse: #ffffff;

  /* ── Border Colors ────────────────────────────────── */
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  /* ── Status Colors ────────────────────────────────── */
  --color-success: #10b981;
  --color-success-bg: #ecfdf5;
  --color-warning: #f59e0b;
  --color-warning-bg: #fffbeb;
  --color-error: #ef4444;
  --color-error-bg: #fef2f2;
  --color-info: #3b82f6;
  --color-info-bg: #eff6ff;

  /* ── Shadows ─────────────────────────────────────── */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.06);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.07), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.04);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.04);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  --shadow-card: 0 2px 8px 0 rgb(67 97 238 / 0.06), 0 1px 3px 0 rgb(67 97 238 / 0.04);
  --shadow-card-hover: 0 8px 30px 0 rgb(67 97 238 / 0.12), 0 4px 12px 0 rgb(0 0 0 / 0.06);
  --shadow-primary: 0 4px 14px 0 rgb(67 97 238 / 0.35);
  --shadow-accent: 0 4px 14px 0 rgb(249 115 22 / 0.40);

  /* ── Gradients ───────────────────────────────────── */
  --gradient-primary: linear-gradient(135deg, #4361ee 0%, #6366f1 100%);
  --gradient-primary-hover: linear-gradient(135deg, #3730a3 0%, #4361ee 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
  --gradient-accent-hover: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  --gradient-light: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  --gradient-hero: linear-gradient(160deg, #ffffff 0%, #eef2ff 50%, #f5f3ff 100%);
  --gradient-blue-deep: linear-gradient(135deg, #3730a3 0%, #4338ca 50%, #6366f1 100%);
  --gradient-mesh: radial-gradient(ellipse at 20% 0%, rgba(67,97,238,0.08) 0%, transparent 50%),
                   radial-gradient(ellipse at 80% 100%, rgba(249,115,22,0.06) 0%, transparent 50%),
                   radial-gradient(ellipse at 60% 50%, rgba(99,102,241,0.05) 0%, transparent 60%);

  /* ── Typography ───────────────────────────────────── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* 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;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 1.8;

  /* ── 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: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* ── Layout ──────────────────────────────────────── */
  --container-max: 1200px;
  --header-height: 68px;

  /* ── Transitions ─────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Illustration Colors ─────────────────────────── */
  --illustration-bg: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 50%, #f5f3ff 100%);
  --illustration-accent: linear-gradient(135deg, #4361ee 0%, #f97316 100%);
}
