:root {
  /* Colors */
  --color-bg:             #09090b;
  --color-bg-alt:         #0f0f12;
  --color-surface:        #111114;
  --color-surface-2:      #1a1a20;
  --color-border:         #22222c;
  --color-border-hover:   #3a1a6e;

  --color-purple:         #7c3aed;
  --color-purple-dark:    #5b21b6;
  --color-purple-light:   #a855f7;
  --color-purple-glow:    rgba(124, 58, 237, 0.25);
  --color-purple-glow-sm: rgba(124, 58, 237, 0.12);

  --color-white:   #f5f5f5;
  --color-muted:   #888888;
  --color-muted-2: #555555;

  --color-success: #22c55e;
  --color-warning: #f59e0b;
  --color-danger:  #ef4444;

  /* Gradients */
  --gradient-purple:  linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
  --gradient-heading: linear-gradient(135deg, #ffffff 30%, var(--color-purple-light));
  --gradient-card:    linear-gradient(145deg, #14141a, #0d0d11);

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

  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  --weight-normal:   400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --weight-black:    900;

  /* Spacing */
  --space-xs:  0.25rem;  /* 4px */
  --space-sm:  0.5rem;   /* 8px */
  --space-md:  1rem;     /* 16px */
  --space-lg:  1.5rem;   /* 24px */
  --space-xl:  2rem;     /* 32px */
  --space-2xl: 3rem;     /* 48px */
  --space-3xl: 4rem;     /* 64px */
  --space-4xl: 6rem;     /* 96px */
  --space-5xl: 8rem;     /* 128px */

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:     0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg:     0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-purple: 0 0 24px var(--color-purple-glow), 0 0 48px var(--color-purple-glow-sm);
  --shadow-card:   0 4px 24px rgba(0, 0, 0, 0.6);

  /* Glassmorphism */
  --glass-bg:     rgba(16, 14, 22, 0.6);
  --glass-border: rgba(124, 58, 237, 0.1);
  --glass-blur:   16px;

  /* Hero orbs */
  --orb-1-color: rgba(124, 58, 237, 0.22);
  --orb-2-color: rgba(168, 85, 247, 0.12);

  /* Text glow */
  --text-glow: 0 0 40px rgba(168, 85, 247, 0.5), 0 0 80px rgba(124, 58, 237, 0.25);

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

  /* Layout */
  --container-max: 1200px;
  --header-height: 70px;
  /* Viewport width — use this everywhere instead of hardcoded vw values.
     100dvw accounts for the dynamic viewport (mobile browser chrome changing
     height doesn't affect this, but it matches the true available inline size). */
  --screen-width: 100dvw;
}
