\/* Roadmap Timeline Styles with Futuristic Circuit Board Background */
.roadmap-section {
    padding: 10rem 0;
    background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 70%);
    position: relative;
    overflow: hidden;
    min-height: 120vh;
}

/* Enhanced Parallax Layers - Core Structure */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* Motion-ready elements */
[data-motion] {
    will-change: transform, opacity;
}

/* Futuristic Circuit Board Background */
.circuit-board {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    opacity: 0.6;
    animation: circuitPulse 15s ease-in-out infinite;
}

.circuit-line {
    stroke: rgba(192, 192, 192, 0.3);
    stroke-width: 2;
    fill: none;
    animation: drawLine 3s ease-in-out infinite;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(192, 192, 192, 0.3));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: nodePulse 3s ease-in-out infinite;
}

.data-path {
    stroke: rgba(192, 192, 192, 0.4);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 20, 10;
    animation: energyFlow 8s linear infinite;
}

@keyframes circuitPulse {
    0%, 100% { 
        opacity: 0.4; 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.02) rotate(0.5deg);
    }
}

@keyframes drawLine {
    0% { 
        stroke-dasharray: 0, 1000;
        opacity: 0;
    }
    50% { 
        stroke-dasharray: 1000, 0;
        opacity: 1;
    }
    100% { 
        stroke-dasharray: 1000, 0;
        opacity: 0;
    }
}

@keyframes nodePulse {
    0%, 100% { 
        opacity: 0.6; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.5);
    }
}

@keyframes energyFlow {
    0% { stroke-dashoffset: 0; }
    100% { stroke-dashoffset: 30; }
}

/* Digital Grid */
.digital-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    background-image: 
        linear-gradient(rgba(192, 192, 192, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(192, 192, 192, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    animation: gridShift 30s ease-in-out infinite;
}

@keyframes gridShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-20px) translateY(-10px); }
    50% { transform: translateX(15px) translateY(-20px); }
    75% { transform: translateX(-10px) translateY(15px); }
}

/* Data Particles */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(192, 192, 192, 0.3));
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateX(100px) translateY(-50px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateX(50px) translateY(-100px) scale(0.8);
        opacity: 0.8;
    }
    75% { 
        transform: translateX(-30px) translateY(-70px) scale(1.1);
        opacity: 0.9;
    }
}

/* Holographic Overlay */
.holographic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(192, 192, 192, 0.1) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(192, 192, 192, 0.1) 100%);
    opacity: 0.3;
    animation: hologramScan 8s linear infinite;
}

@keyframes hologramScan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

/* Energy Flow */
.energy-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.energy-line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%);
    animation: energyBeam 4s linear infinite;
}

@keyframes energyBeam {
    0% { 
        transform: translateY(-100%);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateY(100%);
        opacity: 0;
    }
}

.roadmap-container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.roadmap-container .section-title {
    padding-top: 1em;
}

/* Enhanced Title */
.roadmap-title {
    text-align: center;
    margin-bottom: 10rem;
    position: relative;
    padding-top: 10rem;
}

.title-glow {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #e0e0e0 25%, 
        #c0c0c0 50%, 
        #a9a9a9 75%, 
        #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.3));
    animation: titlePulse 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes titlePulse {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(192, 192, 192, 0.3)); 
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(192, 192, 192, 0.6)); 
        transform: scale(1.02);
    }
}

.title-underline {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(192, 192, 192, 0.3), 
        rgba(255, 255, 255, 0.8), 
        rgba(192, 192, 192, 0.3), 
        transparent);
    border-radius: 2px;
    animation: underlineGlow 3s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(192, 192, 192, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.6); }
}

.roadmap-timeline {
    position: relative;
    padding-left: 200px; /* Space for the timeline spine */
    margin-top: 4rem; /* Space from title */
}

.timeline-line {
    position: absolute;
    left: 100px; /* Position the spine to the left */
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(192, 192, 192, 0.1),
        rgba(192, 192, 192, 0.3) 50%,
        rgba(192, 192, 192, 0.1));
    z-index: 2;
}

.timeline-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6), 
        rgba(192, 192, 192, 0.3), 
        transparent);
    border-radius: 2px;
    animation: pulseMove 6s linear infinite;
    z-index: -1;
}

