/* ===============================
   ROADMAP — NATIVE TARC STYLE
================================ */

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

/* ===============================
   PHASE PANEL
================================ */
.roadmap-phase {
  position: relative;
  margin-bottom: 22px;
  border-radius: 16px;

  background: rgba(20, 30, 20, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  border: 1px solid rgba(240, 193, 75, 0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);

  transition: 
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
}

/* Subtle idle shimmer when collapsed */
.roadmap-phase:not(.open)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 25%,
    rgba(240,193,75,0.08),
    transparent 75%
  );
  opacity: 0;
  animation: tarcIdle 7s infinite;
  pointer-events: none;
}

@keyframes tarcIdle {
  0%, 75% { opacity: 0; }
  80% { opacity: 0.35; }
  100% { opacity: 0; }
}

/* ===============================
   HEADER
================================ */
.phase-header {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  position: relative;
}

/* Accent rail */
.phase-header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(
    to bottom,
    var(--accent),
    var(--secondary)
  );
}

/* Text hierarchy */
.phase-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phase-main {
  font-size: 0.85rem;
  letter-spacing: 3px;
  font-weight: 800;
  color: var(--accent);
}

.phase-sub {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.phase-dates {
	color:white;
  font-size: 0.85rem;
  opacity: 0.6;
  white-space: nowrap;
}

/* Hover feedback */
.phase-header:hover .phase-sub {
  color: var(--secondary);
}

/* ===============================
   OPEN STATE
================================ */
.roadmap-phase.open {
  border-color: rgba(35, 175, 110, 0.8);
  box-shadow:
    0 0 0 1px rgba(35,175,110,0.4),
    0 18px 48px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}

.roadmap-phase.open .phase-main {
  color: var(--secondary);
}

/* ===============================
   CONTENT ANIMATION
================================ */
.phase-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 28px;

  transition:
    max-height 0.7s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.45s ease;
}

.roadmap-phase.open .phase-content {
  max-height: 1600px;
  opacity: 1;
  padding: 28px;
}

/* ===============================
   IMAGE PLACEHOLDER
================================ */

.phase-image {
  height: 420px;
  border-radius: 12px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(240,193,75,0.08),
      rgba(240,193,75,0.08) 10px,
      rgba(35,175,110,0.08) 10px,
      rgba(35,175,110,0.08) 20px
    );
  border: 1px dashed rgba(240,193,75,0.35);
  margin-bottom: 22px;

  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  letter-spacing: 1px;
  overflow: hidden;
  color: rgba(255,255,255,0.4);

}


/*
.phase-image {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(0, 255, 150, 0.25);
  box-shadow: inset 0 0 30px rgba(0, 255, 150, 0.15);
}
*/

.phase-image-label {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #9dffb3;
  text-transform: uppercase;
}

/* ===============================
   LIST
================================ */
.phase-content ul {
  padding-left: 18px;
}

.phase-content li {
  margin-bottom: 12px;
  line-height: 1.6;
}


.roadmap-title {
text-align:center;
}
