/* Download Page Styles */

.page-header {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    min-height: 280px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header-content {
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.page-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Download Section */
.download-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Download Cards */
.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.download-card {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.download-card.featured {
    border: 2px solid #667eea;
}

.download-card.featured::before {
    content: '推荐';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.download-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.download-card h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.version-info {
    color: #666;
    margin-bottom: 10px;
}

.version-info span {
    color: #667eea;
    font-weight: 600;
}

.download-desc {
    color: #777;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #666;
}

.download-stats i {
    color: #667eea;
    margin-right: 5px;
}

.btn-download {
    display: inline-block;
    padding: 14px 35px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-download:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.file-size {
    margin-top: 15px;
    color: #999;
    font-size: 0.85rem;
}

/* Features Section */
.download-features {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #333;
    margin-bottom: 50px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-item h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 12px;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
}

/* All Versions Table */
.all-versions {
    margin-bottom: 80px;
}

.versions-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.versions-table table {
    width: 100%;
    border-collapse: collapse;
}

.versions-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.versions-table th {
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
}

.versions-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.versions-table tbody tr:hover {
    background: #f8f9fa;
}

.versions-table i {
    margin-right: 8px;
    color: #667eea;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 20px;
}

/* System Requirements */
.system-requirements {
    margin-bottom: 60px;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.requirement-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.requirement-card h4 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #667eea;
}

.requirement-card h4 i {
    color: #667eea;
    margin-right: 10px;
}

.requirement-card ul {
    list-style: none;
    padding: 0;
}

.requirement-card li {
    padding: 10px 0;
    color: #666;
    line-height: 1.6;
    position: relative;
    padding-left: 25px;
}

.requirement-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
        min-height: 220px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .versions-table {
        overflow-x: auto;
    }
    
    .versions-table table {
        min-width: 600px;
    }
}
