/* Roadmap Section Styles */
.roadmap-section {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

.roadmap-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 80px;
}

.roadmap-header h3 {
  color: #C62828;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.roadmap-header h2 {
  font-family: Inter;
  font-size: 48px;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

/* Timeline Container */
.roadmap-timeline {
  position: relative;
  padding-top: 60px;
}

/* Horizontal Timeline Line */
.timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #C62828;
  z-index: 1;
}

/* Cards Container */
.roadmap-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* Individual Roadmap Card */
.roadmap-card {
  position: relative;
  background: white;
  border: 2px solid #C62828;
  border-radius: 16px;
  padding: 60px 24px 32px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(198, 40, 40, 0.15);
}

/* Vertical Timeline Connector */
.timeline-connector {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 60px;
  background: #C62828;
  z-index: 2;
}

/* Milestone Badge */
.milestone-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #C62828;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  color: white;
  z-index: 3;
  border: 4px solid white;
}

/* Card Content */
.roadmap-card h3 {
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 16px 0;
  line-height: 1.3;
}

.roadmap-card p {
  font-family: Inter;
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .roadmap-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 24px;
  }

  .roadmap-header h2 {
    font-size: 36px;
  }
}

@media (max-width: 600px) {
  .roadmap-section {
    margin: 60px auto;
  }

  .roadmap-header {
    margin-bottom: 60px;
  }

  .roadmap-header h2 {
    font-size: 28px;
  }

  .roadmap-timeline {
    padding-top: 0;
  }

  /* Hide horizontal timeline on mobile */
  .timeline-line {
    display: none;
  }

  .roadmap-cards {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roadmap-card {
    padding: 60px 20px 24px;
  }

  /* Adjust connector for mobile */
  .timeline-connector {
    display: none;
  }

  .milestone-badge {
    top: -20px;
  }
}
