/* ========================================
   ROADMAP بسيط وأنيق
======================================== */
#track {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 90%, #1a0d2e 100%, #0f0f23 100%);
    position: relative;
    overflow: hidden;
}

#track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(153, 18, 230, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(122, 15, 179, 0.08) 0%, transparent 20%);
    z-index: 0;
}

/* Header */
.track-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #9912E6, #7a0fb3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}


.section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.update-time {
    color: #9912E6;
    font-weight: 700;
    font-family: monospace;
}

/* Timeline */
.timeline {
    max-width: 1000px;
    margin: 0 auto 80px;
    position: relative;
    z-index: 2;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #9912E6, #7a0fb3);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(153, 18, 230, 0.4);
}

.timeline-item {
    display: flex;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Timeline Dots */
.timeline-dot {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    font-size: 1.5rem;
    color: #9912E6;
    border: 3px solid rgba(153, 18, 230, 0.3);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(153, 18, 230, 0.6);
}

.timeline-dot i {
    font-size: 1.8rem;
}

.final-dot {
    background: linear-gradient(135deg, #FFD700, #ffed4a);
    color: #333;
    border-color: rgba(255, 215, 0, 0.5);
    animation: goldPulse 2s infinite;
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 35px rgba(255, 215, 0, 0.8); }
}

/* Timeline Content */
.timeline-content {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    flex: 1;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(153, 18, 230, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(153, 18, 230, 0.2);
}

.final-content {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 237, 74, 0.05));
    border-color: rgba(255, 215, 0, 0.3);
}

/* Stage Header */
.stage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stage-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #9912E6, #7a0fb3);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(153, 18, 230, 0.4);
}

.final-number {
    background: linear-gradient(135deg, #FFD700, #ffed4a);
    color: #333;
}

.stage-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.stage-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-tag {
    background: rgba(153, 18, 230, 0.2);
    color: #9912E6;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(153, 18, 230, 0.3);
}

.final-tag {
    background: linear-gradient(135deg, #FFD700, #ffed4a);
    color: #333;
    border-color: rgba(255, 215, 0, 0.4);
}

/* Content */
.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.stage-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stage-stats span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.stage-stats i {
    color: #9912E6;
    width: 16px;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.features-list li {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list i {
    color: #9912E6;
    width: 16px;
    font-size: 0.9rem;
}

/* Progress Bar */
.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9912E6, #7a0fb3);
    border-radius: 3px;
    transition: width 2s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.final-features {
    display: flex;
    gap: 20px;
    font-size: 1.1rem;
    color: #FFD700;
    font-weight: 700;
    margin-top: 15px;
    justify-content: center;
}

.final-features i {
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

/* Footer */
.track-footer {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(153, 18, 230, 0.15);
    border-color: rgba(153, 18, 230, 0.3);
    color: #9912E6;
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 1.5rem;
    color: #9912E6;
    width: 24px;
}

.stat-item strong {
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
}

.stat-item.highlight {
    background: rgba(153, 18, 230, 0.15);
    border-color: rgba(153, 18, 230, 0.4);
    color: #9912E6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #9912E6, #7a0fb3);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(153, 18, 230, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(153, 18, 230, 0.5);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button i {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-dot {
        margin-right: 0;
        margin-bottom: 25px;
        order: 2;
    }
    
    .stage-header {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }
    
    .stage-header h3 {
        order: 1;
    }
    
    .stage-date, .status-tag {
        order: 2;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .stats-grid .stat-item {
        width: 280px;
    }
}

@media (max-width: 480px) {
    #track {
        padding: 60px 0;
    }
    
    .timeline-content {
        padding: 25px 20px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .stage-header h3 {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

/* Active Animations */
.timeline-item.completed .timeline-dot {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: white;
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5); 
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 35px rgba(0, 255, 136, 0.8); 
        transform: scale(1.05);
    }
}

/* Loading Animation for Progress */
@keyframes progressLoad {
    from { width: 0%; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}