/* ============================================================
   Codejock ToolkitPro & SuitePro 中文网站 - 通用样式 common.css
   文件编码：UTF-8（页面请统一以 UTF-8 无 BOM 保存，避免批量编辑乱码）
   ============================================================ */

/* ---------- 1. 设计变量 ---------- */
:root {
    --brand: #2A589A;
    --brand-strong: #1E4580;
    --brand-deep: #122C54;
    --brand-light: #4B7BC4;
    --brand-050: #EEF4FC;
    --brand-100: #DFEAF9;
    --ink: #14213B;
    --body: #49586F;
    --muted: #7D8BA1;
    --line: #E4EAF3;
    --bg: #FFFFFF;
    --bg-soft: #F6F9FE;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 10px rgba(20, 45, 90, .06);
    --shadow-md: 0 12px 32px rgba(20, 45, 90, .10);
    --shadow-lg: 0 28px 64px rgba(15, 40, 80, .16);
    --header-h: 72px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --font-sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. 基础重置与排版 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.cj-nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-strong); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
button { font-family: inherit; }
::selection { background: rgba(42, 88, 154, .18); color: var(--brand-deep); }

/* ---------- 3. 布局与通用组件 ---------- */
.cj-container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.cj-section { padding: 100px 0; position: relative; }
.cj-section--soft { background: var(--bg-soft); }

/* 区域小标签：方形切角标签（非胶囊） */
.cj-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
}
.cj-eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    transform: rotate(45deg);
    flex: none;
}
.cj-eyebrow--center { justify-content: center; }

.cj-title { font-size: clamp(28px, 4vw, 40px); margin-top: 14px; }
.cj-sub { font-size: 17px; color: var(--body); margin-top: 16px; max-width: 720px; }
.cj-head { max-width: 780px; }
.cj-head--center { margin: 0 auto; text-align: center; }
.cj-head--center .cj-sub { margin-left: auto; margin-right: auto; }

/* 按钮体系 */
.cj-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 46px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.cj-btn svg { width: 17px; height: 17px; flex: none; }

/* 主按钮：高亮渐变 + 投影 */
.cj-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 55%, var(--brand-strong) 100%);
    box-shadow: 0 10px 24px rgba(42, 88, 154, .32);
}
.cj-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(42, 88, 154, .40);
}
.cj-btn--primary:active { transform: translateY(0); }

/* 次按钮：描边弱化 */
.cj-btn--ghost {
    color: var(--brand-strong);
    background: #fff;
    border-color: #C9D7EC;
}
.cj-btn--ghost:hover {
    color: var(--brand);
    border-color: var(--brand-light);
    background: var(--brand-050);
    transform: translateY(-2px);
}

.cj-btn--lg { height: 54px; padding: 0 32px; font-size: 16px; border-radius: var(--radius-md); }

/* 文字箭头链接 */
.cj-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 600;
    font-size: 15px;
    color: var(--brand);
}
.cj-link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.cj-link:hover svg { transform: translateX(4px); }

/* 滚动渐显（配合页面内 IntersectionObserver） */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   导航 header 样式
   ============================================================ */
.cj-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    z-index: 1000;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.cj-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(18, 42, 84, .07);
    background: rgba(255, 255, 255, .95);
}
.cj-header__inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 28px;
}

/* 品牌区 */
.cj-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
    min-width: 0;
}
.cj-brand__logo { width: 38px; height: 38px; object-fit: contain; }
.cj-brand__name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.cj-brand__title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: .01em;
    white-space: nowrap;
}
.cj-brand__title em { font-style: normal; color: var(--brand); }
.cj-brand__by {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: .08em;
    white-space: nowrap;
}

