/* ============================================
   About Page Styles
   ============================================ */

/* === Section dividers === */

.page-about .section-tech-approach,
.page-about .section-team,
.page-about .section-milestones,
.page-about .section-values-cta,
.page-about .footer {
  border-top: none;
  position: relative;
}

.page-about .section-tech-approach::before,
.page-about .section-team::before,
.page-about .section-milestones::before,
.page-about .section-values-cta::before,
.page-about .footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-border) 20%,
    rgba(240, 165, 0, 0.12) 50%,
    var(--color-border) 80%,
    transparent 100%
  );
}


/* === Section 1: About Hero === */

.about-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.about-hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, var(--mesh-deep-blue) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, var(--mesh-deep-purple) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(74, 123, 247, 0.08) 0%, transparent 40%);
  background-size: 200% 200%, 200% 200%, 200% 200%;
  animation: meshShift 25s ease-in-out infinite;
  z-index: 0;
  will-change: transform;
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.about-hero h1 {
  margin-bottom: 32px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 40%, var(--color-amber) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-body {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  margin-bottom: 24px;
  max-width: 55ch;
  line-height: 1.7;
}

.about-hero-body:last-of-type {
  margin-bottom: 0;
}

.about-hero-closing {
  font-family: var(--font-heading);
  font-size: var(--text-sub) !important;
  color: var(--color-text) !important;
  -webkit-text-fill-color: var(--color-text) !important;
  font-weight: 500;
  line-height: 1.4 !important;
  margin-top: 16px;
}


/* === Section 2: Technology Approach === */

.section-tech-approach .section-header {
  margin-bottom: 48px;
}

.section-tech-approach h2 {
  margin-bottom: 16px;
}

.about-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Last card (odd count) spans full width centered */
.about-capabilities-grid .capability-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: calc(50% - 12px);
  justify-self: center;
}

.capability-card h3 {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-amber);
  margin-bottom: 12px;
}

.capability-card p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .about-capabilities-grid .capability-card:last-child:nth-child(odd) {
    max-width: 100%;
  }
}


/* === Section 3: Team === */

.section-team .section-header {
  margin-bottom: 48px;
}

.section-team h2 {
  margin-bottom: 16px;
}

.team-placeholder {
  max-width: 680px;
  padding: 48px 40px;
  text-align: center;
}

.team-placeholder p {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 55ch;
  margin: 0 auto;
}


/* === Section 4: Milestones === */

.section-milestones .section-header {
  margin-bottom: 56px;
}

.section-milestones h2 {
  margin-bottom: 16px;
}

.milestones-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  padding-left: 40px;
}

/* Vertical line */
.milestones-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 11px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--color-amber) 0%,
    rgba(240, 165, 0, 0.3) 60%,
    rgba(240, 165, 0, 0.08) 100%
  );
}

.milestone-item {
  position: relative;
  padding: 20px 24px;
}

.milestone-marker {
  position: absolute;
  left: -40px;
  top: 24px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-void);
  border: 2px solid var(--color-amber);
  box-shadow: 0 0 12px var(--color-amber-glow);
  z-index: 1;
}

/* Filled marker for first (completed) items */
.milestone-item:nth-child(-n+3) .milestone-marker {
  background: var(--color-amber);
  box-shadow: 0 0 16px var(--color-amber-glow-strong);
}

/* Pulse on last marker (in progress) */
.milestone-item:last-child .milestone-marker::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--color-amber);
  opacity: 0;
  animation: milestonePulse 2s ease-in-out infinite;
}

@keyframes milestonePulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.milestone-item h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.milestone-item p {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .milestones-timeline {
    padding-left: 32px;
  }

  .milestone-marker {
    left: -32px;
    width: 18px;
    height: 18px;
  }

  .milestones-timeline::before {
    left: 8px;
  }
}


/* === Section 5: Values CTA === */

.section-values-cta {
  text-align: center;
}

.values-cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.section-values-cta h2 {
  margin-bottom: 24px;
}

.values-cta-body {
  font-size: var(--text-body-lg);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.section-values-cta .btn-group {
  justify-content: center;
}
