/* Roadmap Timeline Styles */

.roadmap-hero {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: var(--light-bg-color);
}

.roadmap-hero h1 {
    font-size: var(--font-size-heading-1);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.roadmap-tagline {
    font-size: var(--font-size-large);
    max-width: 700px;
    margin: 0 auto 1rem;
    color: var(--text-color);
}

.roadmap-disclaimer {
    font-size: var(--font-size-normal);
    max-width: 600px;
    margin: 0 auto;
    color: #888;
    font-style: italic;
}

/* Timeline */
.roadmap-timeline {
    padding: 3rem 2rem 4rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0.825rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--bg-color);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.marker-icon {
    font-size: 1.2rem;
    line-height: 1;
}

/* Phase-specific marker colors */
.phase-live .timeline-marker {
    border-color: var(--success-color);
    background: #e8f5e9;
}

.phase-progress .timeline-marker {
    border-color: var(--accent-color);
    background: #fff8e1;
}

.phase-soon .timeline-marker {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.phase-future .timeline-marker {
    border-color: #9e9e9e;
    background: #f5f5f5;
}

.timeline-content {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.phase-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.badge-live {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-progress {
    background: #fff8e1;
    color: #f57f17;
}

.badge-soon {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-future {
    background: #f5f5f5;
    color: #616161;
}

.timeline-content h2 {
    font-size: var(--font-size-heading-3);
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.timeline-content p {
    font-size: var(--font-size-normal);
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.phase-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.4rem;
    font-size: var(--font-size-normal);
    color: var(--text-color);
}

.phase-features li::before {
    content: '•';
    position: absolute;
    left: 0.25rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Suggest Section */
.roadmap-suggest {
    padding: 3rem 2rem 4rem;
    background: var(--light-bg-color);
    text-align: center;
}

.roadmap-suggest h2 {
    font-size: var(--font-size-heading-2);
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.roadmap-suggest p {
    font-size: var(--font-size-large);
    max-width: 650px;
    margin: 0 auto 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

.suggest-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Active nav link */
.main-nav a.active {
    color: var(--accent-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item {
        padding-left: 3.5rem;
    }

    .timeline-marker {
        left: 0.7rem;
        width: 2rem;
        height: 2rem;
    }

    .timeline-content {
        padding: 1.25rem 1.25rem;
    }

    .roadmap-hero {
        padding: 3rem 1rem 1.5rem;
    }

    .roadmap-timeline {
        padding: 2rem 1rem 3rem;
    }

    .roadmap-suggest {
        padding: 2rem 1rem 3rem;
    }
}

/* High Contrast */
body.high-contrast .timeline-content {
    border-width: 2px;
}

body.high-contrast .phase-badge {
    border: 2px solid var(--text-color);
}

body.high-contrast .badge-live {
    background: var(--bg-color);
    color: var(--text-color);
}

body.high-contrast .badge-progress {
    background: var(--bg-color);
    color: var(--text-color);
}

body.high-contrast .badge-soon {
    background: var(--bg-color);
    color: var(--text-color);
}

body.high-contrast .badge-future {
    background: var(--bg-color);
    color: var(--text-color);
}
