/* ===================== 顶部导航区域 ===================== */
.header-wrap {
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
    box-shadow: 0 4px 15px rgba(168, 16, 16, 0.3);
    position: sticky;
    top: 0;
    z-index: 999;
    padding: 0 20px;
}

.header-wrap .header-inner {
    max-width: 1732px;
    margin: 0 auto;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-wrap .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.header-wrap .logo-img {
    width: 40px;
    height: 40px;
    background-size: cover;
    background-image: url("../images/logo.png");
    cursor: pointer;
}

.header-wrap .logo-text {
    font-size: 30px;
    font-weight: 600;
    letter-spacing: 2px;
}

.header-wrap .logo-text a {
    color: #ffffff;
}

.header-wrap .pc-nav {
    display: flex;
    align-items: center;
}

.header-wrap .nav-item {
    position: relative;
    padding: 0 25px;
    height: 65px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-wrap .nav-link {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    height: 100%;
    line-height: 65px;
}

.header-wrap .nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
}

.header-wrap .nav-item:hover > .nav-link {
    color: #ffecec;
    transform: translateY(-2px);
}

/* PC箭头基础样式 */
.header-wrap .nav-item .icon-xiajiantou {
    display: inline-block; /* 必须块级才能旋转 */
    margin-left: 6px;
    color: #ffffff;
    /* 旋转动画过渡 */
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* PC父级hover时箭头翻转180度 */
.header-wrap .nav-item:hover .icon-xiajiantou {
    transform: rotate(180deg);
}

.header-wrap .nav-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: #ffecec;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.header-wrap .nav-item:hover::after {
    width: 80%;
}

/* ========== 新增：导航激活选中样式 ========== */
.header-wrap .nav-item.active {
    background: rgba(255, 255, 255, 0.15);
    font-size: 1.2rem;
}

.header-wrap .nav-item.active > .nav-link {
    color: #ffecec;
}

.header-wrap .nav-item.active::after {
    width: 80%;
}

.header-wrap .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 20px rgba(168, 16, 16, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.header-wrap .submenu-item {
    padding: 14px 20px;
    transition: all 0.25s ease;
}

.header-wrap .submenu-link {
    color: #333;
    font-size: 15px;
    display: block;
}

.header-wrap .submenu-item:hover {
    background: #f8f0f0;
    padding-left: 28px;
}

.header-wrap .submenu-item:hover .submenu-link {
    color: var(--color-primary);
    font-weight: 500;
}

.header-wrap .nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-wrap .menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* 移动端遮罩 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.mask.show {
    opacity: 1;
    visibility: visible;
}

/* 移动端抽屉菜单 */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
}

.drawer.show {
    transform: translateX(0);
}

.drawer-header {
    height: 65px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.drawer-logo {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.close-btn {
    color: #fff;
    font-size: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.drawer-nav {
    padding: 20px 0;
}

.drawer-nav-item {
    border-bottom: 1px solid #eee;
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--color-primary) !important;
    font-size: 16px;
}

.drawer-nav-item a:link,
.drawer-nav-item a:visited {
    color: var(--color-primary) !important;
}

.drawer-nav-item a:hover
.drawer-nav-item a:active {
    color: var(--color-dark-primary) !important;
}

.drawer-submenu-item {
    background-color: #f1ebe9 !important;
    border-bottom: 1px dashed var(--color-dark-primary);
}

.drawer-submenu-item:last-child {
    border-bottom: 0px;
}

/* 移动 箭头基础样式 */
.drawer-nav .drawer-nav-item .icon-xiajiantou {
    display: inline-block; /* 必须块级才能旋转 */
    margin-left: 6px;
    color: #000000;
    /* 旋转动画过渡 */
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

/* 移动 父级hover时箭头翻转180度 */
.drawer-nav .drawer-nav-item:hover .icon-xiajiantou {
    transform: rotate(180deg);
}

.drawer-submenu {
    background: #fafafa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.drawer-submenu.show {
    max-height: 500px;
}

.drawer-submenu-item a {
    display: block;
    padding: 14px 35px;
    color: #666;
    font-size: 15px;
}

.drawer-submenu-item a:hover {
    color: var(--color-primary);
}

/* ===================== 轮播图区域 ===================== */
.banner-wrap {
    width: 100%;
    max-width: 1732px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #eeeeee;
}

.banner-wrap .banner-list {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-wrap .banner-item {
    width: 100%;
    flex-shrink: 0;
}

.banner-wrap .banner-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.banner-wrap .prev-btn,
.banner-wrap .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 26, 26, 0.7);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.banner-wrap .prev-btn:hover,
.banner-wrap .next-btn:hover {
    background: var(--color-primary);
}

.banner-wrap .prev-btn {
    left: 20px;
}

.banner-wrap .next-btn {
    right: 20px;
}

.banner-wrap .dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    background: #a7a7a7;
    border-radius: 15px;
    padding: 8px 16px;
}

.banner-wrap .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-wrap .dot.active {
    background: var(--color-primary);
    transform: scale(1.4);
}

/* ===================== 搜索框区域（吸顶） ===================== */
.search-wrap {
    width: 100%;
    max-width: 1732px;
    margin: 30px auto;
    padding: 0 20px;
    transition: all 0.3s ease;
}

.search-wrap.fixed-search {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    max-width: 100%;
    margin: 0;
    padding: 10px 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 998;
}

.search-wrap .search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 23px;
    padding: 5px 0;
}

.search-wrap .search-box:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 16, 16, 0.25);
}

