/* Getting started journey — 5-step onboarding path */

.getting-started-journey {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
}

.journey-step__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  min-height: 2.5rem;
}

.journey-step__num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bg-deep);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--accent-inset);
}

.journey-step:nth-child(odd) .journey-step__num {
  background: linear-gradient(135deg, var(--accent-light), #c9983f);
}

.journey-step:nth-child(even) .journey-step__num {
  background: linear-gradient(135deg, var(--emerald), #059669);
  box-shadow: 0 0 22px rgba(16, 185, 129, 0.22);
}

.journey-step__connector {
  position: absolute;
  top: 50%;
  inset-inline-start: calc(50% + 1.35rem);
  width: calc(100% - 1.35rem);
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    var(--accent-border),
    rgba(16, 185, 129, 0.45)
  );
  pointer-events: none;
}

.journey-step__card {
  flex: 1;
  padding: 1.15rem 1rem;
  text-align: start;
  border-radius: var(--radius-lg);
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.journey-step__card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-border);
  box-shadow: 0 10px 36px var(--accent-inset);
}

.journey-step__card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
}

.journey-step__card p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.public-getting-started__cta {
  margin-top: 0.5rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.public-getting-started__cta p {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

@media (max-width: 1100px) {
  .getting-started-journey {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey-step:nth-child(3) .journey-step__connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .getting-started-journey {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 28rem;
    margin-inline: auto;
  }

  .journey-step {
    position: relative;
    padding-bottom: 1.25rem;
  }

  .journey-step:last-child {
    padding-bottom: 0;
  }

  .journey-step__track {
    justify-content: flex-start;
    margin-bottom: 0.65rem;
  }

  .journey-step__connector {
    display: none;
  }

  .journey-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.5rem;
    inset-inline-start: 1.25rem;
    width: 2px;
    height: calc(100% - 1.5rem);
    background: linear-gradient(
      180deg,
      var(--accent-border),
      rgba(16, 185, 129, 0.35)
    );
    pointer-events: none;
  }
}

@media (max-width: 480px) {
  .public-getting-started__cta .btn {
    width: 100%;
  }
}
