/* ==========================================================================
   Work Process Section Styles (Timeline / Path Track)
   ========================================================================== */

.process-section {
  padding: 6rem 0;
  position: relative;
  z-index: 5;
  background: radial-gradient(circle at center, rgba(13, 8, 28, 0.6) 0%, transparent 70%);
}

.process-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Path Track / Timeline Layout */
.process-path {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 2rem 0;
}

/* Central Connecting Line */
.path-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--accent-purple), var(--accent-glow), transparent);
  border-radius: 2px;
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.process-step.revealed {
  opacity: 1;
  transform: translateY(0);
}

.process-step.step-left {
  justify-content: flex-start;
}

/* The card representing the step */
.step-card {
  width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 15px 40px rgba(157, 78, 221, 0.3);
  transform: translateY(-5px);
}

.step-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 2px solid var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-light);
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
  z-index: 2;
}

.step-icon {
  width: 50px;
  height: 50px;
  background: rgba(157, 78, 221, 0.15);
  border: 1px solid var(--accent-purple);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-magenta);
  transition: var(--transition-smooth);
}

.step-card:hover .step-icon {
  background: var(--accent-purple);
  color: var(--text-white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 15px var(--accent-purple);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text-white);
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Adjustments for Responsive */
@media (max-width: 768px) {
  .path-line {
    left: 25px;
    transform: none;
  }
  
  .process-step {
    justify-content: flex-end;
  }
  
  .process-step.step-left, 
  .process-step.step-right {
    justify-content: flex-end;
  }
  
  .step-card {
    width: calc(100% - 60px);
  }
  
  .step-number {
    left: 25px;
    transform: translate(-50%, -50%);
  }
}
