/* ============================================
   FREEZEAL — About Page Styles
   ============================================ */

/* ── About Hero ── */
.about-hero {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: linear-gradient(160deg, var(--bg-pink-light) 0%, var(--bg-white) 50%, var(--bg-pink-subtle) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-ultra-light) 0%, transparent 70%);
  opacity: 0.5;
}

.about-hero__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-md);
  position: relative;
}

.about-hero__subtitle {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ── Story Section ── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.story__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-pink-subtle), var(--bg-pink-light));
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  color: var(--primary);
  opacity: 0.5;
  text-align: center;
  padding: var(--space-2xl);
}

.story__content h2 {
  margin-bottom: var(--space-lg);
}

.story__content p {
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

/* ── Mission & Vision ── */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.mv-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.mv-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--space-lg);
  font-size: 28px;
}

.mv-card h3 {
  margin-bottom: var(--space-md);
}

.mv-card p {
  color: var(--text-body);
  line-height: var(--leading-relaxed);
}

/* ── Stats Counter ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item__value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: white;
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--border-light));
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-light);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline__content {
  flex: 1;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.timeline__title {
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.timeline__text {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.timeline__spacer {
  flex: 1;
}

/* ── Certifications Grid ── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.cert-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-primary);
}

.cert-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-grey-light);
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
}

.cert-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-heading);
}

.cert-card__text {
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .story {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  .about-hero__title {
    font-size: var(--text-3xl);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__item {
    flex-direction: row !important;
    padding-left: 50px;
  }

  .timeline__item::before {
    left: 20px;
  }

  .timeline__spacer {
    display: none;
  }

  .stat-item__value {
    font-size: var(--text-2xl);
  }

  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
}