/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #fff;
    text-decoration: none;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo img {
    height: 30px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fe2c55;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* 主要内容区 */
.main-content {
    flex: 1;
}

/* 首页部分 */
.hero {
    padding: 60px 20px;
    text-align: center;
}


    .hero h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* 产品展示部分 */

    .section {
        padding: 60px 20px;
    }

    .section-title {
        text-align: center;
        font-size: 32px;
        margin-bottom: 40px;
        color: #fe2c55;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .gallery-item {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        aspect-ratio: 9/16;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    /* 应用介绍部分 */

    .app-features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .feature-card {
        background-color: rgba(255, 255, 255, 0.1);
        padding: 30px;
        border-radius: 10px;
        transition: transform 0.3s;
    }

    .feature-card:hover {
        transform: translateY(-10px);
    }

    .feature-icon {
        font-size: 40px;
        margin-bottom: 20px;
        color: #fe2c55;
    }

    .feature-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    /* 下载部分 */

    .download-section {
        text-align: center;
        padding: 40px 20px;
        background-color: rgba(0, 0, 0, 0.7);
    }

    .download-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .download-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 25px;
        border-radius: 25px;
        color: white;
        text-decoration: none;
        font-weight: 500;
        font-size: 16px;
        min-width: 180px;
        transition: transform 0.3s;
    }

    .download-btn:hover {
        transform: scale(1.05);
    }

    .download-btn i {
        margin-right: 10px;
        font-size: 20px;
    }

    .ios-btn {
        background-color: #000;
        border: 1px solid #fff;
    }

    .android-btn {
        background-color: #3ddc84;
    }

    /* 页脚 */

    footer {
        background-color: #111;
        padding: 40px 20px;
        color: rgba(255, 255, 255, 0.7);
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-column h3 {
        color: #fff;
        margin-bottom: 20px;
        font-size: 18px;
    }

    .footer-column ul {
        list-style: none;
    }

    .footer-column li {
        margin-bottom: 10px;
    }

    .footer-column a {
        color: rgba(255, 255, 255, 0.7);
        transition: color 0.3s;
    }

    .footer-column a:hover {
        color: #fe2c55;
    }

    .copyright {
        text-align: center;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 14px;
    }

    /* 响应式设计 */
    @media (max-width: 768px) {
        .nav-links {
            display: none;
            position: absolute;
            top: 70px;
            left: 0;
            right: 0;
            background-color: rgba(0, 0, 0, 0.9);
            flex-direction: column;
            padding: 20px;
        }

        .nav-links.active {
            display: flex;
        }

        .nav-links li {
            margin: 10px 0;
        }

        .mobile-menu-btn {
            display: block;
        }

        .download-buttons {
            flex-direction: column;
            align-items: center;
        }
    }

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0,0,0,0.9);
    min-width: 160px;
    padding: 10px 0;
    border-radius: 5px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 0;
    padding: 8px 20px;
}

.dropdown-menu a {
    display: block;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.6;
}

.legal-document h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #fe2c55;
}

.legal-document h3 {
    margin: 25px 0 15px;
    color: #fe2c55;
}

.legal-document p, .legal-document li {
    margin-bottom: 10px;
}

.modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #111;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
}
