/* Modern Roadmap Styles */
.roadmap-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
    padding-top: 180px !important;
}

@media (max-width: 991px) {
    .roadmap-hero {
        padding-top: 140px !important;
    }
}

@media (max-width: 767px) {
    .roadmap-hero {
        padding-top: 120px !important;
    }
}

.roadmap-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.roadmap-hero .container {
    position: relative;
    z-index: 1;
}

.roadmap-hero h1,
.roadmap-hero p,
.roadmap-hero span {
    color: white !important;
}

.roadmap-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding-top: 80px;
    padding-bottom: 60px;
}

@media (max-width: 767px) {
    .roadmap-section {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.year-marker {
    text-align: center;
    margin: 60px 0 40px;
    position: relative;
    z-index: 2;
}

.year-marker .year-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
    position: relative;
}

.year-marker .year-badge::before,
.year-marker .year-badge::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, #667eea);
    top: 50%;
    transform: translateY(-50%);
}

.year-marker .year-badge::before {
    right: 100%;
    margin-right: 20px;
}

.year-marker .year-badge::after {
    left: 100%;
    margin-left: 20px;
    background: linear-gradient(to left, transparent, #667eea);
}

.timeline-item {
    padding: 0 60px;
    position: relative;
    background-color: inherit;
    width: 50%;
    margin-bottom: 30px;
    animation: fadeInUp 0.6s ease-out backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }

.timeline-item::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background: white;
    border: 4px solid #667eea;
    top: 20px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    background: #667eea;
    box-shadow: 0 0 0 8px rgba(102, 126, 234, 0.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.right::before {
    left: -12px;
}

.milestone-card {
    padding: 24px 28px;
    background: white;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.milestone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    border-radius: 12px 0 0 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.milestone-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.milestone-card:hover::before {
    opacity: 1;
}

.milestone-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    margin-bottom: 12px;
    color: white;
    font-size: 18px;
}

.milestone-card .title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    line-height: 1.5;
    margin: 0;
}

.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-top: 60px;
}

.stat-card-roadmap {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card-roadmap:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-card-roadmap .number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.stat-card-roadmap .label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item::before {
        left: 19px;
        right: auto;
    }

    .right {
        left: 0%;
    }

    .year-marker .year-badge::before,
    .year-marker .year-badge::after {
        display: none;
    }

    .year-marker .year-badge {
        font-size: 18px;
        padding: 10px 30px;
    }
}