/* ================================================
   HOW IT WORKS — 3 steps with animated progress line
   ================================================ */

.how-bg {
  background: linear-gradient(180deg, transparent 0%, rgba(13, 74, 47, 0.04) 50%, transparent 100%);
}

.steps {
  display: flex;
  gap: 0;
  position: relative;
  align-items: flex-start;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 28px;
  position: relative;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.step.on {
  opacity: 1;
  transform: none;
}

/* ── Numbered circle ── */
.s-num-wrap {
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, var(--primary), rgba(34, 197, 94, 0.25));
  border: 2px solid rgba(34, 197, 94, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
}

/* ── Connector line between steps ── */
.s-conn {
  position: absolute;
  top: 38px;
  left: calc(50% + 38px);
  right: calc(-50% + 38px);
  height: 2px;
  z-index: 1;
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.5), rgba(34, 197, 94, 0.1));
}

.step:last-child .s-conn {
  display: none;
}

/* ── Animated fill line (background) ── */
.pline {
  position: absolute;
  top: 38px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  z-index: 0;
}

.pline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.pline-fill.go {
  width: 100%;
}

.s-ttl {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
}

.s-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
