/* =============================================================================
   ENIGMATCH LANDING PAGE - DESIGN TOKENS
   =============================================================================

   HOW TO CUSTOMIZE:
   - Change colors in the "Colors" section
   - Change fonts in the "Typography" section
   - All components will update automatically

   ============================================================================= */

:root {
  /* ---------------------------------------------------------------------------
     COLORS

     To change the theme:
     1. Replace --color-accent with your brand color
     2. Adjust --color-accent-light and --color-accent-dark accordingly
     3. Use a tool like https://coolors.co to generate complementary shades
     --------------------------------------------------------------------------- */

  /* Primary accent - CHANGE THIS for different brand colors */
  --color-accent: #0d9488;           /* Teal 600 */
  --color-accent-light: #14b8a6;     /* Teal 500 - for hover states */
  --color-accent-dark: #0f766e;      /* Teal 700 - for active states */
  --color-accent-subtle: #ccfbf1;    /* Teal 100 - for backgrounds */

  /* Neutral palette */
  --color-text-primary: #1f2937;     /* Gray 800 - main text */
  --color-text-secondary: #4b5563;   /* Gray 600 - secondary text */
  --color-text-muted: #6b7280;       /* Gray 500 - muted text */
  --color-text-inverse: #ffffff;     /* White - text on dark backgrounds */

  /* Backgrounds */
  --color-bg-primary: #ffffff;       /* Main background */
  --color-bg-secondary: #f9fafb;     /* Gray 50 - alternate sections */
  --color-bg-tertiary: #f3f4f6;      /* Gray 100 - cards, inputs */
  --color-bg-dark: #111827;          /* Gray 900 - dark sections */

  /* Borders */
  --color-border-light: #e5e7eb;     /* Gray 200 */
  --color-border-medium: #d1d5db;    /* Gray 300 */

  /* Semantic colors */
  --color-success: #059669;          /* Emerald 600 */
  --color-warning: #d97706;          /* Amber 600 */
  --color-error: #dc2626;            /* Red 600 */

  /* ---------------------------------------------------------------------------
     TYPOGRAPHY

     To change fonts:
     1. Update the font-family values below
     2. Update the Google Fonts link in index.html

     Current: Outfit (headlines) + Inter (body)
     Alternatives:
     - Headlines: Syne, Space Grotesk, Manrope, Plus Jakarta Sans
     - Body: DM Sans, Source Sans 3, Nunito Sans
     --------------------------------------------------------------------------- */

  /* Font families */
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font sizes - using fluid typography */
  --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 */

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

  /* Line heights */
  --leading-tight: 1.1;
  --leading-snug: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* ---------------------------------------------------------------------------
     SPACING

     Based on 4px grid (0.25rem)
     --------------------------------------------------------------------------- */

  --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-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */

  /* Section spacing */
  --section-padding-y: var(--space-16);
  --section-padding-y-lg: var(--space-24);

  /* ---------------------------------------------------------------------------
     LAYOUT
     --------------------------------------------------------------------------- */

  --container-max: 1200px;
  --container-narrow: 800px;
  --container-padding: var(--space-6);

  /* ---------------------------------------------------------------------------
     BORDERS & SHADOWS
     --------------------------------------------------------------------------- */

  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* ---------------------------------------------------------------------------
     TRANSITIONS
     --------------------------------------------------------------------------- */

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE OVERRIDES

   Adjust spacing and typography for smaller screens
   --------------------------------------------------------------------------- */

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.25rem;   /* 36px on mobile */
    --text-6xl: 2.75rem;   /* 44px on mobile */
    --section-padding-y: var(--space-12);
    --container-padding: var(--space-4);
  }
}
