@charset "utf-8";
/* ============================================================
   ZOCMS 前台样式
   ============================================================ */

:root {
    --ink: #0b1220;
    --ink-2: #1e293b;
    --text: #4b5b73;
    --muted: #8593a8;
    --line: #e6ecf5;
    --line-2: #eff3fa;
    --bg: #ffffff;
    --soft: #f6f9fe;
    --soft-2: #eef4fd;
    --primary: #2563eb;
    --primary-2: #4f46e5;
    --cyan: #06b6d4;
    --grad: linear-gradient(118deg, #2563eb 0%, #6d28d9 58%, #06b6d4 100%);
    --grad-btn: linear-gradient(118deg, #2563eb, #4f46e5);
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 20px;
    --r-xl: 26px;
    --container: 1600px;
    --hero-container: 1400px;
    --header-h: 74px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px -8px rgba(15, 23, 42, .08);
    --shadow: 0 18px 40px -22px rgba(15, 23, 42, .28);
    --shadow-lg: 0 40px 80px -40px rgba(15, 23, 42, .38);
}

* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; transition: color .2s; }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 92px; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.ico-12 { width: 12px; height: 12px; }
.ico-13 { width: 13px; height: 13px; }
.ico-14 { width: 14px; height: 14px; }
.ico-15 { width: 15px; height: 15px; }
.ico-16 { width: 16px; height: 16px; }
.ico-17 { width: 17px; height: 17px; }
.ico-18 { width: 18px; height: 18px; }
.ico-22 { width: 22px; height: 22px; }

/* ------------------------------ 顶栏 ------------------------------ */
.topbar {
    background: #0b1220;
    color: #93a3b8;
    font-size: 12.5px;
    height: 38px;
    display: flex;
    align-items: center;
}

.topbar-inner { display: flex; align-items: center; justify-content: space-between; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar-item a:hover { color: #fff; }
.topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .14); }
.topbar-note { color: #64748b; }
.topbar-link { display: inline-flex; align-items: center; gap: 5px; color: #93a3b8; }
.topbar-link:hover { color: #fff; }
.topbar-right .topbar-link + .topbar-link { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .12); }

/* ------------------------------ 头部 ------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid rgba(230, 236, 245, .9);
    transition: box-shadow .3s, background .3s;
}

.site-header.is-stuck { box-shadow: 0 10px 30px -20px rgba(15, 23, 42, .35); }

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 22px;
}

.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-mark {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 22px -10px rgba(37, 99, 235, .85);
    letter-spacing: -.03em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text b { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.logo-text b span { color: var(--primary); }
.logo-text em {
    font-style: normal;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .02em;
    max-width: 196px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 图片 LOGO（后台系统设置上传后启用） */
.logo--img { gap: 0; }
.logo-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}
.logo--light .logo-img { height: 38px; max-width: 210px; }

/* 圆角导航 */
.nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 15px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: #3b4a61;
    white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s;
}
.nav-link .ico { opacity: .62; transition: opacity .2s; }
.nav-link:hover { background: var(--soft-2); color: var(--primary); }
.nav-link:hover .ico { opacity: 1; }
.nav-link.is-active {
    color: #fff;
    background: var(--grad-btn);
    box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .95);
}
.nav-link.is-active .ico { opacity: .95; }
.nav-caret { transition: transform .25s; opacity: .55; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.nav-drop {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    width: 520px;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    z-index: 120;
}
.nav-item:hover .nav-drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop::before {
    content: "";
    position: absolute;
    top: -12px; left: 0; right: 0; height: 12px;
}
.nav-drop-inner {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    box-shadow: 0 30px 70px -28px rgba(15, 23, 42, .35);
}

/* 子栏目较多（如产品线）→ 1600 宽通栏、一行排开，相对页头居中 */
.nav-item--wide { position: static; }
.nav-drop--wide {
    width: 1600px;
    max-width: calc(100vw - 48px);
    top: calc(100% + 8px);
}
/* 面板与导航之间留了空隙，加长热区避免鼠标下移时收起 */
.nav-drop--wide::before { top: -30px; height: 30px; }
.nav-drop--wide .nav-drop-inner {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 12px;
    gap: 4px;
}
.nav-drop--wide .drop-item { padding: 14px 13px; }
.nav-drop--wide .drop-txt b { font-size: 14.5px; }
.nav-drop--wide .drop-txt em { -webkit-line-clamp: 2; }
.drop-item { display: flex; gap: 11px; padding: 11px; border-radius: 13px; transition: background .18s; }
.drop-item:hover { background: var(--soft); }
.drop-icon {
    width: 38px; height: 38px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: linear-gradient(140deg, #eff6ff, #ede9fe);
    color: var(--primary);
    display: grid;
    place-items: center;
}
.drop-icon .ico { width: 19px; height: 19px; }
.drop-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.drop-txt b { font-size: 14px; color: var(--ink); font-weight: 600; }
.drop-txt em {
    font-style: normal;
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

.header-search {
    display: flex;
    align-items: center;
    background: #f4f7fc;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 4px 0 14px;
    height: 38px;
    transition: .25s;
}
.header-search:focus-within { background: #fff; border-color: #cfe0ff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .08); }
.header-search input {
    border: 0; background: transparent; outline: none;
    width: 108px; font-size: 13.5px; color: var(--ink);
    transition: width .3s;
}
.header-search input::placeholder { color: #9aa8bb; }
.header-search:focus-within input { width: 150px; }
.header-search button {
    border: 0; background: transparent; color: #7b8aa0;
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
}
.header-search button:hover { background: #eef4fd; color: var(--primary); }

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    width: 40px; height: 40px;
    border-radius: 12px;
    place-items: center;
}

/* ------------------------------ 按钮 ------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform .2s, box-shadow .25s, background .2s, color .2s, border-color .2s;
}
.btn .ico { transition: transform .2s; }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--grad-btn); box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .95); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(37, 99, 235, .95); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink-2); }
.btn-ghost:hover { border-color: #c9d9f5; color: var(--primary); transform: translateY(-1px); }
.btn-light { background: #fff; color: #1d4ed8; box-shadow: 0 12px 26px -16px rgba(2, 6, 23, .5); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .42); color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #3b5bdb;
    background: #eff5ff;
    border: 1px solid #dfe9fd;
}
.pill--soft { color: #64748b; background: #f4f7fc; border-color: #e8eef7; }

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}
.link-more .ico { transition: transform .2s; }
.product-card:hover .link-more .ico,
.post-row:hover .link-more .ico { transform: translateX(3px); }

/* ------------------------------ 首屏轮播 ------------------------------ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    padding: 24px 0 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfdff 0%, #fff 62%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(6px);
}
.hero-blob--1 {
    width: 840px; height: 840px;
    right: -220px; top: -260px;
    background: radial-gradient(circle at 35% 35%, rgba(37, 99, 235, .20), rgba(109, 40, 217, .10) 46%, transparent 68%);
    animation: floatA 20s ease-in-out infinite;
}
.hero-blob--2 {
    width: 720px; height: 720px;
    left: -260px; bottom: -320px;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, .16), transparent 66%);
    animation: floatB 24s ease-in-out infinite;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(#e9eff9 1px, transparent 1px), linear-gradient(90deg, #e9eff9 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: radial-gradient(ellipse at 52% 38%, #000 24%, transparent 74%);
    mask-image: radial-gradient(ellipse at 52% 38%, #000 24%, transparent 74%);
    opacity: .6;
}
@keyframes floatA { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(-26px, 30px, 0); } }
@keyframes floatB { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(24px, -22px, 0); } }

.hero-slides { position: relative; flex: 1; display: flex; align-items: center; min-height: 520px; }
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .7s ease, visibility .7s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; position: relative; width: 100%; }
.hero-inner {
    display: grid;
    grid-template-columns: 1.06fr .94fr;
    gap: 50px;
    align-items: center;
    max-width: var(--hero-container);
    margin: 0 auto;
}

.hero-text { max-width: 620px; }
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1d4ed8;
    background: rgba(37, 99, 235, .07);
    border: 1px solid rgba(37, 99, 235, .16);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.live-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
    font-size: clamp(32px, 3.55vw, 50px);
    line-height: 1.14;
    letter-spacing: -.035em;
    font-weight: 800;
    color: var(--ink);
}
.hero-title span {
    display: block;
    background: linear-gradient(100deg, var(--c1, #2563eb), var(--c2, #7c3aed));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-desc {
    margin-top: 22px;
    font-size: 16.5px;
    line-height: 1.85;
    color: #55647b;
    max-width: 500px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    max-width: 440px;
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat b { font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.hero-stat em { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero-visual { position: relative; }
.hero-visual .mock { animation: heroIn .9s cubic-bezier(.22, .61, .36, 1) both; }
.hero-slide.is-active .hero-visual .mock { animation: heroIn .9s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes heroIn {
    from { opacity: 0; transform: translate3d(24px, 26px, 0) rotate(-1.2deg); }
    to { opacity: 1; transform: none; }
}

.hero-controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 5; }
.hero-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--hero-container);
    margin: 0 auto;
}
.hero-dots { display: flex; align-items: center; gap: 20px; }
.hero-dot {
    display: flex; align-items: center; gap: 9px;
    background: none; border: 0; padding: 0;
    color: #9aa8bb;
    font-size: 12px;
    font-weight: 600;
}
.hero-dot span { letter-spacing: .06em; transition: color .25s; }
.hero-dot i {
    display: block;
    width: 26px; height: 2px;
    border-radius: 2px;
    background: #dbe4f1;
    transition: width .35s, background .35s;
}
.hero-dot.is-active span { color: var(--primary); }
.hero-dot.is-active i { width: 44px; background: var(--grad-btn); }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    display: grid; place-items: center;
    transition: .22s;
}
.hero-arrow:hover { border-color: #c9d9f5; color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.hero-arrow:first-child .ico { transform: rotate(180deg); }

/* ------------------------------ 占位视觉（mock） ------------------------------ */
.mock { position: relative; width: 100%; }
.mock-glow {
    position: absolute;
    inset: 12% 4% -8%;
    background: radial-gradient(ellipse at 50% 50%, var(--c1), transparent 68%);
    filter: blur(50px);
    opacity: .28;
    z-index: -1;
}
.mock-window {
    background: #fff;
    border: 1px solid #e7eef8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 46px 90px -46px rgba(15, 23, 42, .45), 0 2px 0 rgba(255, 255, 255, .8) inset;
}
.mock-chrome {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--line-2);
    background: #fbfcfe;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 8px; height: 8px; border-radius: 50%; background: #e3eaf4; }
.mock-dots i:first-child { background: #fecdd3; }
.mock-dots i:nth-child(2) { background: #fde68a; }
.mock-dots i:nth-child(3) { background: #bbf7d0; }
.mock-url {
    font-size: 10.5px;
    color: #93a1b5;
    background: #f3f6fb;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .01em;
}
.mock-tag {
    margin-left: auto;
    font-size: 10px;
    color: #64748b;
    border: 1px solid var(--line);
    padding: 2px 8px;
    border-radius: 999px;
    background: #fff;
}
.mock-canvas { display: flex; height: 336px; }
.mock-side {
    width: 78px;
    flex: 0 0 auto;
    border-right: 1px solid var(--line-2);
    background: #fbfcfe;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.ms-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(140deg, var(--c1), var(--c2)); margin-bottom: 10px; }
.ms-item { display: block; height: 8px; border-radius: 999px; background: #e9eff8; }
.ms-item.is-on { width: 100%; height: 10px; background: linear-gradient(90deg, var(--c1), var(--c2)); opacity: .9; }
.mock-main { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mh-title { width: 118px; height: 11px; border-radius: 999px; background: #dde6f3; }
.mh-btn { width: 62px; height: 22px; border-radius: 999px; background: linear-gradient(120deg, var(--c1), var(--c2)); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.mk {
    background: #f8fafe;
    border: 1px solid var(--line-2);
    border-radius: 11px;
    padding: 10px;
    display: flex; flex-direction: column; gap: 7px;
}
.mk b { display: block; height: 13px; width: 54%; border-radius: 999px; background: #d9e4f2; }
.mk i { display: block; height: 6px; border-radius: 999px; background: #edf2fa; }
.mock-chart {
    flex: 1;
    min-height: 84px;
    background: #f8fafe;
    border: 1px solid var(--line-2);
    border-radius: 11px;
    padding: 8px 6px 4px;
}
.mock-chart svg { width: 100%; height: 100%; display: block; }
.mock-rows { display: flex; flex-direction: column; gap: 7px; }
.mock-rows span { height: 7px; border-radius: 999px; background: #eef3fb; }
.mock-rows span:nth-child(2) { width: 82%; }
.mock-rows span:nth-child(3) { width: 64%; }

.mock-float {
    position: absolute;
    background: #fff;
    border: 1px solid #e8eefb;
    border-radius: 14px;
    padding: 9px 14px;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
    box-shadow: 0 20px 40px -22px rgba(15, 23, 42, .4);
}
.mock-float b { font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.mock-float i { font-style: normal; font-size: 10.5px; color: var(--muted); }
.mock-float--a { right: -20px; top: 34px; animation: bob 6.5s ease-in-out infinite; }
.mock-float--b { left: -28px; bottom: 24px; animation: bob 7.5s ease-in-out infinite reverse; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* 产品缩略 */
.mock--sm .mock-window { border-radius: 14px; box-shadow: 0 20px 40px -28px rgba(15, 23, 42, .38); }
.mock-hero {
    height: 92px;
    background: linear-gradient(135deg, var(--c1), var(--c2));
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    position: relative;
    overflow: hidden;
}
.mock-hero::after {
    content: "";
    position: absolute;
    right: -30px; top: -40px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
}
.mock-hero-t { display: block; width: 52px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); }
.mock-hero-l { display: block; height: 6px; width: 82%; border-radius: 999px; background: rgba(255, 255, 255, .38); }
.mock-hero-l.short { width: 56%; }
.mock--sm .mock-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mock-tiles i { display: block; height: 24px; border-radius: 7px; background: #eff4fc; }
.mock-lines { display: flex; flex-direction: column; gap: 6px; }
.mock-lines i { display: block; height: 6px; border-radius: 999px; background: #eef3fb; }

/* 海报 */
.mock--poster {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(140deg, var(--c1), var(--c2));
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.mock-poster-glow { position: absolute; inset: 0; background: radial-gradient(circle at 78% 16%, rgba(255, 255, 255, .42), transparent 56%); }
.mock-poster-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: radial-gradient(ellipse at 62% 42%, #000, transparent 76%);
    mask-image: radial-gradient(ellipse at 62% 42%, #000, transparent 76%);
}
.mock-poster-shot {
    position: absolute;
    left: 38%;
    right: 7%;
    top: 18%;
    bottom: 22%;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 38px -14px rgba(15, 23, 42, .42);
    transform: rotate(-4deg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.mps-bar {
    flex: none;
    height: 20px;
    background: #f1f5fb;
    border-bottom: 1px solid #e7eef8;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
}
.mps-bar i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #cfdaea; }
.mps-hero { flex: none; height: 30%; background: linear-gradient(120deg, var(--c1), var(--c2)); opacity: .85; }
.mps-body { flex: 1; min-height: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mps-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mps-tiles i { display: block; height: 18px; border-radius: 4px; background: #f1f5fb; }
.mps-lines { display: flex; flex-direction: column; gap: 5px; }
.mps-lines i { display: block; height: 5px; border-radius: 999px; background: #eef3fb; }
.mock-poster-label {
    position: relative;
    max-width: 56%;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -.01em;
    text-shadow: 0 2px 14px rgba(15, 23, 42, .28);
}
.cover-img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

/* ------------------------------ 区块 ------------------------------ */
.section { padding: 96px 0; position: relative; }
.section--tint { background: var(--soft); }
.section--tight { padding: 54px 0 84px; }
.section--links { padding: 40px 0; }
.section--cta { padding: 0 0 92px; }

.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #2563eb;
    background: #eff5ff;
    border: 1px solid #dceaff;
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.sec-title {
    font-size: clamp(25px, 2.8vw, 38px);
    line-height: 1.26;
    letter-spacing: -.025em;
    font-weight: 800;
}
.sec-desc { margin-top: 14px; font-size: 15.5px; line-height: 1.85; color: #5b6b82; }
.sec-head--row {
    max-width: none;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
}
.sec-head--row .sec-desc { max-width: 560px; }
.sec-head--left { text-align: left; margin: 0 0 26px; }

/* ------------------------------ 产品 ------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); border-color: #d5e3f8; box-shadow: 0 34px 60px -34px rgba(15, 23, 42, .32); }
.product-thumb { padding: 18px 18px 0; }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.product-top h3 { font-size: 18.5px; letter-spacing: -.02em; }
.product-price {
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    background: #eff5ff;
    border: 1px solid #dfe9fd;
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}
.product-summary { font-size: 14px; line-height: 1.75; color: #5f6f86; flex: 1; }
.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding-top: 13px;
    border-top: 1px dashed var(--line);
}
.product-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    color: #46566e;
    transition: .22s;
}
.cat-chip:hover { border-color: #cbdcf8; color: var(--primary); background: #f8fbff; }
.cat-chip .ico { opacity: .65; }

/* ------------------------------ 插件 ------------------------------ */
.plugin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plugin-card {
    display: flex;
    gap: 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    transition: .28s;
}
.plugin-card:hover { transform: translateY(-4px); border-color: #d6e4f9; box-shadow: 0 26px 46px -32px rgba(15, 23, 42, .34); }
.plugin-icon {
    width: 46px; height: 46px;
    flex: 0 0 auto;
    border-radius: 14px;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--c1), var(--c2));
    box-shadow: 0 12px 22px -14px var(--c1);
}
.plugin-icon .ico { width: 22px; height: 22px; }
.plugin-body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.plugin-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.plugin-top h3 { font-size: 15px; letter-spacing: -.01em; }
.plugin-ver { font-size: 10.5px; color: #8d9bb0; background: #f4f7fc; padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.plugin-body p {
    font-size: 12.5px;
    line-height: 1.62;
    color: #6b7a91;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plugin-meta { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #9aa8bb; margin-top: auto; }

/* ------------------------------ 案例 ------------------------------ */
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-cover { overflow: hidden; border-radius: 18px; transition: transform .35s, box-shadow .35s; }
.case-card:hover .case-cover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(15, 23, 42, .4); }
.case-body { padding: 0 4px; }
.case-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: #2563eb; text-transform: uppercase; }
.case-body h3 { margin-top: 6px; font-size: 16.5px; line-height: 1.45; letter-spacing: -.01em; }
.case-body p { margin-top: 7px; font-size: 13px; line-height: 1.7; color: #6b7a91; }
.case-card:hover h3 { color: var(--primary); }

/* ------------------------------ 动态 ------------------------------ */
.news-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
.news-list { display: flex; flex-direction: column; }
.news-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    transition: .2s;
}
.news-row:first-child { border-top: 1px solid var(--line); }
.news-row:hover { background: #fff; padding-left: 14px; padding-right: 10px; border-radius: 12px; border-color: transparent; box-shadow: var(--shadow-sm); }
.news-date {
    flex: 0 0 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--line);
    padding-right: 14px;
}
.news-date b { font-size: 22px; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.news-date em { font-style: normal; font-size: 11px; color: var(--muted); }
.news-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.news-txt b { font-size: 15.5px; color: var(--ink-2); font-weight: 600; }
.news-txt em {
    font-style: normal;
    font-size: 13px;
    color: #7b8aa0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-arrow { color: #c3cee0; transition: .2s; }
.news-row:hover .news-arrow { color: var(--primary); transform: translateX(3px); }

.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.side-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.side-card-head h3 { font-size: 16px; }
.side-card-head a { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.side-card-head a:hover { color: var(--primary); }
.side-links { display: flex; flex-direction: column; }
.side-links li { border-bottom: 1px dashed var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: flex; gap: 10px; padding: 11px 0; font-size: 13.5px; color: #4a5a72; line-height: 1.55; }
.side-links a:hover { color: var(--primary); }
.side-num {
    font-size: 11px;
    font-weight: 700;
    color: #b6c2d4;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
    padding-top: 2px;
}
.side-num.is-hot { color: var(--primary); }
.side-empty { padding: 12px 0; font-size: 13px; color: var(--muted); }

.side-cta {
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 24px;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #6d28d9 62%, #0891b2);
    box-shadow: 0 26px 50px -30px rgba(29, 78, 216, .7);
}
.side-cta::after {
    content: "";
    position: absolute;
    right: -50px; top: -50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
}
.side-cta-icon {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    margin-bottom: 14px;
}
.side-cta h3 { color: #fff; font-size: 17px; position: relative; }
.side-cta p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: rgba(255, 255, 255, .8); position: relative; }
.side-cta .btn { margin-top: 16px; position: relative; }

/* ------------------------------ 友情链接 ------------------------------ */
.links-band {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 22px 26px;
    border: 1px dashed #dfe7f3;
    border-radius: 18px;
    background: #fbfdff;
}
.links-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    padding-top: 4px;
}
.links-list { display: flex; flex-wrap: wrap; gap: 8px; }
.links-list a {
    font-size: 12.5px;
    color: #64748b;
    padding: 4px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    transition: .2s;
}
.links-list a:hover { color: var(--primary); border-color: #cbdcf8; }

/* ------------------------------ CTA ------------------------------ */
.cta-band {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 54px 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    background: linear-gradient(118deg, #0f2c6e, #1d4ed8 46%, #4c1d95);
    box-shadow: 0 40px 80px -46px rgba(29, 78, 216, .9);
}
.cta-glow {
    position: absolute;
    right: -80px; top: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, .45), transparent 66%);
}
.cta-text { position: relative; }
.cta-text h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; }
.cta-text p { margin-top: 10px; color: rgba(255, 255, 255, .76); font-size: 14.5px; }
.cta-actions { position: relative; display: flex; gap: 12px; flex-wrap: wrap; }

/* ------------------------------ 页脚 ------------------------------ */
.site-footer {
    position: relative;
    background: #08101f;
    color: #94a3b8;
    padding-top: 72px;
    overflow: hidden;
}
.footer-glow {
    position: absolute;
    top: -300px; left: 50%;
    transform: translateX(-50%);
    width: 1100px; height: 560px;
    background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, .22), transparent 66%);
    pointer-events: none;
}
.footer-main {
    position: relative;
    display: grid;
    grid-template-columns: 1.55fr .75fr .75fr 1.15fr;
    gap: 48px;
    padding-bottom: 46px;
}
.logo--light .logo-text b { color: #fff; }
.logo--light .logo-text b span { color: #60a5fa; }
.logo--light .logo-text em { color: #64748b; }
.footer-desc { margin-top: 18px; font-size: 13px; line-height: 1.85; color: #7d8ca3; max-width: 330px; }
.footer-social { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-social-label { font-size: 12px; color: #64748b; }
.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #a9b8cc;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    padding: 5px 10px;
    border-radius: 999px;
}
.footer-col h4 { color: #e6edf7; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 13px; color: #93a3b8; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { color: #60a5fa; margin-top: 3px; }
.footer-contact span { display: flex; flex-direction: column; }
.footer-contact em { font-style: normal; font-size: 11px; color: #64748b; }
.footer-contact b { font-size: 13px; color: #cbd5e1; font-weight: 500; line-height: 1.6; }

.footer-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    flex-wrap: wrap;
}
.footer-links-label { font-size: 12px; color: #64748b; }
.footer-links-list { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links-list a { font-size: 12.5px; color: #8593a8; }
.footer-links-list a:hover { color: #fff; }

.footer-bottom { padding: 22px 0 26px; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #6b7a91; }
.footer-copy a:hover { color: #cbd5e1; }
.footer-meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #55637a; }
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: #37475e; }

.to-top {
    position: fixed;
    right: 26px; bottom: 26px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    display: grid; place-items: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .28s;
    z-index: 90;
}
.to-top .ico { transform: rotate(180deg); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--primary); border-color: #cbdcf8; }

/* ------------------------------ 内页头部 ------------------------------ */
.page-head {
    position: relative;
    overflow: hidden;
    padding: 46px 0 52px;
    background: linear-gradient(180deg, #f7faff, #fff);
    border-bottom: 1px solid var(--line-2);
}
.page-head-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 300px at 82% -30%, rgba(37, 99, 235, .12), transparent 70%),
        radial-gradient(500px 260px at 6% 120%, rgba(6, 182, 212, .10), transparent 70%);
    pointer-events: none;
}
.page-head .container { position: relative; }
.page-head--sm { padding: 34px 0 38px; }
.crumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 14px;
}
.crumb a:hover { color: var(--primary); }
.crumb .ico { color: #c7d2e2; }
.crumb span { color: #64748b; }
.page-head-title {
    font-size: clamp(26px, 3.2vw, 40px);
    letter-spacing: -.03em;
    line-height: 1.24;
    font-weight: 800;
}
.page-head-desc { margin-top: 12px; font-size: 15px; color: #5b6b82; max-width: 720px; line-height: 1.8; }

.cat-tabs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.cat-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    color: #46566e;
    transition: .2s;
}
.cat-tab:hover { border-color: #cbdcf8; color: var(--primary); }
.cat-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: var(--grad-btn);
    box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .9);
}

/* ------------------------------ 列表布局 ------------------------------ */
.list-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.list-main { min-width: 0; }
.list-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }

.post-list { display: flex; flex-direction: column; gap: 18px; }
/* 搜索结果没有侧栏，宽屏下收窄到与列表页主列一致的阅读宽度 */
.post-list--search { max-width: 1360px; }
.post-row {
    display: flex;
    gap: 22px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    transition: .3s;
}
.post-row:hover { border-color: #d5e3f8; box-shadow: 0 26px 46px -34px rgba(15, 23, 42, .34); transform: translateY(-2px); }
.post-row-cover { width: 190px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; }
.post-row-cover .mock--poster { aspect-ratio: 4 / 3; height: 100%; min-height: 134px; border-radius: 14px; padding: 15px; }
.post-row-cover .mock-poster-label {
    font-size: 12.5px;
    line-height: 1.5;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.post-row-cover .mock-poster-shot { display: none; }
.post-row-body { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.post-row-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: #8b98ad; }
.post-row-meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-row-body h3 { font-size: 18px; line-height: 1.45; letter-spacing: -.01em; transition: color .2s; }
.post-row:hover h3 { color: var(--primary); }
.post-row-body p { font-size: 13.5px; line-height: 1.75; color: #6b7a91; }
.post-row .link-more { margin-top: auto; }

.empty {
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed #dfe7f3;
    border-radius: 22px;
    background: #fbfdff;
}
.empty-icon {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    margin: 0 auto 16px;
    border-radius: 18px;
    background: #eff5ff;
    color: var(--primary);
}
.empty-icon .ico { width: 26px; height: 26px; }
.empty h3 { font-size: 17px; }
.empty p { margin: 8px 0 18px; font-size: 13.5px; color: var(--muted); }

/* 分页 */
.pager { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 40px; flex-wrap: wrap; }
.pager-btn, .pager-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px; height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 13px;
    color: #46566e;
    transition: .2s;
}
.pager-btn:hover, .pager-num:hover { border-color: #cbdcf8; color: var(--primary); }
.pager-num.is-active { color: #fff; background: var(--grad-btn); border-color: transparent; box-shadow: 0 10px 20px -12px rgba(37, 99, 235, .9); }
.pager-btn.is-disabled { color: #c3cee0; background: #fafcff; }

/* ------------------------------ 详情 ------------------------------ */
.detail-head {
    position: relative;
    overflow: hidden;
    padding: 40px 0 56px;
    background: linear-gradient(180deg, #f7faff, #fff);
    border-bottom: 1px solid var(--line-2);
}
.detail-head-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(620px 300px at 88% 0%, color-mix(in srgb, var(--c1) 16%, transparent), transparent 72%),
        radial-gradient(520px 260px at 4% 110%, rgba(6, 182, 212, .10), transparent 72%);
}
.detail-head-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 52px; align-items: center; }
.detail-head-text { max-width: 560px; }
.detail-title { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.22; font-weight: 800; }
.detail-summary { margin-top: 16px; font-size: 15.5px; line-height: 1.85; color: #55647b; }
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.detail-head-visual { position: relative; width: 100%; max-width: 560px; margin-left: auto; }
.detail-head-visual .mock-window { display: flex; flex-direction: column; aspect-ratio: 16 / 9.4; }
.detail-head-visual .mock-hero { flex: none; height: 42%; }
.detail-head-visual .mock-body { flex: 1; min-height: 0; justify-content: space-between; }

.page-head--article .page-head-title { max-width: 900px; }
.article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 12.5px; color: #8494aa; }
.article-meta span { display: inline-flex; align-items: center; gap: 5px; }

.detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 44px; align-items: start; }
.detail-article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 38px 42px;
    min-width: 0;
}
.detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }

.prose { font-size: 15px; line-height: 1.95; color: #40506a; }
.prose > * + * { margin-top: 18px; }
/* 宽屏下限制正文行宽，保证中文阅读节奏 */
.prose > p,
.prose > ul,
.prose > ol,
.prose > blockquote,
.prose > h2,
.prose > h3 { max-width: 880px; }
.prose h2 { font-size: 22px; margin-top: 38px; letter-spacing: -.02em; }
.prose h3 {
    font-size: 18px;
    margin-top: 34px;
    padding-left: 13px;
    position: relative;
    letter-spacing: -.01em;
}
.prose h3::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 17px;
    border-radius: 3px;
    background: var(--grad-btn);
}
.prose p { color: #45566f; }
.prose ul, .prose ol { padding-left: 0; display: flex; flex-direction: column; gap: 9px; }
.prose ul li {
    position: relative;
    padding-left: 24px;
    color: #45566f;
}
.prose ul li::before {
    content: "";
    position: absolute;
    left: 4px; top: 12px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #93b4f8;
    box-shadow: 0 0 0 3px #eaf1ff;
}
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 26px; counter-increment: n; }
.prose ol li::before {
    content: counter(n);
    position: absolute; left: 0; top: 3px;
    font-size: 12px; font-weight: 700; color: var(--primary);
}
.prose img { border-radius: 14px; margin: 8px 0; }
.prose blockquote {
    margin: 22px 0;
    padding: 16px 22px;
    border-left: 3px solid #bfd4fb;
    background: #f7faff;
    border-radius: 0 12px 12px 0;
    color: #4a5a72;
}
.prose a { color: var(--primary); border-bottom: 1px solid #cddffb; }
.prose code {
    background: #f2f6fd;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 13px;
    color: #1e40af;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: #f8fbff; color: var(--ink-2); }

.article-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px dashed var(--line);
}
.article-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.article-share { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--muted); }
.share-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12.5px;
    color: #46566e;
    background: #fff;
}
.share-btn:hover { border-color: #cbdcf8; color: var(--primary); }

.prev-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.pn-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 15px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fbfdff;
    transition: .2s;
}
.pn-item em { font-style: normal; font-size: 11.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.pn-item em .ico { transform: rotate(180deg); }
.pn-item b { font-size: 13.5px; font-weight: 600; color: var(--ink-2); line-height: 1.5; }
.pn-item:hover { border-color: #cbdcf8; background: #fff; box-shadow: var(--shadow-sm); }
.pn-item--next { text-align: right; align-items: flex-end; }
.pn-item--next em .ico { transform: none; }
.pn-item.is-empty { opacity: .6; background: #fafcff; }

.info-list { display: flex; flex-direction: column; gap: 0; margin: 4px 0 18px; }
.info-list > div { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.info-list dt { font-size: 12.5px; color: var(--muted); }
.info-list dd { margin: 0; font-size: 13px; color: var(--ink-2); font-weight: 500; }

/* ------------------------------ 联系页 ------------------------------ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 36px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-card {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: .25s;
}
.contact-card:hover { border-color: #d5e3f8; box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-ico {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(140deg, #eff6ff, #ede9fe);
    color: var(--primary);
    display: grid; place-items: center;
    margin-bottom: 10px;
}
.contact-card em { font-style: normal; font-size: 12px; color: var(--muted); }
.contact-card b { font-size: 15px; color: var(--ink); letter-spacing: -.01em; word-break: break-all; }
.contact-card small { font-size: 11.5px; color: #9aa8bb; }

.contact-map {
    position: relative;
    margin-top: 14px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(150deg, #eef5ff, #e8f2fd 55%, #f4f9ff);
    display: flex;
    align-items: flex-end;
    padding: 22px;
}
.contact-map-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(37, 99, 235, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 99, 235, .08) 1px, transparent 1px);
    background-size: 30px 30px;
}
.contact-map-pin {
    position: absolute;
    left: 50%; top: 42%;
    transform: translate(-50%, -50%);
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--grad-btn);
    color: #fff;
    display: grid; place-items: center;
    box-shadow: 0 0 0 10px rgba(37, 99, 235, .12), 0 14px 26px -12px rgba(37, 99, 235, .8);
    animation: bob 5s ease-in-out infinite;
}
.contact-map-txt { position: relative; background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px); padding: 10px 14px; border-radius: 12px; border: 1px solid #e4edfa; }
.contact-map-txt b { display: block; font-size: 12.5px; color: var(--ink-2); }
.contact-map-txt em { font-style: normal; font-size: 11px; color: var(--muted); }

.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 34px 34px;
    box-shadow: 0 30px 60px -46px rgba(15, 23, 42, .4);
}
.form-head h2 { font-size: 22px; letter-spacing: -.02em; }
.form-head p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.form { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12.5px; color: #46566e; font-weight: 500; }
.field > span i { color: #ef4444; font-style: normal; }
.field input, .field textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfcfe;
    border-radius: 12px;
    padding: 11px 14px;
    font-size: 13.5px;
    color: var(--ink);
    font-family: inherit;
    outline: none;
    transition: .2s;
    resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #a9b6c8; }
.field input:focus, .field textarea:focus {
    background: #fff;
    border-color: #b9d1fb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .08);
}
.form-foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.form-note { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: #9aa8bb; }

.alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 12px;
    font-size: 13px;
    margin-top: 18px;
}
.alert--success { background: #ecfdf5; color: #047857; border: 1px solid #d1fae5; }
.alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fee2e2; }

/* ------------------------------ 搜索 ------------------------------ */
.search-big {
    margin-top: 22px;
    display: flex;
    gap: 8px;
    max-width: 620px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 6px 6px 20px;
    box-shadow: var(--shadow-sm);
}
.search-big input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 14.5px;
    color: var(--ink);
    min-width: 0;
}
.search-big button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    padding: 10px 20px;
    background: var(--grad-btn);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
}
.search-total { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.search-total b { color: var(--primary); font-size: 15px; }

/* ------------------------------ 404 ------------------------------ */
.err-page { padding: 90px 0 110px; }
.err-inner { text-align: center; max-width: 620px; }
.err-code {
    font-size: clamp(90px, 16vw, 160px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.06em;
    background: linear-gradient(120deg, #2563eb, #7c3aed 55%, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .9;
}
.err-inner h1 { margin-top: 12px; font-size: 26px; letter-spacing: -.02em; }
.err-inner p { margin-top: 10px; color: #64748b; }
.err-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.err-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 34px; font-size: 13px; color: #94a3b8; }
.err-links a:hover { color: var(--primary); }

/* ------------------------------ 滚动出现 ------------------------------ */
.will-reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.22, .61, .36, 1); }
.will-reveal.is-in { opacity: 1; transform: none; }

/* 减少动态效果偏好：关闭进场动画，保证内容可见 */
@media (prefers-reduced-motion: reduce) {
    .hero-visual .mock,
    .hero-slide.is-active .hero-visual .mock { animation: none; opacity: 1; transform: none; }
    .hero-blob--1, .hero-blob--2, .mock-float--a, .mock-float--b,
    .contact-map-pin, .live-dot { animation: none; }
    .will-reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* 防止网格子项被不可换行内容撑破 */
.hero-inner > *,
.news-wrap > *,
.list-layout > *,
.detail-layout > *,
.contact-layout > *,
.product-grid > *,
.case-grid > *,
.plugin-grid > * { min-width: 0; }
.mock, .mock-window, .mock-canvas, .mock-main { min-width: 0; }
.news-main, .news-side, .news-list, .news-row, .news-txt { min-width: 0; }
.news-txt { overflow: hidden; }

/* ------------------------------ 响应式 ------------------------------ */
@media (max-width: 1400px) {
    /* 笔记本屏：导航与搜索略收，给 LOGO 让位 */
    .nav-link { padding: 9px 13px; font-size: 14px; gap: 5px; }
    .logo-text em { max-width: 150px; }
    .logo-img { max-width: 200px; }
    .header-search input { width: 96px; }
    .header-search:focus-within input { width: 140px; }
}

@media (max-width: 1290px) {
    .header-cta { display: none; }
}

@media (max-width: 1180px) {
    .plugin-grid { grid-template-columns: repeat(2, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
    .footer-contact { grid-column: span 3; }
    /* 宽版下拉收窄：隐藏简介，只留图标 + 名称，保证 6 个产品同行 */
    .nav-drop--wide .drop-txt em { display: none; }
    .nav-drop--wide .drop-item { padding: 12px 10px; gap: 9px; }
    .nav-drop--wide .drop-icon { width: 34px; height: 34px; border-radius: 10px; }
}

@media (max-width: 1110px) {
    /* 窄一些的平板：LOGO 只留标识与站名，导航进一步压缩 */
    .logo-text em { display: none; }
    .nav-link { padding: 8px 9px; }
    .header-search input { width: 88px; }
    .header-search:focus-within input { width: 132px; }
}


@media (max-width: 1024px) {
    .hero-inner { gap: 30px; }
    .mock-canvas { height: 290px; }
    .detail-head-inner { gap: 30px; }
    .news-wrap { grid-template-columns: 1fr; gap: 28px; }
    .list-layout, .detail-layout { grid-template-columns: 1fr; }
    .list-side, .detail-side { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
    :root { --header-h: 64px; }
    .topbar { display: none; }
    .header-search { display: none; }
    .header-cta { display: none; }
    .nav-toggle { display: grid; }
    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        display: block;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 18px 20px;
        max-height: calc(100vh - var(--header-h));
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: .25s;
        box-shadow: 0 30px 50px -30px rgba(15, 23, 42, .4);
    }
    body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
    .nav-link { padding: 12px 14px; border-radius: 12px; justify-content: flex-start; font-size: 15px; }
    .nav-link.is-active { background: #eff5ff; color: var(--primary); box-shadow: none; }
    .nav-caret { margin-left: auto; }
    .nav-drop,
    .nav-drop--wide {
        position: static;
        width: auto;
        max-width: none;
        top: auto;
        left: auto;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        padding: 4px 0 8px 8px;
    }
    .nav-item:hover .nav-drop { transform: none; }
    .nav-item.is-open .nav-drop { display: block; }
    .nav-drop-inner,
    .nav-drop--wide .nav-drop-inner { grid-template-columns: 1fr; border: 0; box-shadow: none; padding: 0; background: transparent; gap: 0; }
    .nav-drop--wide .drop-item { padding: 9px 10px; }
    .drop-item { padding: 9px 10px; }
    body.nav-open { overflow: hidden; }

    .hero { min-height: auto; padding: 40px 0 80px; }
    .hero-slides { min-height: auto; }
    .hero-slide { position: absolute; }
    .hero-slide.is-active { position: relative; }
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-text { max-width: none; }
    .hero-visual { order: 2; }
    .hero-stats { gap: 22px; margin-top: 32px; }
    .hero-controls { position: static; margin-top: 18px; }
    .hero-dots { gap: 14px; }
}

@media (max-width: 820px) {
    .section { padding: 64px 0; }
    .section--tight { padding: 40px 0 60px; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sec-head--row { flex-direction: column; align-items: flex-start; gap: 16px; }
    .cta-band { flex-direction: column; align-items: flex-start; padding: 38px 30px; }
    .detail-article { padding: 26px 22px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-contact { grid-column: span 2; }
    .prev-next { grid-template-columns: 1fr; }
    .post-row-cover { width: 132px; }
    .post-row-body h3 { font-size: 16px; }
    .post-row-body p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

@media (max-width: 640px) {
    .container { padding: 0 18px; }
    .topbar-right { display: none; }
    .logo-text em { display: none; }
    .logo-img { height: 32px; max-width: 148px; }
    .logo--light .logo-img { height: 32px; max-width: 148px; }
    .hero { padding: 26px 0 60px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 15px; margin-top: 16px; }
    .hero-btns { gap: 10px; }
    .hero-btns .btn { flex: 1 1 0; min-width: 0; padding: 12px 12px; font-size: 14px; justify-content: center; }
    .hero-stats { gap: 16px; }
    .hero-stat b { font-size: 18px; }
    .mock-canvas { height: 220px; }
    .mock-side { width: 58px; padding: 12px 8px; }
    .mock-float { display: none; }
    .product-grid, .case-grid, .plugin-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px 20px; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; }
    .footer-contact { grid-column: auto; }
    .post-row { flex-direction: column; gap: 14px; }
    .post-row-cover { width: 100%; }
    .post-row-cover .mock--poster { aspect-ratio: 16 / 9; }
    .detail-head-inner { grid-template-columns: 1fr; }
    .detail-head-visual { display: none; }
    .article-foot { flex-direction: column; align-items: flex-start; }
    .links-band { flex-direction: column; gap: 12px; }
    .hero-controls-inner { justify-content: space-between; }
    .hero-arrow { width: 38px; height: 38px; }
    .page-head { padding: 30px 0 34px; }
    .news-date { flex-basis: 48px; }
    .news-date b { font-size: 19px; }
    .cta-band { padding: 30px 22px; border-radius: 22px; }
    .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}
