/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1890ff;
    text-decoration: none;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #1890ff;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 汉堡菜单动画 */
.burger.toggle div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle div:nth-child(2) {
    opacity: 0;
}

.burger.toggle div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-btn {
    background-color: white;
    color: #1890ff;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.version {
    font-size: 0.8rem;
    margin-left: 10px;
    opacity: 0.8;
}

/* 下载按钮组样式 */
.download-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

/* 平台按钮样式 */
.platform-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    font-size: 1rem;
}

.platform-btn i {
    font-size: 1.2rem;
}

/* 平台特定按钮样式 */
.mac-btn {
    background-color: #f5f5f7;
    color: #1d1d1f;
    border: 1px solid #d2d2d7;
}

.mac-btn:hover {
    background-color: #e8e8ed;
}

.windows-btn {
    background-color: #0078d4;
    color: white;
    border: 1px solid #0078d4;
}

.windows-btn:hover {
    background-color: #106ebe;
}

.android-btn {
    background-color: #3ddc84;
    color: #1a1a1a;
    border: 1px solid #3ddc84;
}

.android-btn:hover {
    background-color: #36cf7c;
}

.ios-btn {
    background-color: #007aff;
    color: white;
    border: 1px solid #007aff;
}

.ios-btn:hover {
    background-color: #0051d5;
}

/* 产品介绍样式 */
.products {
    padding: 80px 0;
    background-color: white;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 450px));
    gap: 40px;
    justify-content: center;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #1890ff;
}

.product-card .platform {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.product-card p {
    margin-bottom: 20px;
    color: #666;
}

.feature-list {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #666;
    display: inline-block;
    text-align: left;
    max-width: 100%;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #52c41a;
    font-weight: bold;
}

/* 功能详情样式 */
.features {
    padding: 80px 0;
    background-color: #f5f7fa;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

/* 产品功能区域样式 */
.product-features {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.product-features:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* 产品标题样式 */
.product-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #1890ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-title i {
    font-size: 2.2rem;
}

/* 产品描述样式 */
.product-description {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3rem;
    color: #1890ff;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #1890ff;
}

.footer-section p, .footer-section li {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1890ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #888;
}

.icp {
    margin-top: 10px;
    font-size: 0.9rem;
}

.icp a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.icp a:hover {
    color: #1890ff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 80%;
        height: 92vh;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
        text-align: center;
    }

    .burger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .products h2, .features h2 {
        font-size: 2rem;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .product-features {
        padding: 20px;
    }

    .download-btn-group {
        flex-direction: column;
        align-items: center;
    }

    .platform-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .product-grid, .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .download-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }
}
