/* ==================================================
   PAGE: ABOUT
   ================================================== */

/* ---------- Story + stats ---------- */
.cx-about-story-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--cx-space-2xl);
  align-items: center;
}

.cx-about-story-heading {
  margin-top: 0.75rem;
  margin-bottom: var(--cx-space-md);
}

.cx-about-story-para {
  margin-bottom: var(--cx-space-md);
}

.cx-about-story-para:last-child {
  margin-bottom: 0;
}

.cx-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--cx-space-md);
}

.cx-about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background-color: var(--cx-bg-alt);
  border: none;
  border-radius: 16px;
  padding: var(--cx-space-md);
  box-shadow:
    6px 6px 14px rgba(163, 177, 198, 0.4),
    -6px -6px 14px rgba(255, 255, 255, 0.9);
  transition: transform var(--cx-transition), box-shadow var(--cx-transition);
}

.cx-about-stat:hover {
  transform: translateY(-4px);
  box-shadow:
    9px 9px 18px rgba(163, 177, 198, 0.45),
    -9px -9px 18px rgba(255, 255, 255, 0.95);
}

.cx-about-stat-number {
  font-family: var(--cx-font-display);
  font-size: var(--cx-fs-3xl);
  font-weight: 800;
  color: var(--cx-primary);
}

.cx-about-stat-label {
  font-size: var(--cx-fs-sm);
  font-weight: 600;
  color: var(--cx-text-muted);
}

/* ---------- Values ---------- */
.cx-about-values-header {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--cx-space-xl);
}

.cx-about-values-heading {
  margin-top: 0.75rem;
}

.cx-value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--cx-space-md);
}

.cx-value-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--cx-bg-alt);
  border: none;
  border-radius: 16px;
  padding: var(--cx-space-md);
  box-shadow:
    6px 6px 14px rgba(163, 177, 198, 0.4),
    -6px -6px 14px rgba(255, 255, 255, 0.9);
  transition: transform var(--cx-transition), box-shadow var(--cx-transition);
}

.cx-value-card:hover {
  transform: translateY(-4px);
  box-shadow:
    9px 9px 18px rgba(163, 177, 198, 0.45),
    -9px -9px 18px rgba(255, 255, 255, 0.95);
}

.cx-value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--cx-icon-bg);
  color: var(--cx-icon-color);
  margin-bottom: var(--cx-space-sm);
  box-shadow:
    inset 2px 2px 5px rgba(163, 177, 198, 0.35),
    inset -2px -2px 5px rgba(255, 255, 255, 0.7);
}

.cx-value-title {
  font-size: var(--cx-fs-lg);
  margin-bottom: 0.5rem;
}

.cx-value-desc {
  font-size: var(--cx-fs-sm);
}

/* ==================================================
   DARK THEME — reference-matched card style
   --------------------------------------------------
   Same treatment as Why Codexa / Testimonials: radial
   glow from the icon corner, top+left hairline border,
   crisp icon border instead of glow.
   ================================================== */
[data-theme="dark"] .cx-about-stat,
[data-theme="dark"] .cx-value-card {
  background: radial-gradient(120% 90% at 15% 0%, #16223F 0%, #0B1224 50%, #060910 100%);
  border-style: solid;
  border-width: 1px 0 0 1px;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

[data-theme="dark"] .cx-about-stat:hover,
[data-theme="dark"] .cx-value-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .cx-value-icon {
  background-color: var(--cx-icon-color);
  color: #F8FAFC;
  border: 2px solid var(--cx-icon-color);
  border-color: color-mix(in srgb, var(--cx-icon-color) 75%, white 25%);
}

[data-theme="dark"] .cx-value-desc {
  color: #94A3B8;
}