.roadmap-main {
  padding: 38px 0 72px;
}

.roadmap-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 6vw, 68px);
  text-align: center;
}

.roadmap-hero::after {
  content: "";
  position: absolute;
  inset: auto 16% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 22px var(--accent);
}

.roadmap-hero h1 {
  max-width: 900px;
  margin: 8px auto 14px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.95;
}

.roadmap-hero > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.roadmap-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.timeline-line {
  position: absolute;
  top: 45px;
  right: 6%;
  left: 6%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(79, 217, 255, 0.34), rgba(255, 255, 255, 0.1));
  box-shadow: 0 0 18px rgba(79, 217, 255, 0.28);
}

.glass-card,
.glow-card {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.roadmap-phase {
  position: relative;
  min-width: 0;
  padding: 18px;
  border-radius: var(--radius-lg);
  text-transform: none;
  letter-spacing: 0;
}

.roadmap-phase.phase-active {
  border-color: var(--border-strong);
  background:
    linear-gradient(155deg, rgba(79, 217, 255, 0.11), transparent 45%),
    var(--panel);
  box-shadow: 0 18px 48px rgba(79, 217, 255, 0.1);
}

.roadmap-phase.phase-complete {
  border-color: rgba(134, 244, 174, 0.22);
}

.phase-header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  min-height: 54px;
}

.phase-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: #061321;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  font-weight: 800;
  box-shadow: 0 0 24px rgba(79, 217, 255, 0.24);
}

.phase-status {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-progress {
  border-color: rgba(134, 244, 174, 0.24);
  color: var(--success);
  background: rgba(134, 244, 174, 0.06);
}

.status-complete {
  border-color: rgba(134, 244, 174, 0.24);
  color: var(--success);
  background: rgba(134, 244, 174, 0.06);
}

.status-planned {
  border-color: rgba(79, 217, 255, 0.24);
  color: var(--accent);
  background: rgba(79, 217, 255, 0.06);
}

.status-future {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.025);
}

.phase-label {
  margin: 20px 0 3px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.roadmap-phase h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.05;
}

.roadmap-phase h3 {
  margin: 18px 0 8px;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.phase-summary {
  min-height: 96px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.roadmap-phase ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roadmap-phase li {
  position: relative;
  padding-left: 15px;
  color: #c8dcf0;
  font-size: 0.84rem;
}

.roadmap-phase li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.roadmap-footer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: clamp(22px, 4vw, 36px);
}

.roadmap-note p:last-child {
  max-width: 760px;
  margin: 4px 0 0;
  color: var(--muted);
}

.roadmap-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

@media (max-width: 1180px) {
  .roadmap-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-line {
    display: none;
  }

  .phase-summary {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .roadmap-main {
    padding-top: 20px;
  }

  .roadmap-timeline,
  .roadmap-footer-panel {
    grid-template-columns: 1fr;
  }

  .roadmap-timeline {
    gap: 12px;
    padding-left: 24px;
  }

  .timeline-line {
    display: block;
    top: 22px;
    right: auto;
    bottom: 22px;
    left: 7px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent), rgba(79, 217, 255, 0.32), rgba(255, 255, 255, 0.08));
  }

  .roadmap-phase {
    padding: 17px;
  }

  .roadmap-phase::before {
    content: "";
    position: absolute;
    top: 38px;
    left: -18px;
    width: 16px;
    height: 1px;
    background: var(--border-strong);
    box-shadow: 0 0 8px rgba(79, 217, 255, 0.28);
  }

  .roadmap-actions {
    justify-content: stretch;
  }

  .roadmap-actions .button {
    width: 100%;
  }
}