/* 桌面菜单 */
.cj-nav { margin-left: auto; }
.cj-nav__list { display: flex; align-items: center; gap: 4px; }
.cj-nav__item { position: relative; }
.cj-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: var(--header-h);
    padding: 0 15px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    position: relative;
}
.cj-nav__link::after {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}
.cj-nav__link:hover, .cj-nav__link.is-active { color: var(--brand); }
.cj-nav__link:hover::after, .cj-nav__link.is-active::after,
.cj-nav__item.is-open > .cj-nav__link::after { transform: scaleX(1); }
.cj-nav__caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cj-nav__item.is-open .cj-nav__caret,
.cj-nav__item:hover .cj-nav__caret { transform: rotate(180deg); }

/* 下拉面板 */
.cj-sub {
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    transform: translate(-50%, 10px);
    min-width: 300px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cj-nav__item:hover .cj-sub, .cj-nav__item.is-open .cj-sub {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}
.cj-sub__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    transition: background .25s var(--ease);
}
.cj-sub__link:hover { background: var(--brand-050); }
.cj-sub__icon {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 9px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-light), var(--brand-strong));
}
.cj-sub__icon svg { width: 19px; height: 19px; }
.cj-sub__txt b { display: block; font-size: 14.5px; color: var(--ink); font-weight: 700; }
.cj-sub__txt span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 1px; }

/* 右侧按钮组 */
.cj-header__cta { display: flex; align-items: center; gap: 12px; flex: none; }
.cj-header__cta .cj-btn { height: 40px; padding: 0 18px; font-size: 14px; }
.cj-header__cta .cj-btn svg { width: 15px; height: 15px; }

/* 汉堡按钮 */
.cj-burger {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    position: relative;
    flex: none;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cj-burger:hover { border-color: var(--brand-light); background: var(--brand-050); }
.cj-burger span {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .35s var(--ease), opacity .25s var(--ease), top .35s var(--ease);
}
.cj-burger span:nth-child(1) { top: 14px; }
.cj-burger span:nth-child(2) { top: 21px; }
.cj-burger span:nth-child(3) { top: 28px; }
body.cj-nav-open .cj-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.cj-nav-open .cj-burger span:nth-child(2) { opacity: 0; }
body.cj-nav-open .cj-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- 移动端展开面板 ---------- */
.cj-mnav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.cj-nav-open .cj-mnav { opacity: 1; visibility: visible; transform: none; }
.cj-mnav::before {
    content: "";
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 50%, var(--brand-100) 100%);
}
.cj-mnav__inner { padding: 22px 24px 34px; max-width: 560px; margin: 0 auto; }

.cj-mnav__group-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .22em;
    color: var(--muted);
    text-transform: uppercase;
    margin: 8px 0 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cj-mnav__group-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.cj-mnav__item { border-bottom: 1px solid var(--line); }
.cj-mnav__link {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 15px 4px;
    font-size: 16.5px;
    font-weight: 700;
    color: var(--ink);
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.cj-mnav__num {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-light);
    letter-spacing: .08em;
    width: 26px;
    flex: none;
}
.cj-mnav__arrow { margin-left: auto; width: 17px; height: 17px; color: var(--muted); transition: transform .3s var(--ease); }
.cj-mnav__item.is-open .cj-mnav__arrow { transform: rotate(180deg); color: var(--brand); }

/* 移动端子菜单（手风琴） */
.cj-msub { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.cj-msub__link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 4px 40px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    border-left: 3px solid var(--brand-light);
}
.cj-msub__link b { font-size: 14.5px; color: var(--ink); display: block; }
.cj-msub__link span { font-size: 12.5px; color: var(--muted); display: block; }

