/* 软件下载页面样式 */

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

.download-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.download-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 82, 204, 0.2);
}

.download-card.featured {
    border: 3px solid var(--primary-blue);
    transform: scale(1.05);
}

.download-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.download-card.web-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
}

.download-card.web-card h3,
.download-card.web-card .version,
.download-card.web-card .requirement {
    color: white;
}

.download-card.web-card .btn-primary {
    background-color: white;
    color: var(--primary-blue);
}

.download-card.web-card .btn-primary:hover {
    background-color: var(--light-blue);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--warning-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.platform-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.platform-icon img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
}

.download-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.version {
    font-size: 14px;
    color: var(--success-green);
    font-weight: 600;
    margin-bottom: 5px;
}

.requirement {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.platform-features span {
    font-size: 13px;
    color: var(--text-gray);
}

.download-card.web-card .platform-features {
    border-color: rgba(255, 255, 255, 0.3);
}

.download-card.web-card .platform-features span {
    color: rgba(255, 255, 255, 0.9);
}

.download-card .btn {
    width: 100%;
    margin-bottom: 20px;
}

.qr-download {
    margin-top: 20px;
}

.qr-download img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin: 0 auto 10px;
}

.qr-download p {
    font-size: 12px;
    color: var(--text-gray);
}

.file-size {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 10px;
}

/* 功能亮点 */
.features-highlight {
    padding: 80px 0;
}

.highlight-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 50px;
}

.highlight-item.reverse {
    flex-direction: row-reverse;
}

.highlight-image {
    flex: 1;
}

.highlight-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    flex: 1;
}

.highlight-content h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.highlight-content p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* 版本更新日志 */
.changelog-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.changelog-list {
    max-width: 900px;
    margin: 0 auto;
}

.changelog-item {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    transition: transform 0.3s;
}

.changelog-item:hover {
    transform: translateX(10px);
}

.version-tag {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    height: fit-content;
    white-space: nowrap;
}

.changelog-content {
    flex: 1;
}

.changelog-date {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.changelog-content h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.changelog-content ul {
    list-style: none;
}

.changelog-content ul li {
    padding: 8px 0;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-card.featured {
        transform: scale(1);
        grid-column: 1 / -1;
    }

    .highlight-item,
    .highlight-item.reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 30px;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 30px 20px;
    }

    .highlight-content h3 {
        font-size: 22px;
    }

    .changelog-item {
        flex-direction: column;
        gap: 20px;
    }

    .version-tag {
        width: fit-content;
    }
}

