/* 
====================================================================
ESP WEBSITE - BASELINE STYLE SYSTEM
80% Width Design with Modern Components
====================================================================
*/

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #1967d2;
  --primary-blue-hover: #1557b0;
  --success-green: #34a853;
  --text-primary: #202124;
  --text-secondary: #5f6368;
  --text-light: #80868b;
  --border-color: #e8eaed;
  --surface-bg: #f8f9fa;
  --hover-bg: #f1f3f4;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 120px;
  background: white;
}

/* ============================================
   BASELINE 80% PAGE LAYOUT
   ============================================ */
.page-wrapper {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  padding: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 15px;
}

h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 15px;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
  background: var(--primary-blue);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 103, 210, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary-blue);
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: #e8f0fe;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-kicker {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-badge {
  display: inline-block;
  background: #e8f0fe;
  color: var(--primary-blue);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-visual img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CARDS & GRIDS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: #e8f0fe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  color: var(--primary-blue);
  width: 26px;
  height: 26px;
}

.card h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   TWO-COLUMN LAYOUTS
   ============================================ */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ============================================
   CREDENTIAL BAND
   ============================================ */
.cred-band {
  background: white;
  padding: 20px;
  border-radius: 12px;
  margin-top: 30px;
  border: 1px solid var(--border-color);
}

.cred-band strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 12px;
  font-size: 15px;
}

.cred-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cred-chip {
  background: var(--surface-bg);
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 500;
}

/* ============================================
   FEATURES WITH CHECKMARKS
   ============================================ */
.features-list {
  margin: 25px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--success-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-icon svg {
  color: white;
  width: 16px;
  height: 16px;
}

.feature-item span {
  font-size: 16px;
  color: var(--text-primary);
}

/* ============================================
   STAT CARDS
   ============================================ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 40px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-hover) 100%);
  text-align: center;
  color: white;
  border-radius: 16px;
  margin: 40px 0;
}

.cta-section h2 {
  font-size: 38px;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
  color: white;
}

.cta-section .btn-primary {
  background: white;
  color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

/* ============================================
   BACKGROUND SECTIONS
   ============================================ */
.bg-light {
  background: var(--surface-bg);
  padding: 80px 0;
}

.bg-white {
  background: white;
  padding: 80px 0;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

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

/* Tablet */
@media (max-width: 1024px) {
  .page-wrapper {
    width: 90%;
    max-width: 90%;
  }
  
  .hero-content,
  .two-column {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  h1 {
    font-size: 40px;
  }
  
  h2 {
    font-size: 32px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  
  .page-wrapper {
    width: 95%;
    max-width: 95%;
  }
  
  .hero-content,
  .two-column,
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 28px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .section,
  .bg-light,
  .bg-white {
    padding: 50px 0;
  }
  
  .hero-section {
    padding: 40px 0;
  }
  
  .cta-section {
    padding: 50px 20px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .card {
    padding: 20px;
  }
}

/* ============================================
   LEGACY COMPATIBILITY
   ============================================ */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex { display: flex; }
.grid { display: grid; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
