
/* --- ABOUT METRICS 3x2 BENTO GRID (MATCHING HOME PAGE DESIGN) --- */
.about-metrics-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1.25rem 1.5rem !important;
  margin-top: 2rem !important;
  padding-top: 1.75rem !important;
  border-top: 1px solid #E2E8F0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}
.about-metric-card {
  background: #FFFFFF !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 12px !important;
  padding: 1.25rem 1.35rem !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  text-align: left !important;
  gap: 1.15rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 84px !important;
}
.about-metrics-grid .about-metric-card:nth-child(1) { order: 1 !important; }
.about-metrics-grid .about-metric-card:nth-child(2) { order: 2 !important; }
.about-metrics-grid .about-metric-card:nth-child(3) { order: 3 !important; }
.about-metrics-grid .about-metric-card:nth-child(4) { order: 4 !important; }
.about-metrics-grid .about-metric-card:nth-child(5) { order: 5 !important; }
.about-metrics-grid .about-metric-card:nth-child(6) { order: 6 !important; }

.about-metric-card:hover {
  transform: translateY(-2px) !important;
  border-color: #BAE6FD !important;
  box-shadow: 0 10px 20px -3px rgba(2, 132, 199, 0.08) !important;
}
.about-metric-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  color: #0284C7 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.25s ease !important;
}
.about-metric-card:hover .about-metric-icon {
  background: #E0F2FE !important;
  border-color: #BAE6FD !important;
  color: #0369A1 !important;
}
.about-metric-icon svg {
  width: 24px !important;
  height: 24px !important;
  stroke-width: 2 !important;
  display: block !important;
}
.about-metric-content {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  flex: 1 !important;
}
.about-metric-val {
  font-family: var(--font-heading, 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif) !important;
  font-size: clamp(1.35rem, 1.6vw, 1.65rem) !important;
  font-weight: 800 !important;
  color: #0F172A !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0.25rem !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.about-metric-lbl {
  font-family: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif) !important;
  font-size: clamp(0.78rem, 0.85vw, 0.84rem) !important;
  font-weight: 500 !important;
  color: #475569 !important;
  text-transform: none !important;
  line-height: 1.35 !important;
  word-break: break-word !important;
}

@media (max-width: 1024px) {
  .about-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.15rem 1rem !important;
  }
}

@media (max-width: 768px) {
  .about-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px 8px !important;
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid #E2E8F0 !important;
    width: 100% !important;
    align-items: stretch !important;
  }
  .about-metric-card {
    padding: 10px 8px !important;
    gap: 8px !important;
    border-radius: 10px !important;
    min-height: 72px !important;
    height: 100% !important;
    align-items: center !important;
    text-align: left !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .about-metrics-grid .about-metric-card:nth-child(1) { order: 1 !important; }
  .about-metrics-grid .about-metric-card:nth-child(2) { order: 2 !important; }
  .about-metrics-grid .about-metric-card:nth-child(3) { order: 3 !important; }
  .about-metrics-grid .about-metric-card:nth-child(4) { order: 4 !important; }
  .about-metrics-grid .about-metric-card:nth-child(5) { order: 5 !important; }
  .about-metrics-grid .about-metric-card:nth-child(6) { order: 6 !important; }
  .about-metric-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
  }
  .about-metric-icon svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
  }
  .about-metric-content {
    min-width: 0 !important;
    flex: 1 !important;
    overflow: hidden !important;
  }
  .about-metric-val {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    margin-bottom: 1px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .about-metric-lbl {
    font-size: 0.68rem !important;
    line-height: 1.22 !important;
    color: #475569 !important;
    word-break: break-word !important;
  }
}

@media (max-width: 375px) {
  .about-metrics-grid {
    gap: 6px 6px !important;
  }
  .about-metric-card {
    padding: 8px 6px !important;
    gap: 5px !important;
    min-height: 66px !important;
  }
  .about-metric-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }
  .about-metric-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .about-metric-val {
    font-size: 0.98rem !important;
  }
  .about-metric-lbl {
    font-size: 0.64rem !important;
  }
}

[dir="rtl"] .about-metric-card,
html[dir="rtl"] .about-metric-card {
  text-align: right !important;
}
[dir="rtl"] .about-metric-content,
html[dir="rtl"] .about-metric-content {
  text-align: right !important;
}

/* --- ABOUT HERO CTA BUTTONS: EQUAL-WIDTH FOR ALL LANGUAGES --- */
@media (min-width: 641px) {
  html[lang="zh"] .about-cta-row,
  html[lang="zh-TW"] .about-cta-row,
  html[lang="ja"] .about-cta-row,
  html[lang="ko"] .about-cta-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
  }
  html[lang="zh"] .about-cta-row .btn,
  html[lang="zh-TW"] .about-cta-row .btn,
  html[lang="ja"] .about-cta-row .btn,
  html[lang="ko"] .about-cta-row .btn {
    flex: 1 1 0 !important;
    max-width: 190px !important;
    min-width: 0 !important;
    padding: 0.65rem 0.6rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  html:not([lang="zh"]):not([lang="zh-TW"]):not([lang="ja"]):not([lang="ko"]) .about-cta-row {
    display: inline-grid !important;
    grid-template-columns: 1fr !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    max-width: 100% !important;
    gap: 0.75rem !important;
    align-self: flex-start !important;
    justify-items: stretch !important;
  }
  html:not([lang="zh"]):not([lang="zh-TW"]):not([lang="ja"]):not([lang="ko"]) .about-cta-row .btn {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    padding: 0.65rem 1.65rem !important;
  }
}

@media (max-width: 640px) {
  .about-cta-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.65rem !important;
    width: 100% !important;
  }
  .about-cta-row .btn {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 0.65rem 1rem !important;
    justify-content: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }
}
