/* 布局：居中大标题首屏 + 三款产品轮播 → 每个板块各自一套渐变网格背景（光斑随鼠标移动）
   → 板块内的截图、卡片在鼠标经过时演示产品 → 留资 → 页脚。黑白灰为主，蓝色只做点缀 */
@property --gx { syntax: '<percentage>'; inherits: true; initial-value: 20%; }
@property --gy { syntax: '<percentage>'; inherits: true; initial-value: 15%; }
:root {
  --white: #FFFFFF;
  --gray: #F5F5F7;
  --ink: #0B0B0F;
  --ink-2: #4B4B55;
  --ink-3: #8A8A94;
  --line: #E3E3E8;
  --blue: #2F4BFF;
  --night: #08080C;
  --night-2: #131318;
  --night-line: #26262D;
  --night-ink: #F2F2F5;
  --night-ink-2: #9A9AA6;
  --ok: #1F8A4C;
  --danger: #D23B43;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --f-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --f-mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left)); padding-right: max(24px, env(safe-area-inset-right)); }

/* ---------- 渐变网格背景 ---------- */
.grid-bg { position: relative; isolation: isolate; overflow: hidden; background-color: var(--bg0); transition: --gx .8s var(--ease), --gy .8s var(--ease); }
.grid-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--gl) 1px, transparent 1px), linear-gradient(90deg, var(--gl) 1px, transparent 1px);
  background-size: 44px 44px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at var(--gx) var(--gy), #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 65% at var(--gx) var(--gy), #000 20%, transparent 78%); }
