/* ========================================
   LEXPOINT BRAND SYSTEM
   ======================================== */

/* CSS Custom Properties for Brand Colors */
:root {
  /* Primary Brand Colors - Will be updated from brand guidelines */
  --lexpoint-primary: #5404FF; /* From logo analysis */
  --lexpoint-secondary: #1a1a1a;
  --lexpoint-accent: #007bff;
  
  /* Neutral Colors */
  --lexpoint-white: #ffffff;
  --lexpoint-black: #000000;
  --lexpoint-gray-50: #f9fafb;
  --lexpoint-gray-100: #f3f4f6;
  --lexpoint-gray-200: #e5e7eb;
  --lexpoint-gray-300: #d1d5db;
  --lexpoint-gray-400: #9ca3af;
  --lexpoint-gray-500: #6b7280;
  --lexpoint-gray-600: #4b5563;
  --lexpoint-gray-700: #374151;
  --lexpoint-gray-800: #1f2937;
  --lexpoint-gray-900: #111827;
  
  /* Semantic Colors */
  --lexpoint-success: #10b981;
  --lexpoint-warning: #f59e0b;
  --lexpoint-error: #ef4444;
  --lexpoint-info: #3b82f6;
  
  /* Typography Scale */
  --font-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Font Weights */
  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  
  /* Typography Scale */
  --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 */
  
  /* Spacing Scale */
  --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 */
  --space-32: 8rem;     /* 128px */
  
  /* Border Radius */
  --radius-sm: 0.125rem;  /* 2px */
  --radius-md: 0.375rem;  /* 6px */
  --radius-lg: 0.5rem;    /* 8px */
  --radius-xl: 0.75rem;   /* 12px */
  --radius-2xl: 1rem;     /* 16px */
  --radius-full: 9999px;
  
  /* Shadows */
  --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-in-out;
  --transition-normal: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

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

/* Font Face Declarations */
@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Thin.ttf') format('truetype');
  font-weight: var(--font-weight-thin);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-ThinItalic.ttf') format('truetype');
  font-weight: var(--font-weight-thin);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: var(--font-weight-extralight);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
  font-weight: var(--font-weight-extralight);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Light.ttf') format('truetype');
  font-weight: var(--font-weight-light);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-LightItalic.ttf') format('truetype');
  font-weight: var(--font-weight-light);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: var(--font-weight-regular);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Italic.ttf') format('truetype');
  font-weight: var(--font-weight-regular);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: var(--font-weight-medium);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-MediumItalic.ttf') format('truetype');
  font-weight: var(--font-weight-medium);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: var(--font-weight-semibold);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
  font-weight: var(--font-weight-semibold);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: var(--font-weight-bold);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-BoldItalic.ttf') format('truetype');
  font-weight: var(--font-weight-bold);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: var(--font-weight-extrabold);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
  font-weight: var(--font-weight-extrabold);
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-Black.ttf') format('truetype');
  font-weight: var(--font-weight-black);
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('../assets/brand/fonts/Poppins-BlackItalic.ttf') format('truetype');
  font-weight: var(--font-weight-black);
  font-style: italic;
  font-display: swap;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

/* Typography Utilities */
.text-xs { font-size: var(--text-xs); }
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }
.text-6xl { font-size: var(--text-6xl); }

.font-thin { font-weight: var(--font-weight-thin); }
.font-extralight { font-weight: var(--font-weight-extralight); }
.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-regular); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

/* Color Utilities */
.text-primary { color: var(--lexpoint-primary); }
.text-secondary { color: var(--lexpoint-secondary); }
.text-accent { color: var(--lexpoint-accent); }
.text-white { color: var(--lexpoint-white); }
.text-black { color: var(--lexpoint-black); }

.bg-primary { background-color: var(--lexpoint-primary); }
.bg-secondary { background-color: var(--lexpoint-secondary); }
.bg-accent { background-color: var(--lexpoint-accent); }
.bg-white { background-color: var(--lexpoint-white); }
.bg-black { background-color: var(--lexpoint-black); }

/* Spacing Utilities */
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }
.p-16 { padding: var(--space-16); }
.p-20 { padding: var(--space-20); }
.p-24 { padding: var(--space-24); }
.p-32 { padding: var(--space-32); }

.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-10 { margin: var(--space-10); }
.m-12 { margin: var(--space-12); }
.m-16 { margin: var(--space-16); }
.m-20 { margin: var(--space-20); }
.m-24 { margin: var(--space-24); }
.m-32 { margin: var(--space-32); }

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile First Approach */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

/* Responsive Breakpoints */
@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-normal);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.slide-up {
  animation: slideUp var(--transition-normal);
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(20px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.scale-in {
  animation: scaleIn var(--transition-normal);
}

@keyframes scaleIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
} 