.search-wrap .search-input {
    width: 500px;
    height: 46px;
    padding: 0 18px;
    border: 2px solid #eee;
    /*border-right: none;*/
    border-radius: 23px 0 0 23px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.search-wrap .search-input:focus {
    border-color: var(--color-primary);
    height: 42px;
}

.search-wrap .search-btn {
    height: 46px;
    padding: 0 28px;
    border: 2px solid #eee;
    border-left: none;
    border-radius: 0 23px 23px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    margin-left: -1px;
    box-sizing: border-box;
}

.search-wrap .search-btn:hover {
    opacity: 0.9;
}

/* ===================== 商品分类+列表 通用样式 ===================== */

/* 最外层容器：负责全局限宽1920px + 居中 + 内边距 */
.main-content-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: #f5f7fb;
    min-height: 400px;
}

.main-content-wrapper .card-wrap {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #ffffff;
}

.main-content-wrapper .card-wrap-title {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
}

.main-content-wrapper .title-more {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

/* 卡片列表容器：flex 弹性布局，自动换行，使用 gap 控制间距 (现代简洁方案) */
.main-content-wrapper .card-list {
    display: flex;
    flex-flow: row wrap;
    gap: 1.75rem; /* 卡片之间垂直/水平间距，响应式舒服 */
    /*justify-content: center; */
    /* 当最后一行不足铺满时，居中展示 (可选，但视觉友好) */
}

/* 卡片组件：
   - flex-grow: 1 → 允许拉伸填充剩余空间
   - flex-shrink: 1 → 允许收缩避免溢出
   - flex-basis: 280px → 基础宽度280px，作为“理想最小宽度参考”
   这样在大屏幕上，每行卡片会根据剩余空间等比增大宽度，但所有卡片宽度保持一致；
   在小屏幕上，当容器宽度不足时卡片会收缩到280px以下（但仍受内容影响），并换行；
   最终实现卡片宽度随屏幕大小“等比变化”的效果，完全满足响应式。
*/
.main-content-wrapper .card {
    flex: 1 1 280px;
    /* 可选：为了让卡片在超宽屏幕上不过于宽阔，但又保留等比变化感，我们可以增加一个合理的最大宽度限制，
       最大宽度设为 400px 能保证大屏幕阅读舒适，同时避免一张卡片过于巨大影响布局统一。
       但题目仅要求“卡片大小等比变化”，加上最大宽度不影响等比弹性，同时体验更佳。
       如果不加 max-width，卡片在4K下会极其宽大，但并不违背“等比变化”逻辑。
       为兼顾真实项目优雅感，这里添加 max-width: 400px，但仍然完全保留flex伸缩特性，
       在大屏幕上卡片会填满到400px后不再增大，剩余空间作为留白 (依然响应式)。
       根据常见设计规范，卡片过宽不利于阅读，因此加上限制。如需完全自由伸缩，可注释掉。
    */
    max-width: 400px;

    background-color: #ffffff;
    border-radius: 0.35rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

/* 轻微悬停提升交互感，优雅反馈 */
.main-content-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.75);
}

