/* Roadmap Page Styles */

/* Hero */
.roadmap-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.roadmap-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.roadmap-hero p {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

.roadmap-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #93c5fd;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.roadmap-status-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(59, 130, 246, 0); }
}

/* Timeline */
.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-left: 72px;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline node */
.timeline-node {
    position: absolute;
    left: 16px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid var(--color-border);
    background: var(--color-bg);
    z-index: 1;
}

.timeline-item.completed .timeline-node {
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.timeline-item.completed .timeline-node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

.timeline-item.current .timeline-node {
    border-color: var(--color-primary);
    background: var(--color-primary);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2), 0 0 20px rgba(59, 130, 246, 0.3);
}

.timeline-item.planned .timeline-node {
    border-color: var(--color-text-muted);
    background: transparent;
}

/* Quarter header */
.timeline-quarter {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.quarter-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.timeline-item.completed .quarter-label {
    color: var(--color-accent);
}

.timeline-item.current .quarter-label {
    color: var(--color-primary);
}

.quarter-status {
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 500;
}

.timeline-item.completed .quarter-status {
    background: rgba(16, 185, 129, 0.15);
    color: #6ee7b7;
}

.timeline-item.current .quarter-status {
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
}

.timeline-item.planned .quarter-status {
    background: rgba(102, 102, 102, 0.15);
    color: var(--color-text-muted);
}

/* Card */
.timeline-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
}

.timeline-item.current .timeline-card {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
}

.timeline-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.timeline-card > p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Features list inside card */
.timeline-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

.timeline-features li {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--color-bg-tertiary);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

/* Milestones for current quarter */
.milestones {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.milestone {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.milestone-marker {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.milestone-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.milestone-content p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.milestone-date {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* BYOAI Section */
.byoai-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

.byoai-section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.byoai-section > p {
    text-align: center;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
}

.byoai-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.comparison-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
}

.comparison-card.old {
    opacity: 0.7;
}

.comparison-card.new {
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.08);
}

.comparison-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comparison-card.old h3 {
    color: var(--color-text-muted);
}

.comparison-card.new h3 {
    color: var(--color-primary);
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comparison-list li {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.comparison-card.old .comparison-list li::before {
    content: '\00D7';
    position: absolute;
    left: 0;
    color: var(--color-accent-red);
    font-weight: 700;
}

.comparison-card.new .comparison-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* CTA */
.roadmap-cta {
    text-align: center;
    padding: 0 24px 80px;
}

.roadmap-cta .cta-box {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px 32px;
}

.roadmap-cta .cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.roadmap-cta .cta-box p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .roadmap-hero h1 {
        font-size: 2rem;
    }

    .roadmap-hero p {
        font-size: 1rem;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-node {
        left: 8px;
        width: 24px;
        height: 24px;
    }

    .timeline-item {
        padding-left: 56px;
    }

    .timeline-card {
        padding: 16px;
    }

    .milestone {
        padding: 12px;
    }

    .byoai-comparison {
        grid-template-columns: 1fr;
    }

    .roadmap-cta .cta-box {
        padding: 32px 20px;
    }
}
