/* ========== 主题变量 ========== */
:root {
    --c-bg: #fafbfd;
    --c-bg-alt: #eef3fa;
    --c-text: #0b1e3a;
    --c-text-soft: #4b5b78;
    --c-primary: #061a35;
    --c-primary-2: #0c2a5e;
    --c-steel: #1e3a5f;
    --c-accent: #1e40af;
    --c-cyan: #5fb8e8;
    --c-gold: #c9a14e;
    --c-border: #d8e1ee;
    --c-grid: rgba(30, 58, 95, .07);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-md: 0 16px 40px rgba(13, 39, 80, .10);
    --shadow-lg: 0 24px 60px rgba(13, 39, 80, .14);
    --shadow-glow: 0 0 0 1px rgba(95, 184, 232, .18), 0 22px 50px rgba(6, 26, 53, .22);
    --radius: 12px;
    --maxw: 1240px;
    --header-h: 88px;
    /* 等宽栈：西文 JetBrains Mono，中文必须回退到无衬线，
       否则 generic monospace 在 Windows 会落到宋体 */
    --font-mono: "JetBrains Mono", Consolas, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Bootstrap Icons via mask-image：颜色 = 当前 currentColor，尺寸 = 1em */
.bi {
    display: inline-block; width: 1em; height: 1em;
    background-color: currentColor;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    vertical-align: -.125em; flex: none;
}
.bi-hdd-stack           { -webkit-mask-image: url('../icons/hdd-stack.svg');           mask-image: url('../icons/hdd-stack.svg'); }
.bi-bar-chart-line      { -webkit-mask-image: url('../icons/bar-chart-line.svg');      mask-image: url('../icons/bar-chart-line.svg'); }
.bi-code-slash          { -webkit-mask-image: url('../icons/code-slash.svg');          mask-image: url('../icons/code-slash.svg'); }
.bi-patch-question      { -webkit-mask-image: url('../icons/patch-question.svg');      mask-image: url('../icons/patch-question.svg'); }
.bi-diagram-3           { -webkit-mask-image: url('../icons/diagram-3.svg');           mask-image: url('../icons/diagram-3.svg'); }
.bi-puzzle              { -webkit-mask-image: url('../icons/puzzle.svg');              mask-image: url('../icons/puzzle.svg'); }
.bi-broadcast-pin       { -webkit-mask-image: url('../icons/broadcast-pin.svg');       mask-image: url('../icons/broadcast-pin.svg'); }
.bi-heart-pulse         { -webkit-mask-image: url('../icons/heart-pulse.svg');         mask-image: url('../icons/heart-pulse.svg'); }
.bi-share-fill          { -webkit-mask-image: url('../icons/share-fill.svg');          mask-image: url('../icons/share-fill.svg'); }
.bi-bank                { -webkit-mask-image: url('../icons/bank.svg');                mask-image: url('../icons/bank.svg'); }
.bi-currency-exchange   { -webkit-mask-image: url('../icons/currency-exchange.svg');   mask-image: url('../icons/currency-exchange.svg'); }
.bi-mortarboard         { -webkit-mask-image: url('../icons/mortarboard.svg');         mask-image: url('../icons/mortarboard.svg'); }
.bi-lightning-charge    { -webkit-mask-image: url('../icons/lightning-charge.svg');    mask-image: url('../icons/lightning-charge.svg'); }
.bi-geo-alt             { -webkit-mask-image: url('../icons/geo-alt.svg');             mask-image: url('../icons/geo-alt.svg'); }
.bi-gear-wide-connected { -webkit-mask-image: url('../icons/gear-wide-connected.svg'); mask-image: url('../icons/gear-wide-connected.svg'); }
.bi-buildings           { -webkit-mask-image: url('../icons/buildings.svg');           mask-image: url('../icons/buildings.svg'); }
.bi-cpu                 { -webkit-mask-image: url('../icons/cpu.svg');                 mask-image: url('../icons/cpu.svg'); }
.bi-cloud-arrow-up      { -webkit-mask-image: url('../icons/cloud-arrow-up.svg');      mask-image: url('../icons/cloud-arrow-up.svg'); }
.bi-arrow-right         { -webkit-mask-image: url('../icons/arrow-right.svg');         mask-image: url('../icons/arrow-right.svg'); }
.bi-grid-1x2            { -webkit-mask-image: url('../icons/grid-1x2.svg');            mask-image: url('../icons/grid-1x2.svg'); }
.bi-telephone           { -webkit-mask-image: url('../icons/telephone.svg');           mask-image: url('../icons/telephone.svg'); }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--c-text);
    background: var(--c-bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4 { color: var(--c-primary); margin: 0 0 .6em; line-height: 1.3; font-weight: 600; letter-spacing: .5px; }
p { margin: 0 0 1em; color: var(--c-text-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; width: 100%; }

/* ========== 自绘栅格（替代 Bootstrap，按需精简） ========== */
.row { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.row.g-4 > [class*="col"] { padding: 12px; }
.row.g-3 > [class*="col"] { padding: 8px; }
[class*="col"] { width: 100%; padding: 12px; box-sizing: border-box; }
.col-12 { width: 100%; }
.col-md-4 { width: 33.3333%; }
.col-md-6 { width: 50%; }
.col-lg-4 { width: 33.3333%; }
.col-lg-5 { width: 41.6667%; }
.col-lg-6 { width: 50%; }
.col-lg-7 { width: 58.3333%; }
.col-lg-8 { width: 66.6667%; }
.mx-auto { margin-left: auto; margin-right: auto; }
@media (max-width: 991.98px) {
    .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8 { width: 100%; }
    .col-md-4 { width: 50%; }
}
@media (max-width: 767.98px) {
    .col-md-4, .col-md-6 { width: 100%; }
}
/* 表单控件（替代 Bootstrap form-control） */
.form-control {
    display: block; width: 100%; padding: 12px 14px;
    font-size: 14px; line-height: 1.5; color: var(--c-text);
    background: #fff; border: 1px solid var(--c-border);
    border-radius: 10px; transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}
.form-control:focus {
    outline: none; border-color: var(--c-accent);
    box-shadow: 0 0 0 3px rgba(79, 209, 197, .18);
}
.form-control::placeholder { color: #9aa7ba; }
textarea.form-control { min-height: 120px; resize: vertical; }
/* 工具类 */
.d-flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: 12px; }
.mt-4 { margin-top: 24px; }
.text-center { text-align: center; }

/* 全局背景：极淡科技网格 */
body::before {
    content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background-image:
        linear-gradient(var(--c-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--c-grid) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 90%);
}

/* ========== 页眉 ========== */
.site-header {
    position: sticky; top: 0; z-index: 1030; height: var(--header-h);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 8px 24px rgba(6, 26, 53, .04);
}
/* 顶部金属细线，强化商务质感 */
.site-header::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--c-accent) 18%,
        var(--c-gold) 50%,
        var(--c-accent) 82%,
        transparent 100%);
    opacity: .55;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo {
    width: 52px; height: 52px; object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(6, 26, 53, .28));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; padding-left: 14px; border-left: 1px solid var(--c-border); }
