/* =========================================================
   Phase 3 — About & Why Us page styles
   Loaded after main.css on these pages only.
   Spacing rule: every card/panel has >= var(--space-8) internal
   padding so content never crowds the component edges.
   ========================================================= */

/* ─────────────────────────────────────────────────────────
   ABOUT PAGE
   ───────────────────────────────────────────────────────── */

/* ── Story section ───────────────────────────────────────── */
.about-story__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-story__copy .section-label {
  display: block;
  margin-bottom: var(--space-4);
}

.about-story__copy .section-title {
  margin-bottom: var(--space-6);
}

.about-story__copy p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  font-size: var(--text-base);
}

.about-story__copy p:last-of-type {
  margin-bottom: var(--space-8);
}

.about-story__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.about-story__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(0,27,239,0.15);
  border-radius: 100px;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-accent);
}

.about-story__badge svg {
  flex-shrink: 0;
}

/* Image with floating stat chips */
.about-story__visual {
  position: relative;
}

.about-story__image-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.about-story__image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}

/* ── Stat strip — 4-column proof bar beneath the image ───── */
.about-story__chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
}

.about-story__chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--color-border);
  gap: var(--space-1);
}

.about-story__chip:last-child {
  border-right: none;
}

.about-story__chip-val {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  background: var(--gradient-brand, linear-gradient(135deg, #001bef, #2197f1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.about-story__chip-lbl {
  font-size: 11px;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .about-story__grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .about-story__image-wrap img { height: 340px; }
}

@media (max-width: 480px) {
  .about-story__chips { grid-template-columns: repeat(2, 1fr); }
  .about-story__chip:nth-child(2) { border-right: none; }
  .about-story__chip:nth-child(3),
  .about-story__chip:nth-child(4) { border-top: 1px solid var(--color-border); }
}

/* ── Values section ──────────────────────────────────────── */
.npg-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.npg-value {
  position: relative;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
}

.npg-value::before {
  content: attr(data-num);
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.npg-value:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.npg-value__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.npg-value__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.npg-value__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (max-width: 960px) {
  .npg-values { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .npg-values { grid-template-columns: 1fr; }
}

/* ── Ethos / culture strip ───────────────────────────────── */
.about-ethos {
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
}

.about-ethos::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(255,255,255,0.08), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(33,151,241,0.15), transparent 40%);
  pointer-events: none;
}

.about-ethos .container {
  position: relative;
  z-index: 1;
}

.about-ethos__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.about-ethos__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-3);
}

.about-ethos__title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.about-ethos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.about-ethos__item {
  padding: var(--space-8);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 22px;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
}

.about-ethos__item-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.about-ethos__item-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: #fff;
  margin-bottom: var(--space-3);
}

.about-ethos__item-body {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .about-ethos__grid { grid-template-columns: 1fr; }
  .about-ethos__title { font-size: var(--text-2xl); }
}

/* ── Partnerships / accreditations ──────────────────────── */
.about-partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.about-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.about-partner:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.about-partner__logo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.about-partner__name {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.about-partner__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .about-partners__grid { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   WHY US PAGE
   ───────────────────────────────────────────────────────── */

/* ── Pain points ─────────────────────────────────────────── */
.why-problem {
  position: relative;
}

.why-problem__intro {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.why-problem__intro .section-label {
  display: block;
  margin-bottom: var(--space-4);
}

.why-problem__intro h2 {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.why-problem__intro p {
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  font-size: var(--text-base);
  margin: 0;
}

.why-problem__pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.why-pain {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-error, #dc2626);
  border-radius: 18px;
}

.why-pain__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(220,38,38,0.08);
  color: var(--color-error, #dc2626);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}

.why-pain__title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.why-pain__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .why-problem__pills { grid-template-columns: 1fr; }
}

/* ── Comparison table ────────────────────────────────────── */
.why-compare-wrap {
  margin-top: var(--space-12);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-surface);
}

.why-compare-head {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  background: var(--gradient-brand);
  padding: var(--space-5) var(--space-8);
  gap: var(--space-4);
}

.why-compare-head__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.7);
}

.why-compare-head__col {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: #fff;
  text-align: center;
}

.why-compare-row {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-8);
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  transition: background 200ms ease;
}

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

.why-compare-row:hover {
  background: var(--color-bg);
}

.why-compare-row__label {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: var(--weight-medium);
}

.why-compare-row__cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cmp-yes {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22,163,74,0.12);
  color: #16a34a;
  flex-shrink: 0;
}

.cmp-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(220,38,38,0.08);
  color: #dc2626;
  flex-shrink: 0;
}

.cmp-partial {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(234,179,8,0.10);
  color: #ca8a04;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .why-compare-head { grid-template-columns: 1fr 90px 90px; padding: var(--space-4) var(--space-5); }
  .why-compare-row { grid-template-columns: 1fr 90px 90px; padding: var(--space-4) var(--space-5); }
  .why-compare-head__label,
  .why-compare-row__label { font-size: var(--text-xs); }
}

/* ── Differentiator cards ────────────────────────────────── */
.why-diffs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.why-diff {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
}

.why-diff:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.why-diff__num {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  flex-shrink: 0;
}

.why-diff__body {}

.why-diff__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.35;
}

.why-diff__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0;
}

@media (max-width: 768px) {
  .why-diffs { grid-template-columns: 1fr; }
}

/* ── Stats section ───────────────────────────────────────── */
.why-stats-section {
  position: relative;
  overflow: hidden;
}

.why-stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0,27,239,0.08), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(33,151,241,0.08), transparent 50%),
    var(--color-bg);
  pointer-events: none;
}

.why-stats-section .container {
  position: relative;
  z-index: 1;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.why-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* 2.25rem vertical = halfway between --space-8 (2rem) and --space-10 (2.5rem) */
  padding: 2.25rem var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.why-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.why-stat__val {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.why-stat__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  line-height: 1.4;
  max-width: 120px;
}

@media (max-width: 960px) {
  .why-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .why-stats-grid { grid-template-columns: 1fr; }
}

/* ── Pledge / guarantee cards ────────────────────────────── */
.why-pledges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.why-pledge {
  /* 2.25rem vertical = halfway between --space-8 and --space-10; keeps content well clear of edges */
  padding: 2.25rem var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.why-pledge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  border-radius: 22px 22px 0 0;
}

.why-pledge__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
}

.why-pledge__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.why-pledge__body {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin: 0 0 var(--space-6);
}

.why-pledge__detail {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-2) var(--space-4);
  background: var(--color-accent-subtle);
  border-radius: 100px;
  display: inline-block;
}

@media (max-width: 768px) {
  .why-pledges { grid-template-columns: 1fr; }
}
