/* ========================================
   ROADMAP VISUAL TIMELINE STYLES
   ======================================== */

.roadmap-visual-timeline {
  max-width: 1200px;
  margin: 60px auto;
  position: relative;
  padding: 40px 0;
}

/* Vertical Timeline Line */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, 
    #ffffff 0%, 
    #ffffff 16.66%, 
    #ffffff 16.66%, 
    #ffffff 33.33%, 
    rgba(100, 100, 100, 0.3) 33.33%, 
    rgba(100, 100, 100, 0.3) 100%
  );
  transform: translateX(-50%);
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Timeline Node Container */
.timeline-node {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
}

.timeline-node:last-child {
  margin-bottom: 0;
}

/* Node Marker (Circle in center) */
.node-marker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  border: 4px solid;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.timeline-node.completed .node-icon {
  background: linear-gradient(135deg, #ffffff, #0CD97D);
  border-color: #ffffff;
  color: #000;
  box-shadow: 0 0 30px rgba(20, 241, 149, 0.5);
}

.timeline-node.active .node-icon {
  background: linear-gradient(135deg, #ffffff, #cccccc);
  border-color: #ffffff;
  color: #000;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
  }
}

.timeline-node.upcoming .node-icon {
  background: linear-gradient(135deg, #2a2f4a, #1a1f3a);
  border-color: rgba(100, 100, 100, 0.5);
  color: #8A92B2;
  box-shadow: 0 0 20px rgba(100, 100, 100, 0.2);
}

/* Node Content Cards */
.node-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.node-content:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.timeline-node.completed .node-content:hover {
  border-color: rgba(20, 241, 149, 0.4);
  box-shadow: 0 20px 60px rgba(20, 241, 149, 0.2);
}

.timeline-node.active .node-content {
  border-color: rgba(255, 215, 0, 0.4);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.2);
}

.timeline-node.active .node-content:hover {
  border-color: rgba(255, 215, 0, 0.6);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3);
}

/* Content positioning - alternating sides */
.timeline-node .node-content {
  grid-column: 1;
}

.timeline-node .node-content.right {
  grid-column: 3;
}

/* Node Badge */
.node-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.node-badge.completed {
  background: rgba(20, 241, 149, 0.15);
  border: 1px solid rgba(20, 241, 149, 0.4);
  color: #ffffff;
}

.node-badge.active {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.6);
  color: #ffffff;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.node-badge:not(.completed):not(.active) {
  background: rgba(100, 100, 100, 0.15);
  border: 1px solid rgba(100, 100, 100, 0.3);
  color: #8A92B2;
}

/* Node Title & Subtitle */
.node-title {
  font-size: 2rem;
  color: #4dd4e4;
  margin-bottom: 8px;
  font-weight: 800;
}

.node-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Node Features List */
.node-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.node-features li {
  padding: 10px 0;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
}

.node-features li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: bold;
}

.timeline-node.completed .node-features li::before {
  content: "✓";
  color: #ffffff;
}

.timeline-node.active .node-features li::before {
  content: "▸";
  color: #ffffff;
}

.timeline-node.upcoming .node-features li::before {
  content: "○";
  color: #8A92B2;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

@media (max-width: 968px) {
  .timeline-line {
    left: 30px;
  }

  .timeline-node {
    grid-template-columns: auto 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .node-marker {
    grid-column: 1;
    grid-row: 1;
  }

  .node-content,
  .node-content.right {
    grid-column: 2;
    grid-row: 1;
  }

  .node-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .node-title {
    font-size: 1.5rem;
  }

  .node-subtitle {
    font-size: 1rem;
  }

  .node-content {
    padding: 20px;
  }
}

/* ========================================
   MULTI-CHAIN SECTION STYLES
   ======================================== */

.chain-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.chain-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.chain-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
