/* ========== 下载页面样式 ========== */

/* 下载 Hero 区域 */
.download-hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235, 39, 41, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.download-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(235, 39, 41, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.download-hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.download-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(235, 39, 41, 0.1);
    border: 1px solid rgba(235, 39, 41, 0.2);
    color: #EB2729;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.download-badge svg {
    width: 16px;
    height: 16px;
}

.download-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.download-hero-title .highlight {
    background: linear-gradient(135deg, #EB2729 0%, #ff5252 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-hero-subtitle {
    font-size: 18px;
    color: #999999;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 主下载卡片 */
.download-main-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.download-version {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(235, 39, 41, 0.1);
    color: #EB2729;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-version svg {
    width: 14px;
    height: 14px;
}

.download-product-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.download-product-desc {
    font-size: 15px;
    color: #888888;
    margin-bottom: 32px;
    line-height: 1.6;
}

.download-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 320px;
    padding: 18px 32px;
    background: linear-gradient(135deg, #EB2729 0%, #c41e20 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    text-decoration: none;
}

.download-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(235, 39, 41, 0.35);
}

.download-btn-main svg {
    width: 22px;
    height: 22px;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666666;
}

.download-meta-item svg {
    width: 16px;
    height: 16px;
    color: #EB2729;
}

/* 系统要求 */
.system-requirements {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.system-title {
    font-size: 14px;
    color: #666666;
    margin-bottom: 12px;
}

.system-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.system-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: #888888;
}

.system-icon svg {
    width: 16px;
    height: 16px;
}

/* 历史版本区域 */
.history-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fafb 0%, #ffffff 100%);
}

.history-header {
    text-align: center;
    margin-bottom: 40px;
}

.history-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.history-header p {
    font-size: 15px;
    color: #666666;
}

.history-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.history-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-toggle:hover {
    border-color: #EB2729;
}

.history-toggle.active {
    border-color: #EB2729;
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.history-toggle-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
}

.history-toggle-text svg {
    width: 20px;
    height: 20px;
    color: #EB2729;
}

.history-toggle-icon {
    width: 24px;
    height: 24px;
    color: #888888;
    transition: transform 0.3s ease;
}

.history-toggle.active .history-toggle-icon {
    transform: rotate(180deg);
}

.history-content {
    display: none;
    background: #ffffff;
    border: 1px solid #EB2729;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.history-content.show {
    display: block;
}

.history-list {
    list-style: none;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background: #f8fafb;
}

.history-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.history-item-version {
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

.history-item-tag {
    font-size: 11px;
    color: #888888;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
}

.history-item-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #555555;
    transition: all 0.2s ease;
    text-decoration: none;
}

.history-item-btn:hover {
    border-color: #EB2729;
    color: #EB2729;
}

.history-item-btn svg {
    width: 14px;
    height: 14px;
}

/* 提示区域 */
.tips-section {
    padding: 60px 0 80px;
    background: #ffffff;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tip-card {
    text-align: center;
    padding: 28px 24px;
    background: #f8fafb;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.tip-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(235, 39, 41, 0.1) 0%, rgba(235, 39, 41, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.tip-icon svg {
    width: 24px;
    height: 24px;
    color: #EB2729;
}

.tip-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.tip-desc {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
}

/* 响应式 */
@media (max-width: 768px) {
    .download-hero {
        padding: 60px 0 40px;
    }

    .download-hero-title {
        font-size: 32px;
    }

    .download-hero-subtitle {
        font-size: 16px;
    }

    .download-main-card {
        padding: 36px 24px;
    }

    .download-product-name {
        font-size: 24px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    .history-section {
        padding: 60px 0;
    }

    .history-header h2 {
        font-size: 24px;
    }

    .history-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .history-item-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .download-hero-title {
        font-size: 26px;
    }

    .download-meta {
        flex-direction: column;
        gap: 12px;
    }
}
