/* --- Roadmap Container --- */
.roadmap-container {
    max-width: 900px;
    width: 100%;
    margin-top: 100px;
    /* Space for navbar */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Phase Styles --- */
.phase {
    background: rgba(5, 11, 20, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    animation: fadeIn 2s ease-in-out forwards;
}

.phase:nth-of-type(1) {
    animation-delay: 0.2s;
}

.phase:nth-of-type(2) {
    animation-delay: 0.4s;
}

.phase:nth-of-type(3) {
    animation-delay: 0.6s;
}

.phase:nth-of-type(4) {
    animation-delay: 0.8s;
}

.phase:nth-of-type(5) {
    animation-delay: 1.0s;
}

.phase:hover {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.4);
}

.phase h2 {
    color: #00f3ff;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.phase-meta {
    font-size: 0.9rem;
    color: #aebbc9;
    margin-bottom: 20px;
    font-style: italic;
}

.phase-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 10px;
    border-radius: 5px;
    background: rgba(0, 243, 255, 0.02);
}

.status-icon {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #5d6d7e;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.status-icon.completed {
    border-color: #00f3ff;
    background-color: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.status-icon.completed::after {
    content: '✔';
    color: #00f3ff;
    font-size: 14px;
}

.status-icon.in-progress {
    border-color: #00f3ff;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    animation: pulse 1.5s infinite;
}

.status-icon.in-progress::after {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #00f3ff;
    border-radius: 50%;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(0, 243, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 243, 255, 0);
    }
}

.item-details h3 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.item-details p {
    font-size: 0.95rem;
    color: #aebbc9;
    margin-bottom: 0;
}

/* --- Mobile Tweaks --- */
@media (max-width: 600px) {
    .roadmap-container {
        margin-top: 80px;
    }

    .phase {
        padding: 20px;
    }
}