/* GyaanPost Brand Design System
   Based on Brand Kit: Primary Blue #2563EB, Poppins + Inter
   ============================================================ */

:root {
  /* Brand Colors */
  --gp-primary: #2563EB;
  --gp-primary-hover: #1D4ED8;
  --gp-primary-light: #DBEAFE;
  --gp-primary-50: #EFF6FF;
  --gp-navy: #0F172A;
  --gp-navy-800: #1E293B;
  --gp-navy-700: #334155;
  --gp-cyan: #06B6D4;
  --gp-cyan-light: #CFFAFE;
  --gp-green: #10B981;
  --gp-green-light: #D1FAE5;
  --gp-orange: #F59E0B;
  --gp-orange-light: #FEF3C7;
  --gp-red: #EF4444;
  --gp-red-light: #FEE2E2;

  /* Neutral Grays */
  --gp-gray-50: #F8FAFC;
  --gp-gray-100: #F1F5F9;
  --gp-gray-200: #E2E8F0;
  --gp-gray-300: #CBD5E1;
  --gp-gray-400: #94A3B8;
  --gp-gray-500: #64748B;
  --gp-gray-600: #475569;
  --gp-gray-700: #334155;
  --gp-gray-800: #1E293B;
  --gp-gray-900: #0F172A;
  --gp-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes */
  --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 */

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --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 */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* ============================================================
   BASE STYLES
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gp-gray-800);
  background-color: var(--gp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--gp-navy);
}

h1 { font-size: var(--text-4xl); font-weight: var(--fw-bold); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

a {
  color: var(--gp-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gp-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

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

.gp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

.gp-section {
  padding: var(--space-16) 0;
}

.gp-section-sm {
  padding: var(--space-10) 0;
}

.gp-text-primary { color: var(--gp-primary); }
.gp-text-navy { color: var(--gp-navy); }
.gp-text-gray { color: var(--gp-gray-500); }
.gp-text-muted { color: var(--gp-gray-400); }

.gp-bg-primary { background-color: var(--gp-primary); }
.gp-bg-light { background-color: var(--gp-gray-50); }
.gp-bg-navy { background-color: var(--gp-navy); }

.gp-font-heading { font-family: var(--font-heading); }
.gp-font-body { font-family: var(--font-body); }
