/* Roadmap Specific Styles */

.roadmap-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #4F46E5 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.roadmap-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.roadmap-hero p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.roadmap-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

/* Timeline Controls */
.timeline-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.timeline-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-btn:hover {
    border-color: #4F46E5;
    color: #4F46E5;
    background: rgba(79, 70, 229, 0.05);
}

.timeline-btn.active {
    background: #4F46E5;
    color: white;
    border-color: #4F46E5;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

/* Visual Timeline */
.timeline-visual {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4F46E5 0%, #10B981 100%);
}

.timeline-phase {
    position: relative;
    margin-bottom: 4rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.timeline-phase.hidden {
    display: none;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
}

.marker-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 4px solid white;
}

.marker-circle.completed {
    background: #10B981;
    animation: pulse-green 2s ease-in-out infinite;
}

.marker-circle.in-progress {
    background: #F59E0B;
    animation: pulse-yellow 2s ease-in-out infinite;
}

.marker-circle.upcoming {
    background: #9CA3AF;
}

@keyframes pulse-green {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

@keyframes pulse-yellow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(245, 158, 11, 0.6);
    }
}

.marker-label {
    font-weight: 700;
    color: #4F46E5;
    font-size: 1.2rem;
}

/* Phase Card */
.phase-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.timeline-phase:nth-child(odd) .phase-card {
    direction: rtl;
}

.timeline-phase:nth-child(odd) .phase-card > * {
    direction: ltr;
}

.phase-header {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-top: 4px solid;
}

.phase-header.completed {
    border-top-color: #10B981;
}

.phase-header.in-progress {
    border-top-color: #F59E0B;
}

.phase-header.upcoming {
    border-top-color: #9CA3AF;
}

.phase-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.phase-date {
    display: block;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.phase-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.phase-header.completed .phase-status {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.phase-header.in-progress .phase-status {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.phase-header.upcoming .phase-status {
    background: rgba(156, 163, 175, 0.1);
    color: #9CA3AF;
}

.phase-description {
    color: #666;
    margin-bottom: 0;
}

/* Milestones */
.phase-content {
    padding: 2rem;
}

.milestones {
    list-style: none;
    padding: 0;
    margin: 0;
}

.milestone {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.milestone i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.milestone.completed i {
    color: #10B981;
}

.milestone.in-progress i {
    color: #F59E0B;
    animation: spin 2s linear infinite;
}

.milestone.upcoming i {
    color: #9CA3AF;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.milestone-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.milestone-text strong {
    color: #1a1a1a;
    font-size: 1.05rem;
}

.milestone-text small {
    color: #888;
    font-size: 0.9rem;
}

/* Milestones Summary */
.milestones-summary {
    padding: 6rem 0;
    background: white;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.summary-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4F46E5 0%, #10B981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.summary-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.summary-date {
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.summary-card p {
    color: #666;
    line-height: 1.7;
}

/* Tokenomics Timeline */
.tokenomics-timeline {
    padding: 6rem 0;
    background: #f8f9fa;
}

.release-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.release-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #4F46E5;
}

.release-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.release-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.release-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.release-percentage {
    font-size: 2rem;
    font-weight: 800;
    color: #4F46E5;
}

.release-amount {
    color: #666;
    font-weight: 600;
}

.release-schedule {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.release-progress {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4F46E5, #10B981);
    transition: width 1s ease;
}

.release-progress small {
    color: #888;
    font-size: 0.85rem;
}

/* Goals Section */
.goals-section {
    padding: 6rem 0;
    background: white;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.goal-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.goal-card:hover {
    transform: translateY(-5px);
    border-color: #4F46E5;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.15);
}

.goal-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.goal-metric {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.goal-current {
    font-size: 2rem;
    font-weight: 800;
    color: #666;
}

.goal-target {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4F46E5;
}

.goal-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-marker {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .marker-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .phase-card {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .timeline-phase:nth-child(odd) .phase-card {
        direction: ltr;
    }
    
    .phase-header {
        margin-left: 100px;
    }
    
    .phase-content {
        margin-left: 100px;
    }
}

@media (max-width: 768px) {
    .roadmap-hero h1 {
        font-size: 2.5rem;
    }
    
    .timeline-controls {
        flex-direction: column;
    }
    
    .timeline-btn {
        width: 100%;
        justify-content: center;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .marker-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .phase-header,
    .phase-content {
        margin-left: 80px;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .release-cards {
        grid-template-columns: 1fr;
    }
}