.steps {
  margin: 20px 0;
}
.step {
  padding: 16px 0 16px 52px;
  position: relative;
  opacity: 0;
  transform: translateX(-10px);
  animation: stepFadeIn 0.5s ease forwards;
}
.step:nth-child(1) { animation-delay: 0.05s; }
.step:nth-child(2) { animation-delay: 0.1s; }
.step:nth-child(3) { animation-delay: 0.15s; }
.step:nth-child(4) { animation-delay: 0.2s; }
.step:nth-child(5) { animation-delay: 0.25s; }
.step:nth-child(6) { animation-delay: 0.3s; }
.step:nth-child(7) { animation-delay: 0.35s; }
.step:nth-child(8) { animation-delay: 0.4s; }
.step:nth-child(9) { animation-delay: 0.45s; }
.step:nth-child(10) { animation-delay: 0.5s; }
.step:nth-child(11) { animation-delay: 0.55s; }
.step:nth-child(12) { animation-delay: 0.6s; }
.step:nth-child(13) { animation-delay: 0.65s; }

@keyframes stepFadeIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.step-number {
  position: absolute;
  left: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 13px;
  color: var(--accent-primary);
  transition: all var(--transition-normal);
}
.step:hover .step-number {
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--accent-primary);
}
.step-title {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}
.step-title .tag {
  vertical-align: middle;
  margin-left: 8px;
}
.step-text {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 6px 0 10px 0;
  line-height: 1.6;
}
.step-text:first-of-type {
  margin-top: 6px;
}
.path-steps {
  margin: 18px 0;
}
.path-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.path-step:hover {
  background: var(--bg-hover);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.path-number {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(167, 139, 250, 0.1);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  flex-shrink: 0;
  color: var(--accent-primary);
}
.path-content {
  flex: 1;
}
.path-title {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-primary);
}
.path-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.path-arrow {
  color: var(--text-muted);
  transition: all var(--transition-normal);
  flex-shrink: 0;
  font-size: 14px;
}
.path-step:hover .path-arrow {
  transform: translateX(4px);
  color: var(--accent-primary);
}
.next-step-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  margin-top: 36px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
}
.next-step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.3);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.08);
}
.next-step-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.next-step-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.next-step-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
.next-step-arrow {
  font-size: 18px;
  color: var(--accent-primary);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}
.next-step-card:hover .next-step-arrow {
  transform: translateX(4px);
}

.step-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    display: flex;
    align-items: center;
}

.step-title .title-divider {
  padding: 0 6px;
}

.step-title .tag {
  margin-left: 0;
}

.step-title-h2 {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.step.step-connected::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 52px;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

/* step-card layout (welcome page step cards) */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.step-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
}
.step-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateX(4px);
  background: var(--bg-hover);
}
.step-card .step-number {
  position: static;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.step-card .step-content {
  flex: 1;
}
.step-card .step-content h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}
.step-card .step-content p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}
.step-action {
  flex-shrink: 0;
  padding: 8px 16px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}
.step-action:hover {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
}