/* ══════════════════════════════════════════════
   ROADMAP PAGE — roadmap.css
══════════════════════════════════════════════ */

/* Hero */
.roadmap-hero {
    padding: 100px 0 56px;
    text-align: center;
    background:
        radial-gradient(ellipse at 30% 0%, rgba(0,255,136,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 0%, rgba(0,170,255,0.10) 0%, transparent 50%);
}

.roadmap-hero-badge {
    margin-bottom: 1.2rem;
}

.chip-accent {
    background: rgba(0,255,136,0.15);
    border: 1px solid rgba(0,255,136,0.4);
    color: var(--accent-color);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.roadmap-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text-bright);
    text-transform: none;
}

.roadmap-hero-accent {
    color: var(--accent-color);
    display: inline-block;
}

.roadmap-hero-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Sticky level tabs bar */
.roadmap-level-bar {
    position: sticky;
    top: 68px;
    z-index: 90;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,255,136,0.12);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.level-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0.25rem 0;
}

.level-tabs::-webkit-scrollbar { display: none; }

.level-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.55rem 1.1rem;
    min-width: 96px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255,255,255,0.03);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.level-tab:hover {
    background: rgba(255,255,255,0.07);
    color: var(--text-color);
    border-color: rgba(0,255,136,0.2);
}

.level-tab.active {
    background: rgba(0,255,136,0.1);
    border-color: rgba(0,255,136,0.55);
    color: var(--accent-color);
    box-shadow: 0 0 14px rgba(0,255,136,0.12);
}

.level-tab-emoji {
    font-size: 1.25rem;
    line-height: 1;
}

.level-tab-name {
    font-weight: 600;
    font-size: 0.88rem;
}

.level-tab-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* Content panels */
.roadmap-content-area {
    padding-top: 1rem;
    padding-bottom: 3rem;
}

.roadmap-level-panel {
    display: none;
}

.roadmap-level-panel.active {
    display: block;
    animation: fadeInPanel 0.25s ease;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.roadmap-level-header {
    margin-bottom: 1.5rem;
}

.roadmap-level-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    text-transform: none;
}

.roadmap-quote-pill {
    display: inline-block;
    background: rgba(0,255,136,0.08);
    border: 1px solid rgba(0,255,136,0.25);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 100%;
}

/* Accordion */
.roadmap-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.roadmap-topic-card {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    background: rgba(17,17,17,0.7);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.roadmap-topic-card:hover {
    border-color: rgba(0,255,136,0.2);
}

.roadmap-topic-card.open {
    border-color: rgba(0,255,136,0.35);
    background: rgba(17,17,17,0.95);
}

.roadmap-topic-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.4rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: inherit;
    transition: background 0.2s ease;
}

.roadmap-topic-toggle:hover {
    background: rgba(255,255,255,0.03);
}

.roadmap-topic-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.roadmap-topic-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0,255,136,0.1);
    border: 1px solid rgba(0,255,136,0.25);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-mono, monospace);
}

.roadmap-topic-info {
    flex: 1;
}

.roadmap-topic-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin: 0 0 0.2rem;
    text-transform: none;
}

.roadmap-topic-sub {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.roadmap-topic-badges {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.badge-level,
.badge-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 500;
}

.badge-beginner {
    background: rgba(0,200,100,0.12);
    color: #00c864;
    border: 1px solid rgba(0,200,100,0.3);
}

.badge-intermediate {
    background: rgba(0,136,255,0.12);
    color: #3399ff;
    border: 1px solid rgba(0,136,255,0.3);
}

.badge-advanced {
    background: rgba(255,80,80,0.12);
    color: #ff8080;
    border: 1px solid rgba(255,80,80,0.3);
}

.badge-duration {
    background: rgba(255,255,255,0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
}

.roadmap-topic-chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.roadmap-topic-card.open .roadmap-topic-chevron {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.roadmap-topic-body {
    padding: 0 1.4rem 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.roadmap-subtopic-list {
    list-style: none;
    padding: 0.75rem 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.roadmap-subtopic-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.roadmap-subtopic-item:last-child {
    border-bottom: none;
}

.subtopic-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.6;
}

/* ── Community section ── */
.community-section {
    padding: 3rem 0 4rem;
    background: radial-gradient(ellipse at 50% 100%, rgba(0,255,136,0.07) 0%, transparent 60%);
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 3rem;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.community-card {
    background: rgba(17,17,17,0.85);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.community-card:hover {
    border-color: rgba(0,255,136,0.3);
    transform: translateY(-2px);
}

.community-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.community-icon-blue {
    background: rgba(66,103,212,0.15);
    color: #4267d4;
    border: 1px solid rgba(66,103,212,0.3);
}

.community-icon-purple {
    background: rgba(114,137,218,0.15);
    color: #7289da;
    border: 1px solid rgba(114,137,218,0.3);
}

.community-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.community-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright);
    text-transform: none;
    margin: 0;
}

.community-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 0.5rem;
}

.btn-community {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent-color);
    color: #000 !important;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    border-radius: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-community:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 700px) {
    .roadmap-hero {
        padding: 88px 0 36px;
    }

    .level-tab {
        min-width: 80px;
        padding: 0.45rem 0.75rem;
    }

    .roadmap-topic-toggle {
        padding: 0.9rem 1rem;
    }

    .roadmap-topic-body {
        padding: 0 1rem 1rem;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }
}

/* ── CI/CD Pipeline section (index.html) ── */
.cicd-section {
    padding: 3.5rem 0;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(0,170,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 50%, rgba(0,255,136,0.07) 0%, transparent 50%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin: 2.5rem 0;
}

.cicd-title {
    text-transform: none;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.cicd-gradient-text {
    background: linear-gradient(90deg, #00ffaa, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cicd-pipeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cicd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    border: 2px solid rgba(255,255,255,0.08);
    background: rgba(17,17,17,0.7);
    min-width: 90px;
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.cicd-step:hover {
    border-color: rgba(0,255,136,0.3);
    transform: scale(1.04);
}

.cicd-step-active {
    border-color: rgba(0,255,136,0.5);
    background: rgba(0,255,136,0.08);
    box-shadow: 0 0 18px rgba(0,255,136,0.1);
}

.cicd-step-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.cicd-step-label strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-bright);
}

.cicd-step-label small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.cicd-arrow {
    color: rgba(0,255,136,0.5);
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .cicd-pipeline {
        gap: 0.35rem;
    }

    .cicd-step {
        min-width: 72px;
        padding: 0.75rem 0.6rem;
    }

    .cicd-arrow {
        font-size: 1rem;
    }
}

