/* ===== HOW WE OUTPERFORM THE REST ===== */

/* Make wide paragraphs responsive */
.paragraph--width--wide > .paragraph__column {
  width: 100% !important;
  max-width: 1220px;
  float: none;
  margin: 0 auto;
}

/* ---- Hero ---- */
.outperform-hero {
  background: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
  font-family: 'Inter', sans-serif;
}

.outperform-hero > .paragraph__column {
  padding-left: 24px !important;
  padding-right: 24px !important;
}

.outperform-hero .paragraph {
  margin-bottom: 0;
}

.outperform-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.outperform-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 32px;
}

.hero-stats .row {
  justify-content: center;
  gap: 0;
  margin-left: 0;
  margin-right: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #f59e0b;
  font-family: 'Inter', sans-serif;
  line-height: 1.2;
}

.hero-stat__label {
  font-size: 14px;
  opacity: 0.8;
  color: #fff;
}

/* ---- Section Header ---- */
.outperform-section-header {
  text-align: center;
  padding-top: 60px;
  font-family: 'Inter', sans-serif;
}

.outperform-section-header .section-header {
  max-width: 700px;
  margin: 0 auto 48px;
}

.outperform-section-header .section-header h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  color: #0a1628;
  margin-bottom: 12px;
  line-height: 1.2;
}

.outperform-section-header .section-header p {
  color: #475569;
}

/* ---- Comparison Table ---- */
.outperform-table-wrapper {
  font-family: 'Inter', sans-serif;
  padding-bottom: 60px;
}

.outperform-table-wrapper > .paragraph__column {
  padding-left: 10px !important;
  padding-right: 10px !important;
  max-width: 1200px;
  margin: 0 auto;
}

.comparison-table {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: #0a1628;
  color: #fff;
}

.comparison-header-cell {
  padding: 24px;
  text-align: center;
}

.comparison-header-cell:first-child {
  text-align: left;
}

.comparison-header-cell h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.comparison-header-cell.highlight {
  background: #1e40af;
}

.comparison-header-cell .badge {
  display: inline-block;
  padding: 4px 12px;
  background: #d97706;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  margin-top: 8px;
  text-transform: uppercase;
}

.comparison-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid #e2e8f0;
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-cell {
  padding: 20px 24px;
  display: flex;
  align-items: center;
}

.comparison-cell:not(:first-child) {
  justify-content: center;
  text-align: center;
}

.comparison-cell.highlight {
  background: rgba(30, 64, 175, 0.03);
}

.comparison-row.category {
  background: #f8fafc;
}

.comparison-row.category .comparison-cell {
  font-weight: 700;
  color: #0a1628;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-name {
  font-size: 15px;
  color: #334155;
}

.check {
  width: 24px;
  height: 24px;
  background: #ecfdf5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check svg {
  fill: #047857;
}

.cross {
  width: 24px;
  height: 24px;
  background: #fef2f2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cross svg {
  fill: #dc2626;
}

.partial {
  font-size: 13px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 12px;
  border-radius: 4px;
}

.value-highlight {
  font-weight: 700;
  color: #047857;
}

.value-negative {
  font-weight: 600;
  color: #dc2626;
}

/* ---- Benefits Section ---- */
.benefits-section {
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Inter', sans-serif;
}

.benefits-section .paragraph {
  margin-bottom: 0;
}

.benefits-section > .paragraph__column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.benefits-section h2 {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: #0a1628;
  margin-bottom: 12px;
  line-height: 1.2;
}

.benefits-intro {
  text-align: center;
  color: #475569;
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

.benefits-grid .row {
  margin-left: 0;
  margin-right: 0;
  row-gap: 32px;
}

.benefit-card {
  text-align: center;
  padding: 24px;
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: #1e40af;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #fff;
}

.benefit-icon svg {
  fill: #fff;
}

.benefit-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0a1628;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: #475569;
}

/* Callout */
.differentiator-callout {
  margin-top: 40px;
  padding: 32px;
  background: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
  border-radius: 12px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.callout-icon {
  width: 56px;
  height: 56px;
  background: #d97706;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.callout-icon svg {
  fill: #fff;
}

.callout-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.callout-content p {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
}

.callout-content strong {
  color: #f59e0b;
}

/* ---- CTA Section ---- */
.outperform-cta {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto 60px;
  font-family: 'Inter', sans-serif;
}

.outperform-cta > .paragraph__column {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.outperform-cta .paragraph {
  margin-bottom: 0;
}

.outperform-cta h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}

.outperform-cta p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gdh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid rgba(10,22,40,0.25);
}

.btn-gdh-gold {
  background: #d97706;
  color: #fff;
}

.btn-gdh-gold:hover {
  background: #f59e0b;
  color: #fff;
  text-decoration: none;
}

.btn-gdh-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-gdh-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* ---- Responsive ---- */

@media (max-width: 968px) {
  .comparison-header,
  .comparison-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .benefits-grid .col-sm {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .differentiator-callout {
    flex-direction: column;
    text-align: center;
  }

  .callout-icon {
    margin: 0 auto;
  }

  .outperform-hero h1 {
    font-size: 1.8rem;
  }

  .benefits-section {
    padding: 32px 24px;
  }

  .outperform-cta {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .hero-stats .col-sm {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .hero-stats .row {
    row-gap: 24px;
  }
}

@media (max-width: 1220px) {
  .outperform-table-wrapper > .paragraph__column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

@media (max-width: 600px) {
  /* Hide table header on mobile */
  .comparison-header {
    display: none;
  }

  /* Stack rows as cards */
  .comparison-row {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
  }

  .comparison-row.category {
    padding: 12px 20px;
  }

  .comparison-row.category .comparison-cell {
    padding: 0;
  }

  .comparison-row.category .comparison-cell:not(:first-child) {
    display: none;
  }

  .comparison-cell {
    display: flex;
    align-items: center;
    padding: 0;
  }

  /* Feature name spans full width */
  .comparison-cell:first-child {
    margin-bottom: 10px;
  }

  .comparison-cell:first-child .feature-name {
    font-weight: 600;
    font-size: 14px;
  }

  /* Value cells sit side by side */
  .comparison-cell:not(:first-child) {
    display: inline-flex;
    width: 50%;
    justify-content: flex-start;
    padding: 4px 0;
    gap: 8px;
    background: transparent;
  }

  /* Show data-label as a prefix */
  .comparison-cell:not(:first-child)::before {
    content: attr(data-label) ": ";
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
  }

  .comparison-cell.highlight {
    background: transparent;
  }

  /* Wrap the two value cells in a flex row */
  .comparison-row:not(.category) {
    display: flex;
    flex-wrap: wrap;
  }

  .comparison-row:not(.category) .comparison-cell:first-child {
    flex: 0 0 100%;
  }

  .comparison-row:not(.category) .comparison-cell:not(:first-child) {
    flex: 0 0 50%;
  }
}
