* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    line-height: 1.6;
    color: #333;
}

.roadmap-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #013220;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.roadmap-container {
    position: relative;
    width: 100%;
}

/* Desktop Layout - 2 rows */
@media (min-width: 768px) {
    .roadmap-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 60px 40px;
        padding: 40px 0;
        position: relative;
    }

    .stage:nth-child(1) { grid-column: 1; grid-row: 1; }
    .stage:nth-child(2) { grid-column: 2; grid-row: 1; }
    .stage:nth-child(3) { grid-column: 3; grid-row: 1; }
    .stage:nth-child(4) { grid-column: 4; grid-row: 1; }
    .stage:nth-child(5) { grid-column: 5; grid-row: 1; }
    .stage:nth-child(6) { grid-column: 6; grid-row: 1; }
    .stage:nth-child(7) { grid-column: 6; grid-row: 2; }
    .stage:nth-child(8) { grid-column: 5; grid-row: 2; }
    .stage:nth-child(9) { grid-column: 4; grid-row: 2; }
    .stage:nth-child(10) { grid-column: 3; grid-row: 2; }
    .stage:nth-child(11) { grid-column: 2; grid-row: 2; }

    /* SVG Path for desktop */
.path-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}
}

/* Mobile Layout - 2 columns zigzag */
@media (max-width: 767px) {
    .roadmap-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px 20px;
        padding: 40px 0;
        position: relative;
    }

    .stage:nth-child(odd) { grid-column: 1; }
    .stage:nth-child(even) { grid-column: 2; }

    .path-svg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        z-index: 1;
        overflow: visible;
    }
}

.stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.stage:nth-child(1) { animation-delay: 0.1s; }
.stage:nth-child(2) { animation-delay: 0.2s; }
.stage:nth-child(3) { animation-delay: 0.3s; }
.stage:nth-child(4) { animation-delay: 0.4s; }
.stage:nth-child(5) { animation-delay: 0.5s; }
.stage:nth-child(6) { animation-delay: 0.6s; }
.stage:nth-child(7) { animation-delay: 0.7s; }
.stage:nth-child(8) { animation-delay: 0.8s; }
.stage:nth-child(9) { animation-delay: 0.9s; }
.stage:nth-child(10) { animation-delay: 1s; }
.stage:nth-child(11) { animation-delay: 1.1s; }

.stage-node {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #013220, #016b38);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(1, 50, 32, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.stage-node:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(1, 50, 32, 0.4);
}

.stage.current .stage-node {
    background: linear-gradient(135deg, #016b38, #013220);
    animation: pulse 2s infinite;
}

.stage.upcoming .stage-node {
    background: #e0e0e0;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stage-label {
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #013220;
    max-width: 100px;
}

.stage.upcoming .stage-label {
    color: #999;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(1, 50, 32, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(1, 107, 56, 0.6);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .stage-node {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .stage-label {
        font-size: 0.8rem;
        max-width: 80px;
    }
    
    .roadmap-grid {
        gap: 30px 15px;
    }
}