/**
 * Why This Matters Page Specific Styles
 * Styles unique to the Why This Matters page (page-why-this-matters.php)
 */

/* ========================================
   WHY HERO SECTION
   ======================================== */

.why-hero {
  position: relative;
  background: var(--gradient-navy-dark);
  color: var(--color-white);
  padding: var(--space-20) 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.why-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnoiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIgc3Ryb2tlLXdpZHRoPSIyIi8+PC9nPjwvc3ZnPg==');
  opacity: 0.4;
}

.why-hero-content {
  position: relative;
  max-width: var(--container-md);
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.why-hero h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-none);
  margin-bottom: var(--space-6);
  font-weight: var(--font-bold);
  color: var(--color-white);
}

.why-hero p {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: #dbeafe;
}

/* ========================================
   WHY INTRO SECTION
   ======================================== */

.why-section {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.why-container {
  max-width: var(--container-md);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.why-intro-text {
  text-align: center;
  margin-bottom: var(--space-12);
}

.why-intro-text p {
  font-size: var(--text-2xl);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
}

.why-intro-card {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
  border-radius: var(--border-radius-xl);
  padding: var(--space-10);
  border: 1px solid #bfdbfe;
}

.why-intro-card p {
  font-size: var(--text-xl);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.why-intro-card p:last-child {
  color: var(--color-blue-dark);
  margin-bottom: 0;
}

.why-intro-card span {
  background: var(--gradient-gold-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--font-semibold);
}

/* ========================================
   WHY STANDARDS SECTION
   ======================================== */

.why-standards {
  background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
  padding: var(--space-20) 0;
}

.why-standards-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.why-standards-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.why-standards-header h2 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-standards-header p {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
  max-width: var(--container-md);
  margin: 0 auto;
}

.why-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  max-width: var(--container-lg);
  margin: 0 auto var(--space-12) auto;
}

.why-standard-card {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  transition: var(--transition-all);
}

.why-standard-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.why-standard-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.why-standard-icon.yellow {
  background: var(--gradient-gold-primary);
}

.why-standard-icon.red {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.why-standard-icon.blue {
  background: var(--gradient-blue-primary);
}

.why-standard-icon.green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.why-standard-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.why-standard-card h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-standard-card p {
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
}

.why-standards-summary {
  margin-top: var(--space-12);
  text-align: center;
}

.why-standards-summary p {
  font-size: var(--text-xl);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.why-standards-summary span {
  color: var(--color-blue-dark);
  font-weight: var(--font-semibold);
}

/* ========================================
   WHY BENEFITS SECTION
   ======================================== */

.why-benefits {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.why-benefits-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.why-benefits-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.why-benefits-header h2 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-benefits-header p {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
}

.why-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: flex-start;
  max-width: var(--container-lg);
  margin: 0 auto;
}

.why-benefit-item {
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-gray-200);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-5);
}

.why-benefit-item:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.why-benefit-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-benefit-icon.blue {
  background: var(--gradient-blue-primary);
}

.why-benefit-icon.yellow {
  background: var(--gradient-gold-primary);
}

.why-benefit-icon.green {
  background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
}

.why-benefit-icon.purple {
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
}

.why-benefit-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-white);
}

.why-benefit-icon.yellow svg {
  color: var(--color-navy-dark);
}

.why-benefit-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-benefit-content p {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  line-height: var(--leading-relaxed);
  margin: 0;
}

/* ========================================
   WHY NEAB SECTION
   ======================================== */

.why-neab {
  background: var(--gradient-navy-dark);
  color: var(--color-white);
  padding: var(--space-20) 0;
}

.why-neab-container {
  max-width: var(--container-md);
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.why-neab h2 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  font-weight: var(--font-bold);
  color: var(--color-white);
}

.why-neab p {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: #dbeafe;
  margin-bottom: var(--space-6);
}

.why-neab p:last-child {
  font-size: var(--text-lg);
  color: #bfdbfe;
  margin-bottom: 0;
}

.why-neab span {
  color: var(--color-yellow);
  font-weight: var(--font-semibold);
}

/* ========================================
   WHY PATIENTS SECTION
   ======================================== */

.why-patients {
  background: linear-gradient(135deg, #f8fafc 0%, #dbeafe 100%);
  padding: var(--space-20) 0;
}

.why-patients-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.why-patients-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.why-patients-header h2 {
  font-size: var(--text-4xl);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-patients-card {
  max-width: var(--container-md);
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--border-radius-xl);
  padding: var(--space-12);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--color-gray-200);
}

.why-patients-card p {
  font-size: var(--text-2xl);
  color: var(--color-gray-700);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  text-align: center;
}

.why-patients-card p:last-child {
  font-size: var(--text-3xl);
  color: var(--color-blue-dark);
  margin-bottom: 0;
}

.why-patients-card span {
  color: var(--color-blue-dark);
  font-weight: var(--font-semibold);
}

.why-patients-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-gray-300) 50%, transparent 100%);
  margin-bottom: var(--space-8);
}

/* ========================================
   WHY CTA SECTION
   ======================================== */

.why-cta {
  padding: var(--space-20) 0;
  background: var(--color-white);
}

.why-cta-container {
  max-width: var(--container-md);
  margin: 0 auto;
  padding: 0 var(--space-4);
  text-align: center;
}

.why-cta h2 {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-6);
  color: var(--color-navy-dark);
  font-weight: var(--font-bold);
}

.why-cta p {
  font-size: var(--text-xl);
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (min-width: 1024px) {
  .why-hero h1 {
    font-size: var(--text-5xl);
  }

  .why-hero p {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 1024px) {
  .why-standards-grid {
    grid-template-columns: 1fr;
  }

  .why-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .why-hero h1 {
    font-size: var(--text-3xl);
  }

  .why-hero p {
    font-size: var(--text-lg);
  }

  .why-hero {
    padding: var(--space-16) 0;
  }

  .why-section,
  .why-standards,
  .why-benefits,
  .why-neab,
  .why-patients,
  .why-cta {
    padding: var(--space-16) 0;
  }

  .why-standards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .why-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .why-benefit-item {
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .why-intro-card,
  .why-patients-card {
    padding: var(--space-8);
  }

  .why-standards-header h2,
  .why-benefits-header h2,
  .why-neab h2,
  .why-patients-header h2,
  .why-cta h2 {
    font-size: var(--text-3xl);
  }
}
