/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== Header 样式 ========== */
header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* ========== Logo 样式 ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #1e90ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-link:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.logo-link:active {
    opacity: 0.6;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(30, 144, 255, 0.3);
    flex-shrink: 0;
}

.logo-link span {
    font-size: 24px;
    font-weight: bold;
    color: #1e90ff;
    white-space: nowrap;
}

/* ========== 导航菜单 ========== */
nav {
    display: flex;
    gap: 30px;
    flex: 1;
    justify-content: center;
    margin: 0 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

nav a:hover {
    color: #1e90ff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e90ff;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* ========== 右侧导航 ========== */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* ========== 语言切换 ========== */
.language-switcher {
    position: relative;
}

.lang-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.3s;
    font-weight: 500;
}

.lang-btn:hover {
    background: #e9ecef;
    border-color: #1e90ff;
    color: #1e90ff;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 120px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: none;
    border: none;
    color: #333;
    text-align: left;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
    font-family: inherit;
    font-weight: 500;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f0f0f0;
    color: #1e90ff;
    padding-left: 20px;
}

.lang-option:active {
    background: #e9ecef;
}

/* ========== 菜单切换按钮 ========== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: #1e90ff;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
    }

    nav {
        display: none;
        gap: 0;
        margin: 0;
    }

    .menu-toggle {
        display: block;
    }

    .logo-link span {
        font-size: 18px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }

    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .logo-link span {
        display: none;
    }

    .logo-icon {
        width: 36px;
        height: 36px;
    }
}

/* ========== 侧边菜单 ========== */
.side-menu {
    position: fixed;
    right: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 999;
    transition: right 0.3s ease;
    padding-top: 60px;
    overflow-y: auto;
}

.side-menu.active {
    right: 0;
}

.side-menu a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.side-menu a:hover {
    background: #f0f0f0;
    color: #1e90ff;
}

.menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* ========== 英雄区 ========== */
.hero {
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #1e90ff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e90ff;
}

/* ========== 功能特性区 ========== */
.features {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #1e90ff;
    margin: 15px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30,144,255,0.15);
    border-color: #1e90ff;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #333;
}

.feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ========== 下载模块 ========== */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.download-info p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.download-features {
    list-style: none;
    margin: 30px 0;
}

.download-features li {
    padding: 10px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-features li::before {
    content: '✓';
    color: #1e90ff;
    font-weight: bold;
    font-size: 18px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.download-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-btn-quark {
    background: #1e90ff;
    color: white;
}

.download-btn-quark:hover {
    background: #1873cc;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30,144,255,0.3);
}

.download-btn-baidu {
    background: #dd2e2e;
    color: white;
}

.download-btn-baidu:hover {
    background: #b82222;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(221,46,46,0.3);
}

.download-image {
    text-align: center;
}

.download-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* ========== 使用场景 ========== */
.scenarios {
    padding: 80px 0;
    background: white;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.scenario-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #1e90ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.scenario-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.scenario-card h3 {
    color: #1e90ff;
    margin-bottom: 10px;
    font-size: 18px;
}

.scenario-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ========== 系统要求 ========== */
.requirements {
    padding: 80px 0;
    background: #f8f9fa;
}

.requirements-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.requirement-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.requirement-box h3 {
    color: #1e90ff;
    margin-bottom: 15px;
    font-size: 18px;
}

.requirement-box ul {
    list-style: none;
}

.requirement-box li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirement-box li::before {
    content: '•';
    color: #1e90ff;
    font-weight: bold;
    font-size: 16px;
}

/* ========== FAQ ========== */
.faq {
    padding: 80px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #333;
    transition: all 0.3s;
    user-select: none;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* ========== 教程区 ========== */
.tutorial {
    padding: 80px 0;
    background: #f8f9fa;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tutorial-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.tutorial-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

.tutorial-content {
    padding: 20px;
}

.tutorial-content h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.tutorial-content p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

/* ========== 友情链接 ========== */
.links {
    padding: 60px 0;
    background: white;
    border-top: 1px solid #e9ecef;
}

.links h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.link-item {
    text-align: center;
}

.link-item a {
    color: #1e90ff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.link-item a:hover {
    color: #00bfff;
    text-decoration: underline;
}

/* ========== 底部 ========== */
footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    font-size: 13px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #95a5a6;
}

/* ========== 悬浮广告 ========== */
.floating-ad {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, #1e90ff 0%, #00bfff 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(30,144,255,0.4);
    z-index: 90;
    transition: all 0.3s;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.floating-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(30,144,255,0.5);
}

.floating-ad-icon {
    font-size: 18px;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1e90ff;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 89;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(30,144,255,0.3);
}

.back-to-top:hover {
    background: #00bfff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30,144,255,0.4);
}

.back-to-top.show {
    display: flex;
}

/* ========== 响应式设计 ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 28px;
    }

    .download-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .download-btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .requirements-content {
        grid-template-columns: 1fr;
    }

    .tutorial-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .floating-ad {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .hero {
        padding: 50px 0;
    }

    .features,
    .download-section,
    .scenarios,
    .requirements,
    .faq,
    .tutorial,
    .links {
        padding: 50px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .download-info h2 {
        font-size: 24px;
    }

    .download-info p {
        font-size: 14px;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



