/* ============================================================
   PROCESS.CSS — futuristic vertical timeline with glowing nodes
   ============================================================ */

.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

/* Central glowing connector line */
.timeline-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.timeline-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0%;
  background: linear-gradient(var(--neon), var(--glow), var(--pink));
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.7);
  transition: height 0.2s linear;
}

.step {
  position: relative;
  width: 50%;
  padding: 1.6rem 2.6rem;
  margin-bottom: 1.2rem;
}
.step:not(.step-right) { left: 0; text-align: right; }
.step-right { left: 50%; text-align: left; }

/* Glowing node on the central line */
.step-node {
  position: absolute;
  top: 2rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--neon);
  box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12), 0 0 18px rgba(0, 229, 255, 0.6);
  z-index: 2;
}
.step:not(.step-right) .step-node { right: -9px; }
.step-right .step-node { left: -9px; }
.step.in-view .step-node { animation: nodePop 0.6s var(--ease); }
@keyframes nodePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon);
  letter-spacing: 0.1em;
}
.step-content {
  margin-top: 0.4rem;
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  background: var(--glass-bg);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.step-content:hover { border-color: rgba(0, 229, 255, 0.4); }
.step-content h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.step-content p { color: var(--muted); font-size: 0.95rem; }
