/* How It Works Section Styles */
.how-it-works-section {
  padding: 5rem 0;
  position: relative;
}

.how-it-works-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .how-it-works-container {
    padding: 0 2rem;
  }
}

.how-it-works-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .how-it-works-title {
    font-size: 3rem;
  }
}

.how-it-works-title-gradient {
  background: linear-gradient(to right, oklch(0.62 0.25 240), oklch(0.70 0.18 200));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.how-it-works-step {
  position: relative;
}

.how-it-works-step:not(:last-child)::after {
  content: '';
  display: none;
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(to right, oklch(0.62 0.25 240), transparent);
}

@media (min-width: 768px) {
  .how-it-works-step:not(:last-child)::after {
    display: block;
  }
}

.how-it-works-step-wrapper {
  backdrop-filter: blur(12px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease;
}

.how-it-works-step-wrapper > * + * {
  margin-top: 0;
}

.how-it-works-step-wrapper:hover {
  transform: scale(1.05);
}

.how-it-works-number {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, oklch(0.62 0.25 240), oklch(0.65 0.19 290));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 0 20px rgba(0, 157, 255, 0.3), 0 0 40px rgba(0, 157, 255, 0.1);
  flex-shrink: 0;
}

.how-it-works-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

.how-it-works-step-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75;
}

