/* ==========================================================================
   WHY MEDHAIQ — PAGE SPECIFIC STYLES
   Warm Light-Theme Canvas — Precision Layout & Compact Spacing
   ========================================================================== */

.mh-why-body {
  background-color: #0A0F1E;
}

/* Continuous Warm Light Canvas Wrapper for Main Content */
.mh-why-main-light {
  background-color: #F7F6F2 !important;
  color: #0F172A;
  width: 100%;
  display: block;
}

.mh-hero-highlight {
  color: #3B82F6;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   01 — Section Padding & Compact Whitespace System
   -------------------------------------------------------------------------- */
.mh-why-twocard,
.mh-why-philosophy,
.mh-why-pillars,
.mh-why-compare {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  background-color: transparent !important;
}

/* 1. Hero → Problem/Shift (Gap reduced ~28%) */
.mh-why-twocard {
  padding-top: 1.75rem;
  padding-bottom: 1.25rem;
}

/* 2. Problem/Shift → Manifesto (Gap reduced ~18%) */
.mh-why-philosophy {
  padding-top: 1.0rem;
  padding-bottom: 1.25rem;
}

/* 3. Manifesto → Three Pillars (Gap reduced ~18.5%) */
.mh-why-pillars {
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
}

/* 5. Three Pillars → Comparison (Gap reduced ~18.5%) */
.mh-why-compare {
  padding-top: 1.25rem;
  padding-bottom: 2.25rem;
}

/* 6. Normalized Content Width System (1120px unified max-width) */
.mh-why-twocard-wrapper,
.mh-why-pillars-inner,
.mh-matrix-inner {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.mh-why-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.mh-section-center {
  text-align: center;
  margin-bottom: 1.25rem;
}

/* Eyebrows & Section Titles */
.mh-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563EB;
  margin-bottom: 0.375rem;
}

.mh-why-card-light .mh-eyebrow {
  font-size: 0.8125rem;
}

.mh-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem 0;
}

.mh-title-dark {
  color: #0B1020 !important;
}

@media (min-width: 768px) {
  .mh-section-title {
    font-size: 1.75rem;
  }
}

/* --------------------------------------------------------------------------
   02 — TOP 2 CARDS (2-COLUMN PARAGRAPH LAYOUT)
   -------------------------------------------------------------------------- */
.mh-why-twocard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mh-why-twocard-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.mh-why-card-light {
  background: #F1F0EB;
  border: 1px solid #E5E3DA;
  border-radius: 0.875rem;
  padding: 1.375rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.mh-why-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: #FFFFFF;
  color: #2563EB;
  border: 1px solid #CBD5E1;
}

.mh-why-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0B1020;
  margin: 0 0 0.875rem 0;
  letter-spacing: -0.01em;
}

.mh-why-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mh-why-card-text {
  font-size: 1.125rem;
  line-height: 1.55;
  color: #5F6B82;
  margin: 0;
}

.mh-why-card-text-bold {
  font-weight: 700;
  color: #0B1020;
}

/* --------------------------------------------------------------------------
   03 — POSITIONING QUOTE (MANIFESTO — FONT +8% INCREASED)
   -------------------------------------------------------------------------- */
.mh-why-quote-card-light {
  background: #EEF0FB;
  border: 1px solid #DBEAFE;
  border-radius: 1rem;
  padding: 1.75rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mh-quote-mark-icon {
  display: inline-flex;
  margin-bottom: 0.5rem;
  color: #93C5FD;
}

/* Quote title font size increased ~8% (from 1.5rem/1.75rem to 1.625rem/1.9rem) */
.mh-why-quote-light {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.625rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0B1020;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.015em;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .mh-why-quote-light {
    font-size: 1.9rem;
  }
}

.mh-why-quote-blue {
  color: #2563EB;
}

.mh-why-quote-sub-light {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   04 — THREE PILLARS (Efficient Card Space & ~15-20% Larger Visuals)
   -------------------------------------------------------------------------- */
.mh-why-pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .mh-why-pillar-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.mh-why-pillar-card-light {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 0.875rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mh-why-pillar-card-light:hover {
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.mh-pillar-mini-visual-light {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.75rem;
  background: #FAFAFC;
  border: 1px solid #F1F5F9;
  border-radius: 0.625rem;
  padding: 0.625rem 0.5rem;
}

.mh-pillar-mini-visual-light svg {
  max-width: 100%;
  height: 138px; /* Increased graphic height from 120px to 138px (+15%) */
  width: auto;
}

.mh-why-pillar-title-dark {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0B1020;
  margin: 0 0 0.375rem 0;
  letter-spacing: -0.01em;
}

.mh-why-pillar-desc-dark {
  font-size: 0.84375rem;
  line-height: 1.5;
  color: #5F6B82;
  margin: 0;
}

/* --------------------------------------------------------------------------
   05 — COMPARISON MATRIX (DARK PANEL ON LIGHT CANVAS)
   -------------------------------------------------------------------------- */
.mh-why-compare-panel-dark {
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.mh-matrix-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mh-matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}

.mh-matrix-th {
  padding: 0.875rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-matrix-th-label {
  color: #FFFFFF;
  width: 28%;
}

.mh-matrix-th-legacy {
  color: #94A3B8;
  width: 32%;
}

.mh-matrix-th-platform {
  color: #94A3B8;
  background: transparent;
  width: 40%;
}

.mh-matrix-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mh-matrix-row-last {
  border-bottom: none;
}

.mh-matrix-cell {
  padding: 0.875rem 1.25rem;
  font-size: 0.84375rem;
  line-height: 1.5;
}

.mh-matrix-cell-label {
  font-weight: 600;
  color: #FFFFFF;
}

.mh-matrix-cell-legacy {
  color: #7C89A3;
  font-style: italic;
}

.mh-matrix-cell-platform {
  color: #FFFFFF;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.08);
  border-left: 3px solid var(--blue-bright);
}

.mh-matrix-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}