/* 芒果浏览器下载页面样式 */

.download-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.download-header {
    text-align: center;
    margin-bottom: 60px;
}

.download-header h2 {
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: bold;
}

.download-header p {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 25px;
}

.version-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.version-info span {
    background: #f8f9fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.current-version {
    background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(247,147,30,0.1)) !important;
    color: #ff6b35 !important;
    border: 1px solid rgba(255,107,53,0.3);
}

/* 平台下载区域 */
.download-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.platform-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.platform-card.featured {
    border-color: #ff6b35;
    background: linear-gradient(135deg, rgba(255,107,53,0.05), rgba(247,147,30,0.05));
}

.platform-card.featured::before {
    content: "推荐";
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    position: relative;
}

.platform-icon.windows {
    background: linear-gradient(135deg, #0078d4, #106ebe);
}

.platform-icon.mac {
    background: linear-gradient(135deg, #007aff, #5856d6);
}

.platform-icon.android {
    background: linear-gradient(135deg, #3ddc84, #00c851);
}

.platform-icon.ios {
    background: linear-gradient(135deg, #007aff, #5ac8fa);
}

.platform-info h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
}

.platform-desc {
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.6;
}

.platform-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.platform-specs span {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    color: #666;
    width: fit-content;
}

.platform-features {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.platform-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.download-btn.primary {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.download-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.4);
}

.download-btn.secondary {
    background: white;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.download-btn.secondary:hover {
    background: #ff6b35;
    color: white;
}

.download-info {
    text-align: center;
    font-size: 12px;
    color: #ff6b35;
    font-weight: 500;
    margin-top: 8px;
}

/* 功能亮点 */
.features-highlight {
    margin-bottom: 80px;
}

.features-highlight h3 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: bold;
}

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

.feature-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.feature-item h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* 安装指南 */
.installation-guide {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 80px;
}

.installation-guide h3 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: center;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.guide-tab {
    padding: 12px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.guide-tab:hover,
.guide-tab.active {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-color: #ff6b35;
    transform: translateY(-2px);
}

.guide-content {
    display: none;
}

.guide-content.active {
    display: block;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* 系统要求 */
.system-requirements {
    margin-bottom: 80px;
}

.system-requirements h3 {
    text-align: center;
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 50px;
    font-weight: bold;
}

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

.requirement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.requirement-card h4 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

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

.requirement-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #7f8c8d;
    line-height: 1.5;
}

.requirement-card li:last-child {
    border-bottom: none;
}

.requirement-card li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-header h2 {
        font-size: 32px;
    }
    
    .version-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .download-platforms {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .platform-card {
        padding: 25px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .installation-guide {
        padding: 25px;
    }
    
    .guide-tabs {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}