/* ═══════════════════════════════════════════
   HOW IT WORKS — Compact Step Flow
   ═══════════════════════════════════════════ */
.how-it-works {
  padding: 70px 0;
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
}

.how-it-works__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
}

/* Step card */
.hiw-step {
  flex: 1;
  max-width: 280px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.hiw-step__num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(24, 71, 212, 0.35);
}

.hiw-step__icon {
  width: 56px;
  height: 56px;
  background: #eff6ff;
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1.25rem;
}

.hiw-step h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.5rem;
}

.hiw-step p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Arrow connector */
.hiw-arrow {
  flex-shrink: 0;
  color: var(--slate-300);
  padding: 0 1rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .how-it-works__steps {
    flex-direction: column;
    gap: 2rem;
  }

  .hiw-arrow {
    transform: rotate(90deg);
    padding: 0;
    margin: 0;
  }

  .hiw-step {
    max-width: 100%;
    width: 100%;
  }
}
