/* ============================================
   Claritiq — Roadmap Page Styles
   ============================================ */

.roadmap-hero {
    padding: 160px 0 60px;
    text-align: center;
}

.roadmap-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.roadmap-hero .hero-sub {
    max-width: 560px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ---- Timeline ---- */

.roadmap {
    padding: 40px 0 100px;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
}

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

/* ---- Phase ---- */

.phase {
    position: relative;
    padding-left: 64px;
}

/* Dot on the timeline */
.phase::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid var(--border);
    background: var(--bg);
    z-index: 1;
}

.phase[data-status="building"]::before {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow), 0 0 24px var(--primary-glow);
}

.phase[data-status="planned"]::before {
    border-color: var(--accent);
    background: var(--bg);
}

.phase[data-status="future"]::before {
    border-color: var(--text-dim);
    background: var(--bg);
}

.phase-header {
    margin-bottom: 28px;
}

.phase-header h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.phase-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 600px;
}

/* ---- Phase Status Badge ---- */

.phase-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.status-building {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.status-planned {
    background: rgba(34, 211, 238, 0.1);
    color: var(--accent);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.status-future {
    background: rgba(90, 90, 114, 0.15);
    color: var(--text-dim);
    border: 1px solid rgba(90, 90, 114, 0.3);
}

/* ---- Feature List ---- */

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-category {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.feature-category h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.feature-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
}

/* ---- Feature Status Dot ---- */

.feature-status-dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.feature-status-dot.done {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.feature-status-dot.in-progress {
    background: var(--primary-light);
    box-shadow: 0 0 6px var(--primary-glow);
}

.feature-status-dot.planned {
    background: var(--text-dim);
}

.feature-name {
    font-size: 15px;
    color: var(--text);
    flex: 1;
}

/* ---- Feature Tags ---- */

.feature-tag {
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tag-core {
    background: rgba(99, 102, 241, 0.12);
    color: var(--primary-light);
}

.tag-new {
    background: rgba(34, 197, 94, 0.12);
    color: #4ade80;
}

/* ---- Responsive ---- */

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }

    .phase {
        padding-left: 48px;
    }

    .phase::before {
        left: 8px;
        width: 14px;
        height: 14px;
    }

    .phase-header h2 {
        font-size: 22px;
    }

    .feature-item {
        flex-wrap: wrap;
    }

    .feature-tag {
        margin-left: 20px;
    }
}
