/* ============================================================
   ROADMAP SECTION — Incline Agency
   ============================================================ */

.roadmap-section {
  background: var(--bg);
  padding: clamp(90px, 12vh, 140px) clamp(24px, 5vw, 64px);
  position: relative;
  overflow: hidden;
}

/* Faint radial glow behind the section */
.roadmap-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center top, rgba(180, 220, 255, 0.045) 0%, transparent 70%);
  pointer-events: none;
}

.roadmap-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---- Header ---- */
.roadmap-header {
  max-width: 640px;
  margin-bottom: 60px;
}

.roadmap-headline {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 18px;
}

.roadmap-lead {
  font-family: var(--font-main);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ---- Terminal block ---- */
.roadmap-terminal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 16px;
  letter-spacing: 0.01em;
  min-width: 340px;
}

.rt-prompt {
  color: rgba(39, 201, 63, 0.80);
  font-weight: 700;
  user-select: none;
}

.rt-text {
  color: rgba(255, 255, 255, 0.72);
}

.rt-cursor {
  color: rgba(255, 255, 255, 0.50);
  animation: rt-blink 0.9s step-end infinite;
}

@keyframes rt-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ---- Cards grid ---- */
.roadmap-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- Card ---- */
.roadmap-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease;
}

.roadmap-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}

.roadmap-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(255, 255, 255, 0.038);
}

/* ---- Card top row (badge + icon) ---- */
.roadmap-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

/* ---- Badge ---- */
.roadmap-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-main);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(180, 220, 255, 0.82);
  background: rgba(180, 220, 255, 0.07);
  border: 1px solid rgba(180, 220, 255, 0.15);
  border-radius: 100px;
  padding: 3px 10px;
}

/* Subtle pulse on badge dot */
.roadmap-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(180, 220, 255, 0.70);
  animation: roadmap-pulse 2.4s ease-in-out infinite;
}

@keyframes roadmap-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.75); }
}

/* ---- Icon ---- */
.roadmap-icon {
  width: 34px;
  height: 34px;
  color: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

/* ---- Card text ---- */
.roadmap-card-title {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 10px;
}

.roadmap-card-body {
  font-family: var(--font-main);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.6;
  margin: 0;
}

/* ---- Bottom note ---- */
.roadmap-note {
  margin-top: 36px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.roadmap-note-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 3px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.roadmap-note-link:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .roadmap-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .roadmap-terminal {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .roadmap-cards {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .roadmap-section {
    padding: clamp(56px, 8vh, 80px) clamp(16px, 5vw, 24px);
  }

  .roadmap-card {
    padding: 20px 18px 22px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .roadmap-badge::before,
  .rt-cursor {
    animation: none !important;
    opacity: 1;
  }
}
