/* =========================================================
   iPlant — Industrial Software Corporate Site
   ========================================================= */

@property --beam {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

:root {
  --bg: #05080f;
  --bg-2: #070c16;
  --ink: #eaf2fc;
  --muted: #93a5bd;
  --muted-2: #6f819a;
  --cyan: #2fd8ff;
  --cyan-ink: #074a5c;
  --cyan-soft: rgba(47, 216, 255, 0.18);
  --mint: #63f5c2;
  --amber: #ffc46b;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-2: rgba(255, 255, 255, 0.07);
  --stroke: rgba(255, 255, 255, 0.09);
  --stroke-2: rgba(255, 255, 255, 0.14);
  --radius: 22px;
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.4, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-theme: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease, fill .35s ease, stroke .35s ease;
}

/* ---- 浅色主题 ---- */
:root[data-theme="light"] {
  --bg: #f5f7fa;
  --bg-2: #ffffff;
  --ink: #0b1729;
  --muted: #3d4a5c;
  --muted-2: #5a687b;
  --cyan: #007f9f;
  --cyan-ink: #ffffff;
  --cyan-soft: rgba(0, 127, 159, 0.12);
  --mint: #0d7f5c;
  --amber: #9a5e00;
  --glass: rgba(10, 20, 40, 0.045);
  --glass-2: rgba(10, 20, 40, 0.075);
  --stroke: rgba(10, 20, 40, 0.13);
  --stroke-2: rgba(10, 20, 40, 0.2);
  --shadow-lg: 0 30px 70px -30px rgba(12, 26, 46, 0.35);
}
/* auto 模式跟随系统 */
@media (prefers-color-scheme: light) {
  :root[data-theme="auto"] {
    --bg: #f5f7fa;
    --bg-2: #ffffff;
    --ink: #0b1729;
    --muted: #3d4a5c;
    --muted-2: #5a687b;
    --cyan: #007f9f;
    --cyan-ink: #ffffff;
    --cyan-soft: rgba(0, 127, 159, 0.12);
    --mint: #0d7f5c;
    --amber: #9a5e00;
    --glass: rgba(10, 20, 40, 0.045);
    --glass-2: rgba(10, 20, 40, 0.075);
    --stroke: rgba(10, 20, 40, 0.13);
    --stroke-2: rgba(10, 20, 40, 0.2);
    --shadow-lg: 0 30px 70px -30px rgba(12, 26, 46, 0.35);
  }
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --bg: #05080f;
    --bg-2: #070c16;
    --ink: #eaf2fc;
    --muted: #93a5bd;
    --muted-2: #6f819a;
    --cyan: #2fd8ff;
    --cyan-ink: #074a5c;
    --cyan-soft: rgba(47, 216, 255, 0.18);
    --mint: #63f5c2;
    --amber: #ffc46b;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-2: rgba(255, 255, 255, 0.07);
    --stroke: rgba(255, 255, 255, 0.09);
    --stroke-2: rgba(255, 255, 255, 0.14);
    --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  }
}

/* 浅色下头部 / 玻璃胶囊 / 产品卡 / 案例卡 的额外覆盖
   （有些地方用了硬编码 rgba 不能用 var 覆盖，单独修） */
:root[data-theme="light"] .cap-card,
:root[data-theme="light"] .case-card,
:root[data-theme="light"] .cap-hero,
:root[data-theme="light"] .case-hero {
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,253,1));
  color: var(--ink);
  border-color: var(--stroke);
}
:root[data-theme="light"] .case-card::before,
:root[data-theme="light"] .cap-card::after { background: transparent; }
:root[data-theme="light"] .eyebrow { color: var(--cyan); }
:root[data-theme="light"] .section-sub,
:root[data-theme="light"] .cap-list,
:root[data-theme="light"] .case-summary,
:root[data-theme="light"] .case-summary p { color: var(--muted); }
/* 导航：基类的深色玻璃在 .header-inner 上，必须覆盖它，只覆盖 .site-header 无效 */
:root[data-theme="light"] .site-header,
:root[data-theme="light"] .site-header.is-solid { background: transparent; }
:root[data-theme="light"] .header-inner {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  border-color: var(--stroke);
  box-shadow:
    0 18px 44px -30px rgba(12, 26, 46, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .site-header.is-solid .header-inner {
  background: rgba(255, 255, 255, 0.97);
  box-shadow:
    0 18px 44px -28px rgba(12, 26, 46, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .brand-mark {
  color: var(--cyan);
  background: linear-gradient(160deg, rgba(0, 127, 159, 0.14), rgba(13, 127, 92, 0.07));
  border-color: rgba(0, 127, 159, 0.32);
}
:root[data-theme="light"] .brand b { color: var(--ink); }
:root[data-theme="light"] .brand i { color: var(--muted); }
:root[data-theme="light"] .nav-link {
  color: var(--ink);
  background: rgba(12, 26, 46, 0.04);
  border-color: rgba(12, 26, 46, 0.08);
}
:root[data-theme="light"] .nav-link:hover {
  background: rgba(0, 158, 196, 0.08);
  color: var(--cyan);
  border-color: rgba(0, 158, 196, 0.3);
}
:root[data-theme="light"] .nav-link.is-active {
  background: rgba(0, 158, 196, 0.12);
  color: var(--cyan);
  border-color: rgba(0, 158, 196, 0.35);
}
:root[data-theme="light"] .c-btn,
:root[data-theme="light"] .c-dot {
  background: rgba(12, 26, 46, 0.08);
  color: var(--ink);
  border-color: rgba(12, 26, 46, 0.14);
}
:root[data-theme="light"] .c-btn:hover {
  background: rgba(0, 158, 196, 0.14);
  color: var(--cyan);
  border-color: rgba(0, 158, 196, 0.5);
}
:root[data-theme="light"] .c-dot.is-active { background: var(--cyan); }
:root[data-theme="light"] .carousel .c-card.is-active.cap-card {
  box-shadow: 0 44px 84px -40px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 158, 196, 0.3) inset;
  border-color: rgba(0, 158, 196, 0.5) !important;
}
:root[data-theme="light"] .carousel .c-card.is-active.case-card {
  box-shadow: 0 52px 92px -46px rgba(12, 26, 46, 0.25), 0 0 40px -14px rgba(0, 158, 196, 0.28);
  border-color: rgba(0, 158, 196, 0.35) !important;
}
:root[data-theme="light"] .ptdm-card,
:root[data-theme="light"] .ptdm-mask {
  background: rgba(245, 247, 250, 0.96);
  color: var(--ink);
}
:root[data-theme="light"] .ptdm-title { color: var(--ink); }
:root[data-theme="light"] .ptdm-sub { color: var(--muted); }
:root[data-theme="light"] .header-cta {
  background: var(--cyan);
  color: var(--cyan-ink);
}
:root[data-theme="light"] .header-cta:hover { filter: brightness(1.05); }
:root[data-theme="light"] body,
:root[data-theme="light"] main,
:root[data-theme="light"] .case-detail-page main { color-scheme: light; }
:root[data-theme="dark"],
:root:not([data-theme]),
:root[data-theme="auto"] { color-scheme: dark; }

/* ---- 浅色主题：合作伙伴 LOGO ---- */
:root[data-theme="light"] .logo-wall li {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(10, 20, 40, 0.10);
}
:root[data-theme="light"] .logo-wall li:hover {
  color: var(--ink);
  border-color: rgba(0, 158, 196, 0.32);
  background: #fff;
}
/* 默认恢复真实彩色（深色主题下被 brightness(0) invert(1) 强制成白色） */
:root[data-theme="light"] .logo-wall img {
  filter: none;
  opacity: 0.95;
}
:root[data-theme="light"] .logo-wall li:hover img { opacity: 1; }
/* 纯白 LOGO 在白底上不可见：反相为深色。这些是设计为深色背景使用的白色素材 */
:root[data-theme="light"] .logo-wall img[src*="continental"],
:root[data-theme="light"] .logo-wall img[src*="xyzc"] {
  filter: invert(1) brightness(0.55) contrast(1.1);
}
:root[data-theme="light"] .logo-wall img[src*="bosch"] {
  /* BOSCH 素材含大块白色填充，浅色下补一点反差 */
  filter: contrast(1.08) brightness(0.96);
}

/* ---- 浅色主题：产品/案例卡标题和正文 ---- */
:root[data-theme="light"] .cap-card h3,
:root[data-theme="light"] .case-card h3 { color: var(--ink); }
:root[data-theme="light"] .cap-card > p,
:root[data-theme="light"] .case-card > .case-body > p { color: var(--muted); }
:root[data-theme="light"] .section-head h2 { color: var(--ink); }
:root[data-theme="light"] .contact-copy h2 { color: var(--ink); }
:root[data-theme="light"] .contact-info b { color: var(--ink); }
:root[data-theme="light"] .contact-info li { color: var(--muted); }
:root[data-theme="light"] .contact-wrap {
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(0, 158, 196, 0.08), transparent 68%),
    radial-gradient(600px 420px at 100% 100%, rgba(24, 167, 122, 0.05), transparent 70%),
    rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 20, 40, 0.09);
}
:root[data-theme="light"] .footer-brand b { color: var(--ink); }
:root[data-theme="light"] .dock-item {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(10, 20, 40, 0.09);
  box-shadow: 0 10px 22px -10px rgba(12, 26, 46, 0.14);
}
:root[data-theme="light"] .dock-item:hover,
:root[data-theme="light"] .dock-item:focus-visible {
  color: var(--ink);
  background: rgba(0, 158, 196, 0.08);
}
:root[data-theme="light"] .dock-item.is-active {
  color: var(--cyan);
  background: rgba(0, 158, 196, 0.12);
  border-color: rgba(0, 158, 196, 0.35);
}
:root[data-theme="light"] .dock {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 20, 40, 0.09);
  box-shadow: 0 18px 40px -22px rgba(12, 26, 46, 0.25);
}
:root[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, #ffffff, #f7fafd);
  border-top-color: rgba(10, 20, 40, 0.1);
}
:root[data-theme="light"] .copyright {
  border-top-color: rgba(10, 20, 40, 0.08);
  color: var(--muted);
}
:root[data-theme="light"] .hero-copy h1,
:root[data-theme="light"] .hero-copy h1 span,
:root[data-theme="light"] .hero-copy h1 em { color: var(--ink); }
:root[data-theme="light"] .hero-copy > p { color: var(--muted); }
:root[data-theme="light"] .hero-console {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 20, 40, 0.09);
  color: var(--ink);
}

