/* Career Roadmap Page */

/* Hero */
.roadmap-hero {
    padding: 0 20px 48px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.roadmap-hero .container {
    max-width: 800px;
}
.roadmap-hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
    color: var(--text-main);
}
.roadmap-hero p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* Career Selector */
.selector-section {
    padding: 0 20px 56px;
}
.selector-section .container {
    max-width: 1100px;
}
.selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.selector-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 20px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 18px;
    cursor: pointer;
    font-family: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
.selector-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}
.selector-card.active {
    border-color: var(--primary);
    background: #eef4ff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12), 0 10px 28px rgba(0, 102, 255, 0.10);
    transform: translateY(-2px);
}
.selector-card.active .selector-icon {
    background: var(--primary);
    color: white;
}
.selector-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: background 0.25s ease, color 0.25s ease;
}
.selector-icon svg {
    width: 24px;
    height: 24px;
}
.selector-desc {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.4;
    margin-top: -4px;
}
.selector-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    line-height: 1.3;
}
.selector-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.selector-badge.badge-high {
    background: #ecfdf5;
    color: #059669;
}
.selector-badge.badge-medium {
    background: #fffbeb;
    color: #d97706;
}

/* Default State */
.default-state {
    text-align: center;
    padding: 24px 20px 80px;
}
.default-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    border: 1px solid var(--border-color);
}
.default-state-icon svg {
    opacity: 0.5;
}
.default-state h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
}
.default-state p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Roadmap Section */
.roadmap-section {
    padding: 0 20px 100px;
}
.roadmap-section .container {
    animation: fadeSlideIn 0.5s ease;
}
@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.roadmap-header {
    text-align: center;
    margin-bottom: 64px;
}
.roadmap-header h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 8px;
    color: var(--text-main);
}
.roadmap-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Timeline */
.roadmap-timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding-left: 48px;
}
.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--border-color) 100%);
    border-radius: 3px;
}

/* Step */
.roadmap-step {
    position: relative;
    margin-bottom: 48px;
    opacity: 0;
    transform: translateY(16px);
    animation: stepReveal 0.45s ease forwards;
}
.roadmap-step:nth-child(1) { animation-delay: 0.05s; }
.roadmap-step:nth-child(2) { animation-delay: 0.12s; }
.roadmap-step:nth-child(3) { animation-delay: 0.19s; }
.roadmap-step:nth-child(4) { animation-delay: 0.26s; }
.roadmap-step:nth-child(5) { animation-delay: 0.33s; }
.roadmap-step:nth-child(6) { animation-delay: 0.40s; }

@keyframes stepReveal {
    to { opacity: 1; transform: translateY(0); }
}

.roadmap-step:last-child {
    margin-bottom: 0;
}
.step-dot {
    position: absolute;
    left: -48px;
    top: 2px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.25);
}
.step-number {
    font-size: 15px;
    font-weight: 700;
    color: white;
}
.step-content {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease;
}
.step-content:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 8px;
}
.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
}
.step-priority {
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}
.priority-essential {
    background: #ecfdf5;
    color: #059669;
}
.priority-recommended {
    background: #eff6ff;
    color: #2563eb;
}
.priority-optional {
    background: #fefce8;
    color: #ca8a04;
}
.step-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}
.step-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.skill-tag {
    padding: 5px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-accent);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}
.step-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}
.step-duration svg {
    color: var(--primary);
}

/* Roadmap CTA */
.roadmap-cta {
    text-align: center;
    margin-top: 72px;
    padding: 64px 40px;
    background: var(--bg-accent);
    border-radius: 28px;
    border: 1px solid var(--border-color);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.roadmap-cta h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}
.roadmap-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Responsive */
@media (max-width: 1024px) {
    .selector-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}
@media (max-width: 768px) {
    .roadmap-hero {
        padding: 12px 20px 40px;
    }
    .roadmap-hero h1 {
        font-size: 40px;
    }
    .roadmap-hero p {
        font-size: 17px;
    }
    .selector-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .roadmap-timeline {
        padding-left: 40px;
    }
    .roadmap-timeline::before {
        left: 19px;
    }
    .step-dot {
        left: -40px;
        width: 38px;
        height: 38px;
    }
    .step-content {
        padding: 24px;
    }
    .roadmap-cta {
        padding: 48px 24px;
    }
}
@media (max-width: 480px) {
    .selector-grid {
        grid-template-columns: 1fr;
    }
}
