


/* 全局重置 */
* {
    padding: 0;
    margin: 0;
    border: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

/* 基础元素重置 */
html,
body {
    width: 100%;
    height: 100%;
    position: relative;
    margin: 0 auto !important;
    /* overflow: hidden; */
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

/* 隐藏body的滚动条但保留滚动功能 */
body::-webkit-scrollbar {
    display: none;
}

/* 表单控件重置 */
input,
select,
button,
textarea {
    outline: none;
    overflow-wrap: break-word;
    word-break: break-all;
}

button {
    border: 0;
    background-clip: padding-box;
    cursor: pointer;
}

/* 表格重置 */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* 图片重置 */
img {
    border: none;
    vertical-align: baseline;
    /* max-width: 100%; */
}

/* 链接默认样式 */
a {
    text-decoration: none;
    cursor: pointer;
}

/* 列表重置 */
ul,
ol,
li {
    list-style: none;
}

/* 通用文本样式 */
span,
p,
div {
    overflow-wrap: break-word;
}

/* 工具类 */
.lf {
    float: left;
}

.rt {
    float: right;
}

.w1440 {
    width: 1440px;
    margin: auto;
}

.clearfix::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

/* ========================================
   2. 动画效果
   ======================================== */

/* WOW动画库样式修复 */
.wow {
    visibility: hidden !important;
    opacity: 0;
}

.wow.animated {
    visibility: visible !important;
    animation-fill-mode: both;
}

/* 通用悬停效果 */
a:hover {
    filter: brightness(120%);
    opacity: 0.85\0;
}

/* 侧边导航动画 */
@keyframes qb {
    0% {
        left: 0;
        opacity: 0;
    }

    100% {
        left: 30px;
        opacity: 1;
    }
}

/* ========================================
   3. 页面布局
   ======================================== */


/* ========================================
   4. 头部导航
   ======================================== */

.header {
    width: 100%;
    position: fixed;
    background: url(../images/header_bg.png) no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    left: 0;
}

.header .logo {
    padding-left: 100px;
}

.header .losome {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 45px;
}

.nav {
    width: 1065px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* 导航项容器 */
.nav-item {
    position: relative;
}

.nav-item > a {
    display: inline-block;
    width: 110px;
    height: 36px;
    background: url(../images/header_btn.png) no-repeat;
    transition: opacity .3s linear;
}

/* 导航按钮背景位置 */
.nav-item:nth-child(1) > a {
    background-position-x: 0;
}

.nav-item:nth-child(2) > a {
    background-position-x: -110px;
}

.nav-item:nth-child(3) > a {
    background-position-x: -220px;
}

.nav-item:nth-child(4) > a {
    background-position-x: -330px;
}

.nav-item:nth-child(5) > a {
    background-position-x: -440px;
}

.nav-item:nth-child(6) > a {
    background-position-x: -550px;
}
.nav-item:nth-child(7) > a {
    background-position-x: -660px;
}
.nav-item > a.active {
    background-position-y: -42px;
}

/* 下拉菜单样式 */
.nav-item .bsest {
    position: absolute;
    top: calc(100% + 25px);
    left: 0;
    width: 110px;
    background: rgba(0, 0, 0, 0.7);
    background-size: cover;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    padding: 10px 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-item .bsest li {
    width: 100%;
}

.nav-item .bsest li a {
    display: block;
    text-align: center;
    line-height: 36px;
    color: #b4965f;
    font-size: 16px;
    height: 36px;
    transition: color 0.2s ease;
}

.nav-item .bsest li a:hover {
    color: #fff4dd;
}

/* 鼠标悬停时显示下拉菜单 - 平滑过渡 */
.nav-item:hover .bsest {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 防止鼠标从 a 滑到 ul 时闪动的技巧 */
.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.downLoadBtn a {
    display: inline-block;
    width: 201px;
    height: 86px;
    background: url(../images/download_btn.png) no-repeat;
}


/* ========================================
   12. 弹窗样式 (layui框架定制)
   ======================================== */

.cu_layer {
    display: none;
}

/* 示例弹窗样式 */
body .skin_class_exmple .layui-layer-title {
    text-align: center;
    padding: 0 !important;
    background: black !important;
    color: white !important;
    font-size: 22px !important;
    height: 50px !important;
    line-height: 50px !important;
    position: relative !important;
}

body .skin_class_exmple .layui-layer-setwin {
    top: 15px !important;
}

body .skin_class_exmple .layui-layer-ico {
    background: url("../images/close2.png") no-repeat !important;
}

body .skin_class_exmple>.layui-layer-content {
    text-align: center;
    font-size: 20px;
    color: red;
    box-sizing: border-box;
}

body .skin_class_exmple .layui-layer-setwin a {
    width: 24px;
    height: 24px;
    opacity: 1;
}

body .skin_class_exmple .layui-layer-setwin a:hover {
    opacity: 1;
}

body .skin_class_exmple .layui-layer-setwin {
    opacity: 1;
}

body .skin_class_exmple>.layui-layer-btn {
    background: white;
    text-align: center;
}

body .skin_class_two {
    box-shadow: none;
}

body .layui-layer-title {
    border-bottom: none;
    background-color: transparent !important;
}

body .layui-layer-content {
    border-bottom: none;
    box-shadow: none;
    background-color: transparent !important;
}

body .layui-layer-setwin a {
    width: 24px;
    height: 24px;
    opacity: 0;
}

body .layui-layer-setwin a:hover {
    opacity: 0;
}

body .layui-layer-setwin {
    opacity: 0;
}

body .layui-layer-setwin .layui-layer-close2 {
    right: -2px;
    top: -2px;
}


/* ========================================
   13. 响应式样式
   ======================================== */

/* 桌面端响应式：标准屏幕 */
@media (max-width: 1920px) {

    body,
    .indexPage {
        max-width: 1920px;
    }

    .header {
        max-width: 1920px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 桌面端响应式：大屏幕 */
@media (min-width: 1921px) {

    body,
    .indexPage {
        max-width: 2560px;
    }

    .header {
        max-width: 2560px;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* 桌面端响应式：超大屏幕 2560px */
@media (min-width: 2560px) {

    body,
    .indexPage {
        max-width: 2880px;
    }

    .header {
        max-width: 2880px;
    }

}

/* 头部导航 - 1600px */
@media (max-width: 1600px) {
    .header .logo {
        padding-left: 50px;
    }

    .nav {
        width: 700px;
    }

    .nav-item > a {
        width: 90px;
        background-size: 630px 70px;
    }

    .nav-item:nth-child(2) > a {
        background-position-x: -90px;
    }

    .nav-item:nth-child(3) > a {
        background-position-x: -180px;
    }

    .nav-item:nth-child(4) > a {
        background-position-x: -270px;
    }

    .nav-item:nth-child(5) > a {
        background-position-x: -360px;
    }

    .nav-item:nth-child(6) > a {
        background-position-x: -450px;
    }

    .nav-item .bsest {
        width: 90px;
        top: calc(100% + 5px);
        left: 0;
    }

    .downLoadBtn a {
        width: 160px;
        height: 69px;
        background-size: 160px 69px;
    }
}

/* 头部导航 - 1366px */
@media (max-width: 1366px) {
    .header .logo {
        padding-left: 30px;
    }

    .header .losome {
        gap: 30px;
    }

    .nav {
        width: 600px;
    }

    .nav-item > a {
        width: 80px;
        background-size: 560px 70px;
    }

    .nav-item:nth-child(2) > a {
        background-position-x: -80px;
    }

    .nav-item:nth-child(3) > a {
        background-position-x: -160px;
    }

    .nav-item:nth-child(4) > a {
        background-position-x: -240px;
    }

    .nav-item:nth-child(5) > a {
        background-position-x: -320px;
    }

    .nav-item:nth-child(6) > a {
        background-position-x: -400px;
    }

    .nav-item .bsest {
        width: 80px;
        top: calc(100% + 5px);
        left: 0;
    }

    .downLoadBtn a {
        width: 140px;
        height: 60px;
        background-size: 140px 60px;
    }
}



/* ========================================
   14. 底部展示区域
   ======================================== */
.popularize {
    background: #c7baa6;
    padding: 22px 0px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popularize-container {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    width: 100%;
}

.social-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}



.qr-code {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    margin-bottom: 20px;
}

.qr-code::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.social-icon:hover .qr-code {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
    .popularize-container {
        gap: 40px;
    }

    .icon-svg {
        width: 60px;
        height: 60px;
    }

    .qr-code img {
        width: 120px;
        height: 120px;
    }
}

/* 内页主体区域 */
.page-section {
    width: 100%;
    min-height: calc(100vh - 150px);
    padding-top: 0;
    padding-bottom: 80px;
    background: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: -89px;
}

.page-section::-webkit-scrollbar {
    display: none;
}

/* 内页主图区域 */
.page-banner {
    width: 100%;
    aspect-ratio: 1920 / 390;
    min-height: 390px;
    background: url('../images/page-banner.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

/* 内页容器 */
.page-container {
    width: 1400px;
    max-width: 90%;
    margin: -52px auto 0;
    position: relative;
    z-index: 1;
}
