/* --- 全局重置与基础样式 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #f4f7fa 0%, #e5effb 100%);
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- 毛玻璃标准组件样式类 --- */
.glass-container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 15px 35px -8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset,
        0 -8px 20px rgba(0, 0, 0, 0.02) inset;
    transition: transform 0.2s ease;
}

.glass-container:hover {
    transform: scale(1.02);
}

.glass-icon-shape {
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    box-shadow:
        0 15px 25px -8px rgba(0, 0, 0, 0.3),
        0 -4px 12px rgba(0, 0, 0, 0.05) inset,
        0 6px 12px rgba(255, 255, 255, 0.8) inset;
}

/* --- 头部导航 --- */
header {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #00a0e9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 36px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-brand .logo-img {
    height: 40px;
}

.logo { letter-spacing: -1px; }

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 14px;
    font-weight: 500;
}

.nav-links li a { color: #333; }
.nav-links li.active a { color: #00a0e9; }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 30px 8px 10px;
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 20px;
    outline: none;
    background: rgba(255,255,255,0.5);
    width: 150px;
    font-size: 12px;
}

.search-box i {
    position: absolute;
    right: 10px;
    color: #999;
    font-size: 12px;
}

.user-avatar {
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    border: 1px solid rgba(255,255,255,0.8);
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-avatar img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 用户头像下拉菜单 */
.user-avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 1000;
    pointer-events: none;
}

.user-avatar-wrap.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #eaf4ff, #f0f7ff);
    border-bottom: 1px solid #f0f0f0;
}

