/* ==================== 下载中心页面样式 ==================== */

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, #1a4d7e 0%, #1a4d7e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 下载分类导航 */
.download-nav-section {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.download-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.download-nav-btn {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-nav-btn:hover {
    border-color: #1a4d7e;
    color: #1a4d7e;
}

.download-nav-btn.active {
    background: #1a4d7e;
    border-color: #1a4d7e;
    color: #fff;
}

/* 下载内容区域 */
.download-content-section {
    padding: 60px 0;
    background: #fff;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.download-item {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #1a4d7e;
    box-shadow: 0 6px 20px rgba(26, 77, 126, 0.1);
    transform: translateY(-3px);
}

.download-item.hidden {
    display: none;
}

.download-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 20px;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.download-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.download-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.meta-item {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.meta-item::before {
    content: '•';
    margin-right: 8px;
    color: #ddd;
}

.meta-item:first-child::before {
    display: none;
}

.btn-download {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1a4d7e;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: #153d65;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 77, 126, 0.3);
}

.btn-download svg {
    width: 18px;
    height: 18px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state svg {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .download-nav {
        gap: 10px;
    }

    .download-nav-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .download-item {
        flex-direction: column;
        padding: 20px;
    }

    .download-icon {
        width: 50px;
        height: 50px;
    }

    .download-icon svg {
        width: 36px;
        height: 36px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
    }

    .download-meta {
        flex-direction: column;
        gap: 8px;
    }

    .meta-item::before {
        display: none;
    }
}
