/* 快连官网 - 响应式CSS样式 */

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

/* 头部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 28px;
    font-weight: bold;
    color: #0066cc;
    display: flex;
    align-items: center;
}

.logo img {
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: #0066cc;
    background: #f0f8ff;
}

/* Hero区域 */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #fff;
    color: #667eea;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-download {
    background: #0066cc;
    color: #fff;
    display: block;
    padding: 12px 30px;
    border-radius: 6px;
    margin-top: 15px;
}

.btn-download:hover {
    background: #0055aa;
    transform: translateY(-2px);
}

/* 特色区域 */
.features {
    padding: 80px 20px;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-item img {
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #0066cc;
}

.feature-item p {
    color: #666;
    font-size: 16px;
}

/* 下载区域 */
.downloads {
    padding: 80px 20px;
    background: #fff;
}

.downloads h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.download-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.download-item:hover {
    border-color: #0066cc;
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.15);
}

.download-item img {
    object-fit: contain;
    margin-bottom: 20px;
}

.download-item h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.download-item p {
    color: #666;
    margin-bottom: 5px;
}

.download-item .version,
.download-item .size {
    color: #999;
    font-size: 14px;
    margin: 5px 0;
}

/* 评价区域 */
.reviews {
    padding: 80px 20px;
    background: #f8f9fa;
}

.reviews h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-item {
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.author {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* FAQ区域 */
.faq {
    padding: 80px 20px;
    background: #fff;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.faq-item h3 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.faq-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #bdc3c7;
    display: block;
    padding: 8px 0;
    font-size: 14px;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #3e5871;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features h2,
    .downloads h2,
    .reviews h2,
    .faq h2 {
        font-size: 28px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .feature-grid,
    .download-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .feature-item,
    .download-item {
        padding: 25px 20px;
    }

    .faq-item {
        padding: 20px;
    }
}

/* 加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-item,
.download-item,
.review-item {
    animation: fadeIn 0.6s ease-out;
}

/* 可访问性优化 */
*:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .header,
    .footer {
        display: none;
    }
}