/* ---- 浅色主题：提高文字可读性 ---- */
/* antialiased 在 Windows 上会让深色文字变细发虚，浅色主题恢复系统渲染 */
:root[data-theme="light"] body {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
/* 小字号辅助文字原本用 muted-2，浅色下过淡，统一提到 muted */
:root[data-theme="light"] .stat dd,
:root[data-theme="light"] .cap-head p,
:root[data-theme="light"] .cap-list span,
:root[data-theme="light"] .form-note,
:root[data-theme="light"] .qr-desc,
:root[data-theme="light"] .qr-hint,
:root[data-theme="light"] .footer-brand p,
:root[data-theme="light"] .news-date,
:root[data-theme="light"] .mock-kpis span,
:root[data-theme="light"] .arch-row span,
:root[data-theme="light"] .app-chip span,
:root[data-theme="light"] .supply-list span { color: var(--muted); }
/* 案例详情正文：提高正文、代码块、图片边框在浅色下的对比度 */
:root[data-theme="light"] .detail-content p,
:root[data-theme="light"] .detail-content ul,
:root[data-theme="light"] .detail-content ol,
:root[data-theme="light"] .detail-content blockquote { color: #33404f; }
:root[data-theme="light"] .detail-content a:hover { color: var(--cyan); }
:root[data-theme="light"] .detail-content code { background: rgba(10, 20, 40, 0.06); }
:root[data-theme="light"] .detail-content pre {
  background: rgba(10, 20, 40, 0.04);
  border-color: rgba(10, 20, 40, 0.1);
}
:root[data-theme="light"] .detail-content img {
  border-color: rgba(10, 20, 40, 0.1);
  box-shadow: 0 18px 44px rgba(12, 26, 46, 0.18);
}
:root[data-theme="light"] .detail-content hr {
  background: linear-gradient(90deg, rgba(10, 20, 40, 0), rgba(10, 20, 40, 0.18), rgba(10, 20, 40, 0));
}

/* ---- 浅色主题：首屏与 iPlant 平台 ---- */
:root[data-theme="light"] .hero-veil {
  background:
    radial-gradient(900px 520px at 18% 42%, rgba(245, 247, 250, 0.92), transparent 70%),
    linear-gradient(180deg, rgba(245, 247, 250, 0.96) 0%, rgba(245, 247, 250, 0.72) 34%, rgba(245, 247, 250, 0.94) 88%, var(--bg) 100%);
}
:root[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(0, 127, 159, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 127, 159, 0.16) 1px, transparent 1px);
  opacity: 0.35;
}
:root[data-theme="light"] .hero-orbit {
  background: repeating-radial-gradient(circle at 50% 50%, rgba(0, 127, 159, 0.12) 0 1px, transparent 1px 92px);
  opacity: 0.5;
}
:root[data-theme="light"] .hero-scan {
  background: linear-gradient(180deg, transparent, rgba(0, 127, 159, 0.35), transparent);
}
:root[data-theme="light"] .hero-scroll { border-color: rgba(10, 20, 40, 0.25); }
:root[data-theme="light"] .hero-scroll span { background: var(--cyan); }
:root[data-theme="light"] .hero h1 em {
  background: linear-gradient(100deg, #0090b3 0%, #007f9f 45%, #0d7f5c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
:root[data-theme="light"] .hc-head { color: var(--muted); }
:root[data-theme="light"] .hc-kpi b {
  background: linear-gradient(180deg, #0b1729, #007f9f);
  -webkit-background-clip: text;
  background-clip: text;
}
/* iPlant 平台整段的深色底板改为浅色分层 */
:root[data-theme="light"] .section-plate::before {
  background: linear-gradient(180deg, transparent, rgba(12, 26, 46, 0.05) 18%, rgba(12, 26, 46, 0.07) 82%, transparent);
  border-top-color: rgba(10, 20, 40, 0.08);
  border-bottom-color: rgba(10, 20, 40, 0.08);
}
:root[data-theme="light"] .tab-bar {
  background: rgba(12, 26, 46, 0.04);
  border-color: rgba(10, 20, 40, 0.1);
}
:root[data-theme="light"] .tab { color: var(--muted); }
:root[data-theme="light"] .tab:hover { color: var(--ink); }
:root[data-theme="light"] .tab.is-active { color: var(--ink); }
:root[data-theme="light"] .tab-pill {
  background: rgba(0, 127, 159, 0.14);
  border-color: rgba(0, 127, 159, 0.35);
  box-shadow: 0 8px 20px -14px rgba(0, 127, 159, 0.5);
}
:root[data-theme="light"] .tab-panel {
  background:
    radial-gradient(600px 320px at 12% 0%, rgba(0, 127, 159, 0.07), transparent 70%),
    #ffffff;
  border-color: var(--stroke);
  box-shadow: 0 26px 60px -44px rgba(12, 26, 46, 0.35);
}
:root[data-theme="light"] .panel-list li { color: var(--ink); }
:root[data-theme="light"] .panel-figure {
  border-color: rgba(10, 20, 40, 0.1);
  background:
    radial-gradient(120% 90% at 84% 4%, rgba(0, 127, 159, 0.10), transparent 62%),
    linear-gradient(165deg, #ffffff, #f2f7fb);
  box-shadow: 0 24px 60px -40px rgba(12, 26, 46, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .panel-figure::after {
  background-image:
    linear-gradient(rgba(0, 127, 159, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 127, 159, 0.06) 1px, transparent 1px);
}
:root[data-theme="light"] .mock-top { color: var(--muted); }
:root[data-theme="light"] .mock-top i { background: rgba(10, 20, 40, 0.15); }
:root[data-theme="light"] .mock-kpis div {
  border-color: rgba(10, 20, 40, 0.1);
  background: rgba(12, 26, 46, 0.04);
}
:root[data-theme="light"] .mock-kpis b { color: var(--ink); }
:root[data-theme="light"] .mock-foot { color: var(--muted); }
:root[data-theme="light"] .arch-row {
  border-color: rgba(0, 127, 159, 0.2);
  background: linear-gradient(90deg, rgba(0, 127, 159, 0.08), rgba(12, 26, 46, 0.02));
}
:root[data-theme="light"] .arch-row b { color: var(--ink); }
:root[data-theme="light"] .app-chip {
  border-color: rgba(10, 20, 40, 0.1);
  background: rgba(12, 26, 46, 0.03);
}
:root[data-theme="light"] .app-chip b { color: var(--cyan); }

/* ---- 浅色主题：产品卡模块代号 / 功能链接 ---- */
:root[data-theme="light"] .cap-list b { color: var(--ink); }
:root[data-theme="light"] .cap-no { color: var(--cyan); }
:root[data-theme="light"] .pt-link { color: var(--cyan); text-decoration-color: rgba(0, 127, 159, 0.5); }
:root[data-theme="light"] .pt-link:hover { color: var(--cyan); text-decoration-color: currentColor; }
:root[data-theme="light"] .ptdm-close {
  background: rgba(12, 26, 46, 0.05);
  border-color: rgba(10, 20, 40, 0.12);
  color: var(--muted);
}
:root[data-theme="light"] .ptdm-close:hover { color: var(--ink); background: rgba(12, 26, 46, 0.1); }
:root[data-theme="light"] .ptdm-sub { border-bottom-color: rgba(10, 20, 40, 0.1); }

/* ---- 浅色主题：首屏文案 / 数字 / 语言切换 / 案例标签，统一深蓝色 ---- */
:root[data-theme="light"] .hero-en { color: #0d3b7a; }
:root[data-theme="light"] .btn-ghost {
  color: #0d3b7a;
  background: rgba(13, 59, 122, 0.04);
  border-color: rgba(13, 59, 122, 0.25);
}
:root[data-theme="light"] .btn-ghost:hover {
  color: #0d3b7a;
  background: rgba(13, 59, 122, 0.09);
  border-color: rgba(13, 59, 122, 0.4);
}
:root[data-theme="light"] .stats { border-top-color: rgba(10, 20, 40, 0.1); }
:root[data-theme="light"] .stat dt {
  background: linear-gradient(180deg, #0a2a5c, #0d3b7a);
  -webkit-background-clip: text;
  background-clip: text;
}
:root[data-theme="light"] .stat dt span {
  color: #0d3b7a;
  -webkit-text-fill-color: #0d3b7a;
}
:root[data-theme="light"] .lang-switch {
  border-color: rgba(10, 20, 40, 0.12);
  background: rgba(12, 26, 46, 0.05);
}
:root[data-theme="light"] .lang-btn { color: #0d3b7a; }
:root[data-theme="light"] .lang-btn:hover { color: #06204a; }
:root[data-theme="light"] .lang-btn.is-active {
  color: #ffffff;
  background: #0d3b7a;
  box-shadow: 0 6px 16px -10px rgba(13, 59, 122, 0.8);
}
:root[data-theme="light"] .supply-list b { color: #0d3b7a; }
/* 浅色主题：全球供应链示意图改为浅色底，线框/标记/徽章同步适配 */
:root[data-theme="light"] .globe {
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(0, 158, 196, 0.08), transparent 68%),
    linear-gradient(160deg, #ffffff, #eef4fa);
}
:root[data-theme="light"] .globe svg g[stroke^="rgba(120"] { stroke: rgba(13, 59, 122, 0.22); }
:root[data-theme="light"] .globe svg g[stroke^="rgba(99"] { stroke: rgba(0, 150, 110, 0.55); }
:root[data-theme="light"] .globe svg g[fill="#2fd8ff"] { fill: #009ec4; }
:root[data-theme="light"] .globe-label {
  color: #0d3b7a;
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 158, 196, 0.3);
}
:root[data-theme="light"] .supply-badge {
  color: #0d3b7a;
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--stroke);
}
:root[data-theme="light"] .case-tags li {
  color: #0d3b7a;
  background: rgba(13, 59, 122, 0.06);
  border-color: rgba(13, 59, 122, 0.22);
}
:root[data-theme="light"] .case-more {
  color: #0d3b7a;
  border-color: rgba(13, 59, 122, 0.25);
  background: rgba(13, 59, 122, 0.04);
}
:root[data-theme="light"] .case-more svg { color: #0d3b7a; }
:root[data-theme="light"] .case-more:hover {
  color: #ffffff;
  background: #0d3b7a;
  border-color: #0d3b7a;
  box-shadow: 0 14px 30px -18px rgba(13, 59, 122, 0.8);
}
:root[data-theme="light"] .case-more:hover svg { color: #ffffff; }

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; }

::selection { background: rgba(47, 216, 255, 0.28); color: #fff; }

.container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* ------------------------- ambient background ------------------------- */
.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(120, 180, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 68%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.bg-glow-a {
  width: 720px; height: 720px;
  top: -260px; left: 8%;
  background: radial-gradient(circle, rgba(47, 216, 255, 0.30), transparent 66%);
}

.bg-glow-b {
  width: 640px; height: 640px;
  bottom: -220px; right: -80px;
  background: radial-gradient(circle, rgba(99, 245, 194, 0.16), transparent 66%);
}

/* ------------------------- header + nav ------------------------- */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 8px;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(12, 18, 30, 0.82), rgba(8, 12, 21, 0.66));
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow:
    0 18px 50px -28px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #d8f6ff;
  background: linear-gradient(160deg, rgba(47, 216, 255, 0.26), rgba(99, 245, 194, 0.10));
  border: 1px solid rgba(47, 216, 255, 0.34);
  box-shadow: 0 6px 18px -10px rgba(47, 216, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 17px; letter-spacing: 0.02em; }
.brand-text i {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

/* --- 玻璃胶囊导航 --- */
.nav {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-pill {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  width: 0;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.20) 0%,
    rgba(255, 255, 255, 0.07) 52%,
    rgba(255, 255, 255, 0.11) 100%
  );
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  /* 细高光边 + 内高光 + 外发光 */
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 14px rgba(255, 255, 255, 0.06),
    0 6px 22px -10px rgba(47, 216, 255, 0.55),
    0 0 0 0.5px rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 0;
  will-change: transform, width;
}

/* 胶囊顶部的一束高光 */
.nav-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 12%, rgba(255, 255, 255, 0.30) 46%, transparent 66%);
  opacity: 0.55;
  mix-blend-mode: screen;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.28s ease, text-shadow 0.28s ease;
}

.nav-link:hover { color: #dceaf7; }

.nav-link.is-active {
  color: #ffffff;
  text-shadow: 0 0 16px rgba(120, 220, 255, 0.5);
}

.header-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #04121a;
  background: linear-gradient(135deg, #7ee9ff, #2fd8ff 45%, #63f5c2);
  box-shadow: 0 10px 26px -14px rgba(47, 216, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s ease, filter 0.3s ease;
}
.header-cta svg { width: 14px; height: 14px; }
/* 中等宽度：隐藏品牌下方英文小字并收紧间距，避免菜单溢出胶囊 */
@media (max-width: 1320px) {
  .brand-text i { display: none; }
  .header-inner { gap: 10px; }
  .header-cta { padding: 9px 13px; }
}
.header-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 16px 34px -16px rgba(47, 216, 255, 1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- 语言切换 --- */
.lang-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(10px);
}
.lang-btn {
  border: 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-2);
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.is-active {
  color: #eaf6ff;
  background: rgba(47, 216, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 16px -8px rgba(47, 216, 255, 0.9);
}
.lang-btn:focus-visible { outline: 2px solid rgba(47, 216, 255, 0.6); outline-offset: 1px; }

/* 主题切换 */
.theme-switch {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  backdrop-filter: blur(10px);
}
.theme-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color .18s, background .2s;
}
.theme-btn svg { width: 14px; height: 14px; }
.theme-btn:hover { color: var(--ink); }
.theme-btn.is-active {
  background: rgba(47, 216, 255, 0.16);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(47, 216, 255, 0.4);
}
:root[data-theme="light"] .theme-btn.is-active {
  background: rgba(0, 158, 196, 0.15);
  color: var(--cyan);
  box-shadow: inset 0 0 0 1px rgba(0, 158, 196, 0.4);
}

/* ------------------------- hero ------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -14%;
  height: 60%;
  background-image:
    linear-gradient(rgba(90, 200, 255, 0.20) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90, 200, 255, 0.20) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(620px) rotateX(68deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, #000 4%, transparent 84%);
  -webkit-mask-image: linear-gradient(to top, #000 4%, transparent 84%);
  opacity: 0.55;
  animation: gridFlow 16s linear infinite;
}

@keyframes gridFlow {
  to { background-position: 0 72px, 72px 0; }
}

.hero-orbit {
  position: absolute;
  right: -12%;
  top: 50%;
  width: min(900px, 78vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  background: repeating-radial-gradient(circle at 50% 50%, rgba(47, 216, 255, 0.17) 0 1px, transparent 1px 92px);
  mask-image: radial-gradient(circle at 50% 50%, #000 16%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 16%, transparent 70%);
  opacity: 0.75;
}

.hero-mark {
  position: absolute;
  right: 2%;
  top: 50%;
  translate: 0 -50%;
  width: min(640px, 50vw);
  opacity: 0.5;
}
.hero-mark svg {
  width: 100%;
  height: auto;
  animation: markSpin 90s linear infinite;
}

@keyframes markSpin {
  to { transform: rotate(360deg); }
}

.hero-scan {
  position: absolute;
  top: -30%;
  left: 54%;
  width: 1px;
  height: 160%;
  rotate: 14deg;
  background: linear-gradient(180deg, transparent, rgba(120, 230, 255, 0.55), transparent);
  filter: blur(0.4px);
  animation: scanMove 9s ease-in-out infinite;
}

@keyframes scanMove {
  0%, 100% { translate: -130px 0; opacity: 0.12; }
  50% { translate: 130px 0; opacity: 0.55; }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 520px at 18% 42%, rgba(5, 8, 15, 0.92), transparent 70%),
    linear-gradient(180deg, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.55) 34%, rgba(5, 8, 15, 0.92) 88%, var(--bg) 100%);
}

.hero-content { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8fdcf2;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(99, 245, 194, 0.6);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 245, 194, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(99, 245, 194, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 245, 194, 0); }
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(26px, 3.9vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 650;
  max-width: 15em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #9df0ff 0%, #2fd8ff 42%, #63f5c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-en {
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #b9cde0;
  max-width: 44em;
}

.hero-sub {
  margin-top: 6px;
  font-size: 15.5px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 14px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s ease, background 0.3s ease, border-color 0.3s ease;
}
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  color: #04121a;
  background: linear-gradient(135deg, #8deeff, #2fd8ff 46%, #63f5c2);
  box-shadow: 0 18px 44px -22px rgba(47, 216, 255, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 26px 54px -24px rgba(47, 216, 255, 1); }

.btn-ghost {
  color: #dbe9f6;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.26);
}

.btn-block { width: 100%; }

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 46px;
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  max-width: 720px;
}

.stat dt {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #9cc8dd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat dt span { font-size: 18px; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.stat dd { font-size: 12.5px; color: var(--muted-2); letter-spacing: 0.06em; margin-top: 2px; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  translate: -50% 0;
  width: 22px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  justify-items: center;
  padding-top: 7px;
}
.hero-scroll span {
  width: 3px;
  height: 8px;
  border-radius: 3px;
  background: rgba(160, 230, 255, 0.8);
  animation: scrollHint 2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* --- 首屏浮动玻璃控制台 --- */
.hero-console {
  position: absolute;
  right: max(40px, calc((100% - 1240px) / 2));
  top: 50%;
  translate: 0 -50%;
  width: 332px;
  padding: 19px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 28, 44, 0.74), rgba(8, 13, 22, 0.80));
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  box-shadow:
    0 44px 90px -42px rgba(0, 0, 0, 0.95),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  animation: consoleFloat 8s ease-in-out infinite;
}

@keyframes consoleFloat {
  0%, 100% { translate: 0 -50%; }
  50% { translate: 0 calc(-50% - 12px); }
}

.hc-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #9fb6cc;
}
.hc-live {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 999px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--mint);
  border: 1px solid rgba(99, 245, 194, 0.35);
  background: rgba(99, 245, 194, 0.08);
}

.hc-kpi {
  margin-top: 17px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.hc-kpi b {
  font-size: 38px;
  font-weight: 650;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff, #9ce6ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hc-kpi b small { font-size: 17px; }
.hc-kpi em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}

.hc-chart {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 62px;
}
.hc-chart i {
  flex: 1;
  height: var(--v);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(47, 216, 255, 0.9), rgba(47, 216, 255, 0.10));
  transform-origin: bottom;
  animation: barGrow 1.4s var(--ease-out) both;
}

@keyframes barGrow {
  from { transform: scaleY(0.08); opacity: 0.2; }
  to { transform: scaleY(1); opacity: 1; }
}

.hc-rows {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: grid;
  gap: 9px;
}
.hc-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}
.hc-rows b { color: #e2f4ff; font-weight: 500; }
/* 后台上传自定义面板图片后，整块替换默认图表 */
.hero-console.has-img { padding: 0; overflow: hidden; }
.hero-console.has-img > *:not(.hc-img) { display: none; }
.hero-console .hc-img { display: block; width: 100%; height: auto; border-radius: inherit; }

/* ------------------------- section shell ------------------------- */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 9vw, 130px) 0;
  scroll-margin-top: 96px;
}

.section-plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(10, 17, 28, 0.85) 18%, rgba(8, 13, 22, 0.9) 82%, transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.045);
  border-bottom: 1px solid rgba(255, 255, 255, 0.045);
  z-index: -1;
}

.section-head { max-width: 720px; }
.section-head h2 {
  margin-top: 16px;
  font-size: clamp(27px, 3.4vw, 44px);
  letter-spacing: -0.025em;
}
.section-sub {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
  max-width: 58em;
}

/* ------------------------- capability grid ------------------------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}

.cap-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 13, 22, 0.5);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}

.cap-card::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 216, 255, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.cap-card:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 216, 255, 0.32);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.9);
}
.cap-card:hover::after { opacity: 1; }

.cap-head { position: relative; }
.cap-no {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(47, 216, 255, 0.75);
}
.cap-head h3 { margin-top: 10px; font-size: 19px; }
.cap-head p { margin-top: 8px; font-size: 13px; color: var(--muted-2); line-height: 1.6; }

.cap-list {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 9px;
}
.cap-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}
/* 英文缩写使用与案例标签 .case-tags li 相同的字体 */
.cap-list b {
  min-width: 52px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: #cfe6f5;
  letter-spacing: 0.04em;
}
.cap-list span { color: var(--muted-2); }
.pt-link {
  color: var(--cyan);
  text-decoration: none;
  cursor: pointer;
  text-decoration-color: rgba(47, 216, 255, .5);
  text-underline-offset: 3px;
  transition: color .18s, text-decoration-color .18s;
}
.pt-link:hover { color: #fff; text-decoration: underline; text-decoration-color: #fff; }
.pt-link::after {
  content: ""; display: inline-block; width: 8px; height: 8px;
  margin-left: 4px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px); opacity: .55;
}

/* ------------------------- 功能项详情浮层 ------------------------- */
.pt-detail-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 10vh;
}
.pt-detail-modal[hidden] { display: none; }
.ptdm-mask {
  position: absolute; inset: 0;
  background: rgba(5, 10, 22, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.ptdm-card {
  position: relative; z-index: 1;
  width: min(760px, calc(100vw - 32px));
  max-height: 78vh;
  background: linear-gradient(180deg, #0d1728 0%, #0a1322 100%);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .6), 0 0 0 1px rgba(47, 216, 255, .08) inset;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: ptdmIn .22s ease-out;
}
@keyframes ptdmIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.ptdm-close {
  position: absolute; right: 10px; top: 10px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--muted); font-size: 20px; line-height: 1;
  cursor: pointer;
}
.ptdm-close:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.ptdm-title {
  padding: 18px 22px 4px;
  color: var(--text); font-size: 18px; line-height: 1.4;
  padding-right: 48px;
}
.ptdm-sub {
  padding: 0 22px 12px;
  color: var(--muted); font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ptdm-body {
  padding: 20px 22px 26px;
  overflow: auto;
  flex: 1;
}
@media (max-width: 720px) {
  .pt-detail-modal { padding-top: 4vh; }
  .ptdm-card { width: min(100vw - 20px, 760px); max-height: 90vh; }
  .ptdm-title { font-size: 16px; padding: 16px 18px 4px; }
  .ptdm-body { padding: 16px 18px 20px; }
}

/* ------------------------- platform tabs ------------------------- */
.platform-wrap { position: relative; }

.tabs { margin-top: 46px; }

.tab-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 5px;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.tab {
  position: relative;
  z-index: 1;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s ease;
}
.tab:hover { color: #dfeefb; }
.tab.is-active { color: #fff; }

.tab-pill {
  position: absolute;
  top: 5px;
  left: 0;
  height: calc(100% - 10px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 216, 255, 0.22), rgba(47, 216, 255, 0.08));
  border: 1px solid rgba(120, 226, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 8px 24px -12px rgba(47, 216, 255, 0.85);
  transition: transform 0.5s var(--ease-spring), width 0.5s var(--ease-spring);
  pointer-events: none;
}

.tab-panels { margin-top: 26px; }

.tab-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(600px 320px at 12% 0%, rgba(47, 216, 255, 0.10), transparent 70%),
    rgba(9, 14, 24, 0.6);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.tab-panel.is-active {
  display: grid;
  animation: panelIn 0.55s var(--ease-out);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.panel-copy h3 { font-size: clamp(20px, 2.2vw, 27px); }
.panel-copy > p { margin-top: 14px; color: var(--muted); font-size: 14.5px; }

.panel-list {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.panel-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: #c7d6e6;
}
.panel-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1px solid rgba(47, 216, 255, 0.7);
  background: rgba(47, 216, 255, 0.18);
  rotate: 45deg;
}

.panel-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  padding: 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(120% 90% at 84% 4%, rgba(47, 216, 255, 0.14), transparent 62%),
    linear-gradient(165deg, rgba(16, 26, 42, 0.9), rgba(7, 11, 19, 0.96));
  box-shadow: 0 30px 70px -40px #000, inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.panel-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 80%);
}

/* 模拟看板 */
.mock { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mock-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #7f93a9;
}
.mock-top i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mock-top i:first-child { background: rgba(255, 120, 120, 0.6); }
.mock-top span { margin-left: 8px; }

.mock-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.mock-kpis div {
  padding: 12px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}
.mock-kpis span { display: block; font-size: 9.5px; letter-spacing: 0.06em; color: var(--muted-2); }
.mock-kpis b { display: block; margin-top: 3px; font-size: 15.5px; color: #dff6ff; }

.mock-chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.mock-chart i {
  flex: 1;
  height: var(--v);
  border-radius: 3px 3px 1px 1px;
  background: linear-gradient(180deg, rgba(47, 216, 255, 0.85), rgba(47, 216, 255, 0.08));
}
.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10px;
  color: var(--muted-2);
}

/* 分层架构 */
.arch { display: flex; flex-direction: column; justify-content: center; gap: 9px; }
.arch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(47, 216, 255, 0.16);
  background: linear-gradient(90deg, rgba(47, 216, 255, 0.11), rgba(255, 255, 255, 0.02));
}
.arch-row b { min-width: 56px; font-size: 12.5px; color: #dff4ff; font-weight: 600; }
.arch-row span { font-size: 11px; color: var(--muted-2); }
.arch-row:nth-child(1) { margin-inline: 34px; }
.arch-row:nth-child(2) { margin-inline: 22px; }
.arch-row:nth-child(3) { margin-inline: 10px; }

/* 建模关系图 */
.model { padding: 0; }
.model svg { display: block; width: 100%; height: 100%; }

/* 应用模块 */
.apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  align-content: center;
}
.app-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
}
.app-chip b {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: #8ee9ff;
  letter-spacing: 0.04em;
}
.app-chip span { font-size: 9.5px; color: var(--muted-2); }

/* ------------------------- supply chain ------------------------- */
.supply-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.supply-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-lg);
}

.globe {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  padding: 10px;
  background:
    radial-gradient(70% 70% at 50% 50%, rgba(47, 216, 255, 0.12), transparent 68%),
    linear-gradient(160deg, rgba(12, 20, 32, 0.92), rgba(6, 10, 17, 0.96));
}
.globe canvas { width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.globe-tip {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: #dff4ff;
  background: rgba(6, 12, 20, 0.85);
  border: 1px solid rgba(47, 216, 255, 0.35);
}
:root[data-theme="light"] .globe-tip {
  color: #0d3b7a;
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 158, 196, 0.35);
}

.globe-label {
  position: absolute;
  translate: -50% -50%;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #bfeeff;
  background: rgba(6, 12, 20, 0.72);
  border: 1px solid rgba(47, 216, 255, 0.25);
  white-space: nowrap;
  backdrop-filter: blur(6px);
}

.supply-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #d6f4ff;
  background: rgba(8, 14, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.supply-copy h2 {
  margin-top: 16px;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.025em;
}
.supply-copy > p { margin-top: 16px; color: var(--muted); font-size: 15px; }

.supply-list {
  margin-top: 26px;
  display: grid;
  gap: 2px;
}
.supply-list li {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  font-size: 13.5px;
}
.supply-list b { color: #dff0fb; font-weight: 600; }
.supply-list span { color: var(--muted-2); }

/* ------------------------- case cards (border beam) ------------------------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.case-card {
  --beam-delay: 0s;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(8, 13, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.075);
  overflow: hidden;
  isolation: isolate;
  transform-origin: center center;
  /* 原位放大 + 同路径收回 */
  transition:
    transform 0.62s cubic-bezier(0.22, 1.02, 0.3, 1),
    box-shadow 0.62s cubic-bezier(0.22, 1.02, 0.3, 1),
    border-color 0.5s ease;
  will-change: transform;
}

/* Border Beam 边缘流光 */
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: 1.4px;
  background: conic-gradient(
    from var(--beam),
    transparent 0deg,
    transparent 232deg,
    rgba(47, 216, 255, 0.10) 252deg,
    rgba(47, 216, 255, 0.75) 274deg,
    #d8fff6 288deg,
    rgba(99, 245, 194, 0.55) 300deg,
    transparent 322deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: beamSpin 5.4s linear infinite;
  animation-delay: var(--beam-delay);
  opacity: 0.9;
  pointer-events: none;
}

@keyframes beamSpin {
  to { --beam: 360deg; }
}

.case-card:nth-child(3n + 1) { --beam-delay: 0s; }
.case-card:nth-child(3n + 2) { --beam-delay: -1.8s; }
.case-card:nth-child(3n) { --beam-delay: -3.6s; }

.case-card:hover {
  transform: scale(1.038);
  z-index: 5;
  border-color: rgba(47, 216, 255, 0.14);
  box-shadow:
    0 44px 80px -40px rgba(0, 0, 0, 0.95),
    0 0 60px -22px rgba(47, 216, 255, 0.38);
}

.case-card:hover::before { opacity: 1; }

.case-media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.case-visual {
  --cv: 47 216 255;
  position: relative;
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 6%, rgb(var(--cv) / 0.26), transparent 62%),
    radial-gradient(90% 70% at 6% 102%, rgba(99, 245, 194, 0.10), transparent 62%),
    linear-gradient(165deg, #0a1522, #05090f 74%);
  transition: filter 0.5s ease;
}

.case-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(var(--cv) / 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--cv) / 0.10) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 46%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 46%, #000 8%, transparent 76%);
}

.case-visual::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 64%;
  height: 1px;
  rotate: -16deg;
  background: linear-gradient(90deg, transparent, rgb(var(--cv) / 0.7), transparent);
  filter: blur(0.3px);
}

.case-visual b {
  position: relative;
  z-index: 1;
  translate: 0 -6px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #eafcff;
  text-shadow: 0 0 34px rgb(var(--cv) / 0.55);
}

.case-visual i {
  position: absolute;
  z-index: 1;
  bottom: 15%;
  font-style: normal;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgb(200 235 250 / 0.5);
  text-align: center;
  padding-inline: 10px;
}

.case-card:hover .case-visual { filter: brightness(1.12); }

.case-card:nth-child(3n + 2) .case-visual { --cv: 99 245 194; }
.case-card:nth-child(3n + 3) .case-visual { --cv: 126 168 255; }
.case-card:nth-child(4) .case-visual { --cv: 255 196 107; }
.case-card:nth-child(7) .case-visual { --cv: 176 150 255; }

.case-idx {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 14px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(220, 245, 255, 0.9);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(6, 11, 19, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.case-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 20px;
}

.case-body h3 {
  font-size: 17.5px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.case-body p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-2);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.case-tags li {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #a9e9ff;
  padding: 4px 9px;
  border-radius: 7px;
  background: rgba(47, 216, 255, 0.09);
  border: 1px solid rgba(47, 216, 255, 0.2);
}

.case-more {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.035);
  font-size: 13px;
  font-weight: 600;
  color: #d6ecf9;
  transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.case-more svg {
  width: 15px;
  height: 15px;
  color: var(--cyan);
  transition: transform 0.4s var(--ease-spring);
}
.case-more:hover {
  color: #04121a;
  background: linear-gradient(135deg, #9ff0ff, #2fd8ff 55%, #63f5c2);
  border-color: transparent;
  box-shadow: 0 14px 30px -18px rgba(47, 216, 255, 0.9);
}
.case-more:hover svg { color: #04121a; transform: translateX(4px); }

/* ------------------------- partners ------------------------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 46px;
}
.logo-wall li {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.022);
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: rgba(200, 218, 234, 0.55);
  transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease, transform 0.4s var(--ease-out);
}
.logo-wall li:hover {
  color: #eaf6ff;
  border-color: rgba(47, 216, 255, 0.28);
  background: rgba(47, 216, 255, 0.06);
  transform: translateY(-3px);
}

/* 真实客户 LOGO：统一做去色高光处理，悬停恢复清晰度 */
.logo-wall img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}
.logo-wall img.logo-sm { max-height: 36px; }
.logo-wall li:hover img { opacity: 0.94; }

/* ------------------------- contact ------------------------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(26px, 4vw, 52px);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(47, 216, 255, 0.12), transparent 68%),
    radial-gradient(600px 420px at 100% 100%, rgba(99, 245, 194, 0.07), transparent 70%),
    rgba(9, 14, 24, 0.66);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
}

.contact-copy h2 {
  margin-top: 16px;
  font-size: clamp(25px, 3vw, 38px);
  letter-spacing: -0.025em;
}
.contact-copy > p { margin-top: 16px; color: var(--muted); font-size: 14.5px; }

.contact-info {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.contact-info li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 13.5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.contact-info span {
  min-width: 76px;
  color: var(--muted-2);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.contact-info b { color: #e3f2fd; font-weight: 500; }

.contact-form { display: grid; gap: 14px; }

.field { display: grid; gap: 7px; }
.field label {
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  font-family: ui-monospace, Menlo, monospace;
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(4, 8, 14, 0.55);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  resize: vertical;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(140, 160, 182, 0.55); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(47, 216, 255, 0.55);
  background: rgba(4, 10, 18, 0.8);
  box-shadow: 0 0 0 3px rgba(47, 216, 255, 0.12);
}
.field input.is-invalid,
.field textarea.is-invalid { border-color: rgba(255, 120, 120, 0.6); }

.form-note { font-size: 11.5px; color: var(--muted-2); text-align: center; }
.form-note.is-error { color: #ff8f8f; }
/* 蜜罐字段：对真实用户不可见、不可聚焦 */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ------------------------- social ------------------------- */
.social-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.social-item {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 20px 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.024);
  text-align: center;
  transition: transform 0.42s var(--ease-out), border-color 0.4s ease, background 0.4s ease;
}
.social-item:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 216, 255, 0.3);
  background: rgba(47, 216, 255, 0.05);
}
.social-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(200, 218, 234, 0.72);
  transition: color 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.social-icon svg { width: 23px; height: 23px; }
.social-item:hover .social-icon {
  color: var(--cyan);
  border-color: rgba(47, 216, 255, 0.35);
  background: rgba(47, 216, 255, 0.09);
}
.social-item b { font-size: 13px; font-weight: 600; color: var(--text); }
.social-item i {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted-2);
}

