[data-journey] {
  --journey-progress: calc((100% - 5rem) * 0.25);
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.journey-stat + .journey-stat {
  border-left: 1px solid rgba(15, 23, 42, 0.08);
}

.journey-track-shell {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.journey-track-shell::-webkit-scrollbar {
  display: none;
}

.journey-track-inner {
  position: relative;
  display: flex;
  min-width: 720px;
}

.journey-track-line,
.journey-track-progress {
  position: absolute;
  top: 1.75rem;
  left: 2.5rem;
  right: 2.5rem;
  height: 2px;
  border-radius: 999px;
}

.journey-track-line {
  background: #dbe4ea;
}

.journey-track-progress {
  right: auto;
  width: var(--journey-progress);
  background: var(--primary);
  transition: width 220ms ease;
}

.journey-step {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: 0;
  padding: 0;
  color: #94a3b8;
  cursor: pointer;
  transition: color 180ms ease;
}

.journey-step__node {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  border: 2px solid #dbe4ea;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: all 180ms ease;
}

.journey-step__glyph,
.journey-check {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
}

.journey-step__label {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
}

.journey-step .journey-check {
  display: none;
}

.journey-step.is-done {
  color: #059669;
}

.journey-step.is-done .journey-step__node {
  border-color: rgba(16, 185, 129, 0.45);
  background: #ecfdf3;
  color: #10b981;
}

.journey-step.is-done .journey-step__glyph {
  display: none;
}

.journey-step.is-done .journey-check {
  display: inline-flex;
}

.journey-step.is-active {
  color: var(--primary);
}

.journey-step.is-active .journey-step__node {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 18px 32px rgba(16, 185, 129, 0.24);
  transform: translateY(-1px);
}

.journey-panel {
  border: 2px solid rgba(16, 185, 129, 0.75);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 253, 244, 0.8) 100%);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.journey-metric + .journey-metric {
  margin-top: 0.75rem;
}

.journey-metric-bar {
  height: 0.5rem;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.journey-metric-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--primary);
}

.home-check-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.home-suite-icon {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.home-shield-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.faq-arrow {
  margin-left: 12px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  font-size: 0.9rem;
  line-height: 1;
}

@media (max-width: 767px) {
  .journey-stats {
    grid-template-columns: 1fr;
  }

  .journey-stat + .journey-stat {
    border-left: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
  }
}