.brand-text strong {
    font-size: 20px; letter-spacing: 3px; font-weight: 700;
    color: var(--c-primary);
    -webkit-background-clip: initial; background-clip: initial;
}
.brand-text em {
    font-size: 11px; color: var(--c-text-soft); font-style: normal;
    letter-spacing: 2px; margin-top: 2px; text-transform: uppercase;
    font-family: var(--font-mono);
}
.site-nav { display: flex; gap: 2px; align-items: center; }
.nav-link {
    padding: 12px 22px; font-size: 14px;
    color: var(--c-text); position: relative; transition: color .25s;
    font-weight: 500; letter-spacing: 2px;
}
.nav-link::after {
    content: ''; position: absolute; left: 22px; right: 22px; bottom: 6px;
    height: 2px; background: var(--c-accent);
    transform: scaleX(0); transform-origin: left center;
    transition: transform .3s ease;
}
.nav-link:hover { color: var(--c-accent); }
.nav-link:hover::after { transform: scaleX(.6); }
.nav-link.is-active { color: var(--c-primary); font-weight: 600; }
.nav-link.is-active::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--c-accent), var(--c-gold));
    box-shadow: 0 4px 10px rgba(30, 64, 175, .25);
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-primary); margin: 5px 0; border-radius: 2px; }

/* ========== Hero ========== */
.hero {
    position: relative; padding: 130px 0 110px; overflow: hidden;
    color: #e6f2ff; min-height: 640px;
    background-color: #061a35;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    background: url('../images/bg/hero.jpg') center/cover no-repeat;
    background-image: -webkit-image-set(url('../images/bg/hero.webp') type('image/webp'), url('../images/bg/hero.jpg') type('image/jpeg'));
    background-image: image-set(url('../images/bg/hero.webp') type('image/webp'), url('../images/bg/hero.jpg') type('image/jpeg'));
    opacity: .22; transform: translateY(var(--parallax-y, 0)) scale(1.12);
    will-change: transform;
}
/* 图纸感：细网格叠加在 hero 背景图上 */
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(125, 211, 252, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .055) 1px, transparent 1px);
    background-size: 48px 48px;
}
.hero:hover .hero-bg { transform: translateY(var(--parallax-y, 0)) scale(1.15); }
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(900px 500px at 80% -10%, rgba(95, 184, 232, .18), transparent 65%),
        radial-gradient(900px 500px at -10% 110%, rgba(30, 64, 175, .35), transparent 65%),
        linear-gradient(180deg, rgba(3, 14, 30, .92) 0%, rgba(6, 26, 53, .92) 55%, rgba(10, 31, 68, .94) 100%);
}
.hero canvas.particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; z-index: 2; pointer-events: none; }
.hero .three-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .80; }
.hero .three-scene canvas { display: block; width: 100% !important; height: 100% !important; }
.hero .container { position: relative; z-index: 3; }
.hero .eyebrow { color: #cfe7fb; border-color: rgba(207, 231, 251, .25); background: rgba(255, 255, 255, .04); }
.hero h1 {
    color: #fff; font-size: clamp(34px, 5vw, 60px); margin: 18px 0 22px; font-weight: 700;
    text-shadow: 0 6px 28px rgba(3, 14, 30, .55); letter-spacing: 2px;
}
.hero h1 .grad {
    background: linear-gradient(90deg, #ffffff 0%, #cfe7fb 55%, #c9a14e 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead {
    color: rgba(230, 242, 255, .92); font-size: clamp(16px, 1.6vw, 19px);
    max-width: 760px; line-height: 1.85;
}
.typewriter { color: #7dd3fc; font-family: var(--font-mono); }
.typewriter::after { content: '_'; animation: blink 1s steps(1) infinite; color: #7dd3fc; }
@keyframes blink { 50% { opacity: 0; } }

/* 角标装饰 */
.corner { position: absolute; width: 28px; height: 28px; border: 1px solid rgba(201, 161, 78, .55); pointer-events: none; }
.corner.tl { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.corner.tr { top: 24px; right: 24px; border-left: 0; border-bottom: 0; }
.corner.bl { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.corner.br { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }

/* Hero 印章：方形朱印（双线 + 朱红 + 篆字风排列） */
.hero-stamp {
    position: absolute; z-index: 4; top: 56px; right: 56px;
    pointer-events: none;
    transform: rotate(-6deg); transform-origin: top right;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35));
}
.hero-stamp .stamp-frame {
    position: relative;
    width: 116px; height: 116px;
    padding: 8px;
    background: #c8312b;
    border: 2px solid #c8312b;
    box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 6px #c8312b;
    border-radius: 4px;
    /* 朱泥斑驳质感：用噪点状渐变模拟印泥不均 */
    background-image:
        radial-gradient(circle at 18% 22%, rgba(255,255,255,.18) 0 2px, transparent 3px),
        radial-gradient(circle at 78% 38%, rgba(255,255,255,.14) 0 2px, transparent 3px),
        radial-gradient(circle at 32% 78%, rgba(0,0,0,.14) 0 2px, transparent 3px),
        radial-gradient(circle at 88% 82%, rgba(0,0,0,.12) 0 2px, transparent 3px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.06), transparent 65%),
        linear-gradient(135deg, #d23a33 0%, #b22824 100%);
}
.hero-stamp .stamp-grid {
    width: 100%; height: 100%;
    display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr);
    gap: 0;
    color: #fff;
    font-family: 'STKaiti', 'KaiTi', '楷体', 'STSong', 'SimSun', serif;
    font-weight: 700; font-style: normal;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
}
.hero-stamp .stamp-grid span {
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; line-height: 1;
}
@media (max-width: 768px) {
    .hero-stamp { top: 70px; right: 18px; transform: rotate(-5deg); }
    .hero-stamp .stamp-frame { width: 84px; height: 84px; padding: 6px; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #c8312b; }
    .hero-stamp .stamp-grid span { font-size: 20px; }
}

/* 品牌信条 strip：hero 与研究区之间的窄横条 */
.brand-creed {
    position: relative; padding: 36px 0;
    background: linear-gradient(180deg, #061a35 0%, #0c2a5e 100%);
    border-top: 1px solid rgba(201, 161, 78, .25);
    border-bottom: 1px solid rgba(201, 161, 78, .25);
    overflow: hidden;
}
.brand-creed::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(900px 120px at 50% 50%, rgba(95, 184, 232, .18), transparent 70%);
    pointer-events: none;
}
.creed-row {
    position: relative; display: flex; align-items: center; justify-content: center;
    gap: 22px; flex-wrap: wrap; text-align: center;
}
.creed-line {
    flex: 1 1 60px; max-width: 180px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 161, 78, .55), transparent);
}
.creed-mark {
    display: inline-block; font-size: 11px; letter-spacing: 6px;
    color: var(--c-gold); padding: 4px 12px;
    border: 1px solid rgba(201, 161, 78, .45);
}
.creed-text {
    color: #fff; font-size: clamp(22px, 3vw, 34px); font-weight: 700;
    margin: 0; letter-spacing: 4px;
}
.creed-sub {
    width: 100%; font-size: 12px; letter-spacing: 4px;
    color: rgba(207, 231, 251, .65); text-transform: uppercase;
}
@media (max-width: 768px) {
    .brand-creed { padding: 28px 0; }
    .creed-line { max-width: 80px; }
    .creed-text { letter-spacing: 2px; }
}


/* ========== 按钮 ========== */
.btn-tech {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px; border-radius: 999px; font-size: 15px; font-weight: 500;
    border: 1px solid transparent; cursor: pointer; transition: all .3s;
    position: relative; overflow: hidden; letter-spacing: 1px;
    white-space: nowrap; flex: none;
}
.btn-tech .layui-icon {
    flex: none; width: 1.15em; height: 1.15em; font-size: 1.15em; line-height: 1;
    display: inline-flex; align-items: center; justify-content: center;
}
.btn-tech.is-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-accent) 100%);
    box-shadow: 0 14px 32px rgba(6, 26, 53, .38), inset 0 1px 0 rgba(255, 255, 255, .12);
}
.btn-tech.is-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(6, 26, 53, .48), inset 0 1px 0 rgba(255, 255, 255, .18); color: #fff; }
.btn-tech.is-ghost {
    color: #e6f2ff; background: rgba(255,255,255,.06);
    border-color: rgba(125, 211, 252, .45); backdrop-filter: blur(6px);
}
.btn-tech.is-ghost:hover { background: rgba(125, 211, 252, .14); color: #fff; transform: translateY(-3px); }
.btn-tech.is-outline {
    color: var(--c-primary); background: #fff;
    border-color: var(--c-border);
}
.btn-tech.is-outline:hover { color: var(--c-accent); border-color: var(--c-accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-tech::before {
    content: ''; position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
    transition: left .7s;
}
.btn-tech:hover::before { left: 130%; }

/* ========== 数字指标条 ========== */
.metrics {
    margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    position: relative; z-index: 2;
}
.metric {
    text-align: center; padding: 26px 12px; border-radius: 4px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(207, 231, 251, .14);
    backdrop-filter: blur(8px); position: relative; overflow: hidden;
    transition: transform .3s, border-color .3s, background .3s;
}
.metric:hover { transform: translateY(-4px); border-color: rgba(201, 161, 78, .35); background: rgba(255,255,255,.06); }
.metric::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 161, 78, .55), transparent);
}
.metric .num {
    font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: 1px;
    background: linear-gradient(180deg, #ffffff 0%, #cfe7fb 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-family: var(--font-mono);
}
.metric .label { font-size: 12px; color: rgba(230,242,255,.65); margin-top: 6px; letter-spacing: 2px; }

/* ========== 通用 section ========== */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-bg-alt) 100%); }
.section-dark {
    color: #e6f2ff; background-color: #061a35;
    background-image:
        radial-gradient(700px 360px at 20% 10%, rgba(95, 184, 232, .10), transparent 65%),
        radial-gradient(800px 400px at 85% 95%, rgba(30, 64, 175, .22), transparent 65%),
        linear-gradient(180deg, #061a35 0%, #08213f 100%);
}
.section-dark::before {
    content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 161, 78, .35) 50%, transparent);
    pointer-events: none;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: rgba(230, 242, 255, .80); }
