/* ===== ROADMAP SECTION - FUTURISTA NEUROSEARCH STYLE ===== */
.neurosearch-roadmap {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #000000;
  padding: 120px 0;
  overflow: hidden;
}

/* Grid sutil de fondo */
.neurosearch-roadmap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.3;
  pointer-events: none;
}

.neurosearch-roadmap-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.neurosearch-roadmap-header {
  text-align: center;
  margin-bottom: 100px;
}

.neurosearch-roadmap-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(30, 30, 35, 0.9);
  border: 1px solid rgba(60, 60, 65, 0.5);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.neurosearch-roadmap-title {
  font-size: 3.2rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.neurosearch-roadmap-subtitle {
  font-size: 1rem;
  color: #888888;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Timeline */
.neurosearch-roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

/* Línea de conexión futurista */
.neurosearch-roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, 
    #ffffff 0%, 
    #ffffff 8.33%, 
    rgba(255, 255, 255, 0.3) 8.33%, 
    rgba(255, 255, 255, 0.3) 16.66%,
    #ffffff 16.66%,
    #ffffff 25%,
    rgba(255, 255, 255, 0.3) 25%,
    rgba(255, 255, 255, 0.3) 100%);
  z-index: 1;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Puntos de conexión en la línea */
.neurosearch-roadmap-timeline::after {
  content: '';
  position: absolute;
  top: 48px;
  left: 8%;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  z-index: 2;
}

/* Phase */
.neurosearch-roadmap-phase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Número de fase futurista */
.neurosearch-phase-number {
  width: 90px;
  height: 90px;
  background: rgba(30, 30, 35, 0.9);
  border: 2px solid rgba(60, 60, 65, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
  margin-bottom: 30px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
}

/* Anillo exterior animado */
.neurosearch-phase-number::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.neurosearch-phase-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.neurosearch-roadmap-phase:hover .neurosearch-phase-number::before,
.neurosearch-roadmap-phase:hover .neurosearch-phase-number::after {
  opacity: 1;
  animation: phase-ring-pulse 2s ease-in-out infinite;
}

@keyframes phase-ring-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Estado completado */
.neurosearch-roadmap-phase.completed .neurosearch-phase-number {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.neurosearch-roadmap-phase.completed .neurosearch-phase-number::before {
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

/* Estado activo */
.neurosearch-roadmap-phase.active .neurosearch-phase-number {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  animation: phase-active-pulse 2s ease-in-out infinite;
}

.neurosearch-roadmap-phase.active .neurosearch-phase-number::before {
  border-color: rgba(255, 255, 255, 0.5);
  opacity: 1;
  animation: phase-ring-pulse 2s ease-in-out infinite;
}

@keyframes phase-active-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.5);
  }
}

/* Card de fase */
.neurosearch-phase-card {
  background: rgba(30, 30, 35, 0.9);
  border: 1px solid rgba(60, 60, 65, 0.5);
  border-radius: 16px;
  padding: 32px 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Borde superior animado */
.neurosearch-phase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transition: left 0.6s ease;
}

.neurosearch-phase-card:hover::before {
  left: 100%;
}

.neurosearch-phase-card:hover {
  background: rgba(40, 40, 45, 0.95);
  border-color: rgba(80, 80, 85, 0.7);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.neurosearch-roadmap-phase.completed .neurosearch-phase-card {
  border-color: rgba(255, 255, 255, 0.3);
}

.neurosearch-roadmap-phase.active .neurosearch-phase-card {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* Status Badge */
.neurosearch-phase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(30, 30, 35, 0.9);
  border: 1px solid rgba(60, 60, 65, 0.5);
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.neurosearch-phase-status-badge.completed {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.neurosearch-phase-status-badge.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

.neurosearch-phase-status-badge.upcoming {
  background: rgba(30, 30, 35, 0.9);
  border-color: rgba(60, 60, 65, 0.5);
  color: rgba(255, 255, 255, 0.5);
}

.neurosearch-phase-status-badge i {
  font-size: 0.7rem;
}

/* Contenido de fase */
.neurosearch-phase-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.neurosearch-phase-period {
  font-size: 0.85rem;
  color: #888888;
  font-weight: 400;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.neurosearch-phase-description {
  font-size: 0.95rem;
  color: #888888;
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

/* Features */
.neurosearch-phase-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.neurosearch-phase-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(20, 20, 25, 0.5);
  border: 1px solid rgba(60, 60, 65, 0.3);
  transition: all 0.3s ease;
}

.neurosearch-phase-features li:hover {
  background: rgba(30, 30, 35, 0.7);
  border-color: rgba(80, 80, 85, 0.5);
  transform: translateX(4px);
}

.neurosearch-phase-features li i {
  font-size: 0.75rem;
  width: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.neurosearch-roadmap-phase.completed .neurosearch-phase-features li i {
  color: rgba(255, 255, 255, 0.8);
}

.neurosearch-roadmap-phase.active .neurosearch-phase-features li i.fa-spinner {
  color: rgba(255, 255, 255, 0.9);
}

.neurosearch-roadmap-phase .neurosearch-phase-features li i.fa-circle {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.4rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .neurosearch-roadmap-timeline {
    gap: 30px;
  }
}

@media (max-width: 1024px) {
  .neurosearch-roadmap-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .neurosearch-roadmap-timeline::before {
    display: none;
  }
  
  .neurosearch-roadmap-container {
    padding: 0 30px;
  }
  
  .neurosearch-roadmap-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .neurosearch-roadmap {
    padding: 80px 0;
  }

  .neurosearch-roadmap-container {
    padding: 0 24px;
  }

  .neurosearch-roadmap-header {
    margin-bottom: 60px;
  }
  
  .neurosearch-roadmap-title {
    font-size: 2.4rem;
  }
  
  .neurosearch-roadmap-subtitle {
    font-size: 0.9rem;
  }

  .neurosearch-roadmap-timeline {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .neurosearch-phase-number {
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    margin-bottom: 24px;
  }

  .neurosearch-phase-card {
    padding: 28px 24px;
  }

  .neurosearch-phase-title {
    font-size: 1.3rem;
  }

  .neurosearch-phase-description {
    font-size: 0.9rem;
  }

  .neurosearch-phase-features li {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .neurosearch-roadmap-title {
    font-size: 2rem;
  }
  
  .neurosearch-phase-number {
    width: 70px;
    height: 70px;
    font-size: 1.6rem;
  }
  
  .neurosearch-phase-card {
    padding: 24px 20px;
  }
}

