.how-it-works {
  background: var(--color-surface);
}

.how-it-works-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.how-it-works-header .section-subtitle {
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-accent-light));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: var(--text-2xl);
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-number {
  background: rgba(30, 64, 175, 0.15);
  color: var(--color-primary-light);
  border: 2px solid rgba(30, 64, 175, 0.3);
}

.step:nth-child(2) .step-number {
  background: rgba(55, 148, 255, 0.15);
  color: var(--color-info);
  border: 2px solid rgba(55, 148, 255, 0.3);
}

.step:nth-child(3) .step-number {
  background: rgba(5, 150, 105, 0.15);
  color: var(--color-accent-light);
  border: 2px solid rgba(5, 150, 105, 0.3);
}

.step-title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.step-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 300px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: left;
}

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

  .steps::before {
    display: none;
  }

  .step-number {
    width: 64px;
    height: 64px;
    font-size: var(--text-xl);
  }

  .step-title {
    font-size: var(--text-lg);
  }
}

@media (max-width: 480px) {
  .step-number {
    width: 56px;
    height: 56px;
    font-size: var(--text-lg);
  }

  .step-desc {
    font-size: var(--text-sm);
  }
}