.section-dark .eyebrow { color: #cfe7fb; border-color: rgba(207, 231, 251, .25); background: rgba(255, 255, 255, .04); }
/* 深色区里的白底卡片需要恢复深色文字，避免白字白底不可见 */
.section-dark .tech-card h3 { color: var(--c-primary); }
.section-dark .tech-card p,
.section-dark .tech-card .lead { color: var(--c-text-soft); }
.section-dark .tech-card .more { color: var(--c-accent); }

.section-head { text-align: center; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 16px; }
.section-head h2 .grad {
    background: linear-gradient(90deg, var(--c-primary-2) 0%, var(--c-accent) 60%, var(--c-gold) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head .lead { max-width: 720px; margin: 0 auto; color: var(--c-text-soft); font-size: 16px; }
.section-head .divider {
    width: 56px; height: 2px; margin: 18px auto 22px;
    background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-gold) 100%);
    border-radius: 2px;
}
.eyebrow {
    display: inline-block; font-size: 11px; letter-spacing: 6px;
    color: var(--c-accent); text-transform: uppercase; margin-bottom: 4px;
    padding: 6px 16px; border: 1px solid rgba(30, 64, 175, .22);
    border-radius: 2px; background: rgba(30, 64, 175, .04); font-weight: 600;
}
/* 渐变文字（通用浅色底；hero/section-head 有专用更高优先级规则） */
.grad {
    background: linear-gradient(90deg, var(--c-primary-2) 0%, var(--c-accent) 60%, var(--c-gold) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ========== 卡片 ========== */
.tech-card {
    position: relative; background: #fff; border: 1px solid var(--c-border);
    border-radius: var(--radius); padding: 32px; height: 100%;
    box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s, border-color .35s;
    overflow: hidden;
}
.tech-card::before {
    content: ''; position: absolute; inset: -1px; border-radius: inherit;
    padding: 1px; background: linear-gradient(135deg, transparent 30%, var(--c-cyan) 50%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .35s; pointer-events: none;
}
.tech-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: transparent; }
.tech-card:hover::before { opacity: 1; }

/* 3D Tilt：开启 perspective，悬停时由 JS 接管 transform，并叠加光斑 */
.tilt-on { transform-style: preserve-3d; will-change: transform; }
.tech-card.tilt-on {
    --tilt-x: 0deg; --tilt-y: 0deg; --glow-x: 50%; --glow-y: 50%;
    transition: transform .25s ease, box-shadow .35s, border-color .35s;
}
.tech-card.tilt-on.is-tilting {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-6px);
    transition: transform .08s linear, box-shadow .35s, border-color .35s;
}
.tech-card.tilt-on::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(220px circle at var(--glow-x) var(--glow-y),
        rgba(125, 211, 252, .22), transparent 60%);
    opacity: 0; transition: opacity .35s; z-index: 1;
}
.tech-card.tilt-on.is-tilting::after { opacity: 1; }
.tech-card.tilt-on > * { position: relative; z-index: 2; }
.tech-card h3 { font-size: 19px; }
.tech-card .icon {
    width: 56px; height: 56px; border-radius: 10px;
    background: linear-gradient(135deg, var(--c-primary-2) 0%, var(--c-accent) 100%);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 22px;
    box-shadow: 0 10px 24px rgba(6, 26, 53, .28), inset 0 1px 0 rgba(255, 255, 255, .14);
    position: relative;
}
.tech-card .icon::after {
    content: ''; position: absolute; right: -3px; top: -3px;
    width: 10px; height: 10px; background: var(--c-gold); border-radius: 2px;
    box-shadow: 0 2px 6px rgba(201, 161, 78, .45);
}
/* 图标字体的图案贴在字模左侧，方块居中后图形仍偏左，按字形中心补一档 */
.tech-card .icon .layui-icon,
.industry-item .ico .layui-icon,
.research-pill .ico .layui-icon,
.stack-card .head .ico .layui-icon {
    display: flex; align-items: center; justify-content: center;
    width: 1em; height: 1em; line-height: 1;
}
.tech-card .icon .layui-icon::before,
.industry-item .ico .layui-icon::before,
.research-pill .ico .layui-icon::before,
.stack-card .head .ico .layui-icon::before { display: block; }
.tech-card .idx {
    position: absolute; top: 22px; right: 26px;
    font-size: 38px; font-weight: 800; color: rgba(13, 39, 80, .06);
    font-family: var(--font-mono); letter-spacing: -2px;
}


/* ========== 行业 / 服务对象 ========== */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-item {
    position: relative; padding: 28px 18px; text-align: center;
    background: #fff; border: 1px solid var(--c-border); border-radius: 12px;
    transition: all .3s; cursor: default;
}
.industry-item:hover {
    transform: translateY(-4px); border-color: var(--c-accent);
    box-shadow: 0 14px 30px rgba(13, 39, 80, .10);
}
.industry-item .ico {
    width: 52px; height: 52px; margin: 0 auto 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(29,78,216,.10), rgba(56,189,248,.20));
    color: var(--c-accent);
    display: inline-flex; align-items: center; justify-content: center; font-size: 24px;
    transition: all .3s;
}
.industry-item:hover .ico {
    background: linear-gradient(135deg, var(--c-accent), var(--c-cyan));
    color: #fff; transform: rotateY(180deg);
}
.industry-item .name { font-weight: 600; color: var(--c-primary); font-size: 15px; letter-spacing: 1px; }
.industry-item .desc { font-size: 12px; color: var(--c-text-soft); margin-top: 4px; letter-spacing: .5px; }

