@use "../../../../styles/abstracts/variables" as *;

.getStarted {
  background:
    radial-gradient(circle at top, rgba(247,147,26,0.1), transparent 50%),
    #0a0a0a;
  color: #fff;
  padding: 6rem 1.5rem;
  font-family: $font-onest, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* ===== HEADER ===== */
.header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;

  h2 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: capitalize;
  }

  p {
    margin-top: 1rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ===== STEPPER ===== */
.stepper {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ===== NUMBERS + LINE ===== */
.stepsHeader {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 4px;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #f7931a, #fbbf24);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.stepNumber {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  cursor: pointer;
  transition: all 0.3s ease;

  &.active {
    background: rgba(247, 147, 26, 0.2);
    color: #fbbf24;
    border-color: rgba(247, 147, 26, 0.4);
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.35);
  }
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;

  @media (min-width: 768px) {
    grid-template-columns: repeat(4, 1fr);
  }

  @media (max-width: 768px) {
    grid-template-columns: 1fr;
  }
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.4rem 2rem;
  text-align: center;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  cursor: default;

  &:hover {
    transform: translateY(-3px); // slightly less lift
    box-shadow: 0 6px 18px rgba(247, 147, 26, 0.15); // softer shadow
  }

  &.active {
    border-color: rgba(247, 147, 26, 0.35);
    transform: translateY(-4px); // less lift
    box-shadow: 0 8px 20px rgba(247, 147, 26, 0.2); // softer glow
  }

  .icon {
    width: 3.2rem;
    height: 3.2rem;
    margin: 0 auto 1rem;
    border-radius: 14px;
    background: rgba(247, 147, 26, 0.18);
    color: #f7931a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: transform 0.25s ease;
  }

  h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
  }

  p {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.5;
  }
}


/* ===== CTA ===== */
.ctaButton {
  align-self: center;
  background: linear-gradient(90deg, #f7931a, #fbbf24);
  color: #000;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2.8rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.4);
  }

  @media (max-width: 768px) {
    width: 100%;
  }
}

/* ===== RESPONSIVE & MOBILE ===== */
@media (max-width: 768px) {
  // .stepsHeader {
  //   flex-direction: row;
  //   gap: 1rem;
  // }

  // .line {
  //   top: 0;
  //   left: 50%;
  //   width: 2px;
  //   height: 100%;
  //   transform: translateY(-50%);
  // }

  .progress {
    width: 100%;
    height: 100%;
  }

  .card {
    padding: 2rem 1.5rem;
  }
}
