/* 全站公共样式：由 common/layout.html 内部样式抽取，未做任何样式改动 */

:root {
    --theme-color: #7c3aed;
    --theme-color-strong: #6d28d9;
    --theme-color-soft: #f3eefe;
    --theme-color-border: rgba(124, 58, 237, .2);
    --theme-gradient: linear-gradient(135deg, #a855f7 0%, #7c3aed 46%, #4f46e5 100%);
    --theme-gradient-soft: linear-gradient(135deg, #f7f2ff 0%, #eef0ff 100%);
    /* 全站内容统一宽度：只改这一处，所有页面同步生效 */
    --content-width: 1400px;
}

/* 全站横幅/轮播大标题统一使用主题色（首页轮播、各栏目列表与详情页头图共用） */
body .mt-hero-copy h1 {
    color: var(--theme-color, #7c3aed);
}

/* ================= 顶部导航（ShopeX 风格 · 内部样式） ================= */
.wj-header {
    box-sizing: border-box;
    height: var(--wj-header-h);
    padding-left: max(16px, calc((100% - var(--content-width)) / 2));
    padding-right: max(16px, calc((100% - var(--content-width)) / 2));
    /* 首屏浅蓝半透明底色：与 hero 背景图自然融合（恢复紫色主题之前的配色） */
    background: linear-gradient(90deg, rgba(214, 237, 255, .92) 0%, rgba(219, 238, 255, .92) 38%, rgba(226, 242, 255, .92) 62%, rgba(220, 238, 255, .92) 82%, rgba(216, 234, 255, .92) 100%);
    color: #1f2937;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.wj-header.is-scrolled {
    background: linear-gradient(90deg, #d6edff 0%, #dbeeff 38%, #e2f2ff 62%, #dceeff 82%, #d8eaff 100%);
    border-bottom-color: rgba(17, 24, 39, .05);
    box-shadow: 0 1px 0 rgba(17, 24, 39, .04), 0 12px 32px rgba(17, 24, 39, .06);
}

.wj-header a,
.wj-header a:hover,
.wj-header a:focus,
.wj-header button,
.wj-header button:hover {
    text-decoration: none;
}

/* 导航下拉面板与图标跟随主题紫 */
.wj-product-menu {
    border-color: var(--theme-color);
}

.wj-product-menu:before {
    border-color: var(--theme-color);
}

.wj-product-toggle.is-open {
    color: var(--theme-color);
}

.product-menu-icon {
    color: var(--theme-color);
}

.mobile-nav-panel {
    border-color: var(--theme-color-border);
}

.mobile-nav-link--primary {
    background: var(--theme-color);
}

/* 导航右侧「立即体验」按钮跟随主题紫 */
.wj-use {
    color: var(--theme-color);
}

.wj-header.is-scrolled .wj-use {
    background: var(--theme-color);
    color: #fff;
}

/* 各页面首屏及各内容容器统一最大宽度（由 --content-width 控制）
   用 max-width + box-sizing 保证含内边距时实测宽度也不超过该值 */
body .product-hero .mt-home-hero__item__inner,
body .mt-home-hero__item__inner {
    box-sizing: border-box;
    width: 100%;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* 各页面首屏（.product-hero）按钮统一配色：主按钮渐变紫，次按钮白底紫描边 */
body .product-hero .mt-btn-primary {
    background: var(--theme-gradient);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 38px rgba(124, 58, 237, .26);
}

body .product-hero .mt-btn-primary:hover,
body .product-hero .mt-btn-primary:focus {
    color: #fff;
    text-decoration: none;
    box-shadow: 0 22px 44px rgba(124, 58, 237, .34);
}

body .product-hero .mt-btn-secondary {
    border: 1.5px solid rgba(124, 58, 237, .42);
    background: rgba(255, 255, 255, .82);
    color: #6d28d9;
    text-decoration: none;
}

body .product-hero .mt-btn-secondary:hover,
body .product-hero .mt-btn-secondary:focus {
    border-color: rgba(124, 58, 237, .72);
    background: #fff;
    color: #5b21b6;
    text-decoration: none;
}

.wj-header .wj-logo {
    width: auto;
    height: 32px;
    max-width: 170px;
    flex: 0 0 auto;
}

.wj-header .wj-logo img {
    width: auto;
    height: 32px;
    object-fit: contain;
    object-position: left center;
}

.wj-header .wj-nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-left: 32px;
    margin-right: 32px;
    min-width: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
}

.wj-header .wj-nav > a,
.wj-header .wj-nav > button {
    flex: 1 1 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1f2937;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;
    opacity: 1;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.wj-header .wj-nav > a:hover,
.wj-header .wj-nav > button:hover {
    color: #6d28d9;
    background: rgba(255, 255, 255, .5);
}

/* 选中栏目：紫蓝渐变底色块 */
.wj-header .wj-nav > a.is-active {
    /* background: linear-gradient(90deg, #ece2ff 0%, #f0eaff 48%, #e2eeff 100%); */
    color: #6d28d9;
    /* box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .10); */
}

.wj-header .wj-nav > a.is-active:hover {
    /* background: linear-gradient(90deg, #e6d8ff 0%, #ebe3ff 48%, #dbebff 100%); */
    color: #5b21b6;
}

.wj-header .wj-nav button:after {
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right-width: 1.5px;
    border-bottom-width: 1.5px;
    transform: translateY(-2px) rotate(45deg);
}

.wj-header .wj-actions {
    gap: 18px;
    margin-left: auto;
    font-size: 14px;
    font-weight: 500;
}

.wj-header .wj-actions > a:not(.wj-use) {
    padding: 6px 10px;
    border-radius: 6px;
    color: #1f2937;
    transition: color .2s ease, background-color .2s ease;
}

.wj-header .wj-actions > a:not(.wj-use):hover {
    color: #6d28d9;
    background: rgba(255, 255, 255, .5);
}

.wj-header .wj-consult-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 20px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    transition: border-color .3s ease, background-color .3s ease;
}

.wj-header .wj-consult-button:hover {
    border-color: #d8b4fe;
    background: #e8f4ff;
}

.wj-header .wj-consult img {
    width: 14px;
    height: 14px;
    opacity: .85;
}

.wj-header .wj-use {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 0;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #7c3aed, #c4b5fd) border-box;
    box-shadow: none;
    color: #6d28d9;
    font-size: 13px;
    font-weight: 700;
    transition: box-shadow .3s ease, transform .3s ease;
}

.wj-header .wj-use:hover {
    box-shadow: 0 8px 20px rgba(99, 102, 241, .25);
    transform: translateY(-1px);
}

.wj-header.is-scrolled .wj-use {
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #7c3aed, #c4b5fd) border-box;
    color: #6d28d9;
}

.wj-header .wj-more {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    color: #4b5563;
    transition: background-color .2s ease;
}

.wj-header .wj-more:hover {
    background: #f3f4f6;
}

.wj-header.is-scrolled .wj-more {
    background: transparent;
    color: #4b5563;
}

.wj-header .wj-more:before,
.wj-header .wj-more:after,
.wj-header .wj-more span {
    left: 11px;
    width: 18px;
    height: 2px;
    background: currentColor;
}

/* 产品下拉面板：白底大圆角 + 轻阴影（无描边、无箭头） */
.wj-product-menu {
    top: 72px;
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(17, 24, 39, .12);
}

.wj-product-menu:before {
    display: none;
}

/* 产品下拉面板内容区：与内容宽度对齐 + 卡片化信息排布 */
.wj-product-menu {
    top: calc(var(--wj-header-h, 64px) + 10px);
    left: 0;
    right: 0;
    width: min(var(--content-width, 1400px), calc(100vw - 48px));
    margin: 0 auto;
    padding: 26px 30px 30px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    border: 1px solid rgba(124, 58, 237, .14);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fdfbff 100%);
    box-shadow: 0 24px 64px rgba(76, 29, 149, .16);
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 58, 237, .35) transparent;
}

.wj-product-menu::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.wj-product-menu::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(124, 58, 237, .3);
}

.product-menu-grid {
    gap: 8px 18px;
}

.product-menu-col {
    padding: 4px 20px;
}

.product-menu-col:first-child {
    padding-left: 4px;
}

.product-menu-col:not(:first-child):before {
    background: linear-gradient(180deg, rgba(124, 58, 237, .16) 0%, rgba(226, 232, 240, .9) 42%, rgba(226, 232, 240, 0) 100%);
}

.product-menu-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.product-menu-title:before {
    content: "";
    width: 4px;
    height: 14px;
    border-radius: 999px;
    background: var(--theme-gradient, linear-gradient(135deg, #a855f7 0%, #7c3aed 46%, #4f46e5 100%));
}

.product-menu-list {
    gap: 4px;
}

.product-menu-link {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background-color .2s ease;
}

.product-menu-link:hover {
    background: #f6f1ff;
}

.product-menu-thumb {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(76, 29, 149, .10);
}

.product-menu-name {
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    transition: color .2s ease;
}

.product-menu-link:hover .product-menu-name {
    color: var(--theme-color);
}

.product-menu-desc {
    margin-top: 2px;
    color: #8a94a6;
    font-size: 12.5px;
    line-height: 18px;
}

/* 移动端展开面板 */
.mobile-nav-panel {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, .06);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(17, 24, 39, .12);
}

.mobile-nav-link {
    font-size: 15px;
    color: #1f2937;
}

.mobile-nav-link--primary {
    color: #6d28d9;
}

html {
    --wj-header-h: 64px;
    overflow-y: scroll; /* 始终保留滚动条，避免页面切换时导航左右跳动 */
}

body,
body.skin-white {
    padding-top: var(--wj-header-h);
    /* common.css 给 body 设了 height:100%，配合全局 overflow-x:hidden 会让 body
       变成独立滚动容器，它自己的滚动条正好被固定导航盖住；改为整页(html)滚动 */
    height: auto;
    min-height: 100vh;
}

.main-content {
    margin-top: 0;
    padding-top: 0;
}

.main-content > :first-child {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .wj-header .wj-nav {
        gap: 2px;
        margin-left: 16px;
        margin-right: 16px;
        font-size: 13px;
    }

    .wj-header .wj-nav > a,
    .wj-header .wj-nav > button {
        padding: 8px 4px;
        font-size: 13px;
    }

    .wj-header .wj-actions {
        gap: 12px;
    }

    .wj-header .wj-consult-button {
        height: 34px;
        padding: 0 14px;
        font-size: 12px;
    }

    .wj-header .wj-use {
        height: 34px;
        padding: 0 18px;
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .wj-header {
        height: var(--wj-header-h);
        padding-left: 16px;
        padding-right: 16px;
        background: linear-gradient(90deg, #ffffff 0%, #fdfcff 38%, #fbf8ff 62%, #fdfdff 82%, #ffffff 100%);
        border-bottom: 1px solid rgba(17, 24, 39, .05);
        box-shadow: none;
    }

    .wj-header .wj-nav,
    .wj-header .wj-actions {
        display: none;
    }

    .wj-header .wj-more {
        display: inline-flex;
    }

    html {
        --wj-header-h: 64px;
    }

    body,
    body.skin-white {
        padding-top: var(--wj-header-h);
    }
}

@media (max-width: 420px) {
    .wj-header {
        height: var(--wj-header-h);
        padding-left: 12px;
        padding-right: 12px;
    }

    .wj-header .wj-logo,
    .wj-header .wj-logo img {
        height: 28px;
    }

    html {
        --wj-header-h: 60px;
    }

    body,
    body.skin-white {
        padding-top: var(--wj-header-h);
    }
}

/* ============ 底部 CTA（全站统一，所有页面都使用 layout 的这段样式） ============ */
.lx-guide,
.lx-guide * {
    box-sizing: border-box;
}

body .lx-guide {
    padding: 30px 20px 28px;
    background: #0f142a;
    overflow: visible;
}

body .lx-guide .lx-guide-inner {
    position: relative;
    width: min(var(--content-width), 100%);
    max-width: none;
    margin: 0 auto;
    padding: 62px 72px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    background:
        radial-gradient(52% 150% at 6% 0%, rgba(139, 92, 246, .26), transparent 62%),
        radial-gradient(48% 150% at 98% 108%, rgba(124, 58, 237, .18), transparent 62%),
        linear-gradient(150deg, #1a2043 0%, #151a33 58%, #131728 100%);
    box-shadow: 0 26px 60px rgba(8, 12, 34, .32);
}

body .lx-guide .lx-guide-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
}

body .lx-guide .lx-guide-label {
    position: relative;
    margin: 0;
    max-width: none;
    padding-left: 26px;
    color: #fff;
    font-size: clamp(26px, 2.9vw, 40px);
    font-weight: 800;
    line-height: 1.32;
    letter-spacing: -.4px;
}

body .lx-guide .lx-guide-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #7a68ff, #7c3aed);
}

body .lx-guide .lx-guide-btn {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    gap: 14px;
}

body .lx-guide .lx-guide-use-btn,
body .lx-guide .lx-guide-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    min-width: 128px;
    height: 50px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, border-color .3s ease;
}

body .lx-guide .lx-guide-use-btn {
    background: #7c3aed;
    color: #fff;
    box-shadow: 0 14px 30px rgba(124, 58, 237, .34);
}

body .lx-guide .lx-guide-use-btn:hover {
    background: #6d28d9;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(124, 58, 237, .44);
    opacity: 1;
}

body .lx-guide .lx-guide-product-btn {
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

body .lx-guide .lx-guide-product-btn:hover {
    border-color: rgba(255, 255, 255, .52);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transform: translateY(-2px);
    opacity: 1;
}

/* 右下角悬浮客服按钮跟随主题紫 */
.float-contact-lite__button {
    background: var(--theme-gradient);
    box-shadow: 0 14px 34px rgba(124, 58, 237, .3);
}

.float-contact-lite__button:hover {
    box-shadow: 0 18px 40px rgba(124, 58, 237, .4);
}

@media (max-width: 991px) {
    body .lx-guide {
        padding: 24px 20px 22px;
    }

    body .lx-guide .lx-guide-inner {
        padding: 48px 36px;
        border-radius: 16px;
    }

    body .lx-guide .lx-guide-content {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    body .lx-guide {
        padding: 18px 16px 20px;
    }

    body .lx-guide .lx-guide-inner {
        padding: 36px 22px;
        border-radius: 14px;
    }

    body .lx-guide .lx-guide-label {
        padding-left: 16px;
        font-size: 21px;
    }

    body .lx-guide .lx-guide-btn {
        width: 100%;
    }

    body .lx-guide .lx-guide-use-btn,
    body .lx-guide .lx-guide-product-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 14px;
    }
}

/* ============ 底部页脚（与 CTA 同一深色系，整页色调统一） ============ */
.met-com-footer-container-section,
.met-com-footer-container-section * {
    box-sizing: border-box;
}

body .met-com-footer-container-section {
    padding: 0 20px 40px;
    background: #0f142a;
    color: #8c98b8;
    font-size: 13px;
    line-height: 1.6;
}

body .met-com-footer-container-section .footer-container-wrap {
    width: min(var(--content-width), 100%);
    max-width: none;
    margin: 0 auto;
    padding: 46px 52px 30px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 20px;
    background: linear-gradient(150deg, #1a2043 0%, #151a33 58%, #131728 100%);
    box-shadow: 0 26px 60px rgba(8, 12, 34, .32);
}

body .met-com-footer-container-section .up-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 56px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body .met-com-footer-container-section .left {
    flex: 1 1 auto;
    min-width: 0;
}

body .met-com-footer-container-section .menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 26px 28px;
    margin: 0;
    padding: 0;
}

body .met-com-footer-container-section .title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

body .met-com-footer-container-section .option {
    margin-top: 9px;
    color: #8c98b8;
    font-size: 13px;
    line-height: 1.55;
}

body .met-com-footer-container-section a.txt,
body .met-com-footer-container-section a.desc-txt {
    color: inherit;
    transition: color .2s ease;
}

body .met-com-footer-container-section a.txt:hover,
body .met-com-footer-container-section a.desc-txt:hover {
    color: #fff;
}

body .met-com-footer-container-section .right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-right: 0;
}

body .met-com-footer-container-section .qr-section {
    text-align: center;
    color: #8c98b8;
}

body .met-com-footer-container-section .item-1 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

body .met-com-footer-container-section .qr-tm-img {
    display: block;
    width: 104px;
    height: 104px;
    padding: 6px;
    border-radius: 12px;
    background: #fff;
}

/* 备案信息：一条独立的圆角细描边横条 */
body .met-com-footer-container-section .desc-wrap {
    display: block;
    margin-top: 0;
    padding: 15px 22px;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    text-align: center;
}

body .met-com-footer-container-section .desc,
body .met-com-footer-container-section .desc-policy,
body .met-com-footer-container-section .desc-record {
    justify-content: center;
    flex-wrap: wrap;
}

body .met-com-footer-container-section .desc-txt {
    color: #8c98b8;
    font-size: 12.5px;
}

body .met-com-footer-container-section .indent {
    color: rgba(255, 255, 255, .18);
}

body .met-com-footer-container-section .copyright {
    margin-top: 10px;
    color: #6f7b9b;
    font-size: 12px;
    text-align: center;
}

body .met-com-footer-container-section .met-com-meeting-language {
    position: static;
    display: block;
    margin-top: 10px;
    color: #6f7b9b;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 991px) {
    body .met-com-footer-container-section {
        padding: 0 20px 32px;
    }

    body .met-com-footer-container-section .footer-container-wrap {
        padding: 34px 24px 24px;
        border-radius: 16px;
    }

    body .met-com-footer-container-section .up-wrap {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 24px;
        padding-bottom: 24px;
    }

    body .met-com-footer-container-section .right {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    body .met-com-footer-container-section {
        padding: 0 16px 24px;
    }

    body .met-com-footer-container-section .footer-container-wrap {
        padding: 26px 18px 20px;
        border-radius: 14px;
    }

    body .met-com-footer-container-section .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 18px;
    }

    body .met-com-footer-container-section .qr-tm-img {
        width: 88px;
        height: 88px;
    }

    body .met-com-footer-container-section .desc-wrap {
        padding: 12px 14px;
    }
}
