/* ========================================
   About Page Styles
   ======================================== */

/* ---------- Mission Section ---------- */
.mission-section {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.mission-content .tag {
  margin-bottom: var(--space-6);
}

.mission-content h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.mission-content > p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.value-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.value-item h4 {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.value-item p {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Mission Visual */
.mission-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.visual-header {
  display: flex;
  gap: 6px;
  padding: var(--space-4);
  background: #f8fafc;
  border-bottom: 1px solid var(--border-light);
}

.visual-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.visual-header span:nth-child(1) { background: #ef4444; }
.visual-header span:nth-child(2) { background: #f59e0b; }
.visual-header span:nth-child(3) { background: #10b981; }

.visual-body {
  padding: var(--space-6);
}

.visual-line {
  height: 8px;
  background: linear-gradient(90deg, var(--color-primary-1), var(--color-primary-3));
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.visual-line.short {
  width: 60%;
}

.visual-chart {
  display: flex;
  align-items: flex-end;
  gap: var(--space-3);
  height: 80px;
  margin-top: var(--space-6);
}

.chart-bar {
  flex: 1;
  background: var(--gradient-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.visual-card:hover .chart-bar {
  opacity: 1;
}

/* ---------- Timeline Section ---------- */
.timeline-section {
  background: #ffffff;
}

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

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

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-12);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

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

.timeline-year {
  width: 50%;
  font-size: var(--text-3xl);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 var(--space-8);
}

.timeline-item:nth-child(odd) .timeline-year {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
  text-align: left;
}

.timeline-content {
  width: 50%;
  padding: 0 var(--space-8);
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 16px;
  height: 16px;
  background: var(--color-primary-1);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 2px var(--color-primary-1);
}

.timeline-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ---------- Team Section ---------- */
.team-section {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
}

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

.team-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-card);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card-hover);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  font-weight: 700;
  color: white;
}

.team-card h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-role {
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-4);
}

.team-bio {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mission-grid {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .mission-visual {
    order: -1;
  }

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

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

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

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .timeline-year {
    width: 100%;
    text-align: left !important;
    padding: 0;
    margin-bottom: var(--space-2);
    font-size: var(--text-2xl);
  }

  .timeline-content {
    width: 100%;
    padding: 0;
  }

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

  .team-grid {
    grid-template-columns: 1fr;
  }
}