.grid-bg::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle at var(--gx) var(--gy), var(--c1), transparent 42%), radial-gradient(circle at calc(100% - var(--gx)) calc(100% - var(--gy) * .6), var(--c2), transparent 46%); }
.g-hero    { --bg0: #FAFAFD; --gl: rgba(40, 50, 130, .075); --c1: rgba(99, 122, 255, .26); --c2: rgba(178, 140, 255, .22); }
.g-dev     { --bg0: #FFFFFF; --gl: rgba(14, 80, 110, .06);  --c1: rgba(56, 189, 248, .18); --c2: rgba(45, 212, 191, .16); }
.g-cases   { --bg0: #FBF8F6; --gl: rgba(120, 60, 40, .06);  --c1: rgba(251, 146, 120, .22); --c2: rgba(244, 114, 182, .16); }
.g-prysm   { --bg0: #08080C; --gl: rgba(255, 255, 255, .06); --c1: rgba(99, 102, 241, .38); --c2: rgba(56, 189, 248, .18); }
.g-canvas  { --bg0: #F7F6FD; --gl: rgba(80, 60, 160, .07);  --c1: rgba(139, 92, 246, .22); --c2: rgba(59, 130, 246, .18); }
.g-texture { --bg0: #FBF8F2; --gl: rgba(120, 80, 20, .07);  --c1: rgba(245, 158, 11, .20); --c2: rgba(239, 68, 68, .12); }
.g-agent   { --bg0: #F3FAF6; --gl: rgba(20, 100, 70, .07);  --c1: rgba(16, 185, 129, .20); --c2: rgba(59, 130, 246, .14); }
.g-contact { --bg0: #F6F8FC; --gl: rgba(30, 60, 140, .06);  --c1: rgba(59, 130, 246, .20); --c2: rgba(99, 102, 241, .14); }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 28px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A33; }
.btn-dark:disabled { opacity: .55; cursor: progress; transform: none; }
.btn-line { border-color: #C9C9D1; color: var(--ink); background: rgba(255,255,255,.6); }
.btn-line:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--night); }
.btn-white:hover { background: #E6E6EA; }
.btn-line-light { border-color: #3A3A44; color: var(--night-ink); background: transparent; }
.btn-line-light:hover { border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.actions.center { justify-content: center; }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.8); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(0,0,0,.06); padding-top: env(safe-area-inset-top); }
.topbar-in { display: flex; align-items: center; gap: 36px; height: 76px; }
.logo { display: flex; align-items: center; flex: none; text-decoration: none; }
.logo img { height: 46px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 26px; flex: 1; }
.menu a { position: relative; text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.menu a:not(.menu-login)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--ink); transform: scaleX(0); transition: transform .25s var(--ease); }
.menu a:hover { color: var(--ink); }
.menu a:hover::after { transform: scaleX(1); }
.menu-login { margin-left: auto; color: var(--ink-3) !important; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; padding: 0 10px; }
.menu-toggle span { display: block; height: 1.5px; background: var(--ink); transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- 通用 ---------- */
.section { padding-block: clamp(80px, 11vw, 140px); }
.section-dark { color: var(--night-ink); }
.sec-head { max-width: 900px; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 600; color: var(--blue); margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; letter-spacing: .04em; }
.sec-head.center .kicker { justify-content: center; }
.kicker-light { color: #8C9BFF; }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.sec-lead { margin-top: 20px; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); line-height: 1.75; }
.section-dark .sec-lead { color: var(--night-ink-2); }
.badge { font-size: 12px; font-weight: 600; color: var(--ink); border: 1px solid var(--ink); border-radius: 999px; padding: 3px 12px; letter-spacing: .02em; background: rgba(255,255,255,.7); }

/* ---------- 窗口截图 ---------- */
.win { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 24px 60px -18px rgba(10,10,20,.28), 0 6px 16px -8px rgba(10,10,20,.12); }
.win img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.win-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: #F4F4F6; border-bottom: 1px solid #E6E6EA; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; flex: none; }
.win-bar i:nth-child(2) { background: #FEBC2E; }
.win-bar i:nth-child(3) { background: #28C840; }
.win-bar span { margin-left: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-bar .hint { margin-left: auto; font-style: normal; font-size: 12px; color: var(--ink-3); white-space: nowrap; transition: opacity .3s; }
.win-dark { box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -24px rgba(0,0,0,.8); }

/* 鼠标经过时滚动浏览整页长图 */
.scroll-shot .viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.scroll-shot .viewport img { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: auto; transition: transform 1.2s var(--ease); will-change: transform; }
.scroll-shot .viewport .cover { z-index: 2; height: 100%; object-fit: cover; object-position: top; transition: opacity .6s ease; }
.scroll-shot.is-scrolling .cover { opacity: 0; }
.scroll-shot.is-scrolling .hint { opacity: 0; }
.scroll-shot { cursor: ns-resize; }
.canvas-frame { max-width: 1080px; margin: 0 auto; }

/* 鼠标经过时放大查看 */
.zoom-shot { cursor: zoom-in; }
.zoom-shot .viewport { overflow: hidden; }
.zoom-shot .viewport img { transition: transform .5s var(--ease); }
.zoom-shot.is-zoomed .viewport img { transform: scale(1.9); transition: transform .25s ease-out; }
.zoom-shot.is-zoomed .hint { opacity: 0; }

/* ---------- 首屏 ---------- */
.hero { padding-top: clamp(72px, 10vw, 120px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-copy { text-align: center; animation: rise .9s var(--ease) both; }
.hero h1 { font-size: clamp(42px, 7.2vw, 88px); font-weight: 700; line-height: 1.1; letter-spacing: -.025em; }
.hero h1 .muted { color: var(--ink-3); }
.lead { margin: 28px auto 0; max-width: 36em; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.stage { position: relative; margin-top: clamp(56px, 7vw, 88px); aspect-ratio: 1200 / 560; perspective: 1800px; animation: rise 1.1s .15s var(--ease) both; }
.stage-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .35s ease-out; }
.slide { position: absolute; top: 0; left: 50%; width: 62%; cursor: pointer; transition: transform 1s var(--ease), opacity 1s, filter 1s, box-shadow 1s; }
.slide.pos-0 { transform: translateX(-50%) scale(1); z-index: 3; opacity: 1; cursor: default; }
.slide.pos-1 { transform: translateX(-8%) translateY(12%) scale(.76); z-index: 2; opacity: .92; filter: saturate(.8) brightness(.97); }
.slide.pos-2 { transform: translateX(-92%) translateY(12%) scale(.76); z-index: 1; opacity: .92; filter: saturate(.8) brightness(.97); }
.slide.pos-1:hover, .slide.pos-2:hover { filter: none; opacity: 1; }
.dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.dots button { position: relative; overflow: hidden; font: inherit; font-size: 14px; color: var(--ink-3); background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 999px; padding: 7px 18px; cursor: pointer; transition: color .2s, border-color .2s; }
.dots button:hover { color: var(--ink); }
.dots button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.dots button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ink); transform-origin: left; animation: fill var(--slide-ms, 4500ms) linear forwards; }
.hero.paused .dots button::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 定制开发 ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { position: relative; padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; border-radius: 20px; border: 0; width: 100%; font: inherit; text-align: left; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line); backdrop-filter: blur(6px); color: var(--ink); cursor: pointer; transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .45s; }
.svc-static { cursor: default; }
.svc:hover, .svc:focus-visible { transform: translateY(-8px); background: var(--ink); color: #fff; box-shadow: 0 30px 60px -24px rgba(10,10,20,.5); }
.svc h3 { font-size: 22px; font-weight: 700; }
.svc p { color: var(--ink-2); font-size: 15px; transition: color .35s; }
.svc:hover p, .svc:focus-visible p { color: #B9B9C4; }
.svc-tags { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; transition: border-color .35s; }
.svc-tags em { font-style: normal; padding: 2px 10px; border-radius: 999px; background: var(--gray); color: var(--ink-2); transition: background .35s, color .35s; }
.svc:hover .svc-tags { border-color: #2A2A33; }
.svc:hover .svc-tags em { background: #24242C; color: #E3E3EA; }
.svc-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .35s; }
.svc-more b { font-family: var(--f-mono); font-size: 12px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--gray); color: var(--ink-2); transition: background .35s, color .35s; }
.svc-more i { font-style: normal; transition: transform .35s var(--ease); }
.svc:hover .svc-more { color: #fff; }
.svc:hover .svc-more b { background: var(--blue); color: #fff; }
.svc:hover .svc-more i { transform: translateX(5px); }

/* 卡片顶部的小示意图：鼠标经过时动起来 */
.mock { position: relative; height: 112px; margin-bottom: 8px; border-radius: 14px; background: var(--gray); overflow: hidden; transition: background .35s; }
.svc:hover .mock { background: #17171D; }
.mock i { position: absolute; display: block; transition: all .6s var(--ease); }
.mock-web .bar { left: 14px; right: 14px; top: 14px; height: 10px; border-radius: 4px; background: #D9D9E0; }
.mock-web .l1 { left: 14px; top: 34px; width: 55%; height: 8px; border-radius: 4px; background: #C9C9D2; }
.mock-web .l2 { left: 14px; top: 48px; width: 35%; height: 8px; border-radius: 4px; background: #DCDCE3; }
.mock-web .box { top: 66px; width: 26%; height: 32px; border-radius: 6px; background: #E2E2E8; }
.mock-web .b1 { left: 14px; } .mock-web .b2 { left: 37%; } .mock-web .b3 { left: 66%; }
.svc:hover .mock-web .bar { background: #33333D; }
.svc:hover .mock-web .l1 { width: 72%; background: #fff; }
.svc:hover .mock-web .l2 { width: 48%; background: #5A5A66; }
.svc:hover .mock-web .b1 { background: var(--blue); top: 60px; height: 38px; }
.svc:hover .mock-web .b2 { background: #3A3A46; top: 63px; transition-delay: .06s; }
.svc:hover .mock-web .b3 { background: #3A3A46; top: 66px; transition-delay: .12s; }
.mock-mp .screen { left: 50%; top: 12px; width: 76px; height: 120px; margin-left: -38px; border-radius: 14px; border: 2px solid #CFCFD8; }
.mock-mp .c1, .mock-mp .c2, .mock-mp .c3 { left: 50%; height: 14px; border-radius: 4px; background: #D6D6DE; }
.mock-mp .c1 { top: 26px; width: 50px; margin-left: -28px; }
.mock-mp .c2 { top: 46px; width: 50px; margin-left: -28px; }
.mock-mp .c3 { top: 66px; width: 30px; margin-left: -28px; }
.mock-mp .pay { left: 50%; top: 88px; width: 50px; height: 14px; margin-left: -28px; border-radius: 999px; background: #C2C2CC; }
.svc:hover .mock-mp .screen { border-color: #4A4A56; }
.svc:hover .mock-mp .c1 { background: #fff; width: 56px; }
.svc:hover .mock-mp .c2 { background: #4A4A56; transition-delay: .08s; }
.svc:hover .mock-mp .c3 { background: #4A4A56; width: 44px; transition-delay: .16s; }
.svc:hover .mock-mp .pay { background: #22C55E; animation: pulse 1.2s ease-in-out .4s infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
.mock-pc .monitor { left: 50%; top: 14px; width: 150px; height: 74px; margin-left: -75px; border-radius: 8px; border: 2px solid #CFCFD8; }
.mock-pc .side { left: 50%; top: 22px; width: 30px; height: 58px; margin-left: -66px; border-radius: 4px; background: #DDDDE4; }
.mock-pc .r1 { left: 50%; top: 24px; width: 90px; height: 10px; margin-left: -30px; border-radius: 3px; background: #D3D3DB; }
.mock-pc .r2 { left: 50%; top: 40px; width: 60px; height: 10px; margin-left: -30px; border-radius: 3px; background: #E0E0E6; }
.mock-pc .stand { left: 50%; top: 92px; width: 50px; height: 6px; margin-left: -25px; border-radius: 3px; background: #CFCFD8; }
.svc:hover .mock-pc .monitor, .svc:hover .mock-pc .stand { border-color: #4A4A56; background-color: transparent; }
.svc:hover .mock-pc .stand { background: #4A4A56; }
.svc:hover .mock-pc .side { background: var(--blue); }
.svc:hover .mock-pc .r1 { background: #fff; top: 28px; }
.svc:hover .mock-pc .r2 { background: #4A4A56; width: 80px; top: 46px; transition-delay: .08s; }
.mock-app .phone-a, .mock-app .phone-b { top: 16px; width: 54px; height: 96px; border-radius: 12px; border: 2px solid #CFCFD8; left: 50%; }
.mock-app .phone-a { margin-left: -58px; }
.mock-app .phone-b { margin-left: 4px; }
.mock-app .ic { width: 14px; height: 14px; border-radius: 4px; background: #D3D3DB; left: 50%; }
.mock-app .i1 { top: 30px; margin-left: -48px; } .mock-app .i2 { top: 30px; margin-left: -28px; }
.mock-app .i3 { top: 30px; margin-left: 14px; } .mock-app .i4 { top: 30px; margin-left: 34px; }
.svc:hover .mock-app .phone-a { transform: rotate(-10deg) translateX(-10px); border-color: #4A4A56; }
.svc:hover .mock-app .phone-b { transform: rotate(10deg) translateX(10px); border-color: #4A4A56; }
.svc:hover .mock-app .i1 { background: #F43F5E; transform: translate(-12px, 4px) rotate(-10deg); }
.svc:hover .mock-app .i2 { background: #F59E0B; transform: translate(-8px, 6px) rotate(-10deg); }
.svc:hover .mock-app .i3 { background: #22C55E; transform: translate(8px, 6px) rotate(10deg); }
.svc:hover .mock-app .i4 { background: var(--blue); transform: translate(12px, 8px) rotate(10deg); }

/* 合作流程：鼠标停在哪一步，进度条走到哪一步 */
.process { --p: 0; position: relative; list-style: none; margin: 56px 0 0; padding: 30px 32px 26px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px var(--line); border-radius: 20px; }
.process::before, .process::after { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 3px; border-radius: 3px; }
.process::before { background: var(--line); }
.process::after { right: auto; width: calc((100% - 64px) * var(--p) / 5); background: var(--ink); transition: width .5s var(--ease); }
.process li { display: flex; flex-direction: column; gap: 2px; cursor: default; transition: transform .3s var(--ease); }
.process li:hover { transform: translateY(-3px); }
.process span { font-family: var(--f-mono); font-size: 13px; color: var(--ink-3); }
.process b { font-size: 17px; font-weight: 600; }
.process em { font-style: normal; font-size: 13px; color: var(--ink-3); }

/* ---------- 案例弹窗 ---------- */
.case-modal { border: 0; padding: 0; width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 48px); border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -20px rgba(10,10,30,.5); overflow: hidden; }
.case-modal[open] { animation: pop .45s var(--ease); }
.case-modal::backdrop { background: rgba(10,10,18,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.cm-inner { position: relative; max-height: calc(100vh - 48px); overflow-y: auto; padding: clamp(24px, 4vw, 44px);
  background-color: #FBFBFD; background-image: linear-gradient(rgba(40,50,130,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(40,50,130,.05) 1px, transparent 1px); background-size: 40px 40px; }
.cm-close { position: sticky; top: 0; float: right; z-index: 3; width: 40px; height: 40px; margin: -8px -8px 0 0; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; transition: transform .25s var(--ease); }
.cm-close:hover { transform: rotate(90deg); }
.cm-head { margin-bottom: 24px; }
.cm-head .kicker { margin-bottom: 8px; }
.cm-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.25; }
.cm-head p:last-child { margin-top: 8px; color: var(--ink-2); }
.cm-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cm-tabs button { font: inherit; font-size: 14px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.cm-tabs button:hover { border-color: var(--ink-3); color: var(--ink); }
.cm-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cm-pane { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; align-items: center; animation: rise .5s var(--ease); }
.cm-info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cm-info h3 { font-size: 24px; font-weight: 700; }
.cm-info p { color: var(--ink-2); font-size: 15px; }
.cm-info ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cm-info li { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: var(--gray); color: var(--ink-2); }
.case-modal .cases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }

/* ---------- 小程序案例（弹窗内） ---------- */
.case { margin: 0; display: flex; flex-direction: column; gap: 18px; transition: opacity .4s, filter .4s, transform .5s var(--ease); }
.cases:hover .case:not(:hover) { opacity: .45; filter: grayscale(.6); }
.case:hover { transform: translateY(-14px) scale(1.04); }
.phone { border-radius: 30px; padding: 6px; background: #111114; box-shadow: 0 24px 50px -20px rgba(10,10,20,.35); transition: box-shadow .5s; }
.case:hover .phone { box-shadow: 0 40px 70px -24px rgba(10,10,20,.5); }
.phone img { border-radius: 25px; width: 100%; height: auto; aspect-ratio: 921 / 2000; object-fit: cover; object-position: top; }
.case figcaption { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.case figcaption b { font-size: 16px; font-weight: 600; }
.case figcaption span { font-size: 13px; color: var(--ink-3); }

/* ---------- 棱镜AI ---------- */
.prysm { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.prysm .win-bar { background: #18181E; border-color: #26262D; }
.prysm .win-bar span, .prysm .win-bar .hint { color: #8A8A96; }
.price { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price caption { text-align: left; font-size: 13px; color: var(--night-ink-2); padding-bottom: 12px; letter-spacing: .04em; }
.price th { text-align: left; font-size: 12px; font-weight: 500; color: var(--night-ink-2); padding: 0 8px 10px; border-bottom: 1px solid var(--night-line); }
.price td { padding: 14px 8px; border-bottom: 1px solid var(--night-line); font-size: 15px; transition: background .25s; }
.price tbody tr:hover td { background: rgba(255,255,255,.05); }
.price td:nth-child(2) { font-family: var(--f-mono); font-weight: 600; color: #fff; }
.price td:nth-child(3) { font-family: var(--f-mono); color: #5E5E68; text-decoration: line-through; }
.price td:nth-child(4) { font-family: var(--f-mono); color: #6EE7A2; text-align: right; font-weight: 600; }
.note { font-size: 12px; color: #5E5E68; margin-top: 12px; }
.models { margin-top: clamp(56px, 8vw, 88px); }
.models-title { font-size: 14px; color: var(--night-ink-2); margin-bottom: 20px; letter-spacing: .04em; }
.models ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.models li { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 18px; background: #fff; color: var(--ink); border-radius: 14px; font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .35s var(--ease), box-shadow .35s; }
.models li:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 0 0 2px #8C9BFF, 0 20px 40px -12px rgba(99,102,241,.6); }
.models li img { flex: none; transition: transform .5s var(--ease); }
.models li:hover img { transform: rotate(-12deg) scale(1.15); }

/* 海外 AI 会员代开通 */
.vip { margin-top: clamp(56px, 8vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.vip-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; line-height: 1.3; }
.vip-copy > p { margin-top: 14px; color: var(--night-ink-2); }
.vip-copy .kicker { margin-bottom: 12px; }
.vip-steps { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.vip-steps li { font-size: 14px; padding: 6px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px #3A3A44; color: var(--night-ink); }
.vip-copy .actions { margin-top: 26px; }
.vip-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.vip-logos li { aspect-ratio: 1; border-radius: 20px; background: #fff; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font-weight: 700; font-size: 16px; transition: transform .4s var(--ease), box-shadow .4s; }
.vip-logos li:hover { transform: translateY(-8px) rotate(-2deg); box-shadow: 0 0 0 2px #8C9BFF, 0 24px 48px -16px rgba(99,102,241,.6); }
.vip-logos img { width: 52px; height: 52px; transition: transform .6s var(--ease); }
.vip-logos li:hover img { transform: scale(1.15) rotate(-14deg); }

/* ---------- 帧境 Canvas ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 48px auto 0; }
.facts div { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.7); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.facts div:hover { transform: translateY(-5px); box-shadow: 0 0 0 1px #C4B5FD, 0 18px 36px -16px rgba(139,92,246,.45); }
.facts b { font-size: 17px; font-weight: 600; }
.facts span { font-size: 14px; color: var(--ink-2); }

/* ---------- 织造台 ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.steps li { position: relative; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.8); box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); cursor: default; transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); }
.steps li.on, .steps li:hover { background: var(--ink); color: #fff; box-shadow: 0 0 0 1px var(--ink); transform: translateY(-2px); }
.who { margin-top: 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- 招募代理 ---------- */
.agents { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.agent { position: relative; height: 220px; perspective: 1200px; cursor: pointer; }
.agent-front, .agent-back { position: absolute; inset: 0; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .7s var(--ease); }
.agent-front { background: rgba(255,255,255,.85); box-shadow: 0 0 0 1px var(--line); justify-content: flex-end; gap: 4px; }
.agent-front::after { content: "→"; position: absolute; top: 24px; right: 24px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: var(--ink-3); box-shadow: 0 0 0 1px var(--line); }
.agent-back { background: var(--ink); color: #fff; transform: rotateY(180deg); gap: 12px; justify-content: center; }
.agent:hover .agent-front, .agent.flipped .agent-front { transform: rotateY(-180deg); }
.agent:hover .agent-back, .agent.flipped .agent-back { transform: rotateY(0); }
.agent h3 { font-size: 21px; font-weight: 700; }
.agent-front p { color: var(--ink-3); font-size: 14px; }
.agent-back p { color: #C9C9D3; font-size: 15px; }
.agent-ico { position: absolute; top: 24px; left: 24px; width: 48px; height: 48px; border-radius: 14px; }
.ico-prysm { background: linear-gradient(135deg, #6366F1, #22D3EE); clip-path: polygon(50% 6%, 96% 92%, 4% 92%); border-radius: 0; }
.ico-tex { background: conic-gradient(#F97316 0 25%, #FDE68A 0 50%, #0EA5E9 0 75%, #EF4444 0); background-size: 24px 24px; }
.ico-canvas { background: radial-gradient(circle at 25% 30%, #8B5CF6 0 7px, transparent 8px), radial-gradient(circle at 75% 25%, #3B82F6 0 7px, transparent 8px), radial-gradient(circle at 60% 75%, #EC4899 0 7px, transparent 8px), #EEF0FF; }
.ico-dev { background: var(--ink); }
.ico-dev::before { content: "</>"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--f-mono); font-size: 15px; font-weight: 700; }
.support { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.support li { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--ease), background .35s; }
.support li:hover { transform: translateY(-4px); background: #fff; }
.support b { font-size: 16px; }
.support span { font-size: 14px; color: var(--ink-2); }
.agent-note { text-align: center; margin-top: 24px; font-size: 14px; color: var(--ink-3); }

/* ---------- 留资 ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-points { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; color: var(--ink-2); }
.contact-points li { padding-left: 22px; position: relative; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.contact-box { min-width: 0; }
.form, .done { background: rgba(255,255,255,.85); backdrop-filter: blur(8px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(20,30,80,.25); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field legend { margin-bottom: 10px; }
.field em { color: var(--danger); font-style: normal; }
.field input, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: var(--gray); border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; width: 100%; transition: box-shadow .15s, background .15s; }
.field input::placeholder, .field textarea::placeholder { color: #A9A9B2; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--danger); }
.err { color: var(--danger); font-size: 13px; }
.err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; color: var(--danger); }
.form-msg:empty { display: none; }
.privacy { font-size: 12px; color: var(--ink-3); text-align: center; }
.done { align-items: center; text-align: center; padding-block: 72px; color: var(--ok); }
.done h3 { color: var(--ink); font-size: 24px; font-weight: 700; }
.done p { color: var(--ink-2); }

/* ---------- 页脚 ---------- */
.footer { background: var(--night); color: var(--night-ink-2); padding-block: 48px calc(32px + env(safe-area-inset-bottom)); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.f-name { color: var(--night-ink); font-weight: 600; }
.f-sub { font-size: 14px; margin-top: 6px; }
.f-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.f-links a { text-decoration: none; }
.f-links a:hover { color: #fff; }
.f-copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--night-line); font-size: 13px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .services, .agents, .support { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .case-modal .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .menu { gap: 18px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .top-cta { margin-left: auto; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px max(24px, env(safe-area-inset-left)) 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .menu a::after { display: none; }
  .menu-login { margin-left: 0; border-bottom: 0 !important; }
  .br-wide { display: none; }
  .stage { aspect-ratio: 16 / 11; }
  .slide { width: 92%; }
  .slide.pos-1 { transform: translateX(-46%) translateY(6%) scale(.9); opacity: 0; }
  .slide.pos-2 { transform: translateX(-54%) translateY(6%) scale(.9); opacity: 0; }
  .prysm, .split, .contact { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px 24px 22px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-modal .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .cases:hover .case:not(:hover) { opacity: 1; filter: none; }
  .cm-pane, .vip { grid-template-columns: minmax(0, 1fr); }
}
/* 手机：去掉耗性能的毛玻璃，弹窗贴近全屏 */
@media (max-width: 860px) {
  .svc, .form, .done, .process { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.92); }
  .case-modal::backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10,10,18,.7); }
  .case-modal { width: calc(100vw - 16px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .cm-inner { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 20px 16px 24px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .cm-close { margin: -4px -4px 0 0; }
  .cm-pane { gap: 18px; }
  .section { padding-block: 64px; }
  .hero { padding-top: 56px; }
  .svc:hover, .case:hover, .models li:hover, .vip-logos li:hover, .facts div:hover, .support li:hover { transform: none; }
}
@media (max-width: 560px) {
  .wrap { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .topbar-in { height: 64px; }
  .logo img { height: 36px; }
  .services, .facts, .support { grid-template-columns: minmax(0, 1fr); }
  .agents { grid-template-columns: minmax(0, 1fr); }
  .agent { height: 180px; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .models ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models li { height: 56px; padding: 0 14px; font-size: 14px; }
  .top-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .win-bar span { max-width: 45%; }
  .win-bar .hint { font-size: 11px; }
  .vip-logos li { font-size: 13px; gap: 8px; border-radius: 14px; }
  .vip-logos img { width: 36px; height: 36px; }
  .dots button { padding: 6px 12px; font-size: 13px; }
}
button, a, .scroll-shot, .agent { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
