/* Блок процесса запуска */
.launch-section-area {
  padding: 80px 0;

  position: relative;
}

.launch-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 40px 0;
}

.timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.step-card {
  position: relative;
  border: 1px solid rgba(144, 43, 241, 0.3);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 20px 25px 30px;
  text-align: center;
  width: 100%;
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  transition: all 0.3s ease;
}

.step-badge {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(144, 43, 241, 0.5);
  margin: 0 auto 20px;
  white-space: nowrap;
}

.step-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(144, 43, 241, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.step-card:hover {
  border-color: rgba(144, 43, 241, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(144, 43, 241, 0.3);
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(144, 43, 241, 0.2) 0%, rgba(144, 43, 241, 0.1) 100%);
  border: 2px solid rgba(144, 43, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #902bf1;
  transition: all 0.3s ease;
}

.step-card:hover .step-icon {
  background: linear-gradient(135deg, #902bf1 0%, #b24fff 100%);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.step-card h3 {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-card p {
  position: relative;
  z-index: 1;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.timeline-connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(144, 43, 241, 0.3) 20%, rgba(144, 43, 241, 0.6) 50%, rgba(144, 43, 241, 0.3) 80%, transparent 100%);
  position: relative;
  z-index: 1;
  margin: 0 -15px;
  align-self: center;
  overflow: hidden;
}

.timeline-connector::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(144, 43, 241, 0.8) 50%, transparent 100%);
  animation: flow-line 3s ease-in-out infinite;
}

@keyframes flow-line {
  0% {
    left: -100%;
  }
  100% {
    left: 200%;
  }
}

.timeline-connector::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(144, 43, 241, 0.8);
  box-shadow: 0 0 10px rgba(144, 43, 241, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
  }
}

/* Адаптивность */
@media (max-width: 992px) {
  .launch-timeline {
    flex-direction: column;
    gap: 0;
  }

  .timeline-step {
    width: 100%;
    margin-bottom: 0;
  }

  .timeline-connector {
    flex: 0 0 auto;
    width: 2px;
    height: 50px;
    margin: 0 auto;
    background: linear-gradient(180deg, transparent 0%, rgba(144, 43, 241, 0.3) 20%, rgba(144, 43, 241, 0.6) 50%, rgba(144, 43, 241, 0.3) 80%, transparent 100%);
  }

  .timeline-connector::before {
    left: 0;
    top: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(144, 43, 241, 0.8) 50%, transparent 100%);
    animation: flow-line-vertical 3s ease-in-out infinite;
  }

  @keyframes flow-line-vertical {
    0% {
      top: -100%;
    }
    100% {
      top: 200%;
    }
  }

  .timeline-connector::after {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  
  .timeline-connector:last-child {
    display: none;
  }
}

@media (max-width: 768px) {
  .step-card {
    padding: 18px 20px 25px;
    height: 340px;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .step-badge {
    font-size: 11px;
    padding: 6px 16px;
    margin-bottom: 18px;
  }

  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
  }

  .step-card h3 {
    font-size: 16px;
  }

  .step-card p {
    font-size: 13px;
  }
}

@media (max-width: 430px) {
  .step-card {
    padding: 16px 18px 22px;
    height: 320px;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.08);
  }

  .step-badge {
    font-size: 10px;
    padding: 5px 14px;
    margin-bottom: 16px;
  }

  .step-icon {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }

  .step-card h3 {
    font-size: 15px;
  }
}
