/* 下载页面特定样式 */

/* 导航栏 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0066cc;
}

.nav-links a.active {
    color: #0066cc;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0066cc;
    border-radius: 1px;
}

/* 头部区域 */
.download-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.header-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.header-subtitle {
    font-size: 1.4rem;
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.header-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* 功能亮点 */
.highlights-section {
    padding: 60px 0;
    background-color: white;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.highlight-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 1.5rem;
}

.highlight-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.highlight-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 平台下载选项 */
.downloads-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.platform-download {
    background-color: white;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.platform-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.platform-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    width: 60px;
    text-align: center;
}

.platform-info {
    flex: 1;
}

.platform-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.platform-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item i {
    color: #0066cc;
}

.platform-content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.platform-features h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.2rem;
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    margin-bottom: 0.8rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.features-list li i {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

.platform-download-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-info {
    margin-bottom: 1.5rem;
}

.security-note {
    color: #28a745;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.security-note i {
    font-size: 1.1rem;
}

.version-info {
    color: #666;
    font-size: 0.9rem;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button-group {
    display: flex;
    gap: 15px;
}

.button-group .btn {
    flex: 1;
}

/* 安装指南 */
.install-guide-section {
    padding: 80px 0;
    background-color: white;
}

.guide-tabs {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-link {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-link:hover {
    color: #0066cc;
}

.tab-link.active {
    color: #0066cc;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #0066cc;
}

.tab-content {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    background-color: #0066cc;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

.step-content code {
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* 系统要求 */
.requirements-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.requirements-table {
    overflow-x: auto;
    margin-top: 30px;
}

.requirements-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.requirements-table th {
    background-color: #0066cc;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.requirements-table td {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.requirements-table tr:last-child td {
    border-bottom: none;
}

.requirements-table tr:hover td {
    background-color: #f8f9fa;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background-color: white;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide-steps {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .header-title {
        font-size: 2.2rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .platform-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .platform-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .platform-meta {
        justify-content: center;
    }
    
    .tab-nav {
        justify-content: center;
    }
    
    .tab-link {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .tab-content {
        padding: 25px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .requirements-table table {
        font-size: 0.9rem;
    }
    
    .requirements-table th,
    .requirements-table td {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .download-header {
        padding: 60px 0;
    }
    
    .header-title {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .platform-download {
        margin-bottom: 20px;
    }
    
    .platform-content {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .tab-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .requirements-table {
        font-size: 0.85rem;
    }
    
    .requirements-table th,
    .requirements-table td {
        padding: 12px 8px;
    }
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: #999;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-column a {
    display: block;
    color: #999;
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #0066cc;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* 页脚响应式 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
}