/* 图片区域：使用 aspect-ratio 保持4:3比例，并让图片完全覆盖，所有卡片图片高度等比响应 */
.main-content-wrapper .card__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #e2e8f0;
    overflow: hidden;
    display: block;
}

.main-content-wrapper .card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 图片裁剪覆盖，保证所有图片区域比例统一，美观 */
    display: block;
    transition: transform 0.4s ease;
}

.main-content-wrapper .card:hover .card__img img {
    transform: scale(1.03); /* 细微图片放大效果，增加精致感 */
}

/* 卡片文字内容区域 */
.main-content-wrapper .card__content {
    padding: 1.25rem 1.25rem 1.5rem;
    background: #fff;
}

.main-content-wrapper .card__title {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    min-height: 70px;
}

.main-content-wrapper .card__title:hover {
    color: var(--color-primary);
}

.main-content-wrapper .card__desc {
    font-size: 0.9rem;
    color: #333333;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

/* 可选的小标签或底部元信息，增加层次 */
.main-content-wrapper .card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    padding: 0.5rem 0;
}

.main-content-wrapper .meta-tag {
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-weight: 500;
    color: #ffffff;
}

.main-content-wrapper .card__button {
    width: 100%;
    font-size: 0.75rem;
    color: var(--color-blue);
    text-align: center;
    border: 1px solid var(--color-blue);
    border-radius: 5px;
    padding: 6px;
}

.main-content-wrapper .empty-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: center;
    padding: 80px 0 30px 0;
}

.main-content-wrapper .empty-list-wrap .iconfont {
    color: var(--color-gray);
    font-size: 120px;
}

.main-content-wrapper .empty-list-wrap .text {
    color: var(--color-gray);
    font-size: 22px;
}

/* ===================== 资料下载 ===================== */
/* 顶部查询区域 */
.data-download-wrap .search-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 20px;
}

.data-download-wrap .search-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: space-around;
}

.data-download-wrap .search-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    flex-shrink: 0;
}

.data-download-wrap .search-item:nth-child(1),
.data-download-wrap .search-item:nth-child(2) {
    width: 25%;
}

.data-download-wrap .search-item:nth-child(3) {
    width: 30%;
}

.data-download-wrap .search-item label {
    color: #606266;
    white-space: nowrap;
    width: 100px;
    text-align: right;
    flex-shrink: 0;
}

.data-download-wrap .search-item input {
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    outline: none;
}

.data-download-wrap .search-item .code-img {
    cursor: pointer;
}

.data-download-wrap .search-btn {
    height: 36px;
    padding: 0 30px;
    background: var(--color-yelllow);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    flex-shrink: 0;
}

.data-download-wrap .search-btn:hover {
    background: var(--color-dark-yelllow);
}

.data-download-wrap .card-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
}

.data-download-wrap .row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.data-download-wrap .row .msg {
    color: var(--color-yelllow);
}

.data-download-wrap .row:last-child {
    border-bottom: none;
}

.data-download-wrap .card-item .label {
    width: 110px;
    font-weight: 500;
    color: #666;
}

.data-download-wrap .value {
    flex: 1;
    color: #222;
}

.data-download-wrap .btns {
    margin-top: 16px;
    text-align: center;
}

.data-download-wrap .download-btn {
    height: 48px;
    padding: 0 60px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 24px;
    flex-shrink: 0;
}

.data-download-wrap .download-btn:hover {
    background: var(--color-dark-primary);
}

/* ===== 禁用状态（也可用于加载中的备用样式） ===== */
.data-download-wrap .download-btn:disabled {
    background: #e0e5ee;
    color: #8a94a6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
    opacity: 0.7;
}

