/* Roadmap Section */
.roadmap-section {
    position: relative;
    padding: 100px 0;
    background: #0a0b16;
    overflow: hidden;
    z-index: 1;
}

.roadmap-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    z-index: 2;
}

.phase-card {
    background: rgba(30, 33, 58, 0.6);
    border: 1px solid rgba(74, 108, 247, 0.2);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.phase-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.phase-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(74, 108, 247, 0.4);
}

.phase-header {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.phase-number {
    position: absolute;
    top: -15px;
    right: 0;
    background: linear-gradient(135deg, #4a6cf7, #6c63ff);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.phase-card h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(90deg, #fff, #b8c1ec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.phase-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.phase-features li {
    color: #b8c1ec;
    font-size: 15px;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
}

.phase-features i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #4a6cf7;
    font-size: 16px;
}

.phase-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.phase-status.active {
    background: rgba(74, 108, 247, 0.2);
    color: #4a6cf7;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: #4a6cf7;
    border-radius: 50%;
    margin-left: 8px;
    position: relative;
}

.status-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #4a6cf7;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.7;
}

.phase-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(74, 108, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.phase-card:hover .phase-glow {
    opacity: 1;
}

/* Animated Background Elements */
.roadmap-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

#roadmap-particle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(74, 108, 247, 0.1) 0%, rgba(74, 108, 247, 0) 70%);
    top: 10%;
    right: 5%;
    animation: float 15s ease-in-out infinite;
}

#roadmap-particle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
    bottom: 15%;
    left: 8%;
    animation: float 20s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    70% { transform: scale(3); opacity: 0; }
    100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .roadmap-container {
        padding: 30px 15px;
    }
    
    .phase-card {
        padding: 25px 20px;
    }
    
    .phase-card h3 {
        font-size: 22px;
    }
    
    .phase-features li {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .roadmap-section {
        padding: 80px 0;
    }
    
    .phase-card {
        padding: 20px 15px;
    }
    
    .phase-card h3 {
        font-size: 20px;
    }
    
    .phase-features li {
        padding-left: 25px;
    }
}
