/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #FFFEFD;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background: linear-gradient(130deg, #FFA640 0%, #FFBD07 100%);
    color: #000000;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 16px;
}

.nav-links a:hover {
    color: #ffffff;
}

.download-btn {
    background-color: #333333;
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部横向布局（核心样式） */
.top {
    display: flex;
    flex-direction: row; /* 强制横向排列 */
    align-items: center; /* 垂直居中对齐 */
    justify-content: space-between; /* 左右两端分布 */
    padding: 60px 0 0;
    width: 100%;
}

/* 左侧logo+文字区域 */
.logo-section {
    display: flex;
    flex-direction: row; /* 横向排列 */
    align-items: center; /* 内部元素垂直居中 */
    gap: 16px; /* logo与文字间距 */
}

.logo-icon {
    width: 210px;
    height: 210px;
    box-shadow: 0px 22px 32px 0px rgba(228, 174, 105, 0.4);
    border-radius: 28px;
    border: 2px solid #FFFFFF;
}

.brand-info {
    display: flex;
    flex-direction: column; /* 文字纵向排列 */
    gap: 18px;
    margin-left: 18px;
}

.brand-info h1 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 4px 0;
}

.brand-info p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* 右侧下载按钮 */
.btn-xiazai {
    width: 200px;
    height: 80px;
    background: #0088FE; /* 移除多余的 #0088FE（渐变只需要一组颜色） */
    border-radius: 20px;
    /* 清除默认边框和轮廓 */
    border: none; /* 移除默认边框 */
    outline: none; /* 移除点击时的焦点轮廓 */
    /* 文字样式优化 */
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease; /* 可选：添加点击缩放效果 */
}

.btn-xiazai:hover {
    /*  hover 时保持渐变背景，可调整亮度增强效果 */
    filter: brightness(1.05); /* 略微提亮 */
    transform: scale(1.02); /* 轻微放大 */
}

.btn-xiazai:active {
    transform: scale(0.98); /* 点击时轻微缩小 */
}

/* 核心优势区域 */
.features {
    margin: 40px 0 60px 0;
    color: #232832;
    font-size: 24px;
    font-weight: 400;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0;
}

/* 平台描述 */
.description {
    color: #232832;
    font-size: 24px;
    font-weight: 400;
    margin: 30px 0 30px 0;
}

/* 应用截图（横向分布） */
.screenshots {
    display: flex;
    flex-direction: row; /* 强制横向排列 */
    gap: 20px; /* 图片间距 */
    width: 100%;
    overflow-x: auto; /* 超出可横向滚动 */
    padding: 20px 0;
    scrollbar-width: thin;
    z-index: 99;
}

/* 滚动条美化 */
.screenshots::-webkit-scrollbar {
    height: 6px;
}

.screenshots::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 3px;
}

.screenshot-item {
    flex: 0 0 auto; /* 固定尺寸不拉伸 */
    width: calc(25% - 15px); /* 4张图平均分配宽度 */
    min-width: 200px; /* 最小宽度限制 */
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block; /* 去除底部间隙 */
}

/* 背景装饰 */
.background-pattern {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #FFF7E6 0%, #FFE8B3 100%);
    border-radius: 50% 50% 0 0;
    z-index: -1;
    opacity: 0.7;
}

.copyright {
    text-align: center;
    padding: 60px 0 30px;
    /*border-top: 1px solid rgba(0, 0, 0, 1);*/
    color: #000000;
    font-size: 14px;
}

.bottom-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: url('../assets/image/icon_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}


/* ===============================
   📱 移动端响应式布局优化
   适用于屏幕宽度 ≤ 768px
   =============================== */
@media (max-width: 768px) {
    /* 整体布局适配 */
    body {
        font-size: 14px;
        line-height: 1.5;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
    }

    header {
        padding: 10px 0;
    }

    .container {
        padding: 0 10px;
    }

    /* 导航栏布局：改为上下堆叠 */
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        height: 32px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 8px;
    }

    .nav-links li {
        margin-left: 0;
    }

    .nav-links a {
        font-size: 14px;
        padding: 6px 10px;
    }

    .download-btn {
        padding: 6px 16px;
        font-size: 14px;
    }

    /* 顶部横向布局 → 改为纵向 */
    .top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 40px 0 20px;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .logo-icon {
        width: 150px;
        height: 150px;
    }

    .brand-info {
        margin-left: 0;
        gap: 8px;
    }

    .brand-info p:first-child {
        font-size: 28px;
        font-weight: 600;
    }

    .brand-info p:last-child {
        font-size: 18px;
        line-height: 1.4;
    }

    /* 下载按钮 */
    .btn-xiazai {
        width: 160px;
        height: 60px;
        font-size: 20px;
        margin-top: 20px;
    }

    /* 优势区 */
    .features {
        font-size: 18px;
        margin: 30px 0;
    }

    .feature-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }

    /* 描述文字 */
    .description {
        font-size: 18px;
        text-align: center;
        margin: 20px 0;
        padding: 0 10px;
    }

    /* 应用截图：竖排展示，滑动查看 */
    .screenshots {
        flex-direction: row;
        overflow-x: scroll;
        gap: 12px;
        padding: 10px 0;
        scrollbar-width: thin;
    }

    .screenshot-item {
        width: 75%;
        min-width: 220px;
        flex-shrink: 0;
    }

    .screenshot-img {
        border-radius: 8px;
    }

    /* 底部版权 */
    .copyright {
        font-size: 12px;
        padding: 30px 0 20px;
        text-align: center;
    }

    /* 背景图尺寸优化 */
    .bottom-bg {
        height: 40%;
        background-size: contain;
        background-position: bottom center;
    }
}

