/**
 * OrionTV Design System
 * CSS Custom Properties (Variables)
 */

:root {
  /* ============================================
     COLORS - Purple/Blue Gradient Palette
     ============================================ */

  /* Primary Colors (Purple) */
  --color-primary: #8b5cf6;
  --color-primary-dark: #6d28d9;
  --color-primary-light: #a78bfa;
  --color-primary-lighter: #c4b5fd;

  /* Secondary Colors (Blue) */
  --color-secondary: #3b82f6;
  --color-secondary-dark: #1e40af;
  --color-secondary-light: #60a5fa;
  --color-secondary-lighter: #93c5fd;

  /* Accent Colors (Cyan) */
  --color-accent: #06b6d4;
  --color-accent-dark: #0891b2;
  --color-accent-light: #22d3ee;
  --color-accent-neon: #0ea5e9;

  /* Success/Green */
  --color-success: #10b981;
  --color-success-dark: #059669;

  /* WhatsApp Green */
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  /* Dark Mode Backgrounds */
  --color-bg-primary: #0f0f1e;
  --color-bg-secondary: #1a1a2e;
  --color-bg-tertiary: #16213e;
  --color-bg-elevated: #252541;

  /* Text Colors */
  --color-text-primary: #f8fafc;
  --color-text-secondary: #cbd5e1;
  --color-text-muted: #94a3b8;
  --color-text-disabled: #64748b;

  /* Border Colors */
  --color-border: rgba(148, 163, 184, 0.1);
  --color-border-light: rgba(148, 163, 184, 0.05);
  --color-border-strong: rgba(148, 163, 184, 0.2);

  /* ============================================
     GRADIENTS
     ============================================ */

  --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 100%);
  --gradient-dark: linear-gradient(180deg, #0f0f1e 0%, #1a1a2e 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);

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

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5), 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.6), 0 10px 10px rgba(0, 0, 0, 0.4);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.7);

  /* Special Shadows */
  --shadow-neon: 0 0 20px rgba(139, 92, 246, 0.5), 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-neon-blue: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
  --shadow-card: 0 8px 16px rgba(0, 0, 0, 0.4);

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

  /* Font Families */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

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

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

  /* Line Heights */
  --line-height-none: 1;
  --line-height-tight: 1.2;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 1.75;

  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;

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

  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-7: 1.75rem;   /* 28px */
  --space-8: 2rem;      /* 32px */
  --space-9: 2.25rem;   /* 36px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-14: 3.5rem;   /* 56px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-28: 7rem;     /* 112px */
  --space-32: 8rem;     /* 128px */

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

  /* Container */
  --container-max-width: 1200px;
  --container-padding: var(--space-4);
  --container-padding-mobile: var(--space-4);
  --container-padding-desktop: var(--space-6);

  /* Section Spacing */
  --section-padding-mobile: var(--space-16);
  --section-padding-desktop: var(--space-24);

  /* Header Height */
  --header-height: 80px;
  --header-height-mobile: 70px;

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

  --radius-xs: 0.25rem;   /* 4px */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-3xl: 2rem;     /* 32px */
  --radius-full: 9999px;  /* Full rounded */

  /* ============================================
     TRANSITIONS & ANIMATIONS
     ============================================ */

  /* Durations */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 350ms;
  --duration-slower: 500ms;

  /* Easing Functions */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Standard Transitions */
  --transition-fast: var(--duration-fast) var(--ease-in-out);
  --transition-base: var(--duration-base) var(--ease-in-out);
  --transition-slow: var(--duration-slow) var(--ease-in-out);
  --transition-all: all var(--duration-base) var(--ease-in-out);

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

  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* ============================================
     BREAKPOINTS (for reference in JS)
     ============================================ */

  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ============================================
     OPACITY
     ============================================ */

  --opacity-disabled: 0.5;
  --opacity-hover: 0.8;
  --opacity-overlay: 0.9;

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

  --blur-sm: 4px;
  --blur-md: 8px;
  --blur-lg: 16px;
  --blur-xl: 24px;
}
