/* 下载页面样式 */

/* ===== Hero 区域 ===== */
.download-hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236c63ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.download-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    position: relative;
    z-index: 1;
}

.download-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
}

.download-actions {
    position: relative;
    z-index: 1;
}

.btn-github {
    background: #333;
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-github:hover {
    background: #24292e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* ===== 统计数据区域 ===== */
.stats-section {
    padding: 80px 0;
    background: white;
}

.stats-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
}

/* ===== 项目特性区域 ===== */
.features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

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

/* ===== 安装指南区域 ===== */
.installation-section {
    padding: 80px 0;
    background: white;
}

.installation-steps {
    position: relative;
}

.installation-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    height: 100%;
    width: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-card {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    position: relative;
    z-index: 2;
}

.step-content {
    flex: 1;
    padding-top: 10px;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.command-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--brand-primary);
}

.command-box code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #333;
    flex: 1;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    color: var(--brand-primary);
}

/* ===== CTA 区域 ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.cta-section .btn-primary {
    background: white;
    color: var(--brand-primary);
    border: none;
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.cta-section .btn-outline-primary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ===== 复制通知 ===== */
.copy-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.copy-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* ===== 响应式设计 ===== */
@media (max-width: 767.98px) {
    .download-title,
    .section-title,
    .cta-title {
        font-size: 2rem;
    }
    
    .download-subtitle,
    .section-subtitle,
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .step-number {
        flex: 0 0 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-title {
        font-size: 1.2rem;
    }
    
    .command-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .command-box code {
        margin-bottom: 0.5rem;
        word-break: break-all;
    }
    
    .copy-btn {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .installation-steps::before {
        left: 25px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .download-hero {
        padding: 70px 0;
    }
    
    .stats-section,
    .features-section,
    .installation-section {
        padding: 60px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}