/**
 * PimPam5G Design System
 * CSS Variables & Design Tokens
 *
 * Brand colors, typography, spacing, and reusable values.
 * Mobile-first approach with emphasis on simplicity and speed.
 */

:root {
  /* ===================================
     COLOR SYSTEM
     ================================== */

  /* Primary Brand Colors */
  --color-primary: #E91E63;           /* Bright Magenta/Fuchsia - main brand color */
  --color-primary-dark: #C2185B;      /* Darker magenta for hover states */
  --color-primary-light: #F48FB1;     /* Lighter magenta for backgrounds */
  --color-primary-pale: #FCE4EC;      /* Very light magenta for subtle highlights */

  /* Secondary/Neutral Colors */
  --color-white: #FFFFFF;             /* Pure white for backgrounds */
  --color-gray-dark: #333333;         /* Charcoal for text (not pure black) */
  --color-gray-medium: #666666;       /* Medium gray for secondary text */
  --color-gray-light: #E0E0E0;        /* Light gray for borders */
  --color-gray-pale: #F5F5F5;         /* Very light gray for section backgrounds */

  /* Accent Colors */
  --color-accent: #76FF03;            /* Lime green - complementary to magenta */
  --color-accent-dark: #64DD17;       /* Darker lime for accents */

  /* Semantic Colors */
  --color-success: #4CAF50;           /* Green for success states */
  --color-error: #F44336;             /* Red for errors */
  --color-warning: #FF9800;           /* Orange for warnings */
  --color-info: #2196F3;              /* Blue for info */

  /* Background Colors */
  --color-bg-primary: var(--color-white);
  --color-bg-secondary: var(--color-gray-pale);
  --color-bg-accent: var(--color-primary-pale);

  /* Text Colors */
  --color-text-primary: var(--color-gray-dark);
  --color-text-secondary: var(--color-gray-medium);
  --color-text-inverse: var(--color-white);
  --color-text-accent: var(--color-primary);

  /* Border Colors */
  --color-border: var(--color-gray-light);
  --color-border-focus: var(--color-primary);


  /* ===================================
     TYPOGRAPHY
     ================================== */

  /* Font Families */
  --font-primary: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-monospace: 'Courier New', Courier, monospace;

  /* Font Weights */
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Font Sizes - Mobile First */
  --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: 2rem;              /* 32px */
  --font-size-4xl: 2.5rem;            /* 40px */
  --font-size-5xl: 3rem;              /* 48px */
  --font-size-6xl: 4rem;              /* 64px - for hero price */

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;


  /* ===================================
     SPACING SCALE
     ================================== */

  --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-8: 2rem;                    /* 32px */
  --space-10: 2.5rem;                 /* 40px */
  --space-12: 3rem;                   /* 48px */
  --space-16: 4rem;                   /* 64px */
  --space-20: 5rem;                   /* 80px */
  --space-24: 6rem;                   /* 96px */


  /* ===================================
     LAYOUT & BREAKPOINTS
     ================================== */

  /* Max Widths */
  --max-width-xs: 320px;
  --max-width-sm: 640px;
  --max-width-md: 768px;
  --max-width-lg: 1024px;
  --max-width-xl: 1280px;
  --max-width-2xl: 1536px;
  --max-width-content: 1200px;        /* Main content container */

  /* Breakpoints (reference only - use media queries) */
  /* Mobile: < 768px */
  /* Tablet: 768px - 1024px */
  /* Desktop: > 1024px */

  /* Container Padding */
  --container-padding-mobile: var(--space-4);
  --container-padding-tablet: var(--space-6);
  --container-padding-desktop: var(--space-8);


  /* ===================================
     BORDERS & RADIUS
     ================================== */

  --border-width: 1px;
  --border-width-thick: 2px;

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  --border-radius-full: 9999px;       /* Pill shape */


  /* ===================================
     SHADOWS
     ================================== */

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);


  /* ===================================
     TRANSITIONS
     ================================== */

  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;


  /* ===================================
     Z-INDEX SCALE
     ================================== */

  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;


  /* ===================================
     COMPONENT-SPECIFIC
     ================================== */

  /* Buttons */
  --button-height: 48px;              /* Large tap targets for mobile */
  --button-padding-x: var(--space-6);
  --button-padding-y: var(--space-3);
  --button-border-radius: var(--border-radius-md);
  --button-font-weight: var(--font-weight-bold);

  /* Forms */
  --input-height: 48px;               /* Large tap targets for mobile */
  --input-padding-x: var(--space-4);
  --input-padding-y: var(--space-3);
  --input-border-radius: var(--border-radius-md);
  --input-border-color: var(--color-border);
  --input-focus-border-color: var(--color-primary);

  /* Cards */
  --card-padding: var(--space-6);
  --card-border-radius: var(--border-radius-lg);
  --card-shadow: var(--shadow-md);

  /* Sticky CTA (Mobile) */
  --sticky-cta-height: 64px;
  --sticky-cta-z-index: var(--z-index-sticky);
}


/* ===================================
   RESPONSIVE ADJUSTMENTS
   ================================== */

/* Tablet and up (768px+) */
@media (min-width: 768px) {
  :root {
    /* Slightly larger font sizes on tablet/desktop */
    --font-size-base: 1.0625rem;      /* 17px */
    --font-size-lg: 1.1875rem;        /* 19px */
    --font-size-3xl: 2.25rem;         /* 36px */
    --font-size-4xl: 3rem;            /* 48px */
    --font-size-5xl: 3.75rem;         /* 60px */
    --font-size-6xl: 5rem;            /* 80px - even bigger hero price */
  }
}

/* Desktop and up (1024px+) */
@media (min-width: 1024px) {
  :root {
    /* Desktop-specific adjustments */
    --font-size-6xl: 6rem;            /* 96px - massive hero price */
  }
}


/* ===================================
   UTILITY CLASSES
   ================================== */

/* These will be used throughout the site for consistency */

.text-primary { color: var(--color-primary); }
.text-white { color: var(--color-white); }
.text-gray-dark { color: var(--color-gray-dark); }
.text-gray-medium { color: var(--color-gray-medium); }

.bg-primary { background-color: var(--color-primary); }
.bg-white { background-color: var(--color-white); }
.bg-gray-pale { background-color: var(--color-gray-pale); }
.bg-accent { background-color: var(--color-bg-accent); }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }


/* ===================================
   NOTES & REMINDERS
   ================================== */

/*
 * BRAND ESSENCE:
 * - Magenta is THE color - use it boldly
 * - White space is your friend - let it breathe
 * - Mobile-first always
 * - Big, bold typography for price
 * - Simple, clean, fast
 *
 * AVOID:
 * - Pure black (#000) - use charcoal gray instead
 * - Overusing accent color - lime green is for highlights only
 * - Small tap targets on mobile (minimum 44px)
 * - Cluttered designs - every element has a purpose
 */