/* ========== 研究 & 算法 strip ========== */
.research-section .lead strong {
    color: var(--c-primary); font-weight: 600;
    background: linear-gradient(180deg, transparent 65%, rgba(56,189,248,.22) 65%);
    padding: 0 2px;
}
.research-strip {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.research-pill {
    display: flex; align-items: flex-start; gap: 18px;
    padding: 26px 24px;
    background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
    box-shadow: 0 6px 18px rgba(13, 39, 80, .04);
    transition: all .3s;
}
.research-pill:hover {
    transform: translateY(-3px); border-color: var(--c-accent);
    box-shadow: 0 14px 32px rgba(13, 39, 80, .10);
}
.research-pill .ico {
    flex: none; width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--c-primary-2), var(--c-accent));
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    box-shadow: 0 8px 18px rgba(6, 26, 53, .25);
}
.research-pill h3 { font-size: 16px; margin: 0 0 6px; color: var(--c-primary); letter-spacing: .5px; }
.research-pill p  { margin: 0; font-size: 13px; color: var(--c-text-soft); line-height: 1.7; }

/* ========== 技术栈 ========== */
.stack-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.stack-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(125, 211, 252, .18);
    border-radius: 14px; padding: 28px;
    backdrop-filter: blur(8px); position: relative; overflow: hidden;
}
.stack-card .head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.stack-card .head .ico {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, var(--c-accent), var(--c-cyan));
    display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
}
.stack-card .head h3 { color: #fff; margin: 0; font-size: 18px; letter-spacing: 1px; }
.stack-card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-card .tag {
    padding: 6px 12px; border-radius: 999px; font-size: 13px;
    background: rgba(125, 211, 252, .10); color: #cfe7fb;
    border: 1px solid rgba(125, 211, 252, .25); transition: all .25s;
}
.stack-card .tag:hover { background: rgba(125, 211, 252, .22); color: #fff; }

/* ========== 公司理念条 ========== */
.philosophy {
    position: relative; padding: 80px 0; color: #e6f2ff; overflow: hidden;
    background:
        radial-gradient(700px 300px at 50% 50%, rgba(56,189,248,.20), transparent 70%),
        linear-gradient(90deg, #061a35, #0a2853);
}
.philosophy::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(125, 211, 252, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
}
.philosophy .container { position: relative; }
.philosophy .quote {
    text-align: center; font-size: clamp(20px, 2.6vw, 30px);
    letter-spacing: 8px; font-weight: 500;
}
.philosophy .quote span {
    display: inline-block; padding: 0 22px; position: relative;
    background: linear-gradient(180deg, #fff, #7dd3fc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.philosophy .quote span + span::before {
    content: '◆'; position: absolute; left: -8px; color: rgba(125, 211, 252, .55);
    font-size: 10px; top: 50%; transform: translateY(-50%);
}
.philosophy .sub {
    text-align: center; margin-top: 22px; color: rgba(230, 242, 255, .65);
    font-size: 14px; letter-spacing: 4px;
}

/* ========== 时间线 ========== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
    content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
    background: linear-gradient(180deg, var(--c-accent), var(--c-cyan));
}
.timeline-item { position: relative; padding: 0 0 28px 0; }
.timeline-item::before {
    content: ''; position: absolute; left: -29px; top: 8px; width: 16px; height: 16px; border-radius: 50%;
    background: #fff; border: 2px solid var(--c-accent);
    box-shadow: 0 0 0 5px rgba(29, 78, 216, .12);
}
.timeline-item h3 { font-size: 17px; margin-bottom: 6px; }

/* ========== 产品 3D 大屏（无人机 / 虚拟宠物 / 社会模拟 共享骨架） ========== */
.drone-section, .stage-section { padding: 110px 0 120px; }
.drone-tabs, .stage-tabs {
    display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
    margin: 0 0 24px;
}
.drone-tab, .stage-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; font-size: 14px; letter-spacing: 1px;
    border-radius: 999px; cursor: pointer;
    color: #cfe7fb; background: rgba(125, 211, 252, .08);
    border: 1px solid rgba(125, 211, 252, .25);
    transition: all .25s;
}
.drone-tab:hover, .stage-tab:hover { background: rgba(125, 211, 252, .16); color: #fff; }
.drone-tab.is-active, .stage-tab.is-active {
    color: #fff; border-color: transparent;
    background: linear-gradient(90deg, var(--c-accent), var(--c-cyan));
    box-shadow: 0 10px 24px rgba(29, 78, 216, .35);
}
.drone-theme, .stage-theme {
    margin-left: auto; font-family: var(--font-mono);
    color: #7dd3fc; font-size: 13px; letter-spacing: 2px;
}
.drone-stage, .stage-stage {
    position: relative; height: 560px; border-radius: 18px; overflow: hidden;
    background:
        radial-gradient(800px 400px at 50% 110%, rgba(29,78,216,.40), transparent 70%),
        linear-gradient(180deg, #061a35 0%, #04122a 100%);
    border: 1px solid rgba(125, 211, 252, .22);
    box-shadow: 0 0 0 1px rgba(56,189,248,.10), 0 30px 70px rgba(0, 0, 0, .45);
}
.drone-canvas, .stage-canvas { position: absolute; inset: 0; }
.drone-canvas canvas, .stage-canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.stage-hint {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 2px;
    color: rgba(230, 242, 255, .6); background: rgba(6, 26, 53, .5);
    border: 1px solid rgba(95, 184, 232, .25); border-radius: 999px;
    padding: 4px 14px; pointer-events: none; z-index: 6; white-space: nowrap;
}
@media (max-width: 767.98px) { .stage-hint { display: none; } }
.drone-stage .corner, .stage-stage .corner { border-color: rgba(125, 211, 252, .65); }

.drone-hud, .stage-hud {
    position: absolute; z-index: 2; min-width: 200px;
    padding: 14px 16px; border-radius: 10px;
    background: rgba(6, 22, 46, .55); backdrop-filter: blur(8px);
    border: 1px solid rgba(125, 211, 252, .25);
    color: #cfe7fb; font-size: 13px; letter-spacing: .5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.drone-hud.hud-tl, .stage-hud.hud-tl { top: 22px; left: 22px; }
.drone-hud.hud-tr, .stage-hud.hud-tr { top: 22px; right: 22px; }
.drone-hud.hud-bl, .stage-hud.hud-bl { bottom: 22px; left: 22px; }
.drone-hud.hud-br, .stage-hud.hud-br { bottom: 22px; right: 22px; }
.drone-hud .hud-title, .stage-hud .hud-title {
    color: #fff; font-size: 13px; letter-spacing: 2px; margin-bottom: 10px;
    padding-bottom: 8px; border-bottom: 1px solid rgba(125, 211, 252, .22);
    display: flex; align-items: center; gap: 8px;
}
.drone-hud .hud-title i, .stage-hud .hud-title i { color: #7dd3fc; }
.drone-hud .hud-row, .stage-hud .hud-row { display: flex; justify-content: space-between; gap: 18px; padding: 4px 0; }
.drone-hud .hud-row span, .stage-hud .hud-row span { color: rgba(207, 231, 251, .72); }
.drone-hud .hud-row b, .stage-hud .hud-row b {
    color: #fff; font-weight: 600;
    font-family: var(--font-mono);
}
.drone-hud .hud-row b.warn, .stage-hud .hud-row b.warn { color: #fca5a5; }
.drone-hud .hud-row b.ok,   .stage-hud .hud-row b.ok   { color: #34d399; }
.drone-hud .hud-list > div, .stage-hud .hud-list > div { padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.drone-hud .dot, .stage-hud .dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    box-shadow: 0 0 8px currentColor;
}
.drone-hud .dot-cyan, .stage-hud .dot-cyan { background: #22d3ee; color: #22d3ee; }
.drone-hud .dot-gold, .stage-hud .dot-gold { background: #fbbf24; color: #fbbf24; }
.drone-hud .dot-pink, .stage-hud .dot-pink { background: #f472b6; color: #f472b6; }
.drone-hud .dot-violet, .stage-hud .dot-violet { background: #a78bfa; color: #a78bfa; }
.drone-hud .hud-tags, .stage-hud .hud-tags { display: flex; flex-wrap: wrap; gap: 6px; max-width: 220px; }
.drone-hud .hud-tags span, .stage-hud .hud-tags span {
    padding: 3px 10px; font-size: 12px; border-radius: 999px;
    background: rgba(125, 211, 252, .10); border: 1px solid rgba(125, 211, 252, .25);
    color: #cfe7fb;
}
/* 主题色微调：浅色 section 用更深底色让 HUD 仍然可读 */
.section-light .stage-stage {
    background:
        radial-gradient(800px 400px at 50% 110%, rgba(29,78,216,.30), transparent 70%),
        linear-gradient(180deg, #0a2853 0%, #061a35 100%);
}
@media (max-width: 991.98px) {
    .drone-stage, .stage-stage { height: 480px; }
    .drone-hud, .stage-hud { min-width: 0; padding: 10px 12px; font-size: 12px; }
    .drone-hud.hud-tr, .drone-hud.hud-br,
    .stage-hud.hud-tr, .stage-hud.hud-br { display: none; }
}
@media (max-width: 767.98px) {
    .drone-stage, .stage-stage { height: 380px; }
    .drone-hud.hud-bl, .stage-hud.hud-bl { display: none; }
    .drone-hud.hud-tl, .stage-hud.hud-tl { left: 12px; top: 12px; }
}

/* ========== 案例场景卡 ========== */
.scene-card {
    position: relative; border-radius: 16px; overflow: hidden;
    height: 320px; display: flex; align-items: flex-end;
    box-shadow: var(--shadow-md); transition: transform .35s;
}
.scene-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.scene-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: transform .8s; }
.scene-card:hover .bg { transform: scale(1.08); }
.scene-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(6, 26, 53, .92) 100%);
}
.scene-card .info { position: relative; z-index: 2; padding: 28px; color: #fff; }
.scene-card .info .tag {
    display: inline-block; padding: 4px 12px; border-radius: 999px;
    background: rgba(56, 189, 248, .25); border: 1px solid rgba(125, 211, 252, .45);
    color: #e6f2ff; font-size: 12px; letter-spacing: 2px; margin-bottom: 10px;
}
.scene-card .info h3 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.scene-card .info p { color: rgba(230, 242, 255, .80); margin: 0; font-size: 14px; }


/* ========== CTA 横幅 ========== */
.cta-banner {
    position: relative; overflow: hidden;
    background:
        linear-gradient(135deg, rgba(10, 31, 68, .92), rgba(11, 58, 120, .92)),
        url('../images/bg/network.jpg') center/cover no-repeat;
    background:
        linear-gradient(135deg, rgba(10, 31, 68, .92), rgba(11, 58, 120, .92)),
        -webkit-image-set(url('../images/bg/network.webp') type('image/webp'), url('../images/bg/network.jpg') type('image/jpeg')) center/cover no-repeat;
    background:
        linear-gradient(135deg, rgba(10, 31, 68, .92), rgba(11, 58, 120, .92)),
        image-set(url('../images/bg/network.webp') type('image/webp'), url('../images/bg/network.jpg') type('image/jpeg')) center/cover no-repeat;
    color: #fff; padding: 80px 0;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(125, 211, 252, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, .07) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000, transparent 80%);
}
.cta-banner .container {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 18px;
    /* 两侧留出悬浮按钮，避免压住按钮文字 */
    padding-left: 96px; padding-right: 96px;
}
.cta-banner h2 { color: #fff; margin: 0; font-size: clamp(22px, 2.6vw, 32px); }
.cta-banner p { color: rgba(230, 242, 255, .82); margin: 0; max-width: 36em; }
.cta-banner .d-flex { justify-content: center; }

/* ========== 荣誉证书 ========== */
.cert-card {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--radius); border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transition: transform .35s, box-shadow .35s, border-color .35s;
    text-decoration: none;
    /* 浅纸色 + 细网格底纹，烘托证书的实物感 */
    background:
        linear-gradient(rgba(13,39,80,.04) 1px, transparent 1px) 0 0/24px 24px,
        linear-gradient(90deg, rgba(13,39,80,.04) 1px, transparent 1px) 0 0/24px 24px,
        #f4f7fb;
}
.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-accent);
}
.cert-card .cert-img-wrap {
    position: relative; width: 100%; aspect-ratio: 3/2;
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
}
.cert-card img {
    max-width: 100%; max-height: 100%;
    width: auto; height: auto; display: block;
    object-fit: contain;
    box-shadow: 0 6px 18px rgba(13, 39, 80, .18);
    transition: transform .4s;
}
.cert-card:hover img { transform: scale(1.02); }
.cert-label {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 14px; font-size: 13px; letter-spacing: 3px;
    color: var(--c-text); background: #fff;
    border-top: 1px solid var(--c-border);
}
.cert-label i { color: var(--c-gold); font-size: 15px; }

/* ========== 联系页 ========== */
.contact-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
    padding: 36px; position: relative; overflow: hidden; height: 100%;
}
.contact-card::after {
    content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(56,189,248,.08), transparent 50%);
    pointer-events: none;
}
.contact-card h3 { font-size: 20px; margin-bottom: 20px; position: relative; padding-left: 14px; }
.contact-card h3::before {
    content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; border-radius: 2px;
    background: linear-gradient(180deg, var(--c-accent), var(--c-cyan));
}
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0;
    border-bottom: 1px dashed var(--c-border); position: relative; }
.contact-item:last-child { border-bottom: 0; }
.contact-item .label { color: var(--c-text-soft); flex: none; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.contact-item .value { color: var(--c-primary); font-weight: 500; min-width: 0; }
.contact-qr { text-align: center; }
.contact-qr img { width: 220px; margin: 0 auto 14px; border: 1px solid var(--c-border);
    border-radius: 14px; padding: 10px; background: #fff;
    box-shadow: 0 8px 24px rgba(13, 39, 80, .08); }
/* 双二维码并排 */
.qr-pair { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.qr-item { flex: 1; min-width: 150px; max-width: 200px; }
.qr-item img { width: 100%; margin-bottom: 8px; }
.qr-item .qr-name { font-weight: 600; color: var(--c-primary); margin: 0 0 2px; font-size: 15px; }
.qr-item .qr-desc { color: var(--c-text-soft); font-size: 12px; margin: 0; }

/* ========== 浮动联系按钮（客服 FAB 在 bottom:24px，本按钮上移避让） ========== */
.float-contact {
    position: fixed; right: 22px; bottom: 100px; z-index: 1020;
    width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(135deg, var(--c-accent), var(--c-cyan));
    color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 12px 28px rgba(29, 78, 216, .45); cursor: pointer;
    transition: transform .25s; font-size: 22px;
}
.float-contact:hover { transform: translateY(-3px) scale(1.06); color: #fff; }
.float-contact::after {
    content: ''; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, .55);
    animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
    0% { transform: scale(.95); opacity: .8; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* 无障碍：跳转主内容链接 */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--c-primary); color: #fff; padding: 10px 18px;
    border-radius: 0 0 10px 0; font-size: 14px; transition: left .15s;
}
.skip-link:focus { left: 0; color: #fff; }

/* 减少动态偏好：关闭 FAB 脉冲与全部动画 */
@media (prefers-reduced-motion: reduce) {
    .float-contact::after { animation: none; display: none; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* 键盘可见性：清晰的焦点环 */
:focus-visible {
    outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px;
}

/* ========== 页脚 ========== */
.site-footer {
    position: relative; color: #cbd5e1; margin-top: 0;
    background:
        radial-gradient(800px 300px at 50% 0%, rgba(56,189,248,.10), transparent 70%),
        linear-gradient(180deg, #061a35, #04132a);
}
.site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
    opacity: .55;
}
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.1fr; gap: 40px; padding: 72px 0 36px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 20px; letter-spacing: 2px;
    position: relative; padding-bottom: 10px; }
.footer-col h4::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-cyan));
}
.footer-logo { width: 50px; margin-bottom: 16px; filter: drop-shadow(0 2px 8px rgba(56,189,248,.4)); }
.footer-brand-name { color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 2px; margin-bottom: 8px; }
.footer-slogan { color: #fff; letter-spacing: 3px; margin-bottom: 14px; font-size: 14px; }
.footer-desc { color: #94a3b8; font-size: 13px; line-height: 1.8; }
.footer-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.footer-list li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; color: #cbd5e1; }
.footer-list li i { color: var(--c-cyan); font-size: 16px; }
.footer-list a { color: #cbd5e1; }
.footer-list a:hover { color: #7dd3fc; }
.footer-qr .qrcode { width: 138px; border-radius: 12px; background: #fff; padding: 8px;
    box-shadow: 0 0 0 1px rgba(125, 211, 252, .3), 0 8px 24px rgba(0, 0, 0, .35); }
.footer-qr .qrtip { color: #94a3b8; font-size: 12px; margin-top: 10px; letter-spacing: 1px; }
/* footer 双二维码 */
.footer-qr .qr-pair { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-qr .qr-item .qrcode { width: 110px; margin: 0; }
.footer-qr .qr-item .qrtip { margin-top: 8px; font-size: 11px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-bottom a { color: #94a3b8; text-decoration: none; }
.footer-bottom a:hover { color: #7dd3fc; }
.footer-copy { color: #94a3b8; }
.footer-beian { display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.beian-item { display: inline-flex; align-items: center; gap: 6px; line-height: 1; transition: color .2s; }
.beian-item + .beian-item { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.10); }
.beian-ga .ga-logo { width: 14px; height: 14px; object-fit: contain; opacity: .85; }
.beian-ga:hover .ga-logo { opacity: 1; }
@media (max-width: 768px) {
    .footer-bottom-inner { justify-content: center; text-align: center; }
    .footer-beian { gap: 10px; }
    .beian-item + .beian-item { padding-left: 10px; }
}

/* ========== 因果之梯（关联 → 干预 → 反事实） ========== */
.ladder { display: flex; align-items: flex-end; gap: 14px; margin-top: 40px; }
.ladder-step {
    flex: 1; position: relative; padding: 24px 26px 26px;
    background: #fff; border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
}
/* 真阶梯：底边对齐，逐级增高 24px */
.ladder-step:nth-child(1) { min-height: 168px; }
.ladder-step:nth-child(2) { min-height: 192px; }
.ladder-step:nth-child(3) { min-height: 216px; }
/* 台阶间的上行刻线：直角细线连接相邻台面 */
.ladder-step + .ladder-step::after {
    content: ''; position: absolute; left: -14px; bottom: calc(100% - 12px);
    width: 14px; height: 24px;
    border-left: 1px solid rgba(30, 64, 175, .28); border-bottom: 1px solid rgba(30, 64, 175, .28);
}
.ladder-step .rung {
    font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px;
    color: var(--c-accent); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: baseline;
}
.ladder-step .rung em { font-style: normal; color: var(--c-text-soft); letter-spacing: 1px; }
.ladder-step h3 { font-size: 20px; margin: 0 0 8px; }
.ladder-step p { margin: 0; font-size: 14px; color: var(--c-text-soft); line-height: 1.75; }
/* 入视后逐级点亮：边框染青、顶部浮现金色刻线 */
.ladder-step::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 3px;
    background: linear-gradient(90deg, var(--c-accent), var(--c-cyan), var(--c-gold));
    transform: scaleX(0); transform-origin: left;
}
.fade-in.is-visible .ladder-step::before { animation: rung-in .7s cubic-bezier(.22,.8,.3,1) both; }
.fade-in.is-visible .ladder-step:nth-child(2)::before { animation-delay: .25s; }
.fade-in.is-visible .ladder-step:nth-child(3)::before { animation-delay: .5s; }
.fade-in.is-visible .ladder-step:nth-child(3) { box-shadow: 0 18px 44px rgba(201,161,78,.18); transition: box-shadow .8s .5s; }
@keyframes rung-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* 深色区块内的梯子 */
.section-dark .ladder-step {
    background: rgba(95, 184, 232, .05); border-color: rgba(125, 211, 252, .22);
}
.section-dark .ladder-step::after { border-color: rgba(125, 211, 252, .22); }
.section-dark .ladder-step h3 { color: #fff; }
.section-dark .ladder-step p { color: rgba(207, 231, 251, .72); }
.section-dark .ladder-step .rung { color: #7dd3fc; }
.section-dark .ladder-step .rung em { color: rgba(207, 231, 251, .5); }
@media (max-width: 767.98px) {
    .ladder { flex-direction: column; gap: 12px; }
    .ladder-step:nth-child(1), .ladder-step:nth-child(2), .ladder-step:nth-child(3) { min-height: 0; }
    .ladder-step + .ladder-step::after { display: none; }
}

/* ========== 账本流水（只增不改 · 事件入账动画） ========== */
.ledger-stream {
    height: 108px; overflow: hidden; position: relative; margin-top: 14px;
    font-family: var(--font-mono); font-size: 12px; line-height: 2.1;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.ledger-stream .rows { animation: ledger-scroll 14s linear infinite; }
.ledger-stream:hover .rows { animation-play-state: paused; }
@keyframes ledger-scroll { to { transform: translateY(-50%); } }
.ledger-stream .lrow { display: flex; gap: 12px; white-space: nowrap; color: rgba(159, 216, 245, .85); }
.ledger-stream .lrow .t { color: rgba(159, 216, 245, .45); flex: none; }
.ledger-stream .lrow .fp { color: var(--c-gold); flex: none; }
.section:not(.section-dark) .ledger-stream .lrow { color: #3d6a94; }
.section:not(.section-dark) .ledger-stream .lrow .t { color: #8aa8c4; }

/* ========== 契约指纹标签 ========== */
.fp-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
    color: var(--c-gold); border: 1px dashed rgba(201, 161, 78, .6); border-radius: 4px;
    padding: 2px 8px; white-space: nowrap;
}
.fp-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 6px var(--c-gold); }

/* ========== 声谱波形分隔符（墨琴 · 文化带） ========== */
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 46px; margin-top: 18px; }
.wave i {
    width: 3px; border-radius: 2px; display: block;
    background: linear-gradient(180deg, var(--c-cyan), var(--c-accent));
    height: calc(6px + var(--amp, .5) * 34px);
    transform-origin: center;
    animation: wave-bar 1.8s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * .07s);
}
.wave i:nth-child(4n) { background: linear-gradient(180deg, var(--c-gold), var(--c-accent)); }
@keyframes wave-bar {
    0%, 100% { transform: scaleY(.32); opacity: .5; }
    50% { transform: scaleY(1); opacity: 1; }
}
.philosophy .wave i { background: linear-gradient(180deg, #7dd3fc, #c9a14e); }

/* ========== 字体体系（全站统一，三套各司其职） ==========
   - 正文与标题：系统无衬线（现代、清晰）
   - 编号/标签/数据/指纹：JetBrains Mono（工程感）
   - 文化符号（信条、印章）：楷体（人文感，仅此两处） */
.hero h1, .section-head h2, .cta-banner h2 {
    font-weight: 800; letter-spacing: 2px;
}
.section-head h2 .grad { letter-spacing: 2px; }
/* 卡片去模板感：更小的圆角、更平的阴影、发丝边线 */
.tech-card, .stack-card, .research-pill, .industry-item, .contact-card, .ladder-step {
    border-radius: 8px;
}

/* ========== 使命清单 / 验收金句（about） ========== */
.mission-list { margin-top: 18px; border-top: 1px solid var(--c-border); }
.mission-item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px 4px; border-bottom: 1px solid var(--c-border);
}
.mission-item .m-no {
    font-family: var(--font-mono); font-size: 13px; letter-spacing: 1px;
    color: var(--c-gold); padding-top: 2px; flex: none;
}
.mission-item strong { font-size: 16px; letter-spacing: 1px; }
.mission-item p { margin: 4px 0 0; font-size: 14px; color: var(--c-text-soft); line-height: 1.75; }
.mission-quote {
    margin-top: 22px; padding: 14px 18px;
    border-left: 3px solid var(--c-gold); background: rgba(201, 161, 78, .07);
    font-size: 15px; letter-spacing: .5px;
}

/* ========== 导航下拉（产品与服务） ========== */
.nav-item.has-sub { position: relative; display: flex; align-items: center; }
.nav-sub {
    position: absolute; top: 100%; left: 50%; z-index: 100;
    transform: translateX(-50%) translateY(10px);
    min-width: 230px; padding: 8px;
    background: #fff; border: 1px solid var(--c-border); border-radius: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item.has-sub:hover .nav-sub,
.nav-item.has-sub:focus-within .nav-sub {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px);
}
.nav-sub a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--c-text);
}
.nav-sub a:hover { background: rgba(30, 64, 175, .06); color: var(--c-accent); }
.nav-sub a em {
    font-style: normal; font-family: var(--font-mono);
    font-size: 11px; letter-spacing: 1px; color: var(--c-gold);
}
@media (max-width: 767.98px) {
    .nav-item.has-sub { flex-direction: column; }
    .nav-sub {
        position: static; transform: none; opacity: 1; visibility: visible;
        box-shadow: none; border: 0; border-top: 1px dashed var(--c-border);
        border-radius: 0; min-width: 0; width: 100%; padding: 4px 0;
    }
    .nav-sub a { justify-content: center; padding: 8px 24px; font-size: 13px; }
}

/* ========== 科研感：术语注解 / 规格栏 / 悬停释义 ========== */
/* 标题级常显副注（术语的人话翻译） */
.term-sub {
    display: block; font-size: 12px; font-weight: 400; letter-spacing: .5px;
    color: var(--c-text-soft); margin-top: 3px; line-height: 1.5;
}
.section-dark .term-sub { color: rgba(207, 231, 251, .55); }
/* 正文级悬停释义 */
.gloss {
    border-bottom: 1px dotted currentColor; cursor: help;
    text-decoration: none;
}
/* 卡片规格栏（datasheet 风） */
.spec-line {
    margin-top: 16px; padding-top: 10px;
    border-top: 1px dashed var(--c-border);
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 1px;
    color: var(--c-text-soft); display: flex; justify-content: space-between; gap: 10px;
}
.section-dark .spec-line { border-color: rgba(125, 211, 252, .20); color: rgba(207, 231, 251, .50); }

/* ========== 动效 ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }
.fade-in.delay-1 { transition-delay: .1s; }
.fade-in.delay-2 { transition-delay: .2s; }
.fade-in.delay-3 { transition-delay: .3s; }
.fade-in.delay-4 { transition-delay: .4s; }

/* Layui 图标尺寸跟随父级 */
.layui-icon { font-size: inherit; line-height: 1; }

/* ========== 响应式 ========== */
@media (max-width: 1199.98px) {
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-qr { grid-column: span 3; text-align: left; }
    .footer-qr .qrcode { margin: 0; }
}
@media (max-width: 991.98px) {
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .research-strip { grid-template-columns: 1fr; }
    .stack-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-qr { grid-column: span 2; }
    .section { padding: 80px 0; }
}
@media (max-width: 767.98px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-qr { grid-column: span 1; }
    .nav-toggle { display: block; }
    .site-nav {
        position: absolute; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; gap: 0; background: #fff;
        border-bottom: 1px solid var(--c-border);
        max-height: 0; overflow: hidden; transition: max-height .3s;
    }
    .site-nav.is-open { max-height: 460px; padding: 8px 0; }
    .nav-link { padding: 14px 24px; border-radius: 0; width: 100%; text-align: center; }
    .section { padding: 64px 0; }
    .hero { padding: 100px 0 80px; min-height: auto; }
    .philosophy .quote { letter-spacing: 4px; }
    .cta-banner .container { padding-left: 24px; padding-right: 24px; padding-bottom: 72px; }
}

/* =====================================================================
   ux.js 体验增强组件（返回顶部 / 进度条 / TOC / 表单校验）
   ===================================================================== */

/* ---- 返回顶部 ---- */
.ux-backtop {
    position: fixed; right: 28px; bottom: 96px; z-index: 90;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-border);
    background: #fff; color: var(--c-primary); cursor: pointer; font-size: 18px;
    box-shadow: 0 16px 40px rgba(13,39,80,.10);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s, visibility .25s, background .25s, color .25s;
}
.ux-backtop.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.ux-backtop:hover { background: var(--c-primary); color: #fff; }
.ux-backtop:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* ---- 阅读进度条（文章页） ---- */
.ux-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200;
    background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
    transform: scaleX(0); transform-origin: 0 50%;
}

/* ---- 文章目录（TOC，宽屏右侧悬浮） ---- */
.ux-toc {
    display: none; position: fixed; top: 140px; right: 32px; z-index: 80;
    width: 220px; max-height: 60vh; overflow-y: auto;
    padding: 16px 18px; background: #fff; border: 1px solid var(--c-border);
    border-radius: 12px; box-shadow: 0 8px 24px rgba(13,39,80,.08);
}
.ux-toc-title { font-size: 13px; font-weight: 600; color: var(--c-primary); margin-bottom: 10px; }
.ux-toc ul { list-style: none; margin: 0; padding: 0; }
.ux-toc li { margin: 0; }
.ux-toc a {
    display: block; padding: 5px 0 5px 12px; font-size: 13px; line-height: 1.5;
    color: var(--c-text-soft); border-left: 2px solid var(--c-border);
    text-decoration: none; transition: color .2s, border-color .2s;
}
.ux-toc li.lv-3 a { padding-left: 26px; font-size: 12px; }
.ux-toc a:hover { color: var(--c-accent); }
.ux-toc a.is-active { color: var(--c-accent); border-left-color: var(--c-accent); font-weight: 600; }
@media (min-width: 1560px) { .ux-toc { display: block; } }

/* ---- 阅读时长 ---- */
.article-hero .meta .read-time { margin-right: 12px; }

/* ---- 表单即时校验 ---- */
.ux-invalid { border-color: #d84545 !important; }
.ux-field-hint { margin-top: 6px; font-size: 12px; color: #d84545; }

/* ---- tech 页：四层架构手风琴 ---- */
.arch-layer:hover, .arch-layer:focus-visible { border-color: var(--eb-accent) !important; outline: none; }
.arch-layer .arch-detail {
    display: grid; grid-template-rows: 0fr; overflow: hidden;
    transition: grid-template-rows .35s cubic-bezier(.22,.61,.36,1);
}
.arch-layer .arch-detail > * { min-height: 0; }
.arch-layer.is-open .arch-detail { grid-template-rows: 1fr; }
.arch-layer.is-open .arch-caret { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) {
    .arch-layer .arch-detail { transition: none; }
    .arch-layer.is-open .arch-caret { transform: none; }
}

/* ---- 全站搜索 ---- */
.nav-search {
    flex: none; margin-left: 10px; width: 38px; height: 38px;
    border: 1px solid var(--c-border); border-radius: 50%;
    background: #fff; color: var(--c-primary); cursor: pointer; font-size: 16px;
    transition: background .2s, color .2s;
}
.nav-search:hover { background: var(--c-primary); color: #fff; }
.nav-search:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ux-search {
    position: fixed; inset: 0; z-index: 300; background: rgba(6,26,53,.55);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.ux-search.is-open { opacity: 1; visibility: visible; }
.ux-search-panel {
    max-width: 640px; margin: 12vh auto 0; background: #fff; border-radius: 16px;
    box-shadow: 0 24px 60px rgba(13,39,80,.24); overflow: hidden;
    transform: translateY(-14px); transition: transform .22s;
}
.ux-search.is-open .ux-search-panel { transform: translateY(0); }
.ux-search-bar { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.ux-search-bar i { color: var(--c-text-soft); font-size: 18px; }
.ux-search-bar input {
    flex: 1; border: none; outline: none; font-size: 17px; color: var(--c-text);
    background: transparent;
}
.ux-search-close { border: none; background: none; cursor: pointer; color: var(--c-text-soft); font-size: 16px; padding: 4px; }
.ux-search-close:hover { color: var(--c-primary); }
.ux-search-results { max-height: 46vh; overflow-y: auto; }
.ux-search-item {
    display: flex; align-items: baseline; gap: 12px; padding: 13px 20px;
    border-bottom: 1px solid #f0f3f9; text-decoration: none; transition: background .15s;
}
.ux-search-item:hover { background: #f7f9fd; }
.ux-search-item .t-tag {
    flex: none; font-size: 11px; color: var(--c-accent); border: 1px solid var(--c-accent);
    border-radius: 4px; padding: 1px 6px;
}
.ux-search-item .t-body { flex: 1; min-width: 0; }
.ux-search-item b { display: block; font-size: 15px; color: var(--c-primary); }
.ux-search-item em {
    display: block; font-style: normal; font-size: 13px; color: var(--c-text-soft);
    margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.ux-search-item .d { flex: none; font-size: 12px; color: #93a1b8; }
.ux-search-loading { padding: 28px; text-align: center; color: var(--c-text-soft); font-size: 14px; }
.ux-search-tip { padding: 10px 20px; font-size: 12px; color: #93a1b8; background: #f7f9fd; }
@media (max-width: 720px) {
    .ux-search-panel { margin: 8vh 14px 0; }
}

/* ---- 首页：证据→结论 滚动叙事 ---- */
.ev-story { position: relative; height: 300vh; background: var(--eb-bg-dark, #0d1526); }
.ev-story.is-static { height: auto; }
.ev-sticky {
    position: sticky; top: 0; min-height: 100vh;
    display: flex; align-items: center; padding: 90px 0; overflow: hidden;
}
.ev-story.is-static .ev-sticky { position: static; min-height: 0; }
.ev-head { text-align: center; margin-bottom: 48px; }
.ev-head .eyebrow { color: var(--eb-accent); }
.ev-head h2 { color: var(--eb-text-invert, #e6e9f2); font-size: clamp(26px, 3.6vw, 40px); margin: 12px 0 0; }
.ev-flow {
    display: flex; align-items: stretch; justify-content: center; gap: 0;
    max-width: 1180px; margin: 0 auto;
}
.ev-item, .ev-conclusion {
    flex: 1; max-width: 250px; padding: 26px 20px; text-align: center;
    border: 1px solid var(--eb-border-dark, #2a3654); border-radius: 16px;
    background: rgba(22,32,58,.6);
    opacity: .18; transform: translateY(26px) scale(.96);
    transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1), border-color .5s, box-shadow .5s;
}
.ev-conclusion { max-width: 300px; border-color: var(--eb-accent); }
.ev-item.is-on, .ev-conclusion.is-on { opacity: 1; transform: none; border-color: var(--eb-accent); }
.ev-conclusion.is-on { box-shadow: 0 0 0 1px rgba(79,209,197,.35), 0 18px 50px rgba(79,209,197,.12); }
.ev-ico {
    width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 24px;
    color: var(--eb-accent); border: 1px solid rgba(79,209,197,.4);
    background: rgba(79,209,197,.08);
}
.ev-item h3, .ev-conclusion h3 { font-size: 18px; color: var(--eb-text-invert, #e6e9f2); margin: 0 0 8px; }
.ev-item p, .ev-conclusion p { font-size: 13px; color: var(--eb-text-dim, #9fb0d0); line-height: 1.7; margin: 0; }
.ev-link {
    flex: none; width: 46px; display: flex; align-items: center; justify-content: center;
}
.ev-link i {
    display: block; width: 100%; height: 2px; position: relative;
    background: var(--eb-border-dark, #2a3654); overflow: hidden;
}
.ev-link i::after {
    content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: 0 50%;
    background: var(--eb-accent); transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.ev-link.is-on i::after { transform: scaleX(1); }
.ev-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.ev-cta .btn-tech { padding: 9px 18px; font-size: 13px; }
.ev-scroll-hint {
    text-align: center; margin: 44px 0 0; font-size: 12px; color: var(--eb-text-dim, #9fb0d0);
    animation: ev-bob 1.6s ease-in-out infinite;
}
.ev-scroll-hint.is-off { opacity: 0; animation: none; transition: opacity .4s; }
@keyframes ev-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
/* 小屏/减动效：退回普通纵向排列，全部直接可见 */
.ev-story.is-static .ev-flow { flex-direction: column; align-items: center; gap: 14px; }
.ev-story.is-static .ev-item, .ev-story.is-static .ev-conclusion { opacity: 1; transform: none; max-width: 460px; width: 100%; }
.ev-story.is-static .ev-link { width: 2px; height: 26px; }
.ev-story.is-static .ev-link i { width: 2px; height: 100%; }
.ev-story.is-static .ev-link i::after { transform: scaleX(1); }
.ev-story.is-static .ev-scroll-hint { display: none; }
@media (max-width: 960px) {
    .ev-story { height: auto; }
    .ev-sticky { position: static; min-height: 0; }
    .ev-flow { flex-direction: column; align-items: center; gap: 14px; }
    .ev-item, .ev-conclusion { opacity: 1; transform: none; max-width: 460px; width: 100%; }
    .ev-link { width: 2px; height: 26px; }
    .ev-link i { width: 2px; height: 100%; }
    .ev-link i::after { transform: scaleX(1); }
    .ev-scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .ev-item, .ev-conclusion, .ev-link i::after { transition: none; }
    .ev-scroll-hint { animation: none; }
}

/* ---- 全局键盘焦点可见（无障碍） ---- */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px;
}
