* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    min-width: 1200px;
    
    background-image: 
        url('bg.png'); 
        color: #111;
    background-position:  top center; 
    background-repeat: no-repeat;
    background-size: cover; 
    background-attachment: fixed;        
}

 
/* ====================================
   顶部导航栏 (Top Bar) 
   ==================================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: transparent;
    color: #fff; 
    z-index: 1000; 
}

.top-bar-content {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 0 340px 0 300px; 
}

.logo img {
    height: 40px; 
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-button {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 18px;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s, border-bottom 0.3s;
}

.nav-button:hover {
    color: #FFF; 
}

.nav-button.selected {
    color: #Fff; 
    font-weight: 700;
}

/* ====================================
   主要内容区域 (Main Content)
   ==================================== */
.main-content {
    padding-top: 40px; 
    min-height:500px;
    position: relative;
    background-color: transparent; 
    margin-top: -40px;
    max-height: 100vh；
    overflow-y： auto;

}

.center-content-section {
    min-height: calc(100vh - 94px - 261px); 
    padding: 40px 0 0 0;  
}

.center-content-wrapper {
    max-width: 1400px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    gap: 120px; 
}

.left-content-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    width: 50%; 
    max-width: 520px; 
}

.left-top-img {
    max-width: 70%;
    height: auto;
    margin-bottom: 10px;
}

/* intro-text 优化 */
.intro-text {
    font-size: 22px;
    line-height: 1.3;
    color: #886CBC; 
    margin-bottom: 60px;
    margin-left: 42px;
}

/* download-container 优化 */
.download-container {
    position: relative;
    display: inline-block; 
    margin-left: 42px;
    margin-top: -20px;
}

/* 下载按钮样式 */
.download-button {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 优化：改为靠左对齐，内容更紧凑 */
    gap: 10px; 
    background-image: linear-gradient(to right, #8648FB, #FF06A0); 
    padding: 20px 36px; /* 优化：简化 padding，左右间距平衡 */
    border: none;
    border-radius: 20px; /* 统一圆角大小 */
    cursor: pointer;
    transition: all 0.3s ease; 
    z-index: 10;
    position: relative;
    width: auto; /* 优化：让宽度自动适应内容 */
}
.download-button:hover {
    background-image: linear-gradient(to right, #6C35C7, #E8058E); /* 悬停颜色变化 */
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.button-logo {
    width: 48px;
    height: 48px;
}

.button-text-group {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    line-height: 1.0; 
    color: white; /* 确保未渐变文字为白色 */
}

.button-text-top {
    font-size: 14px; /* 增大一点 */
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.8;
}

.button-text-bottom {
    font-size: 24px; /* 确保大字效果 */
    font-weight: 700;
}


.qr-code-popup {
    /* 保持二维码样式不变 */
    position: absolute;
    top: -240px; 
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 5;
}

.qr-code-popup img {
    width: 180px;
    height: 180px;
    display: block;
}

.right-content-block {
    width: 50%; 
    display: flex;
    justify-content: flex-end; 
}

.right-pic-img {
    max-width: 200%;
    height:200%;
    padding: 0 0 0 200px;
    border-radius: 10px;
    margin-left: 100px;
    align-items: top;

}



/* ====================================
   底部内容 (Footer)
   ==================================== */
.bottom-footer {
    position: relative;
    background-color: rgba(4, 1, 23, 0.7); 
    min-height: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px; 
    padding: 40px 0; 
    justify-content: flex-start; 
    align-items: center;
    color: white;
    margin-top: -40px;
}
  

.footer-main-content {
    text-align: center;
}

.footer-title {
    font-size: 24px;
    font-weight: 700; /* 加粗 */
    margin-bottom: 0; /* 优化：由父元素 bottom-footer 的 gap 控制间距 */
    background-image: linear-gradient(to right, #8648FB, #FF06A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #8648FB;
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-icon {
    font-size: 20px;
    color: #FF17A6;
    margin-bottom: 25px; 
}

.footer-email {
    color: #FF17A6;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 25px; 
}

.footer-email:hover{
    color: #ccc; 
}

.copyright-text {
    font-size: 12px;
    color: #6D6C73; 
}

.content-container {
          
    /* ... 其他样式 ... */

    /* 移除 max-height: 400px; */
    /* 可以保持 max-width: 900px; */

    /* 使用 flex-grow: 1; 或设置固定的高度，让其在 flex 容器内适应空间 */
    /* 如果您希望它能扩展到背景图（父元素）的高度，但又不想内容溢出，
       通常是让父元素设置高度，然后内容容器使用 max-height: 100%; */
    max-height: 100%;
    padding: 120px 300px 0 300px;
    overflow-y: auto; /* 确保内容溢出时可以滚动 */
    padding: 120px 0 0 0;
            max-width: 900px;
            margin: auto;
            line-height: 1.6;
        }

        .content-container h1 {
            font-size: 28px;
            text-align: center;
            margin-bottom: 24px;
            color: #fff;
        }

        .content-container h2 {
            font-size: 20px;
            text-align: left;
            margin-bottom: 16px;
            color: #fff;
        }
        .content-container h3 {
            font-size: px;
            text-align: left;
            margin-bottom: 16px;
            color: #fff;
        }
        .content-container p {
            font-size: 15px;
            justify-content: center;
            color: #fff
        }

        .contact-link {
            display: inline-block;
            margin-bottom: 14px;
            color: #FF06A0
        }
        .contact-link:hover{
            color: #FFF
        }

        ul {
            padding-left: 20px;
            color: #fff
        }

/* ====================================
   响应式设计 
   ==================================== */
@media (max-width: 1200px) {
    .center-content-wrapper {
        flex-direction: column; 
        text-align: center;
    }

    .left-content-block, .right-content-block {
        width: 100%;
        max-width: 800px;
        align-items: center;
        margin-bottom: 40px;
        padding-left: 0; /* 手机端取消左侧间距 */
    }
}
/* ====================================
   顶部栏滚动样式 (Top Bar Scrolled State)
   ==================================== */

.top-bar.scrolled {
    /* 使用一个不透明的深色背景，与页脚背景色接近，或纯黑 */
    background-color: rgba(4, 1, 23, 0.95); /* 几乎不透明的深色 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 增加一点阴影以提升立体感 */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* 增加过渡动画 */
}