/* 下载页面专用样式 */

/* 下载页面英雄区域 */
.download-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.download-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.download-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.download-description {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* 版本选择区域 */
.version-selection {
    padding: 80px 0;
    background: #f8fafc;
}

.version-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.version-card.featured {
    border-color: #007AFF;
    transform: scale(1.02);
}

.version-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: #007AFF;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.version-header {
    text-align: center;
    margin-bottom: 30px;
}

.version-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 8px;
}

.version-header p {
    color: #64748b;
    font-size: 1rem;
}

.version-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.version-features li {
    padding: 8px 0;
    color: #475569;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.version-price {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
}

.period {
    color: #64748b;
    font-size: 1rem;
    margin-left: 5px;
}

.btn-download {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* 下载统计 */
.download-stats {
    padding: 80px 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #007AFF;
    margin-bottom: 10px;
}

.stat-label {
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 500;
}

/* 系统要求 */
.system-requirements {
    padding: 80px 0;
    background: #f8fafc;
}

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

.requirement-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.requirement-card:hover {
    transform: translateY(-3px);
}

.requirement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.requirement-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 20px;
}

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

.requirement-card li {
    padding: 8px 0;
    color: #475569;
    font-size: 1rem;
}

/* 用户评价 */
.user-reviews {
    padding: 80px 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-3px);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #007AFF;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: #1a202c;
}

.author-title {
    color: #64748b;
    font-size: 0.9rem;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #007AFF;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 30px 24px;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .download-hero {
        padding: 80px 0 60px;
    }
    
    .download-title {
        font-size: 2.5rem;
    }
    
    .download-description {
        font-size: 1.1rem;
    }
    
    .version-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .version-card {
        padding: 30px 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .download-hero {
        padding: 60px 0 40px;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.version-card,
.stat-card,
.requirement-card,
.review-card {
    animation: fadeInUp 0.6s ease forwards;
}

.version-card:nth-child(1) { animation-delay: 0.1s; }
.version-card:nth-child(2) { animation-delay: 0.2s; }
.version-card:nth-child(3) { animation-delay: 0.3s; }

/* 下载按钮动画 */
.btn-download {
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-download:hover::before {
    left: 100%;
}

/* 统计数字动画 */
.stat-number {
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    color: #0056b3;
}

/* 版本卡片特殊样式 */
.version-card.featured {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.version-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007AFF, #0056b3);
    border-radius: 16px 16px 0 0;
}

/* 简化下载区域样式 */
.simple-download-section {
    padding: 80px 0;
    background: white;
}

.download-button-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.btn-large {
    font-size: 1.5rem;
    padding: 20px 60px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
}

.btn-download-main {
    background: linear-gradient(135deg, #007AFF, #0056b3);
    color: white;
    border: none;
    cursor: pointer;
}

.btn-download-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
}

.btn-download-main:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.download-note {
    color: #64748b;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .btn-large {
        font-size: 1.3rem;
        padding: 18px 40px;
        width: 90%;
        max-width: 300px;
    }
    
    .simple-download-section {
        padding: 60px 0;
    }
    
    .download-note {
        font-size: 1rem;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .btn-large {
        font-size: 1.2rem;
        padding: 16px 30px;
        width: 100%;
    }
    
    .simple-download-section {
        padding: 40px 20px;
    }
}