*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter, sans-serif;
}

/* HEADER */
.roadmap-header{
  text-align:center;
  padding:50px 20px;
}

.roadmap-header h1{
  font-size:2.6rem;
}

.roadmap-header p{
  max-width:800px;
  margin:8px auto;
  color:#cfcfcf;
}

/* ROADMAP */
.roadmap{
  max-width:1200px;
  margin:auto;
  padding-bottom:80px;
}

/* STEP */
.step{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  margin:120px 0;
  position:relative;
}

/* STEP CIRCLE */
.step-circle{
  width:260px;
  height:260px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  border:2px solid;
}

.step-circle i{
  font-size:3rem;
  margin-bottom:10px;
}

.step-circle h3{
  margin-bottom:6px;
}

/* ITEMS */
.step-items{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.pill{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 18px;
  border-radius:30px;
  min-width:320px;
  /* background:rgba(255,255,255,0.05); */
  transition:.3s;
  background: #1c2228;
}

.pill i{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
}

.pill:hover{
  transform:translateX(6px);
}

/* COLORS */
.red{ border-color:#dc3545; color:#dc3545;}
.red i{ background:#dc3545; color:#fff;}

.yellow{ border-color:#ffc107; color:#ffc107;}
.yellow i{ background:#ffc107; color:#000;}

.green{ border-color:#28a745; color:#28a745;}
.green i{ background:#28a745; color:#fff;}

/* ALIGNMENT */
.left{ align-items:flex-end; }
.right{ align-items:flex-start; }

/* MOBILE */
@media(max-width:900px){
  .step{
    flex-direction:column;
    text-align:center;
  }

  .step-items{
    align-items:center;
  }

  .pill{
    min-width:unset;
    width:100%;
  }
}


/* SVG CURVE */
/* SVG at lowest layer */
.roadmap-curve {
  position: absolute;
  /* top: 200px; */
  left: 50%;
  transform: translateX(-50%);
  height: 1500px;
  width: 400px;
  z-index: 1;
  pointer-events: none;
}

/* Step wrapper */
.step {
  position: relative;
  z-index: 2;
}

/* Step circles above curve */
.step-circle {
  position: relative;
  z-index: 3;
  background: #1c2228;
  color: red; /* MASK behind circle */
}

/* Pills ABOVE curve completely */
.step-items {
  position: relative;
  z-index: 4;
}



@media (max-width: 900px) {

  .roadmap {
    position: relative;
  }

  /* MOBILE CURVE */
  .roadmap-curve {
    width: 200px;
    height: 100%;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* STEP STACKING */
  .step {
    flex-direction: column;
    gap: 24px;
    margin: 100px 0;
  }

  /* CENTER CIRCLE ON CURVE */
  .step-circle {
    margin: auto;
    width: 220px;
    height: 220px;
    
  }

  /* PILLS BELOW CIRCLE */
  .step-items {
    align-items: center;
    width: 100%;
  }

  .pill {
    width: 90%;
    max-width: 420px;
    justify-content: center;
    text-align: center;
  }

  .pill:hover {
    transform: translateY(-4px);
  }
}
.step-circle::before {
  content: "";
  position: absolute;
  inset: -10px;
  background: #1c2228;
  border-radius: 50%;
  z-index: -1;
}

@media (max-width: 900px) {

  .roadmap-curve {
    width: 160px;   /* narrower curve lane */
    z-index: 1;
  }

  .step-items {
    padding: 0 12px;
  }

  .pill {
    background: #262d34; /* solid background */
  }
}