.cj-mnav__cta { margin-top: 22px; display: grid; gap: 12px; }
.cj-mnav__cta .cj-btn { width: 100%; height: 50px; font-size: 15.5px; }
.cj-mnav__foot {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px dashed var(--line);
    font-size: 12.5px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.cj-mnav__foot svg { width: 15px; height: 15px; color: var(--brand); }

/* 菜单项入场动画 */
body.cj-nav-open .cj-mnav__item, body.cj-nav-open .cj-mnav__cta { animation: cj-nav-in .5s var(--ease) both; }
body.cj-nav-open .cj-mnav__item:nth-child(1) { animation-delay: .04s; }
body.cj-nav-open .cj-mnav__item:nth-child(2) { animation-delay: .09s; }
body.cj-nav-open .cj-mnav__item:nth-child(3) { animation-delay: .14s; }
body.cj-nav-open .cj-mnav__item:nth-child(4) { animation-delay: .19s; }
body.cj-nav-open .cj-mnav__item:nth-child(5) { animation-delay: .24s; }
body.cj-nav-open .cj-mnav__item:nth-child(6) { animation-delay: .29s; }
body.cj-nav-open .cj-mnav__cta { animation-delay: .36s; }
@keyframes cj-nav-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ============================================================
   通用 CTA 区块样式
   ============================================================ */
.cta {
    position: relative;
    background: linear-gradient(125deg, var(--brand-deep) 0%, var(--brand) 58%, #3E6FB8 100%);
    overflow: hidden;
    padding: 84px 0;
}
.cta::before {
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    right: -180px; top: -260px;
    border: 90px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}
.cta::after {
    content: "";
    position: absolute;
    width: 300px; height: 300px;
    left: -100px; bottom: -160px;
    border: 50px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
}
.cta__inner {
    position: relative; z-index: 1;
    text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.01em; }
.cta h2 strong { color: #BDD3F5; font-weight: 800; }
.cta p { margin: 18px auto 0; max-width: 620px; color: #B9CBE6; font-size: 16px; line-height: 1.85; }
.cta__actions { margin-top: 38px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.cta .cj-btn--primary {
    background: #fff;
    color: var(--brand-strong);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
}
.cta .cj-btn--primary:hover { color: var(--brand); }
.cta .cj-btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}
.cta .cj-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); color: #fff; }

/* ============================================================
   图片灯箱 lightbox 样式（footer.js 自动注入，配合 data-zoom）
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(10, 22, 42, .88);
    backdrop-filter: blur(6px);
    display: grid;
    place-items: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
    cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
    transform: scale(.96);
    transition: transform .3s var(--ease);
}
.lightbox.is-open img { transform: none; }

/* ============================================================
   页脚 footer 样式
   ============================================================ */
.cj-footer {
    position: relative;
    background: linear-gradient(160deg, #0C1D3C 0%, #132A55 52%, #1A3A6E 100%);
    color: #AEBDD6;
    overflow: hidden;
    padding-top: 72px;
}
.cj-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-light), #7FA8E0, var(--brand));
}
.cj-footer__deco {
    position: absolute;
    pointer-events: none;
}
.cj-footer__deco--ring {
    width: 480px; height: 480px;
    right: -160px; top: -200px;
    border: 70px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}
.cj-footer__deco--ring2 {
    width: 300px; height: 300px;
    left: -120px; bottom: -140px;
    border: 46px solid rgba(255, 255, 255, .03);
    border-radius: 50%;
}
.cj-footer__inner { position: relative; }

.cj-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 56px;
}
.cj-footer__brand { display: flex; align-items: flex-start; gap: 14px; }
.cj-footer__logo { width: 44px; height: 44px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.cj-footer__name { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .01em; line-height: 1.25; }
.cj-footer__by { font-size: 12.5px; color: #7E93B8; margin-top: 3px; letter-spacing: .06em; }
.cj-footer__desc { margin-top: 16px; font-size: 14px; line-height: 1.85; color: #93A6C4; max-width: 380px; }

.cj-footer__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: #6E86AD;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cj-footer__label::before { content: ""; width: 18px; height: 2px; background: var(--brand-light); }

.cj-contact { display: grid; gap: 12px; }
.cj-contact__item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, .04);
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.cj-contact__item:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .22); transform: translateX(4px); }
.cj-contact__icon {
    width: 38px; height: 38px; flex: none;
    border-radius: 9px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand-light), var(--brand));
    color: #fff;
}
.cj-contact__icon svg { width: 18px; height: 18px; }
.cj-contact__item small { display: block; font-size: 12px; color: #7E93B8; letter-spacing: .04em; }
.cj-contact__item b { display: block; font-size: 15px; color: #fff; font-weight: 700; letter-spacing: .02em; }

.cj-footer__note {
    border-left: 3px solid var(--brand-light);
    padding: 4px 0 4px 18px;
}
.cj-footer__note p { font-size: 13.5px; line-height: 1.9; color: #93A6C4; }
.cj-footer__note p + p { margin-top: 10px; font-size: 12.5px; color: #6E86AD; }
.cj-footer__note b { color: #D7E3F5; font-weight: 700; }

.cj-footer__bar {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    padding: 22px 0 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #6E86AD;
}
.cj-footer__bar a { color: #93A6C4; }
.cj-footer__bar a:hover { color: #fff; }
.cj-footer__mark { display: inline-flex; align-items: center; gap: 8px; }
.cj-footer__mark svg { width: 15px; height: 15px; color: var(--brand-light); }

/* ============================================================
   产品详情页样式（toolkitpro / suitepro 共用）
   ============================================================ */
.pagehero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(700px 360px at 92% -10%, rgba(75, 123, 196, .13), transparent 62%),
        linear-gradient(180deg, #FBFDFF 0%, #F4F8FE 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.pagehero__crumb {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.pagehero__crumb a { color: var(--muted); }
.pagehero__crumb a:hover { color: var(--brand); }
.pagehero__crumb i { width: 6px; height: 6px; border-top: 1.6px solid #A9BBD8; border-right: 1.6px solid #A9BBD8; transform: rotate(45deg); flex: none; }
.pagehero__crumb b { color: var(--brand); font-weight: 700; }
.pagehero__inner {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.pagehero__tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--brand);
    text-transform: uppercase;
}
.pagehero__tag::before { content: ""; width: 9px; height: 9px; background: var(--brand); transform: rotate(45deg); border-radius: 1.5px; }
.pagehero h1 { margin-top: 14px; font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; letter-spacing: -.02em; }
.pagehero__ver { margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--brand-light); letter-spacing: .06em; }
.pagehero__desc { margin-top: 18px; font-size: 15.5px; line-height: 1.9; color: var(--body); }
.pagehero__desc + .pagehero__desc { margin-top: 12px; }
.pagehero__award { margin-top: 22px; height: 54px; width: auto; }
.pagehero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.pagehero__links { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.pagehero__shot { position: relative; }
.pagehero__shot img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #D8E4F3;
    border-radius: 12px;
    box-shadow: 0 34px 70px rgba(18, 44, 84, .16), 0 8px 22px rgba(18, 44, 84, .08);
}

/* 功能行（图文交替） */
.pfeat {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
    padding: 56px 0;
}
.pfeat + .pfeat { border-top: 1px solid var(--line); }
.pfeat--rev .pfeat__media { order: 2; }
.pfeat__media { position: relative; }
.pfeat__shot {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    cursor: zoom-in;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
    margin: 0;
}
.pfeat__shot:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pfeat__shot img { width: 100%; transition: transform .8s var(--ease); }
.pfeat__shot:hover img { transform: scale(1.03); }
.pfeat__media::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -16px -16px auto auto;
    width: 110px; height: 110px;
    border: 2px solid #DCE7F7;
    border-radius: 18px;
    transform: rotate(10deg);
}
.pfeat--rev .pfeat__media::before { inset: -16px auto auto -16px; transform: rotate(-10deg); }
.pfeat__cat {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brand-light);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.pfeat__cat::after { content: ""; width: 30px; height: 2px; background: linear-gradient(90deg, var(--brand-light), transparent); }
.pfeat h3 { margin-top: 12px; font-size: clamp(22px, 2.4vw, 27px); }
.pfeat__desc { margin-top: 12px; font-size: 15px; line-height: 1.85; color: var(--body); }
.pfeat__points { margin-top: 20px; display: grid; gap: 11px; }
.pfeat__points li {
    display: flex;
    gap: 11px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--body);
}
.pfeat__points i {
    width: 7px; height: 7px; flex: none;
    margin-top: 8px;
    background: var(--brand);
    transform: rotate(45deg);
    border-radius: 1.5px;
}
.pfeat__points b { color: var(--ink); font-weight: 700; }

/* 兼容平台表 */
.compat { background: var(--bg-soft); border-top: 1px solid var(--line); }
.compat__grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.compat__card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px 28px 24px;
    box-shadow: var(--shadow-sm);
}
.compat__card h3 {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
.compat__card h3 svg { width: 20px; height: 20px; color: var(--brand); }
.compat__card h3 small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; margin-left: auto; letter-spacing: .04em; }
.compat__list { padding-top: 8px; }
.compat__list li {
    padding: 9px 2px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    border-bottom: 1px dashed #EDF2F9;
    display: flex;
    align-items: center;
    gap: 10px;
}
.compat__list li::before { content: ""; width: 6px; height: 6px; background: var(--brand-light); border-radius: 1.5px; transform: rotate(45deg); flex: none; }
.compat__legacy { margin-top: 14px; }
.compat__legacy summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
    padding: 8px 14px;
    border: 1px dashed #B9CFEE;
    border-radius: 8px;
    transition: background .25s var(--ease), border-color .25s var(--ease);
    user-select: none;
}
.compat__legacy summary::-webkit-details-marker { display: none; }
.compat__legacy summary::after {
    content: "";
    width: 7px; height: 7px;
    border-right: 1.8px solid var(--brand);
    border-bottom: 1.8px solid var(--brand);
    transform: rotate(45deg);
    transition: transform .3s var(--ease);
}
.compat__legacy[open] summary::after { transform: rotate(225deg); }
.compat__legacy summary:hover { background: var(--brand-050); border-color: var(--brand-light); }
.compat__legacy ul { margin-top: 12px; }
.compat__legacy li { font-size: 13px; color: var(--body); border-bottom-color: #F2F6FC; padding: 7px 2px; }
.compat__min {
    margin-top: 26px;
    background: var(--brand-deep);
    border-radius: var(--radius-lg);
    padding: 22px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px 34px;
    flex-wrap: wrap;
    color: #B9CBE6;
    font-size: 14px;
}
.compat__min b { color: #fff; }
.compat__min .sep { width: 1px; height: 20px; background: rgba(255,255,255,.18); }

/* ============================================================
   功能详情页（products/ 目录页面通用）
   ============================================================ */

/* ---------- 平台切换器 ---------- */
.platswitch {
    display: inline-flex;
    margin-top: 26px;
    background: #E9F0FA;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    gap: 4px;
}
.platswitch button {
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .25s var(--ease), color .25s var(--ease);
    white-space: nowrap;
}
.platswitch button small { font-size: 11px; font-weight: 600; opacity: .75; }
.platswitch button:hover { color: var(--brand); background: rgba(42,88,154,.08); }
.platswitch button.is-on {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 14px rgba(42,88,154,.28);
}
.platswitch button.is-on small { opacity: .85; }

/* 平台差异化内容：body.plat-com 时隐藏 MFC 内容，反之亦然 */
body.plat-mfc .only-com { display: none !important; }
body.plat-com .only-mfc { display: none !important; }

/* ---------- 功能卡片网格 ---------- */
.fcat { padding: 56px 0 8px; }
.fcat__label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-light);
}
.fcat__label::before { content: ""; width: 26px; height: 2px; background: var(--brand-light); }
.fcat h2 { margin-top: 10px; font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.fcat > p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 760px; line-height: 1.85; }
.featgrid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.fcard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #C9D9F0; }
.fcard__shot {
    background: #F4F8FD;
    border-bottom: 1px solid var(--line);
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    padding: 14px;
    cursor: zoom-in;
}
.fcard__shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(18,44,84,.14));
}
.fcard__body { padding: 18px 20px 22px; }
.fcard__body h3 { font-size: 15.5px; font-weight: 700; line-height: 1.45; }
.fcard__body p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--body); }
@media (max-width: 1024px) { .featgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .featgrid { grid-template-columns: 1fr; } .fcat h2 { font-size: 23px; } }