#div-pc {
    background-color: #FFFEFD00;
}

/* 移动端整体隐藏，通过JS控制显示 */
#div-client {
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 顶部背景图区域 */
.client-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.img-bg {
    width: 100%;
    height: auto;
    display: block;
}

.img-tb {
    width: 100px;
    height: 100px;
    margin-top: -60px;
    border-radius: 18px;
}

.img-tip {
    width: 80px;
    height: 30px;
    z-index: 100;
    position: absolute;
    top: 0;
    right: 30px;
    background-color: #00000045;
}


/* 中间文案和下载按钮 */
.client-content {
    padding: 30px 20px 0; /* 顶部预留logo空间 */
    text-align: center;
}

.client-content h2 {
    font-size: 32px;
    color: #232832;
    margin-bottom: 16px;
}

.client-content .slogan {
    font-size: 18px;
    color: #232832;
    margin-bottom: 14px;
    line-height: 1.6;
    font-weight: 400;
}

.client-content .desc {
    font-size: 14px;
    color: #232832;
    line-height: 2.0;
    margin-bottom: 10px;
    /*padding: 0 10px;*/
}

.client-download-btn {
    width: 180px;
    height: 70px;
    background-color: #FF8913;
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255, 166, 64, 0.3);
    transition: transform 0.2s;
}

.client-download-btn:active {
    transform: scale(0.96);
}

:root {
    --card-w: 55vw;
    --gap: 40px;

    /* 主图居中需要的左侧基础空白（真实居中再向内缩露出 gap） */
    --side-space-base: calc((100vw - var(--card-w)) / 2);
    /* 你希望露出的宽度（等于 gap）*/
    --peek: var(--gap);

    /* 最终左侧 padding（让主图向左移动，露出下一张） */
    --side-left: calc(var(--side-space-base) - var(--peek));
    /* 右侧容器需要额外空间 = 左侧露出 + gap（保证最后一张能露出） */
    --container-right-padding: calc(var(--side-left) + var(--gap));
}

.slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 80px 0 80px;

    /* 隐藏滚动条 */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.slider-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}


/* wrapper：负责左右对齐与 gap */
.slider-wrapper {
    display: flex;
    gap: var(--gap);
    padding-left: var(--side-left); /* 左侧留白使第一张露出 peek */
    padding-right: 0; /* 右侧由容器 padding 提供 */
    /*align-items: center;*/
}

/* 可选保底：如果你仍想用 ::after 做占位，给它 min-width，避免被压缩 */
.slider-wrapper::after {
    content: "";
    flex: 0 0 var(--gap); /* 可留一个 gap 宽度，主要不是必须 */
    min-width: var(--gap);
}

/* 卡片尺寸 */
.slider-item {
    flex: 0 0 var(--card-w);
    scroll-snap-align: center;
    transition: transform .35s ease;
}

.slider-item img {
    width: 100%;
    display: block;
    border-radius: 16px;
}

.slider-item.active {
    transform: scale(1.12);
    z-index: 5;
}


/* 底部备案信息 */
.client-footer {
    text-align: center;
    padding: 0 0 20px;
    font-size: 12px;
    color: #333333;
}

.client-footer p {
    margin: 4px 0;
}


.content-pc {
    position: relative;
    overflow: hidden;
    background-color: #ffffff00;
}

.bottom-bg-c {
    background: url('../assets/image/icon_c_bottom.png?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    z-index: -1;
    width: 100%;
    /*margin-top: -280px; */
    /*这里是底部图片的高  */
}