/* ==== How It Works Section ==== */
.how-it-works {
  background-color: #121212;
  border: 1px solid #27272F;
  border-radius: 12px;
  transition: background-color 0.3s ease;
}

.how-it-works:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  padding-left: 0;
}

.steps::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-image: linear-gradient(#BCFB6C 30%, transparent 30%);
  background-size: 2px 20px;
  background-repeat: repeat-y;
  z-index: 0;
}

.step-number-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #BCFB6C;
  box-shadow: 0 0 0 5px rgba(188, 251, 108, 0.15);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step-horizontal:hover .step-number-circle,
.step:hover .step-number-circle {
  background-color: #1e1e1e;
  color: #BCFB6C;
  transform: scale(1.1);
  box-shadow: 0 0 10px #BCFB6C55;
}

.steps-horizontal {
  position: relative;
  gap: 20px;
  cursor: pointer;
}

.steps-horizontal::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(60px / 2 + 10px);
  width: calc(100% - 120px);
  height: 2px;
  background-image: repeating-linear-gradient(to right, #BCFB6C 0 10px, transparent 10px 20px);
  z-index: 1;
}

.step-horizontal {
  flex: 1;
  position: relative;
  z-index: 2;
  padding: 0 10px;
  transition: all 0.3s ease;
}

.step-horizontal:hover {
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .steps-horizontal {
    flex-direction: column;
  }

  .steps-horizontal::before {
    display: none;
  }
}