/* ===== 加载中的旋转图标（纯 CSS） ===== */
.data-download-wrap .download-btn .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0; /* 防止被压缩 */
}

/* 旋转动画 */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== 当按钮禁用时，内部的 spinner 也变灰（如果存在） ===== */
.data-download-wrap .download-btn:disabled .spinner {
    border-color: rgba(0, 0, 0, 0.15);
    border-top-color: #6a7a8e;
}

.data-download-wrap .download-btn .loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.data-download-wrap .empty-wrap {
    text-align: center;
    padding: 30px 0;
}

.data-download-wrap .empty-wrap .iconfont {
    font-size: 100px;
    color: var(--color-gray);
}

.data-download-wrap .empty-wrap .empty-tip {
    color: var(--color-gray);
    margin-top: 20px;
}

.data-download-wrap .empty-wrap .yelllow {
    color: var(--color-yelllow);
    margin-top: 20px;
}

/* ===================== 联系客服 ===================== */
.customer-wrapper .card-wrap {
    /*background-color: transparent;*/
    padding: 0px;
}

.customer-wrapper .card-list {
    justify-content: center;
    padding: 30px;
}

.customer-wrapper .card {
    /*border-radius: 4px;*/
    padding: 25px;
    background-color: #f9f9f9;
}

.customer-wrapper .label {
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray);
    position: relative;
}

.customer-wrapper .label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 2px;
    background: var(--color-primary);
}

.customer-wrapper .icon-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0;
}

.customer-wrapper .icon-wrap .iconfont {
    color: var(--color-primary);
    font-size: 40px;
}

.customer-wrapper .icon-wrap .text {
    font-size: 24px;
}

.customer-wrapper .image-wrap {
    width: 100%;
    text-align: center;
    background: #fff;
    border-radius: 15px;
    padding: 10% 0;
}

.customer-wrapper .image {
    width: 80%;
}

/* ===================== 软件下载 ===================== */
.software-wrapper .download-category {
    font-size: 20px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-gray);
    position: relative;
    margin-bottom: 20px;
}

.software-wrapper .download-category::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 2px;
    background: var(--color-primary);
}

.software-wrapper .info {
    margin-bottom: 16px;
}

.software-wrapper ol {
    padding-left: 20px;
}

.software-wrapper li {
    list-style: auto;
    line-height: 1.75rem;
}

.software-wrapper a {
    color: var(--color-blue);
}

/* ===================== 帮助中学 ===================== */
.help-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
    /*height: 100vh;*/
    background: #f5f5f5;
}

/* ---- 侧边栏 ---- */
.help-wrapper .sub-sidebar {
    width: 240px;
    height: 100vh;
    background: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: width 0.3s ease;
    flex-shrink: 0;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
    border-right: 1px solid #f0f0f0;
}

.help-wrapper .sub-sidebar.collapsed {
    width: 0;
    border-right: none;
    box-shadow: none;
}

/* ---- 导航列表 ---- */
.help-wrapper .nav-list {
    list-style: none;
    padding: 16px 12px;
    flex: 1;
    overflow-y: auto;
    transition: opacity 0.2s;
}

.help-wrapper .sub-sidebar.collapsed .nav-list {
    opacity: 0;
    pointer-events: none;
}

.help-wrapper .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
}

.help-wrapper .nav-item .iconfont {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--color-primary);
}

/* 左侧指示条 - 红色系 */
.help-wrapper .nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 24px;
    border-radius: 0 3px 3px 0;
    background: #e53935;
    transition: transform 0.25s ease;
}

/* ---- 悬停效果 (红色系) ---- */
.help-wrapper .nav-item:hover {
    background: #fde8e8;
    color: #c62828;
}

.help-wrapper .nav-item:hover::before {
    transform: translateY(-50%) scaleY(0.6);
    background: #e53935;
}

/* ---- 激活效果 (红色系) ---- */
.help-wrapper .nav-item.active {
    background: #fce4e4;
    color: #b71c1c;
    font-weight: 600;
}

.help-wrapper .nav-item.active::before {
    transform: translateY(-50%) scaleY(1);
    background: #c62828;
}