/* 悬停提示气泡 */
.social-item::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  z-index: 3;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(9, 15, 24, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 30px -16px #000, 0 0 0 0.5px rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 11.5px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  translate: -50% 6px;
  pointer-events: none;
  transition: opacity 0.24s ease, translate 0.36s var(--ease-spring);
}
.social-item:hover::after,
.social-item:focus-visible::after {
  opacity: 1;
  translate: -50% 0;
}

/* --- 二维码弹窗 --- */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.qr-modal.is-on { opacity: 1; visibility: visible; }
.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.72);
  backdrop-filter: blur(8px);
}
.qr-card {
  position: relative;
  width: min(336px, 100%);
  padding: 26px 24px 22px;
  border-radius: 22px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(18, 26, 40, 0.97), rgba(8, 13, 22, 0.98));
  box-shadow: 0 40px 90px -30px #000, inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(12px) scale(0.97);
  opacity: 0.5;
  transition: transform 0.42s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.3s ease;
}
.qr-modal.is-on .qr-card { transform: none; opacity: 1; }
.qr-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.qr-desc { margin: 0; font-size: 12.5px; color: var(--muted-2); }
.qr-box {
  width: 196px;
  height: 196px;
  margin: 18px auto 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.05);
  background-size: cover;
  background-position: center;
}
.qr-box.has-img {
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.12);
  background-color: #fff;
}
.qr-empty {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted-2);
}
.qr-empty small {
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(159, 179, 200, 0.5);
}
.qr-box.has-img .qr-empty { display: none; }
.qr-hint { margin: 0; font-size: 11.5px; color: var(--muted-2); }
.qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.qr-close:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }
.qr-close svg { width: 13px; height: 13px; }
.qr-open { overflow: hidden; }

