/**
 * Landing Page Timeline Section
 * How-it-works steps with visual flow
 */

/* ===== TIMELINE SECTION ===== */
.timeline-section {
  padding: var(--spacing-3xl) 0;
  background-color: var(--color-surface);
}

.section-title {
  font-family: var(--font-family-display);
  font-size: var(--font-size-section);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-bottom: var(--spacing-2xl);
  letter-spacing: -0.02em;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-step {
  text-align: center;
  position: relative;
  padding: var(--spacing-xl);
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: white;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  box-shadow: var(--shadow-warm-md);
}

.step-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-accent);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.timeline-step h3 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.timeline-step p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .timeline-step::after {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--spacing-2xl) / 2);
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: var(--spacing-2xl);
    background: linear-gradient(to bottom, var(--color-accent), transparent);
  }

  .timeline-step:last-child::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: var(--font-size-2xl);
  }
}