/* 点击反馈 */
.help-wrapper .nav-item:active {
    transform: scale(0.97);
}

/* ---- 折叠切换按钮 (固定于屏幕左边缘垂直居中) ---- */
.help-wrapper .toggle-btn {
    position: fixed;
    left: 248px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #555;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: left 0.3s ease, background 0.2s, transform 0.2s, box-shadow 0.2s;
    user-select: none;
    padding: 0;
    line-height: 1;
}

.help-wrapper .toggle-btn:hover {
    background: #fce4e4;
    border-color: #e53935;
    color: #c62828;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 2px 16px rgba(229, 57, 53, 0.15);
}

.help-wrapper .toggle-btn:active {
    transform: translateY(-50%) scale(0.92);
}

/* 收起状态：按钮移到最左边 */
.help-wrapper .toggle-btn.collapsed {
    left: 0;
}

.help-wrapper .toggle-btn .iconfont {
    display: inline-block;
}

.help-wrapper .toggle-btn .icon-left {
    display: inline;
}

.help-wrapper .toggle-btn .icon-right {
    display: none;
}

.help-wrapper .toggle-btn.collapsed .icon-left {
    display: none;
}

.help-wrapper .toggle-btn.collapsed .icon-right {
    display: inline;
}

/* 进入视口时添加的类 */
.help-wrapper .visible {
    display: inline;
}

/* 完全离开视口时添加的类（可选） */
.help-wrapper .hidden {
    display: none;
}

.help-wrapper .content {
    flex-grow: 1;
    background: #fff;
    padding: 20px;
}

.help-wrapper .help-content .paragraph {
    margin-bottom: 20px;
}

.help-wrapper .help-content .paragraph p {
    line-height: 1.5rem;
    margin-top: 5px;
}

/* ===================== 资料详情 ===================== */
.detail-wrap .detail-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    margin-top: 20px;
}

.detail-wrap .title {
    margin-bottom: 30px;
}

.detail-wrap .info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 45px;
}

.detail-wrap .info div {
    flex-shrink: 0;
}

.detail-wrap .info .line {
    width: 1px;
    height: 18px;
    background-color: var(--color-deep-gray);
    transform: rotate(30deg);
}

.detail-wrap .info .number {
    flex-shrink: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.detail-wrap .info .iconfont {
    padding-right: 5px;
    color: var(--color-yelllow);
}

.detail-wrap .sub-title {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 24px;
    padding: 10px 0;
    position: relative;
    margin: 40px 0 20px;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, var(--color-gray), transparent) 1;
}

.detail-wrap .sub-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 70px;
    height: 2px;
    background: var(--color-primary);
}

.detail-wrap ol.content-list {
    padding-left: 25px;
    line-height: 1.5rem;
}

.detail-wrap .content-list li {
    list-style: decimal;
}


.detail-wrap .data-description p {
    margin-bottom: 20px;
}

.detail-wrap .detail-data-download {
    margin-top: 24px;
    text-align: center;
}

.detail-wrap .detail-data-download button {
    /*display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;*/
    padding: 14px 40px;
    font-weight: 700;
    color: #DC3545;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.25s ease;
    /*box-shadow: 0 6px 18px rgba(30, 90, 138, 0.28);*/
    font-size: 1.1rem;
    background: #a80d0d4d;
}

.detail-wrap .detail-data-download button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(138, 30, 50, 0.35);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-purple) 100%);
    color: #ffffff;
}

.detail-wrap .detail-data-download button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 4px 12px rgba(30, 90, 138, 0.25);
}

.detail-wrap .detail-data-download .iconfont {
    font-size: 22px;
}

.detail-wrap .detail-data-download a:hover {
    color: #e82020;
    transform: scale(1.1);
    margin-left: 10px;
}

/* ===== 下载 ===== */
#collapseButton {
    text-align: center;
    margin-top: 30px;
    background: #f5f5f5;
    padding: 8px 0px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    gap: 5px;
    color: #333;
    cursor: pointer;
}