/* ------------------------- footer ------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  padding: 44px 0 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(4, 7, 12, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 40px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand b { font-size: 15px; }
.footer-brand p { font-size: 11.5px; color: var(--muted-2); letter-spacing: 0.06em; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
}
.footer-nav a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s ease;
}
.footer-nav a:hover { color: var(--cyan); }

.copyright {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  font-size: 11.5px;
  color: rgba(130, 150, 172, 0.75);
  letter-spacing: 0.03em;
}
.copyright-icon {
  height: 16px;
  width: auto;
  margin-right: 8px;
  vertical-align: -3px;
  object-fit: contain;
}
.copyright-icon[hidden] { display: none; }
.copyright .police-icon { margin: 0 4px 0 2px; vertical-align: -3px; }
.police-link { display: inline-flex; align-items: center; vertical-align: -3px; }
.police-link:hover .police-icon { opacity: 0.82; }
.copyright .beian-link { color: inherit; }
.copyright .beian-link:hover { color: var(--cyan); text-decoration: underline; }

/* ------------------------- bottom dock ------------------------- */
.dock {
  position: fixed;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  z-index: 70;
  padding: 9px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.72), rgba(8, 13, 22, 0.82));
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 30px 70px -26px rgba(0, 0, 0, 0.95),
    0 0 50px -30px rgba(47, 216, 255, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.20),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.dock::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.10) 46%, transparent 62%);
  opacity: 0.5;
  pointer-events: none;
}

