/* 下载中心样式 */
.download-page {
    padding-top: 100px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    min-height: 100vh;
}

/* 下载页面容器约束 */
.download-page > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 50px;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0066ff, #00c6ff);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* 下载区块 */
.download-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.title-icon {
    font-size: 1.8rem;
}

/* 卡片网格 */
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    max-width: 100%;
}

.tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 下载卡片 */
.download-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    box-sizing: border-box;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.15);
}

.card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    max-width: 100%;
}

.app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.app-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

.app-info .version,
.app-info .support,
.app-info .update-time {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 4px;
}

.app-info .desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.app-info .note {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* 下载按钮 */
.card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-download .icon {
    font-size: 1.2rem;
}

.btn-download.android {
    background: #4CAF50;
    color: white;
}

.btn-download.android:hover {
    background: #45a049;
    transform: translateY(-2px);
}

.btn-download.ios {
    background: #1a1a2e;
    color: white;
}

.btn-download.ios:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-download.windows {
    background: #0066ff;
    color: white;
}

.btn-download.windows:hover {
    background: #0052cc;
    transform: translateY(-2px);
}

.btn-download.primary {
    background: linear-gradient(135deg, #0066ff, #00c6ff);
    color: white;
    padding: 12px 30px;
}

.btn-download.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

/* 列表式下载项 */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
}

.download-item {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.download-item:hover {
    box-shadow: 0 8px 30px rgba(0, 102, 255, 0.12);
}

.item-info {
    flex: 1;
    max-width: 100%;
    overflow-wrap: break-word;
    min-width: 0;
}

.item-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.item-info .desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.item-info .meta {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    max-width: 100%;
}

.item-info .meta span {
    font-size: 0.85rem;
    color: #888;
    background: #f5f7fa;
    padding: 4px 12px;
    border-radius: 20px;
}

.update-content {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 100%;
    box-sizing: border-box;
}

.update-content strong {
    color: #1a1a2e;
    font-size: 0.9rem;
}

.update-content ol {
    margin: 8px 0 0 20px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.8;
}

.tutorials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    max-width: 100%;
}

.tutorials span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.tutorials a {
    font-size: 0.85rem;
    color: #0066ff;
    text-decoration: none;
    padding: 4px 12px;
    border: 1px solid #0066ff;
    border-radius: 20px;
    transition: all 0.3s;
}

.tutorials a:hover {
    background: #0066ff;
    color: white;
}

.item-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
    min-width: 120px;
}

.tutorial-link {
    font-size: 0.9rem;
    color: #0066ff;
    text-decoration: none;
    transition: color 0.3s;
}

.tutorial-link:hover {
    color: #0052cc;
    text-decoration: underline;
}

/* 工具卡片 */
.tool-card {
    padding: 25px;
}

.tool-card .app-icon {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-grid {

/* 导航栏激活状态 */
.nav-menu a.active {
    color: #0066ff;
    font-weight: 600;
}