.user-dropdown-header img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.dropdown-nickname {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.dropdown-phone {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.user-dropdown-menu {
    padding: 8px 0;
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 13px;
    color: #555;
    transition: background 0.15s, color 0.15s;
}

.user-dropdown-menu a:hover {
    background: #f5f7fa;
    color: #0056b3;
}

.user-dropdown-menu a i {
    width: 16px;
    color: #999;
    font-size: 13px;
}

.user-dropdown-menu a:hover i {
    color: #0056b3;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 18px;
    background: none;
    border: none;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #f5222d;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

.btn-logout:hover {
    background: #fff1f0;
}

.btn-logout i {
    width: 16px;
    font-size: 13px;
}

.cart-icon {
    cursor: pointer;
    color: #555;
    transition: 0.3s;
}

.cart-icon:hover { color: #00a0e9; }

/* --- 通用按钮 --- */
.btn-primary {
    background-color: #00a0e9;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 15px rgba(0, 160, 233, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 160, 233, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    color: #333;
    padding: 12px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.9);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.9); }

.btn-text {
    font-size: 14px;
    color: #00a0e9;
    transition: 0.3s;
}

.btn-text:hover { color: #0077b5; }

/* --- 通用标题 --- */
.section-title-center {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title-center h2 {
    font-size: 24px;
    font-weight: 600;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
    color: #1a1a1a;
}

.section-title-center h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background-color: #00a0e9;
}

/* --- 页脚 --- */
footer:not(.m-tabbar) {
    padding: 60px 0 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.35) 30%, rgba(245, 247, 250, 0.55) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -15px 35px -8px rgba(0, 0, 0, 0.1);
    margin-top: 60px;     /* 内容与底部之间的过渡间距 */
    padding-top: 50px;    /* footer 内部上间距，避免内容太靠近底部 */
}
/* 注意：footer 不设置 backdrop-filter，否则会创建包含块
   导致内部 position:fixed 的 .float-toolbar 相对 footer 定位而非视口 */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 -15px 35px -8px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1fr 1.4fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand .logo { display: inline-flex; margin-bottom: 15px; }
.footer-brand p {
    font-size: 14px; color: #444;
    line-height: 1.8; max-width: 300px;
}

.footer-links h4 { font-size: 16px; margin-bottom: 20px; color: #1a1a1a; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 14px; color: #555; transition: 0.3s; }
.footer-links ul li a:hover { color: #00a0e9; }

.footer-qr-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-qr-column h4 {
    font-size: 16px; margin-bottom: 20px; color: #1a1a1a;
}

.footer-qr-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    transition: transform 0.2s;
}

.qr-item:hover { transform: translateY(-4px); }

.qr-img-box {
    width: 70px; height: 70px;
    background: #ffffff;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.qr-img-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qr-item span { font-size: 12px; color: #333; font-weight: 500; line-height: 1.2; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.footer-bottom-left { display: flex; gap: 15px; align-items: center; }
.footer-bottom-left a { color: #555; transition: 0.3s; }
.footer-bottom-left a:hover { color: #00a0e9; }

.footer-icons { display: flex; gap: 15px; }
.footer-icons i { cursor: pointer; transition: 0.3s; color: #555; }
.footer-icons i:hover { color: #00a0e9; transform: translateY(-2px); }

.police-icon { width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; }

/* --- 页脚站点地图链接 --- */
.sitemap-link {
    color: #555 !important;
    transition: 0.3s;
}
.sitemap-link:hover { color: #00a0e9 !important; }

/* --- 通用空状态 --- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* --- 通用加载状态 --- */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.loading i {
    font-size: 32px;
    color: #00a0e9;
    margin-bottom: 15px;
    display: block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- Toast 提示 --- */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.toast.show { opacity: 1; }

/* --- 响应式适配 --- */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .footer-qr-column {
        align-items: center;
        grid-column: span 2;
    }
    .footer-qr-group {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .qr-item { width: 90px; }
    .qr-img-box { width: 80px; height: 80px; }
}

@media (max-width: 768px) {
    .nav-links, .search-box { display: none; }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand p { margin: 0 auto; }
    .footer-qr-column { grid-column: span 1; }
    .footer-qr-group {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .footer-bottom { flex-direction: column; gap: 15px; }
}

/* --- 扫码登录弹窗 --- */
.qr-login-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* 关闭时不拦截点击 */
    transition: opacity 0.25s ease;
}
.qr-login-overlay.show {
    opacity: 1;
    pointer-events: auto; /* 显示时恢复点击 */
}

.qr-login-modal {
    width: 360px;
    max-width: 92vw;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.3);
    padding: 32px 28px 24px;
    position: relative;
    transform: scale(0.92);
    transition: transform 0.25s ease;
}
.qr-login-overlay.show .qr-login-modal { transform: scale(1); }

.qr-login-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.qr-login-close:hover { background: rgba(0, 0, 0, 0.12); color: #333; }

.qr-login-header {
    text-align: center;
    margin-bottom: 20px;
}
.qr-login-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.qr-login-header .qr-login-sub {
    font-size: 13px;
    color: #888;
}

.qr-code-wrapper {
    width: 240px;
    height: 240px;
    margin: 0 auto 18px;
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.qr-code-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.qr-code-wrapper.loading::before {
    content: '加载中...';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    background: #fafafa;
    border-radius: 16px;
}

.qr-expired-mask {
    position: absolute;
    inset: 10px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #999;
    font-size: 14px;
}
.qr-expired-mask.show { display: flex; }
.qr-expired-mask .refresh-btn {
    background: #00a0e9;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}
.qr-expired-mask .refresh-btn:hover { background: #0077b5; }

.qr-login-status {
    text-align: center;
    font-size: 14px;
    color: #444;
    margin-bottom: 8px;
    min-height: 22px;
}
.qr-login-status.success { color: #1aa260; font-weight: 600; }
.qr-login-status.expired { color: #c0392b; }

.qr-login-countdown {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 14px;
}

.qr-login-tip {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    line-height: 1.6;
    padding-top: 14px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.qr-login-agree {
    text-align: center;
    margin-top: 14px;
    font-size: 12px;
    color: #666;
}

.qr-login-agree-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    line-height: 1.6;
}

.qr-login-agree-cb {
    margin: 0;
    cursor: pointer;
    width: 14px;
    height: 14px;
    accent-color: #00a0e9;
    flex-shrink: 0;
}

.qr-login-agree-link {
    color: #00a0e9;
    text-decoration: none;
}

.qr-login-agree-link:hover {
    text-decoration: underline;
}

/* ============ SEO 面包屑（全站通用） ============ */
.seo-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
    padding: 0;
}
.seo-breadcrumb .bc-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.seo-breadcrumb .bc-item {
    display: inline-flex;
    align-items: center;
}
.seo-breadcrumb .bc-sep {
    margin: 0 6px;
    color: #ccc;
}
.seo-breadcrumb a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}
.seo-breadcrumb a:hover {
    color: #0056b3;
}
.seo-breadcrumb .bc-current {
    color: #333;
    font-weight: 500;
}

/* ============================================================
   富文本通用样式 .rich-content
   适用于：产品详情、文章详情、手册详情等富文本正文区域
   覆盖：p / h1-h6 / ul / ol / li / blockquote / table / pre / code / img / a / hr
   ============================================================ */
.rich-content {
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.85;
    word-break: break-word;
}
.rich-content > *:first-child { margin-top: 0 !important; }
.rich-content > *:last-child { margin-bottom: 0 !important; }

/* 段落 */
.rich-content p {
    margin: 16px 0;
}

/* 标题 */
.rich-content h1, .rich-content h2, .rich-content h3,
.rich-content h4, .rich-content h5, .rich-content h6 {
    margin: 28px 0 14px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.4;
}
.rich-content h1 { font-size: 26px; padding-left: 12px; border-left: 4px solid #0056b3; }
.rich-content h2 { font-size: 22px; padding-left: 10px; border-left: 3px solid #0056b3; }
.rich-content h3 { font-size: 18px; color: #0056b3; }
.rich-content h4 { font-size: 16px; color: #1a1a1a; }
.rich-content h5 { font-size: 15px; color: #333; }
.rich-content h6 { font-size: 14px; color: #666; }

/* 列表 */
.rich-content ul, .rich-content ol {
    margin: 14px 0;
    padding-left: 24px;
}
.rich-content ul { list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content li {
    margin: 6px 0;
    line-height: 1.7;
}
.rich-content li > ul, .rich-content li > ol {
    margin: 6px 0;
}

/* 链接 */
.rich-content a {
    color: #0056b3;
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 86, 179, 0.3);
    transition: color 0.15s, border-color 0.15s;
}
.rich-content a:hover {
    color: #004494;
    border-bottom-color: #004494;
    border-bottom-style: solid;
}

/* 图片 */
.rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px auto;
    display: block;
    box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.12);
}

/* 引用块 */
.rich-content blockquote {
    margin: 18px 0;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.04), rgba(0, 86, 179, 0.02));
    border-left: 4px solid #0056b3;
    border-radius: 0 8px 8px 0;
    color: #555;
    font-size: 14px;
}
.rich-content blockquote p { margin: 6px 0; }

/* 表格 */
.rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 14px;
    background: #fff;
    box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}
.rich-content table th,
.rich-content table td {
    padding: 10px 14px;
    border: 1px solid #eaeaea;
    text-align: left;
    vertical-align: top;
}
.rich-content table th {
    background: linear-gradient(135deg, #0056b3, #004494);
    color: #fff;
    font-weight: 600;
}
.rich-content table tr:nth-child(even) td { background: #f9fbfd; }
.rich-content table tr:hover td { background: rgba(0, 86, 179, 0.04); }

/* 代码块容器 */
.rich-code-block {
    margin: 18px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 代码块头部栏 */
.rich-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rich-code-lang {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

/* 复制按钮 */
.rich-code-copy-btn {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 6px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}
.rich-code-copy-btn:hover {
    background: rgba(148, 163, 184, 0.25);
    border-color: rgba(148, 163, 184, 0.5);
    color: #f1f5f9;
}
.rich-code-copy-btn:active {
    transform: scale(0.96);
}
.rich-code-copy-btn.copied {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}
.rich-code-copy-btn-inline {
    position: absolute;
    top: 4px;
    right: 4px;
    padding: 2px 8px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 2;
}
code:hover .rich-code-copy-btn-inline {
    opacity: 1;
}

/* 代码块主体 */
.rich-content pre, .rich-code-block pre {
    margin: 0;
    padding: 16px 18px;
    background: #1e293b;
    color: #e2e8f0;
    border-radius: 0;
    overflow-x: auto;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 13.5px;
    line-height: 1.7;
    box-shadow: none;
    tab-size: 4;
}
.rich-content pre code, .rich-code-block pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    font-size: inherit;
    border-radius: 0;
}

/* 行内代码 */
.rich-content code {
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    padding: 2px 7px;
    border-radius: 5px;
    font-family: 'SF Mono', 'Fira Code', 'Courier New', 'Monaco', 'Consolas', monospace;
    font-size: 0.88em;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

/* 代码块内语法高亮配色（深色主题） */
.rich-code-block pre .token.keyword { color: #c084fc; }
.rich-code-block pre .token.string { color: #86efac; }
.rich-code-block pre .token.number { color: #fbbf24; }
.rich-code-block pre .token.comment { color: #64748b; font-style: italic; }
.rich-code-block pre .token.function { color: #60a5fa; }
.rich-code-block pre .token.tag { color: #f472b6; }
.rich-code-block pre .token.attr-name { color: #c084fc; }
.rich-code-block pre .token.attr-value { color: #86efac; }

/* 分割线 */
.rich-content hr {
    margin: 24px 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* 强调 */
.rich-content strong, .rich-content b {
    color: #1a1a1a;
    font-weight: 700;
}
.rich-content em, .rich-content i { color: #555; }

/* 行内引用 */
.rich-content q {
    color: #666;
    font-style: italic;
    padding: 0 4px;
}

/* 响应式 */
@media (max-width: 768px) {
    .rich-content { font-size: 14px; line-height: 1.75; }
    .rich-content h1 { font-size: 22px; }
    .rich-content h2 { font-size: 19px; }
    .rich-content h3 { font-size: 16px; }
    .rich-content table { font-size: 13px; }
    .rich-content table th, .rich-content table td { padding: 8px 10px; }
}

/* ============================================================
   右下角悬浮工具栏（联系电话/邮箱/在线客服/返回顶部）
   通用样式，PC 端和移动端共用
   ============================================================ */
.float-toolbar {
    position: fixed;
    right: 18px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (max-width: 768px) {
    .float-toolbar {
        right: 12px;
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
}
.float-tool-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 14px -3px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    position: relative;
}
.float-tool-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 86, 179, 0.35);
    background: linear-gradient(135deg, #0056b3, #004494);
    color: #fff;
}
.float-tool-btn:active { transform: scale(0.95); }
.float-tool-btn .tool-tip {
    position: absolute;
    right: 54px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.78);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.float-tool-btn:hover .tool-tip { opacity: 1; }
.float-tool-btn.back-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.float-tool-btn.back-top.show {
    opacity: 1;
    pointer-events: auto;
}
@media (max-width: 768px) {
    .float-tool-btn { width: 40px; height: 40px; font-size: 15px; }
    .float-tool-btn .tool-tip { display: none; }
}

/* ============================================================
   通用板块背景（复用首页板块视觉：柔光色斑 + 半透明渐变）
   用于产品中心、资讯中心、使用手册等列表页主容器
   ============================================================ */
.panel-section {
    position: relative;
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 160, 233, 0.15) 0%, transparent 36%),
        radial-gradient(circle at 88% 82%, rgba(0, 86, 179, 0.11) 0%, transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.25) 100%);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 30px;
    padding: 40px;
    margin-top: 30px;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px -8px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
    .panel-section { padding: 24px 16px; margin-bottom: 24px; }
}
