/* Axencia.co — How We Deliver: World-Class Flexbox & Responsive */

.roadmap-section {
  padding: 120px 24px 100px;
  overflow: hidden;
}

.roadmap-section .section-header {
  margin-bottom: 64px;
}

.roadmap-section .section-header h2 {
  margin-top: 20px;
  margin-bottom: 16px;
}

.roadmap-section .section-header p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 8px;
}

/* Fix: roadmap-live overrides section-tag — no duplicate dot */
.roadmap-live.section-tag::before {
  display: none;
}

.roadmap-live {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  animation: roadmapLivePulse 3s ease-in-out infinite;
  position: relative;
  padding-left: 20px;
}

.roadmap-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: roadmapDotPulse 2s ease-in-out infinite;
}

@keyframes roadmapLivePulse {
  0%, 100% { border-color: rgba(34, 197, 94, 0.35); box-shadow: 0 0 0 rgba(34, 197, 94, 0); }
  50% { border-color: rgba(34, 197, 94, 0.6); box-shadow: 0 0 20px rgba(34, 197, 94, 0.15); }
}

@keyframes roadmapDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); box-shadow: 0 0 12px rgba(34, 197, 94, 0.8); }
}

/* Flexbox grid — auto-adjusting */
.roadmap-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.roadmap-step {
  flex: 1 1 320px;
  min-width: 280px;
  max-width: 380px;
  display: flex;
  animation: roadmapStepReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.roadmap-step:nth-child(1) { animation-delay: 0.05s; }
.roadmap-step:nth-child(2) { animation-delay: 0.1s; }
.roadmap-step:nth-child(3) { animation-delay: 0.15s; }
.roadmap-step:nth-child(4) { animation-delay: 0.2s; }
.roadmap-step:nth-child(5) { animation-delay: 0.25s; }
.roadmap-step:nth-child(6) { animation-delay: 0.3s; }

@keyframes roadmapStepReveal {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.roadmap-step-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  padding: 36px 32px;
  background: rgba(15, 23, 42, 0.65);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.18);
  border-radius: 20px;
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roadmap-step:hover .roadmap-step-inner {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 60px rgba(59, 130, 246, 0.08);
}

.roadmap-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(6, 182, 212, 0.1));
  border: 1px solid rgba(59, 130, 246, 0.25);
  transition: all 0.4s ease;
}

.roadmap-icon svg {
  width: 26px;
  height: 26px;
  color: #93c5fd;
}

.roadmap-step:hover .roadmap-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(6, 182, 212, 0.2));
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.roadmap-step:hover .roadmap-icon svg {
  color: #60a5fa;
}

.roadmap-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e8e8ed;
  line-height: 1.3;
}

.roadmap-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.roadmap-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.roadmap-details li {
  font-size: 0.9rem;
  color: rgba(148, 163, 184, 0.9);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(59, 130, 246, 0.06);
}

.roadmap-details li:last-child {
  border-bottom: none;
}

.roadmap-details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  border-radius: 50%;
  opacity: 0.8;
}

.roadmap-step:hover .roadmap-details li {
  color: rgba(148, 163, 184, 1);
}

.roadmap-clients {
  text-align: center;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.roadmap-clients p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tablet: 2 columns */
@media (max-width: 1024px) {
  .roadmap-section { padding: 100px 24px 88px; }
  .roadmap-grid {
    gap: 20px;
    padding: 0 8px;
  }
  .roadmap-step {
    flex: 1 1 280px;
    min-width: 260px;
    max-width: none;
  }
  .roadmap-step-inner {
    padding: 32px 28px;
  }
  .roadmap-details li {
    font-size: 0.85rem;
    padding: 6px 0;
    padding-left: 20px;
  }
}

/* Mobile: 1 column, full width */
@media (max-width: 768px) {
  .roadmap-section { padding: 80px 20px 72px; }
  .roadmap-section .section-header { margin-bottom: 48px; }
  .roadmap-grid {
    flex-direction: column;
    gap: 20px;
    padding: 0;
  }
  .roadmap-step {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }
  .roadmap-step-inner {
    padding: 28px 24px;
  }
  .roadmap-step h3 {
    font-size: 1.2rem;
  }
  .roadmap-desc {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .roadmap-details li {
    font-size: 0.85rem;
    padding: 8px 0;
    padding-left: 22px;
  }
  .roadmap-clients {
    margin-top: 48px;
    padding-top: 32px;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .roadmap-section { padding: 64px 16px 64px; }
  .roadmap-step-inner {
    padding: 24px 20px;
  }
  .roadmap-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .roadmap-icon svg {
    width: 22px;
    height: 22px;
  }
}
