/* 课程页面样式 */

.courses-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.courses-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.courses-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.course-categories {
    padding: 30px 0;
    background: #f8f9fa;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.tab-btn:hover,
.tab-btn.active {
    background: #667eea;
    color: white;
}

.course-list {
    padding: 40px 0;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.course-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-ops {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.category-dev {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.category-sales {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.category-badge {
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.lock-icon {
    font-size: 20px;
}

.course-body {
    padding: 20px;
}

.course-body h3 {
    margin-bottom: 10px;
    color: #333;
}

.course-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 14px;
}

.course-footer {
    padding: 20px;
    border-top: 1px solid #eee;
}

.certification-info {
    padding: 60px 0;
    background: #f8f9fa;
}

.certification-info h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #667eea;
}

.cert-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.cert-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.cert-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.cert-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.cert-card p {
    color: #666;
    margin-bottom: 20px;
}

.cert-features {
    list-style: none;
    text-align: left;
}

.cert-features li {
    padding: 8px 0;
    color: #666;
}