.detail-wrap .download-description-wrap {
    /* 默认高度为 0，隐藏内容 */
    height: 0;
    overflow: hidden;
    /* 平滑过渡：高度变化时执行动画 */
    transition: height 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
}

.detail-wrap .download-description-wrap h3 {
    line-height: 2rem;
}

.detail-wrap .pay-card-wrap {
    width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 24px;
}

/* 卡片通用样式 */
.detail-wrap .pay-card-wrap .card-item {
    flex: 1;
    border-radius: 12px;
    padding: 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-wrap .pay-card-wrap .card-item:nth-child(1) {
    box-shadow: 4px 8px 15px rgb(49 234 78 / 65%);
}

.detail-wrap .pay-card-wrap .card-item:nth-child(2) {
    box-shadow: 4px 8px 15px rgb(87 86 234 / 65%);
}

/* 微信绿色卡片 */
.detail-wrap .pay-card-wrap .card-wechat {
    background-color: #07C160;
}

/* 支付宝蓝色卡片 */
.detail-wrap .pay-card-wrap .card-alipay {
    background-color: #1677FF;
}

/* 卡片顶部标题 */
.detail-wrap .pay-card-wrap .card-title {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 图片+文字容器 PC左右排列 */
.detail-wrap .pay-card-wrap .card-body {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* 左侧图片 */
.detail-wrap .pay-card-wrap .card-img {
    width: 220px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: cover;
}

/* 右侧文字描述 */
.detail-wrap .pay-card-wrap .card-desc p {
    line-height: 1.8;
}

.detail-wrap .pay-card-wrap a:link,
.detail-wrap .pay-card-wrap a:visited {
    color: #000000;
}

.detail-wrap .pay-card-wrap a:active,
.detail-wrap .pay-card-wrap a:hover {
    color: #cb2020;
    transition: all 0.25s ease;
}

/* ===== 下载 ===== */

.detail-wrap .content p {
    line-height: 30px;
}

.detail-wrap .content img {
    border: 1px solid #efefef;
    padding: 10px;
    border-radius: 2px;
    margin: 16px 0;
}

.detail-wrap .download-btn2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #409eff, #007aff);
    box-shadow: 0 6px 18px rgba(64, 158, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

/* 按钮hover悬浮效果 */
.detail-wrap .download-btn2:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(64, 158, 255, 0.45);
    background: linear-gradient(135deg, #2989e8, #0068e6);
}

.detail-wrap .download-btn2 svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

/* ===================== 底部Footer区域 ===================== */
.footer-wrap {
    background: #1a1a1a;
    color: #b0b0b0;
    padding: 60px 20px 30px;
    margin-top: 40px;
}

.footer-wrap .footer-inner {
    max-width: 1732px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.footer-wrap .footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-wrap .footer-col h3 {
    color: #ffffff;
    font-size: 19px;
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
    position: relative;
}

.footer-wrap .footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 2px;
    background: var(--color-primary);
}

.footer-wrap .footer-col li {
    margin-bottom: 14px;
}

.footer-wrap .copyright {
    max-width: 1732px;
    margin: 50px auto 0;
    padding-top: 25px;
    border-top: 1px solid #333;
    text-align: center;
    color: #777;
    line-height: 1.8;
}

.footer-wrap .copyright a {
    color: #777;
    cursor: auto;
}

/* ===================== 回到顶部按钮 ===================== */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-purple));
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(168, 16, 16, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 997;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 5px 18px rgba(168, 16, 16, 0.4);
}


/* ===================== 错误页面 Error ===================== */
.error-wrap {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.error-wrap .text {
    color: #222226;
    margin: 20px 0;
}

.error-wrap .back-button {
    color: #555666;
    padding: 5px 25px;
    border: 1px solid #555666;
    border-radius: 16px;
    display: inline-block;
    cursor: pointer;
}

/* Error END */

/* ===================== 分页 ===================== */
.pagination-wrap {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.pagination-wrap .pagination {
    display: flex;
    gap: 10px;
}

.pagination-wrap .pagination .page-item {
    border: 1px solid #dcdee2;
    border-radius: 4px;
    min-width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-weight: 500;
    padding: 0 0px 2px;
    position: relative;
}

.pagination-wrap .pagination .page-text {
    min-width: 40px;
    height: 40px;
    line-height: 36px;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    font-weight: 500;
    padding: 0 0px 2px;
    position: relative;
}

.pagination-wrap .pagination .page-item .page-link {
    padding: 8px;
}

.pagination-wrap .pagination .active {
    border: 1px solid #2082ed;
}

.pagination-wrap .pagination .disabled {
    background: #f0f0f0;
}

.pagination-wrap .pagination .disabled a {
    cursor: not-allowed;
}

.pagination-wrap .pagination .ellipsis {
    border: unset;
    border: 0;
    color: #ccc;
    cursor: unset;
}

.pagination-wrap .pagination .ellipsis .page-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-44%, -64%);
    letter-spacing: 3px;
    font-size: 18px;
    font-weight: 600;
}

.pagination-pc {
    display: block;
}

.pagination-mobile {
    display: none;
}

/* 分页 END */

/* ===================== 响应式适配 =====================
方案 1：max-width 移动端优先（最常用）
小屏向下适配（宽度从大到小写）
@media (max-width: 768px) { ... } 平板/小电脑：≤768
@media (max-width: 480px) { ... } 手机：≤480
@media (min-width: 1920px) { ... } 超大屏 ≥1920 放最后，不冲突

方案 2：min-width 桌面优先
大屏向上适配（宽度从小到大写）
@media (min-width: 1920px) { ... } 超大屏
@media (min-width: 769px) { ... } 普通桌面
@media (max-width: 768px) { ... } 平板手机
@media (max-width: 480px) { ... } 手机
*/

/* 平板/小电脑：≤768 */
@media (max-width: 768px) {
    /* 取消滚动条 */
    ::-webkit-scrollbar {
        display: none;
    }

    .main-content-wrapper {
        padding: 1.25rem 0.8rem;
    }

    .main-content-wrapper .card-list {
        gap: 1.25rem;
        justify-content: center;
    }

    .main-content-wrapper .card__content {
        padding: 1rem 1rem 1.25rem;
    }

    .main-content-wrapper .card__title {
        font-size: 1.2rem;
    }

    .main-content-wrapper .card__desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }

    .main-content-wrapper .card-wrap-title {
        font-size: 18px;
    }

    .header-wrap .pc-nav {
        display: none;
    }

    .header-wrap .menu-btn {
        display: block;
    }

    .banner-wrap .banner-item img {
        height: 200px;
    }

    .search-wrap .search-input {
        width: 70%;
    }

    .back-top {
        right: 15px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .footer-wrap .footer-inner {
        flex-direction: column;
        gap: 45px;
    }

    .section-header {
        padding: 10px 12px;
    }


    .pagination-pc {
        display: none;
    }

    .pagination-mobile {
        display: block;
    }

    .detail-wrap .detail-container {
        padding: 18px;
    }

    .detail-wrap .info div {
        width: 100%;
    }

    .detail-wrap .info .line {
        display: none;
    }

    .data-download-wrap .search-item {
        width: 100% !important;
    }

    .data-download-wrap .search-btn-wrap {
        justify-content: center;
    }

    .data-download-wrap .btns .download-btn {
        width: 100%;
    }

    .detail-wrap .detail-data-download button {
        width: 100%;
    }

    /* =====下载 ===== */
    .detail-wrap .pay-card-wrap {
        flex-direction: column;
    }

    .detail-wrap .pay-card-wrap .card-body {
        flex-direction: column;
    }

    .detail-wrap .pay-card-wrap .card-img {
        width: 250px;
    }

    /* =====下载 ===== */

    .detail-wrap .content img {
        width: 100%;
    }
}

/* 可选：超大屏 ≥1920 放最后，大屏1920px时内部容器自动居中，背景延伸，但卡片最大宽400px略有留白，仍然保证卡片宽高比列一致 */
@media (min-width: 1920px) {
    .main-content-wrapper {
        padding: 2.5rem 2rem;
    }

    .main-content-wrapper .card-list {
        gap: 2rem;
    }
}