.dock-items {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dock-item {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #9db1c8;
  cursor: pointer;
  transform: translateY(var(--ty, 0px)) scale(var(--sc, 1));
  transform-origin: center bottom;
  transition:
    transform 0.42s cubic-bezier(0.34, 1.52, 0.5, 1),
    color 0.3s ease,
    background 0.3s ease;
  will-change: transform;
}

.dock-item svg { width: 21px; height: 21px; }

.dock-item:hover,
.dock-item:focus-visible {
  color: #eaf8ff;
  background: rgba(47, 216, 255, 0.10);
  outline: none;
}

.dock-item.is-active { color: #c9f4ff; }

.dock-item.is-active::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  translate: -50% 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 9px rgba(47, 216, 255, 0.95);
}

.dock-tip {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 0;
  translate: -50% 6px;
  opacity: 0;
  padding: 7px 13px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ecf8ff;
  white-space: nowrap;
  background: rgba(10, 16, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 34px -18px #000, inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  pointer-events: none;
  transition: opacity 0.24s ease, translate 0.36s var(--ease-spring), left 0.36s var(--ease-spring);
}

.dock-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  width: 7px;
  height: 7px;
  rotate: 45deg;
  background: rgba(10, 16, 26, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  margin-top: -4px;
}

.dock-tip.is-on { opacity: 1; translate: -50% 0; }

/* ------------------------- toast ------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 108px;
  translate: -50% 14px;
  z-index: 90;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  color: #052018;
  background: linear-gradient(135deg, #a9f7dc, #63f5c2);
  box-shadow: 0 20px 44px -20px rgba(99, 245, 194, 0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, translate 0.45s var(--ease-spring);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ------------------------- reveal ------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------- responsive ------------------------- */
@media (max-width: 1180px) {
  .hero-console { display: none; }
  .hero-mark { width: min(520px, 56vw); opacity: 0.32; }
}

@media (max-width: 1080px) {
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .supply-wrap { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-link { padding: 9px 13px; }
}

@media (max-width: 900px) {
  .header-inner { padding: 8px 10px 8px 14px; gap: 10px; }
  .brand-text { display: none; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .nav { gap: 0; padding: 4px; }
  .nav-link { padding: 8px 9px; font-size: 12.5px; }
  .header-cta { margin-left: auto; padding: 9px 11px; }
  .header-cta span { display: none; }
  .tab-panel.is-active { grid-template-columns: 1fr; }
  .panel-figure { order: -1; }
}

@media (max-width: 720px) {
  .nav { display: none; }
  .lang-switch { margin-left: auto; }
  .header-cta { margin-left: 0; }
  .brand-text { display: flex; }
  .brand-text i { display: none; }
  .header-cta span { display: inline; }
  .container { width: calc(100% - 36px); }
  .case-grid { grid-template-columns: 1fr; }
  .cap-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
  .logo-wall li { min-height: 74px; padding: 0 12px; border-radius: 14px; }
  .logo-wall img { max-height: 21px; }
  .logo-wall img.logo-sm { max-height: 26px; }
  .social-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
  .social-item { padding: 16px 10px 14px; border-radius: 16px; }
  .social-icon { width: 42px; height: 42px; border-radius: 13px; }
  .social-item i { font-size: 10.5px; }
  .social-item::after {
    font-size: 10.5px;
    white-space: normal;
    width: max-content;
    max-width: 176px;
    text-align: center;
    line-height: 1.35;
  }
  .stats { gap: 18px 30px; }
  .stat dt { font-size: 25px; }
  .hero { padding-top: 128px; }
  .hero-scroll { display: none; }
  .supply-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-nav { margin-left: 0; }
  .dock { bottom: 14px; padding: 7px; border-radius: 19px; }
  .dock-item { width: 44px; height: 44px; }
  .dock-item svg { width: 19px; height: 19px; }
  .toast { bottom: 96px; }
  .site-footer { padding-bottom: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------- 动态内容 / 详情页 ------------------------- */
.cap-img { width: 100%; height: 130px; object-fit: cover; border-radius: 12px; margin-top: 14px; display: block; }
.case-img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.case-media { position: relative; overflow: hidden; }

.detail-body .lang-switch { margin-left: auto; }
.detail-body .header-cta { margin-left: 0; }
.case-detail { max-width: 860px; padding-top: 132px; padding-bottom: 90px; }
.detail-back { display: inline-block; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.detail-back:hover { color: var(--cyan); }
.case-detail h1 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; margin: 14px 0 18px; letter-spacing: -0.01em; }
.detail-tags { margin-bottom: 22px; }
.detail-media { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); margin-bottom: 26px; }
.detail-media img { width: 100%; max-height: 420px; object-fit: cover; display: block; }
.detail-lead { font-size: 16px; line-height: 1.8; color: var(--text); border-left: 3px solid var(--cyan); padding-left: 16px; margin-bottom: 26px; }
.detail-content { max-width: 780px; }
.detail-content > *:last-child { margin-bottom: 0; }
.detail-content p { font-size: 15px; line-height: 1.95; color: var(--muted); margin: 0 0 20px; letter-spacing: .01em; }
.detail-content > p:first-child { font-size: 15.5px; color: var(--text); }
.detail-content h3 { position: relative; color: var(--text); font-size: 18px; line-height: 1.5; margin: 38px 0 14px; padding-left: 14px; }
.detail-content h3::before { content: ""; position: absolute; left: 0; top: .34em; bottom: .34em; width: 3px; border-radius: 3px; background: linear-gradient(180deg, var(--cyan), rgba(47, 216, 255, 0)); }
.detail-content h4 { color: var(--text); font-size: 15.5px; margin: 26px 0 10px; }
.detail-content img { display: block; max-width: 100%; height: auto; margin: 26px 0; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 44px rgba(0, 0, 0, .38); }
.detail-content video { display: block; width: 100%; max-width: 100%; height: auto; margin: 26px 0; border-radius: 16px; background: #000; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 18px 44px rgba(0, 0, 0, .38); }
.detail-content figure { margin: 26px 0; }
.detail-content figure img { margin: 0; }
.detail-content figcaption { margin-top: 10px; font-size: 12.5px; color: var(--muted); text-align: center; }
.detail-content a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(47, 216, 255, .4); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; word-break: break-word; }
.detail-content a:hover { color: #fff; text-decoration-color: #fff; }
.detail-content ul, .detail-content ol { color: var(--muted); margin: 0 0 22px; padding-left: 24px; font-size: 15px; line-height: 1.9; }
.detail-content li { margin-bottom: 8px; padding-left: 2px; }
.detail-content li::marker { color: var(--cyan); }
.detail-content blockquote { margin: 0 0 24px; padding: 16px 20px; border-left: 3px solid var(--cyan); border-radius: 0 12px 12px 0; background: rgba(47, 216, 255, .05); color: var(--muted); }
.detail-content blockquote p:last-child { margin-bottom: 0; }
.detail-content code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: var(--cyan); font-family: Consolas, "SFMono-Regular", monospace; font-size: 13px; }
.detail-content pre { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 14px 16px; overflow: auto; font-size: 13px; line-height: 1.7; margin: 0 0 24px; }
.detail-content pre code { padding: 0; background: none; color: var(--text); }
.detail-content hr { border: 0; height: 1px; margin: 34px 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .2), rgba(255, 255, 255, 0)); }
.detail-cta { margin-top: 34px; }
.site-header.is-solid { background: rgba(6, 10, 18, .9); }
@media (max-width: 720px) { .case-detail { padding-top: 108px; } .detail-lead { font-size: 14.5px; } }
@media (max-width: 720px) {
  .detail-content p, .detail-content ul, .detail-content ol { font-size: 14.5px; }
  .detail-content > p:first-child { font-size: 15px; }
  .detail-content h3 { font-size: 16.5px; margin-top: 30px; }
  .detail-content img { margin: 20px 0; border-radius: 12px; }
  .detail-content blockquote { padding: 14px 16px; }
}

/* ------------------------- carousel (产品 / 案例 滑块) ------------------------- */
/* 覆盖原本的 grid 布局，改成左右滑动 + 中间突出 */
.cap-grid.carousel, .case-grid.carousel {
  display: block !important;
  position: relative;
  overflow: hidden;
  padding: 30px 0 10px;
  margin-top: 46px;
}

.carousel .c-track {
  position: relative;
  width: 100%;
  height: 420px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.carousel .c-card {
  position: absolute;
  top: 50%;
  width: var(--card-w, 330px);
  margin-left: calc(var(--card-w, 330px) / -2);
  transform: translate3d(var(--x, 0), var(--y, -50%), 0) scale(var(--s, .92));
  opacity: var(--op, .42);
  z-index: var(--z, 1);
  transition: transform .48s cubic-bezier(.22,.9,.28,1), opacity .35s ease, box-shadow .5s ease, border-color .5s ease;
  /* 统一用 pointer-events: none；只让 is-active 可交互，避免 hover 到缩放后的卡 */
  pointer-events: none;
  /* 强制 block，废掉 cap-card / case-card 原有的 flex 布局——
     这些 flex/grid 在 transform 合成层里会触发子元素重排，是闪烁主因 */
  display: block !important;
  will-change: transform, opacity, box-shadow;
  backface-visibility: hidden;
  isolation: isolate;
}
.carousel .c-card.is-active {
  --s: 1; --op: 1; --z: 10;
  pointer-events: auto;
}
.carousel .c-card.is-prev,
.carousel .c-card.is-next {
  --s: .88; --op: .85; --z: 4;
  pointer-events: auto;   /* 两侧卡可直接点 */
}
.carousel .c-card.is-far {
  --s: .7; --op: .32; --z: 1;
  pointer-events: none;
}
.carousel .c-card.is-behind {
  --s: .55; --op: 0; --z: 0;
  pointer-events: none;
}

/* 彻底禁用滑块内的原悬浮效果，只覆盖会引起重绘的属性
   关键：不能覆盖 transform——那是 JS 通过 CSS 变量驱动的整体定位 */
.carousel .cap-card:hover,
.carousel .case-card:hover {
  /* 原始 cap-card:hover 有 transform: translateY(-5px)，
     原始 case-card:hover 有 transform: scale(1.038) + z-index:5
     这里覆盖掉 transform 的副作用属性（border-color / box-shadow / z-index），
     但 transform 本身不动——它会被 .carousel .c-card 的 translate3d + scale 正常驱动 */
  border-color: inherit !important;
  box-shadow: none !important;
  z-index: var(--z, 1) !important;
}
/* 伪元素彻底从渲染树里摘掉，避免任何 opacity / animation 变化触发合成层重绘 */
.carousel .cap-card::before,
.carousel .cap-card::after,
.carousel .case-card::before,
.carousel .case-card::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
}
.carousel .cap-card:hover::before,
.carousel .cap-card:hover::after,
.carousel .case-card:hover::before,
.carousel .case-card:hover::after {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  animation: none !important;
}
/* case-card:hover .case-visual 原 filter: brightness(1.12) */
.carousel .case-card:hover .case-visual { filter: none !important; }
.carousel .c-card.is-active.cap-card {
  box-shadow: 0 44px 84px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(47,216,255,.2) inset;
  border-color: rgba(47,216,255,.4) !important;
}
.carousel .c-card.is-active.case-card {
  box-shadow:
    0 52px 92px -46px rgba(0,0,0,.95),
    0 0 62px -22px rgba(47,216,255,.42);
  border-color: rgba(47,216,255,.28) !important;
}

/* 左右箭头 */
.carousel .c-btn {
  position: absolute;
  top: 50%;
  width: 42px; height: 42px;
  margin-top: -21px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(8,13,22,.82);
  color: #cfe6f5;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 30;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .18s, color .18s, border-color .18s, opacity .22s;
}
.carousel .c-btn:hover { background: rgba(47,216,255,.14); color: #fff; border-color: rgba(47,216,255,.5); }
.carousel .c-btn[hidden] { opacity: 0; pointer-events: none; }
.carousel .c-btn.prev { left: 8px; }
.carousel .c-btn.next { right: 8px; }
.carousel .c-btn svg { width: 16px; height: 16px; }

/* 指示器 */
.carousel .c-dots {
  display: flex; justify-content: center; gap: 6px;
  margin-top: 14px;
}
.carousel .c-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 0; cursor: pointer;
  transition: background .2s, transform .2s;
}
.carousel .c-dot.is-active { background: var(--cyan); transform: scale(1.35); }

/* 滑动中取消过渡 */
.carousel.is-swiping .c-card { transition: none !important; }

/* 响应式卡宽 */
@media (min-width: 1401px) { .carousel { --card-w: 340px; } }
@media (max-width: 1400px) and (min-width: 1181px) { .carousel { --card-w: 320px; } }
@media (max-width: 1180px) and (min-width: 901px) { .carousel { --card-w: 300px; } }
@media (max-width: 900px) and (min-width: 601px) { .carousel { --card-w: 280px; } }
@media (max-width: 600px) {
  .carousel { --card-w: 78vw; }
  .carousel .c-track { height: 480px; }
  .carousel .c-btn { width: 38px; height: 38px; margin-top: -19px; }
  .carousel .c-btn.prev { left: 4px; }
  .carousel .c-btn.next { right: 4px; }
  .carousel .c-dots { margin-top: 6px; }
}

/* 滑块内 reveal 取消（JS 自己定位） */
.carousel .c-card.reveal { opacity: 1; }
