* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links a {
    margin-left: 2rem;
    text-decoration: none;
    color: #333;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0.6), rgba(233, 236, 239, 0.6)),
                url('images/hero_bg.jpg') center/cover no-repeat;
}

.beian-link {
    color: #007bff; /* 设置备案号链接的颜色 */
}

.beian-link:hover {
    color: #0056b3; /* 鼠标悬停时稍微加深颜色 */
    text-decoration: underline; /* 悬停时显示下划线以增强交互感 */
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    max-width: 800px;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #666;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
}

.download-button {
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.ios-download {
    background: #FF6B81;
    color: #fff;
}

.ios-download:hover {
    background: #FF4757;
}

.android-download {
    background: #FF8BA7;
    color: #fff;
}

.android-download:hover {
    background: #FF6B81;
}

.feature-section {
    padding: 4rem 2rem;
    text-align: center;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 6rem;
    gap: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
    position: relative; /* 添加定位以便伪元素可以绝对定位 */
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.1);*/
}

.feature-image::after { /* 添加伪元素 */
    content: '';
    position: absolute;
    bottom: 0; /* 调整伪元素位置到图片底部 */
    left: 0;
    width: 100%;
    height: 50%; /* 渐变覆盖图片的一半 */
    background: linear-gradient(to bottom, rgba(255, 255, 255, .25), rgba(255, 255, 255, 1)); /* 从透明到白色 */
    pointer-events: none; /* 确保伪元素不影响图片的点击事件 */
}

.feature-text {
    flex: 1;
    text-align: center;
}

.feature-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-text p {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.download-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.download-section h2 {
    margin-bottom: 1rem;
}

.download-section p {
    margin-bottom: 2rem;
    color: #666;
}

footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding-top: 8rem;
        text-align: center;
    }

    .hero-image {
        position: relative;
        width: 100%;
        max-width: 400px;
        margin-top: 3rem;
        transform: none;
        top: auto;
    }

    .feature-item {
        flex-direction: column;
        gap: 2rem;
    }

    .feature-item.reverse {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .download-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .download-button {
        width: 100%;
        text-align: center;
    }
}