/* 全屏视差Banner */
.parallax-banner {
    height: 100vh;
    background: linear-gradient(135deg, #00a4ff 0%, #0084ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-content {
    color: #fff;
    z-index: 2;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.banner-content p {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* 主要内容区布局 */
.career-content {
    display: flex;
    min-height: calc(100vh - 60px);
    background: #f5f7fa;
}

/* 左侧导航 */
.career-nav {
    width: 200px;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 60px;
    height: calc(100vh - 60px);
}

.career-nav ul {
    padding: 2rem 0;
}

.career-nav li {
    padding: 1rem 1.5rem;
}

.career-nav a {
    color: #666;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.career-nav li.active a {
    color: #00a4ff;
    font-weight: 600;
}

/* 右侧内容区 */
.career-main {
    flex: 1;
    padding: 2rem;
}

.content-section {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

/* 职业概览Tab */
.career-tabs {
    margin-top: 2rem;
}

.tab-headers {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    font-size: 1.1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.tab-btn.active {
    color: #00a4ff;
    border-bottom-color: #00a4ff;
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.salary-range {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.range-bar {
    flex: 1;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    position: relative;
}

.range-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    background: linear-gradient(90deg, #00a4ff, #0084ff);
    border-radius: 2px;
}

.market-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.stat {
    text-align: center;
}

.stat .value {
    font-size: 1.8rem;
    font-weight: 600;
    color: #00a4ff;
    display: block;
}

.stat .label {
    color: #666;
    margin-top: 0.5rem;
    display: block;
}

/* 技能树样式 */
.skills-tree {
    margin-top: 2rem;
}

.skill-level {
    margin-bottom: 2rem;
}

.level-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.level-header i {
    font-size: 1.5rem;
    color: #00a4ff;
}

.skill-items {
    display: grid;
    gap: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-name {
    width: 120px;
    font-weight: 500;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00a4ff, #0084ff);
    border-radius: 4px;
    transition: width 1s ease;
}

/* 学习路径时间轴 */
.learning-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-node {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.timeline-node::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.node-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.node-content::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: #fff;
    border: 2px solid #00a4ff;
    border-radius: 50%;
}

.node-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.node-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00a4ff;
}

.node-body {
    color: #666;
}

.duration {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    background: rgba(0,164,255,0.1);
    color: #00a4ff;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* 成功案例轮播 */
.success-slider {
    position: relative;
    margin-top: 2rem;
}

.slider-container {
    overflow: hidden;
}

.success-story {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.student-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.student-info p {
    color: #666;
}

.story-content {
    color: #666;
    font-style: italic;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-controls button:hover {
    background: #00a4ff;
    color: #fff;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .career-content {
        flex-direction: column;
    }
    
    .career-nav {
        width: 100%;
        height: auto;
        position: static;
    }
    
    .career-nav ul {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .career-nav li {
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content p {
        font-size: 1.2rem;
    }
} 