/* ──────────────────────────────────────────
   ROADMAP SECTION (Complete)
────────────────────────────────────────── */

/* Centered vertical shimmering stripe */

.roadmap::before {
  content: "";
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4px;
  height: 80%;
  background: linear-gradient( to bottom, #000 0%, var(--electric-violet) 50%, #000 100% );
  background-size: 100% 300%;
  animation: stripeShimmerVert 6s ease-in-out infinite;
  z-index: 1;
}
@keyframes stripeShimmerVert {
  0%, 100% { background-position: 0% 0%; }
  50%       { background-position: 0% 100%; }
}

/* Base roadmap container */
.roadmap {
  padding: 0;
  background: transparent;
  color: var(--white);
  text-align: center;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}


.roadmap-title {
  padding-top: 6rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 2;
  margin-bottom: 100px;
}
.roadmap-title-head {
  text-align: center;
  font-family: "Sora", sans-serif;
  font-size: 7.5rem;
  background: linear-gradient(46deg, rgb(243, 243, 243), rgba(44, 0, 92, 0.908));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 15rem;
  max-width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.roadmap-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 1.2s ease, transform 0.3s ease;
  position: relative;
  z-index: 2;
}
.roadmap-item.visible {
  opacity: 1;
  transform: translateX(0);
  width: 45%;
}

.roadmap-item .phase-title {
  font-size: 1.75rem;
  text-align: center;
}

/* Icon styling */
.roadmap-icon {
  flex-shrink: 0;
  width: 80px;
  height: 40px;
  background: rgba(135, 3, 223, 0.2);
  border-radius: 5%;
  display: grid;
  place-items: center;
  font-weight: bold;
  animation: bob 3s ease-in-out infinite alternate;
  transition: transform 0.3s ease;
}
@keyframes bob {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}

/* Content box */
.roadmap-content {
  background-color: var(--white-3);
  border-radius: 8px;
  padding: 1rem;
  transition: transform 0.3s ease;
  width: 100%;
}

/* Hover scale effect */
.roadmap-item:hover .roadmap-icon,
.roadmap-item:hover .roadmap-content {
  transform: scale(1.3);
  z-index: 5;
}
.roadmap-item:hover .phase-title,
.roadmap-item:hover .phase-list li,
.roadmap-item:hover .phase-list-done li {
  transform: scale(1.05);
}

.phase-title,
.phase-list li,
.phase-list-done li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.phase-list {
  list-style-type: circle;    
  list-style-position: inside;
}
.phase-list-done {
  list-style-type: disc;      
  list-style-position: inside;
}


/* Hide stripe on mobile & mobile tweaks */
@media screen and (max-width: 768px) {
  .roadmap::before {
      display: none;
  }
  .roadmap {
    padding: 2rem 1.5rem;
  }
  .roadmap-title {
      padding-top: 2rem;
  }
  .roadmap-container {
    padding-top: 1rem;
    position: relative;
  }
  .roadmap-content {
    flex-grow: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .roadmap-item {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0 !important;
    text-align: left !important;
  }
  .roadmap-item.visible {
    width: 100% !important;;
  }
  .roadmap-icon {
    margin-bottom: 0.5rem;
  }
}
