/* ===================================
   GoFasting — About Page (Why build GoFasting)
   =================================== */

.about-page {
  padding-top: 120px;
}

.about-page .container {
  max-width: 1120px;
}

.about-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-gray-900);
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Intro: Built for a Better Life with Fasting ---------- */
.about-intro {
  padding-bottom: 80px;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-intro-content h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 20px;
}

.about-intro-content p {
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-intro-content p:last-child {
  margin-bottom: 0;
}

.about-intro-image img,
.about-team-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ---------- What guides GoFasting ---------- */
.about-guides {
  padding-bottom: 100px;
}

.about-guides-panel {
  border-radius: var(--radius-xl);
  padding: 56px 48px 64px;
  background: linear-gradient(160deg, #F2FBF7 0%, #E8F8F0 60%, #EFF9F4 100%);
}

.about-guides-panel .section-title {
  text-align: center;
  margin-bottom: 44px;
}

.about-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.guide-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border-top: 3px solid var(--guide-color, var(--color-primary));
  box-shadow: var(--shadow-md);
  padding: 26px 26px 24px;
}

/* Align label / title / description rows across the three cards, in every
   language, using subgrid. Desktop only — the cards stack to one column below. */
@media (min-width: 1025px) {
  .about-guides-grid {
    grid-template-rows: auto auto 1fr;
    column-gap: 28px;
    row-gap: 6px;
  }

  .guide-card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
  }

  .guide-card-label,
  .guide-card h3 {
    margin-bottom: 0;
  }
}

.guide-card.purpose { --guide-color: #7C5CFC; }
.guide-card.vision  { --guide-color: #FF6B35; }
.guide-card.promise { --guide-color: var(--color-primary); }

.guide-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--guide-color);
  margin-bottom: 16px;
}

.guide-card-label svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.guide-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-gray-900);
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.75;
}

/* ---------- GoFasting by the Numbers ---------- */
.about-numbers {
  padding-bottom: 100px;
}

.about-numbers .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.about-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-item {
  text-align: center;
  padding: 8px 16px;
}

.number-item + .number-item {
  border-left: 1px solid var(--color-gray-200);
}

.number-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}

.number-icon svg {
  width: 26px;
  height: 26px;
}

.number-icon.green  { background: #E8F8F0; color: var(--color-primary); }
.number-icon.amber  { background: #FFF4DC; color: #F2A93B; }
.number-icon.blue   { background: #E8F1FD; color: #4A87E8; }
.number-icon.purple { background: #F0EBFF; color: #7C5CFC; }

.number-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}

.number-label {
  color: var(--color-gray-500);
  font-size: 1rem;
}

/* ---------- Who built GoFasting ---------- */
.about-team {
  padding-bottom: 80px;
}

.about-team .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.about-team-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-team-lead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 18px;
}

.about-team-content p {
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-team-content p:last-child {
  margin-bottom: 0;
}

/* ---------- Award banner ---------- */
.about-award {
  padding-bottom: 100px;
}

.about-award-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  border-radius: var(--radius-xl);
  padding: 40px 56px;
  background: linear-gradient(135deg, #FFF7EC 0%, #FDEEDC 100%);
}

.about-award-trophy {
  width: 140px;
  height: auto;
  flex: none;
}

/* Shift the centered trophy+text group 90px to the left of the card's center */
.about-award-card > * {
  transform: translateX(-90px);
}

.about-award-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 8px;
}

.about-award-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}

.about-award-year {
  font-size: 0.95rem;
  color: var(--color-gray-500);
}

/* ---------- Journey timeline ---------- */
.about-journey {
  padding-bottom: 100px;
}

.about-journey .section-title {
  text-align: center;
  margin-bottom: 56px;
}

.journey-timeline {
  display: flex;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: #BFE9D6;
}

.journey-item {
  flex: 1;
  position: relative;
  text-align: center;
  padding-top: 36px;
}

.journey-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
}

.journey-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

.journey-item.highlight .journey-dot {
  border-color: var(--color-accent);
}

.journey-item.highlight .journey-dot::after {
  background: var(--color-accent);
}

.journey-year {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-gray-900);
  margin-bottom: 8px;
}

.journey-desc {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  line-height: 1.6;
  max-width: 170px;
  margin: 0 auto;
}

/* ---------- Final CTA (shared look with home) ---------- */
.final-cta {
  padding: 0 0 60px;
  background: #FFFFFF;
}

.final-cta-card {
  position: relative;
  overflow: hidden;
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 40px;
  text-align: center;
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, #12D68F 0%, #0FC77B 54%, #04A96C 100%);
  color: #FFFFFF;
  box-shadow: 0 30px 90px rgba(4, 169, 108, 0.24);
}

.final-cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.final-cta-card p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.86);
  margin-bottom: 28px;
}

.final-store-badges {
  justify-content: center;
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .about-numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }

  .number-item:nth-child(3) {
    border-left: none;
  }

  .about-guides-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .about-page {
    padding-top: 96px;
  }

  .about-page-title {
    margin-bottom: 32px;
  }

  .about-intro {
    padding-bottom: 56px;
  }

  .about-intro-grid,
  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* On mobile the photo sits between the section heading and the copy */
  .about-intro-image,
  .about-team-image {
    order: -1;
  }

  .about-guides,
  .about-numbers,
  .about-team,
  .about-award,
  .about-journey {
    padding-bottom: 56px;
  }

  .about-guides-panel {
    padding: 36px 20px 40px;
    border-radius: var(--radius-lg);
  }

  .about-guides-panel .section-title,
  .about-numbers .section-title,
  .about-team .section-title,
  .about-journey .section-title {
    margin-bottom: 28px;
  }

  .number-item {
    padding: 8px 12px;
  }

  .number-item + .number-item {
    border-left: none;
  }

  .number-value {
    font-size: 1.75rem;
  }

  .number-label {
    font-size: 0.9rem;
  }

  .about-award-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 36px 24px;
  }

  .about-award-card > * {
    transform: none;
  }

  .about-award-trophy {
    width: 110px;
  }

  /* Vertical timeline */
  .journey-timeline {
    flex-direction: column;
    gap: 28px;
    max-width: 320px;
    margin: 0 auto;
  }

  .journey-timeline::before {
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .journey-item {
    text-align: left;
    padding-top: 0;
    padding-left: 40px;
  }

  .journey-dot {
    left: 0;
    top: 2px;
    transform: none;
  }

  .journey-year {
    font-size: 1.15rem;
    margin-bottom: 4px;
  }

  .journey-desc {
    margin: 0;
    max-width: none;
  }

  .final-cta-card {
    padding: 48px 24px;
    border-radius: 24px;
  }
}
