/* 软件下载页 - 参考 Coze.cn 风格：清晰价值主张、大标题、功能卡片网格、现代简约 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.download-page {
    min-height: 100vh;
    background: #ffffff;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Hero 主视觉 - 全宽渐变 + 网格背景 */
.download-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px 80px;
    overflow: hidden;
}

.download-hero-bg {
    position: absolute;
    inset: 0;
}

.download-hero-mesh {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, #1d4ed8 0%, #2563eb 25%, #4f46e5 50%, #6366f1 100%);
    opacity: 0.97;
}

.download-hero-mesh::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
}

.download-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.download-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.download-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.download-hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 36px;
}

.download-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.download-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s;
}

.download-hero-btn-primary {
    background: #fff;
    color: #2563eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.download-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #f8fafc;
}

.download-hero-btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.download-hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

/* 核心能力 - 功能卡片网格 */
.download-features {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 24px 80px;
}

.download-features-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 48px;
}

.download-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.download-feature-card {
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.25s;
}

.download-feature-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 12px 32px -8px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.download-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.download-feature-icon i {
    font-size: 22px;
    color: #3b82f6;
}

.download-feature-title {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

.download-feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

/* 下载区域 */
.download-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 100px;
}

.download-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 12px;
}

.download-section-desc {
    font-size: 16px;
    color: #64748b;
    text-align: center;
    margin-bottom: 40px;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.download-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 36px 32px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.download-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 20px 40px -12px rgba(59, 130, 246, 0.35);
    transform: translateY(-6px);
}

.download-card-badge {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.download-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #1d4ed8 0%, #4f46e5 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-card-icon i {
    font-size: 32px;
    color: #fff;
}

.download-card-body {
    flex: 1;
    min-width: 0;
}

.download-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.download-card-desc {
    font-size: 14px;
    color: #64748b;
}

.download-card-arrow {
    font-size: 20px;
    color: #94a3b8;
    transition: transform 0.3s;
}

.download-card:hover .download-card-arrow {
    color: #3b82f6;
    transform: translateX(4px);
}

/* 底部 */
.download-footer {
    padding: 32px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.download-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

.download-footer-link {
    color: #3b82f6;
    text-decoration: none;
}

.download-footer-link:hover {
    text-decoration: underline;
}

.download-footer-sep {
    margin: 0 12px;
    color: #cbd5e1;
}

/* 响应式 */
@media screen and (max-width: 900px) {
    .download-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-hero-title {
        font-size: 32px;
    }
}

@media screen and (max-width: 640px) {
    .download-hero {
        min-height: 420px;
        padding: 100px 20px 60px;
    }

    .download-hero-title {
        font-size: 28px;
    }

    .download-hero-desc {
        font-size: 16px;
    }

    .download-hero-ctas {
        flex-direction: column;
    }

    .download-hero-btn {
        justify-content: center;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    .download-features {
        padding: 48px 20px 60px;
    }

    .download-features-title {
        font-size: 24px;
        margin-bottom: 32px;
    }

    .download-features-grid {
        grid-template-columns: 1fr;
    }

    .download-cards {
        grid-template-columns: 1fr;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .download-card-arrow {
        transform: rotate(90deg);
    }

    .download-card:hover .download-card-arrow {
        transform: rotate(90deg) translateY(4px);
    }
}
