/* Roadmap Styles - Neon Ocean Theme */
.roadmap-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
}

.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    margin-top: 50px;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    background: linear-gradient(to bottom, #00ffff, #b490ff);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    z-index: 1;
}

.roadmap-phase.shimmer-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding: 30px;
    border-radius: 15px;
    background: rgba(10, 10, 30, 0.7);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.3);
    width: 45%;
    margin: 0 auto;
    overflow: hidden;
}

.roadmap-phase.shimmer-card:nth-child(odd) {
    margin-right: 55%;
}

.roadmap-phase.shimmer-card:nth-child(even) {
    margin-left: 55%;
}


.roadmap-phase.shimmer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
}

.roadmap-phase.active {
    border-left: 4px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.roadmap-phase::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00ffff, #b490ff);
    border-radius: 50%;
    top: 60px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8);
    z-index: 2;
}

.roadmap-phase.shimmer-card:nth-child(odd)::after {
    right: -50px;
}

.roadmap-phase.shimmer-card:nth-child(even)::after {
    left: -50px;
}

.roadmap-phase.shimmer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    animation: shimmer 3s infinite;
}

.roadmap-phase.shimmer-card:nth-child(odd)::before {
    animation-delay: 0.5s;
}

.phase-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phase-icon.pulse-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    background: rgba(5, 5, 16, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    z-index: 1;
    animation: pulse-icon 2s infinite alternate;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.phase-icon.pulse-icon img {
    width: 70%;
    height: 70%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

.phase-title {
    flex: 1;
}

.phase-title h3.neon-cyan {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
}

.phase-title h3.neon-purple {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #b490ff;
    text-shadow: 0 0 10px rgba(180, 144, 255, 0.8);
    font-family: var(--font-heading);
    font-weight: 700;
}

.phase-badge.glow-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(5, 5, 16, 0.8);
    color: #e0f7ff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.roadmap-phase:hover .phase-badge.glow-badge {
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border-color: rgba(0, 255, 255, 0.6);
}

.phase-content {
    padding: 0;
}

.phase-list {
    list-style: none;
}

.phase-list li {
    margin-bottom: 12px;
    position: relative;
    padding: 8px 15px;
    background: rgba(5, 5, 16, 0.5);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.phase-list li:hover {
    background: rgba(5, 5, 16, 0.7);
    transform: translateX(5px);
}

.check-icon, .progress-icon, .todo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 0.9rem;
}

.check-icon {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.progress-icon {
    background: rgba(255, 170, 0, 0.2);
    color: #ffaa00;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.todo-icon {
    background: rgba(65, 145, 248, 0.2);
    color: #4191f8;
    box-shadow: 0 0 10px rgba(65, 145, 248, 0.3);
}

.phase-list li.completed {
    color: #e0f7ff;
    border-left: 3px solid #00ff88;
}

.phase-list li.in-progress {
    color: #e0f7ff;
    border-left: 3px solid #ffaa00;
}

.phase-list li:not(.completed):not(.in-progress) {
    color: var(--text-dim);
    border-left: 3px solid transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .roadmap-container::before {
        left: 30px;
        transform: none;
    }
    
    .roadmap-phase.shimmer-card {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
    
    .roadmap-phase::after {
        left: -40px !important;
        right: auto !important;
    }
    
    .phase-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .phase-icon.pulse-icon {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .roadmap-phase.shimmer-card {
        padding: 20px;
    }
    
    .phase-title h3.neon-cyan,
    .phase-title h3.neon-purple {
        font-size: 1.3rem;
    }
    
    .phase-list li {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}