@keyframes pulseMove {
    0% { transform: translateY(-40px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(calc(100vh + 40px)); opacity: 0; }
}

.timeline-milestone {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.milestone-dot {
    position: absolute;
    left: -100px; /* Align with the spine */
    width: 20px;
    height: 20px;
    z-index: 3;
    transition: all 0.3s ease;
}

.milestone-label {
    position: absolute;
    left: -180px; /* Position labels to the left of the spine */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: rgba(192, 192, 192, 0.8);
    z-index: 3;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    background: rgba(35, 37, 38, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
}

.milestone-card {
    flex: 1;
    background: rgba(35, 37, 38, 0.8);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    z-index: 4;
    transition: all 0.3s ease;
    border: 1px solid rgba(192, 192, 192, 0.2);
    backdrop-filter: blur(10px);
}

/* Card glow effect */
.card-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, 
        rgba(192, 192, 192, 0.15), 
        rgba(169, 169, 169, 0.1), 
        rgba(192, 192, 192, 0.15));
    border-radius: 25px;
    opacity: 0;
    transition: all 0.4s ease;
    filter: blur(20px);
    z-index: -1;
}

.milestone-card:hover .card-glow,
.milestone-card.active .card-glow {
    opacity: 0.5;
    transform: scale(1.05);
}

.active-glow {
    opacity: 0.5;
    transform: scale(1.05);
}

/* Enhanced hover effects */
.timeline-milestone:hover .milestone-label {
    left: -160px; /* Move label closer to the card on hover */
    color: rgba(255, 255, 255, 0.9);
    background: rgba(35, 37, 38, 0.9);
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.2);
}

.timeline-milestone:hover .milestone-card {
    transform: translateX(-10px) translateY(-5px) scale(1.02); /* Move card slightly towards the label */
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(192, 192, 192, 0.2);
    border-color: rgba(192, 192, 192, 0.4);
}

.timeline-milestone:hover .milestone-dot {
    transform: scale(1.3);
}

.timeline-milestone:hover .milestone-dot .dot-core {
    background: radial-gradient(circle, #c0c0c0, #ffffff);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
}

/* Active milestone indicator */
.milestone-card.active {
    border-color: rgba(192, 192, 192, 0.4);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(192, 192, 192, 0.2);
}

.milestone-card.active .dot-core {
    background: radial-gradient(circle, #c0c0c0, #ffffff);
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.8);
}

/* Dot styles */
.dot-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(192, 192, 192, 0.4);
    border-radius: 50%;
    animation: ringPulse 2s ease-in-out infinite;
}

.dot-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #c0c0c0, #ffffff);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.6);
    transition: all 0.3s ease;
}

@keyframes ringPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.3;
    }
}

/* Typography */
.milestone-card h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.highlight {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9), 
        rgba(192, 192, 192, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.milestone-card p {
    color: #c0c0c0;
    line-height: 1.8;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(192, 192, 192, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(192, 192, 192, 0.6), 
        rgba(255, 255, 255, 0.8), 
        rgba(192, 192, 192, 0.6));
    border-radius: 3px;
    transition: width 1s ease;
    position: relative;
}

.active-progress {
    background: linear-gradient(90deg, 
        rgba(192, 192, 192, 0.6), 
        rgba(255, 255, 255, 0.8), 
        rgba(192, 192, 192, 0.6));
    animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Motion States */
.motion-hidden {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(5px);
}

.motion-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Connection lines from dots to cards */
.timeline-milestone:nth-child(odd) .milestone-card::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.5), transparent);
    transform: translateY(-50%);
}

.timeline-milestone:nth-child(even) .milestone-card::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    width: 15px;
    height: 2px;
    background: linear-gradient(270deg, rgba(192, 192, 192, 0.5), transparent);
    transform: translateY(-50%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .roadmap-timeline {
        padding-left: 100px;
    }
    
    .timeline-line {
        left: 50px;
    }
    
    .milestone-dot {
        left: -50px;
    }
    
    .milestone-label {
        left: -90px;
        font-size: 1rem;
        padding: 0.3rem 0.8rem;
    }
    
    .milestone-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .roadmap-container {
        padding: 0 1rem;
    }
    
    .milestone-card {
        padding: 1.5rem;
        width: calc(100% - 3rem);
        margin: 2rem 0 0 3rem;
    }
    
    .milestone-card h3 {
        font-size: 1.125rem;
    }
    
    .milestone-card p {
        font-size: 0.875rem;
    }

    .title-glow {
        font-size: 2rem;
    }
}