/* ---------- 功能横向导航 ---------- */
.prodnav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: var(--header-h);
    z-index: 40;
}
.prodnav__track {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: #C9D9F0 transparent;
}
.prodnav__track a {
    flex: none;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    border-radius: 8px;
    transition: color .25s var(--ease), background .25s var(--ease);
    white-space: nowrap;
}
.prodnav__track a:hover { color: var(--brand); background: var(--brand-050); }
.prodnav__track a.is-active { color: #fff; background: var(--brand); font-weight: 700; }

/* ---------- 产品功能块详情链接 ---------- */
.pfeat__more {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--brand);
    transition: gap .25s var(--ease), color .25s var(--ease);
}
.pfeat__more svg { width: 15px; height: 15px; }
.pfeat__more:hover { gap: 11px; color: var(--brand-dark, #1E4479); }

/* ---------- 功能组件索引卡（products.html） ---------- */
.cgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 40px;
}
.ccard {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #B9CFEE; }
.ccard__shot {
    background: linear-gradient(160deg, #F4F8FD 0%, #EAF1FA 100%);
    border-bottom: 1px solid var(--line);
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    padding: 22px;
}
.ccard__shot img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(18,44,84,.16));
    transition: transform .45s var(--ease);
}
.ccard:hover .ccard__shot img { transform: scale(1.035); }
.ccard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.ccard__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--brand-light);
    text-transform: uppercase;
}
.ccard__meta i { width: 5px; height: 5px; border-radius: 50%; background: #C9D9F0; }
.ccard__body h3 { margin-top: 10px; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.ccard__body h3 a { color: var(--ink); transition: color .25s var(--ease); }
.ccard__body h3 a:hover { color: var(--brand); }
.ccard__body h3 a::after { content: ""; position: absolute; inset: 0; }
.ccard__body > p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; color: var(--body); flex: 1; }
.ccard__go {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--brand);
}
.ccard__go svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.ccard:hover .ccard__go svg { transform: translateX(4px); }
@media (max-width: 1024px) { .cgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cgrid { grid-template-columns: 1fr; } }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
    .cj-nav, .cj-header__cta { display: none; }
    .cj-burger { display: block; }
}
@media (min-width: 1081px) {
    .cj-mnav { display: none; }
    body.cj-nav-open { overflow: auto; }
}
@media (max-width: 1024px) {
    .pagehero__inner { grid-template-columns: 1fr; gap: 44px; }
    .pfeat, .pfeat--rev .pfeat__media { grid-template-columns: 1fr; order: 0; }
    .pfeat { gap: 36px; padding: 44px 0; }
    .pfeat__media { max-width: 640px; }
    .compat__grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .cj-section { padding: 72px 0; }
    .cj-footer { padding-top: 60px; }
    .cj-footer__grid { grid-template-columns: 1fr; gap: 40px; }
    .cj-footer__bar { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
    :root { --header-h: 64px; }
    .cj-header__inner { padding: 0 18px; }
    .cj-brand__logo { width: 32px; height: 32px; }
    .cj-brand__title { font-size: 14.5px; }
    .cj-brand__by { font-size: 10.5px; }
    .cj-container { padding: 0 20px; }
}
