/**
 * NeuraKore Theme Variables
 *
 * CSS Custom Properties generated from js/theme.js
 * Single source of truth for all design tokens
 *
 * Usage: var(--color-primary), var(--spacing-md), etc.
 */

:root {
  /* ========================================
     COLORS
     ======================================== */

  /* Base Colors */
  --color-background: #000000;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Brand Colors */
  --color-primary: #3AAFE9;
  --color-primary-hover: #57BFED;
  --color-shopify: #96BF48;

  /* Particle Colors */
  --color-particle-red: #ff3333;
  --color-particle-blue: #3AAFE9;

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.9);
  --text-tertiary: rgba(255, 255, 255, 0.8);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-subtle: rgba(255, 255, 255, 0.5);
  --text-very-subtle: rgba(255, 255, 255, 0.4);

  /* Glassmorphic Backgrounds */
  --glass-base: rgba(255, 255, 255, 0.02);
  --glass-hover: rgba(255, 255, 255, 0.04);
  --glass-elevated: rgba(255, 255, 255, 0.03);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --glass-stronger: rgba(255, 255, 255, 0.12);

  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-base: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-stronger: rgba(255, 255, 255, 0.2);
  --border-accent: rgba(255, 255, 255, 0.25);
  --border-heavy: rgba(255, 255, 255, 0.3);

  /* Overlay Colors */
  --overlay-dark: rgba(0, 0, 0, 0.8);
  --overlay-light: rgba(255, 255, 255, 0.05);
  --overlay-lighter: rgba(255, 255, 255, 0.9);

  /* Accent Backgrounds */
  --accent-blue: rgba(58, 175, 233, 0.1);
  --accent-blue-strong: rgba(58, 175, 233, 0.05);
  --accent-blue-stronger: rgba(58, 175, 233, 0.2);
  --shadow-accent: rgba(58, 175, 233, 0.25);

  /* Yellow Accent Colors */
  --color-accent-yellow: #FBBF24;
  --accent-yellow-subtle: rgba(251, 191, 36, 0.1);
  --shadow-accent-yellow-weak: rgba(251, 191, 36, 0.3);
  --shadow-accent-yellow: rgba(251, 191, 36, 0.6);

  /* Radial Gradients */
  --radial-blue: radial-gradient(ellipse at center, rgba(58, 175, 233, 0.1) 0%, transparent 70%);

  /* ========================================
     TYPOGRAPHY
     ======================================== */

  /* Font Families */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Font Sizes (Responsive with clamp) */
  --font-size-hero: clamp(2.5rem, 6vw, 4.5rem);
  --font-size-hero-large: clamp(3rem, 7vw, 5.5rem);
  --font-size-h1: clamp(2.5rem, 5vw, 4rem);
  --font-size-h2: clamp(2rem, 4vw, 3rem);
  --font-size-h3: clamp(1.5rem, 3vw, 2rem);
  --font-size-subtitle: clamp(1rem, 2vw, 1.25rem);
  --font-size-base: 0.9375rem;
  --font-size-small: 0.875rem;
  --font-size-tiny: 0.8125rem;
  --font-size-xl: 1.25rem;
  --font-size-xxl: 1.5rem;
  --font-size-xxxl: 2.5rem;

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.15;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.7;

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

  /* ========================================
     SPACING
     ======================================== */

  /* Base Spacing Units */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 2.5rem;
  --spacing-xxl: 3rem;
  --spacing-xxxl: 4rem;

  /* Section Padding (Mobile) */
  --section-padding-mobile: 8rem 1.5rem;

  /* Section Padding (Desktop) */
  --section-padding-desktop: 10rem 4rem;

  /* Card Padding */
  --card-padding-small: 1.5rem;
  --card-padding-medium: 2.5rem;
  --card-padding-large: 3rem;

  /* Grid Gaps */
  --gap-small: 1rem;
  --gap-medium: 1.5rem;
  --gap-large: 2rem;
  --gap-xlarge: 3rem;

  /* ========================================
     BORDER RADIUS
     ======================================== */

  --radius-small: 8px;
  --radius-medium: 12px;
  --radius-large: 16px;
  --radius-xlarge: 20px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  /* ========================================
     SHADOWS
     ======================================== */

  --shadow-small: 0 4px 15px rgba(150, 191, 72, 0.3);
  --shadow-medium: 0 8px 25px rgba(150, 191, 72, 0.4);
  --shadow-large: 0 10px 40px rgba(150, 191, 72, 0.3);

  /* ========================================
     TRANSITIONS
     ======================================== */

  --transition-fast: all 0.2s ease;
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.4s ease;

  /* ========================================
     LAYOUT
     ======================================== */

  /* Max Widths */
  --max-width-content: 1200px;
  --max-width-cta: 900px;
  --max-width-subtitle: 700px;
  --max-width-card: 20rem;

  /* Breakpoints (for JavaScript usage) */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
  --breakpoint-desktop: 1200px;

  /* ========================================
     Z-INDEX
     ======================================== */

  --z-index-base: 1;
  --z-index-dropdown: 10;
  --z-index-sticky: 20;
  --z-index-fixed: 30;
  --z-index-overlay: 40;
  --z-index-modal: 50;
  --z-index-tooltip: 60;

  /* ========================================
     BACKDROP BLUR
     ======================================== */

  --blur-small: blur(8px);
  --blur-medium: blur(12px);
  --blur-large: blur(16px);
}

/* ========================================
   GLOBAL RESETS & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--color-background);
  color: var(--text-primary);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section scroll margin for fixed nav */
section {
  scroll-margin-top: 80px;
}
