/* ============ 基础 ============ */
:root {
  --bg: #070b14;
  --bg-2: #0b1120;
  --panel: rgba(15, 23, 42, .66);
  --line: rgba(148, 163, 184, .14);
  --line-2: rgba(148, 163, 184, .26);
  --text: #e2e8f0;
  --muted: #8b9ab3;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --radius: 16px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--text); font: 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.grad { background: linear-gradient(100deg, var(--cyan), #a78bfa 55%, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: rgba(34, 211, 238, .3); }

/* ============ 按钮 ============ */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 14px 26px; border-radius: 999px; font-weight: 600; letter-spacing: .02em; transition: transform .2s, box-shadow .2s, background .2s; }
.btn i { font-style: normal; transition: transform .2s; }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: linear-gradient(100deg, var(--cyan), var(--violet)); color: #050816; box-shadow: 0 8px 30px -8px rgba(34, 211, 238, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -10px rgba(139, 92, 246, .8); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(15, 23, 42, .5); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ============ 导航 ============ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 11, 20, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 68px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: .04em; }
.brand em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--muted); letter-spacing: .12em; font-family: var(--mono); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 15px; color: #b6c2d6; }
.nav-links a { position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--cyan); transition: right .25s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: .3s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { top: 19px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 19px; transform: rotate(-45deg); }

/* ============ 首屏 ============ */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 40px; overflow: hidden; isolation: isolate; }
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-vignette { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 25% 45%, rgba(7, 11, 20, .82), rgba(7, 11, 20, .25) 70%), linear-gradient(to bottom, rgba(7, 11, 20, .1) 60%, var(--bg)); }
.hero-inner { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: center; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #9fb3cc; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(7, 11, 20, .55); backdrop-filter: blur(6px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
@keyframes blink { 50% { opacity: .3; } }
.hero h1 { font-size: clamp(42px, 7.2vw, 96px); line-height: 1.06; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 22px; text-shadow: 0 4px 40px rgba(7, 11, 20, .6); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: #c3cfe0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-hint { margin-top: 22px; font-size: 13px; color: #6b7a93; font-family: var(--mono); }
.hud { pointer-events: none; font: 12px/1.5 var(--mono); padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(7, 11, 20, .62); backdrop-filter: blur(10px); color: #9fb3cc; }
.hud-head { display: flex; align-items: center; gap: 8px; color: #e2e8f0; letter-spacing: .14em; margin-bottom: 12px; font-weight: 600; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #3ee6a8; box-shadow: 0 0 10px #3ee6a8; }
.hud dl div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px dashed var(--line); }
.hud dt { color: #64748b; } .hud dd { color: #e2e8f0; text-align: right; }
.hud-spark { width: 100%; height: 40px; margin-top: 10px; }
.hud-spark path { fill: none; stroke: var(--cyan); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--line); pointer-events: none; }
.hero-stats div { padding: 22px 0 0; }
.hero-stats b { font: 700 clamp(30px, 3.6vw, 46px)/1 var(--mono); background: linear-gradient(180deg, #fff, #94a3b8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats b::after { content: "+"; font-size: .6em; color: var(--cyan); -webkit-text-fill-color: var(--cyan); margin-left: 2px; }
.hero-stats span { display: block; color: var(--muted); font-size: 14px; margin-top: 8px; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 12px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; border-radius: 2px; background: var(--cyan); transform: translateX(-50%); transition: top .3s; }
.scroll-cue:hover { border-color: var(--cyan); }
.scroll-cue:hover span { top: 18px; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ============ 滚动条 ============ */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { padding: 18px 28px; font: 500 14px var(--mono); color: #7b8ba5; white-space: nowrap; }
.marquee span::before { content: "◆"; color: var(--violet); margin-right: 28px; font-size: 8px; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ 通用区块 ============ */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000, transparent 75%); }
.sec-head { max-width: 760px; margin-bottom: 56px; position: relative; }
.kicker { font: 600 13px var(--mono); letter-spacing: .18em; color: var(--cyan); margin-bottom: 16px; }
h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
.sec-head p:not(.kicker) { color: var(--muted); font-size: 17px; margin-top: 18px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ============ 服务 bento ============ */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { --accent: var(--cyan); position: relative; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; transition: border-color .3s, transform .3s; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%); }
.card:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }
.card-lg { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px;
  background: linear-gradient(180deg, rgba(7, 11, 20, .2), rgba(7, 11, 20, .92) 62%), url(../assets/img/case-mesh.jpg) center/cover; }
.card-wide { grid-column: 1 / -1; }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 22px; background: color-mix(in srgb, var(--accent) 14%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
.tags li { font: 12px var(--mono); padding: 4px 10px; border-radius: 6px; border: 1px solid var(--line-2); color: #a9b7cc; }

/* ============ 技术能力 ============ */
.cap-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; position: relative; }
.cap-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 34px 0 22px; padding: 5px; border: 1px solid var(--line); border-radius: 12px; background: rgba(7, 11, 20, .5); width: fit-content; }
.cap-tabs button { padding: 8px 16px; border-radius: 8px; font-size: 14px; color: var(--muted); transition: .2s; }
.cap-tabs button.active { background: rgba(34, 211, 238, .12); color: var(--cyan); }
.cap-panel { display: none; list-style: none; }
.cap-panel.active { display: block; animation: fade .4s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.cap-panel li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.cap-panel b { color: var(--text); font-weight: 600; }
.code-win { border-radius: 14px; border: 1px solid var(--line-2); background: #060a13; box-shadow: 0 40px 80px -30px rgba(34, 211, 238, .25), 0 0 0 1px rgba(139, 92, 246, .08); overflow: hidden; }
.code-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #0b1120; }
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.code-bar i:nth-child(1) { background: #ef4444; } .code-bar i:nth-child(2) { background: #f59e0b; } .code-bar i:nth-child(3) { background: #22c55e; }
.code-bar span { margin-left: 10px; font: 12px var(--mono); color: var(--muted); }
.code-win pre { font: 13px/1.75 var(--mono); padding: 20px; height: 420px; overflow: hidden; color: #cbd5e1; white-space: pre; }
.code-win .k { color: #c084fc; } .code-win .c { color: #4b5d78; font-style: italic; } .code-win .n { color: #f59e0b; } .code-win .f { color: #22d3ee; }
.cursor { display: inline-block; width: 8px; height: 1.1em; background: var(--cyan); vertical-align: text-bottom; }

/* ============ 行业 ============ */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ind { padding: 34px 30px 38px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .3s; }
.ind:hover { background: linear-gradient(135deg, rgba(34, 211, 238, .07), transparent 70%); }
.ind span { font: 600 13px var(--mono); color: var(--violet); }
.ind h3 { font-size: 22px; margin: 14px 0 10px; }
.ind p { color: var(--muted); font-size: 15px; }

/* ============ 能力展示 ============ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 16px; position: relative; }
.shot { position: relative; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #000; }
.shot-lg { grid-column: span 2; grid-row: span 2; }
.shot-wide { grid-column: span 3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1), filter .6s; filter: saturate(.92); }
.shot:hover img { transform: scale(1.06); filter: saturate(1.15); }
.shot figcaption { position: absolute; inset: auto 0 0; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(4, 7, 14, .92)); display: flex; flex-direction: column; }
.shot figcaption b { font-size: 17px; }
.shot figcaption span { font-size: 13px; color: #9fb3cc; font-family: var(--mono); }

/* ============ 流程 ============ */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; top: 23px; left: 4%; right: 4%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber)); opacity: .5; }
.steps li { counter-increment: s; padding: 0 12px; text-align: center; position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 50%; font: 600 14px var(--mono); background: var(--bg); border: 1.5px solid var(--cyan); color: var(--cyan); box-shadow: 0 0 0 6px var(--bg); position: relative; }
.steps b { font-size: 17px; }
.steps p { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ============ 联系 / 表单 ============ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; position: relative; }
.contact-side h2 { margin-bottom: 16px; }
.ways { display: grid; gap: 12px; margin-top: 34px; }
.way { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); transition: border-color .25s, background .25s; cursor: pointer; }
.way:not([data-way]) { cursor: default; }
.way[data-way]:hover, .way.highlight { border-color: var(--cyan); background: rgba(34, 211, 238, .06); }
.way.highlight { box-shadow: 0 0 0 4px rgba(34, 211, 238, .15); }
.way-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(139, 92, 246, .14); color: #c4b5fd; font-size: 18px; }
.way small { display: block; color: var(--muted); font-size: 12px; }
.way b { font-size: 16px; font-family: var(--mono); font-weight: 600; word-break: break-all; }
.way em { font-style: normal; font-size: 12px; color: #64748b; margin-left: 8px; }
.req-form { padding: 34px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(11, 17, 32, .85); backdrop-filter: blur(10px); display: grid; gap: 18px; box-shadow: 0 40px 100px -40px rgba(139, 92, 246, .35); }
fieldset { border: 0; }
legend, .field > span { font-size: 14px; color: #b6c2d6; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
legend em { font-style: normal; color: #64748b; font-size: 12px; }
.field > span b { color: #f87171; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--text); background: #060a13; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: #f87171; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #a9b7cc; cursor: pointer; transition: .2s; user-select: none; }
.chips input:checked + span { border-color: var(--cyan); background: rgba(34, 211, 238, .12); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); }
.link-btn { margin-left: auto; font-size: 12px; color: var(--cyan); }
.link-btn:hover { text-decoration: underline; }
.agree { font-size: 13px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.agree input { accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-size: 14px; min-height: 1.4em; }
.form-msg.ok { color: #3ee6a8; } .form-msg.err { color: #f87171; }

/* ============ 页脚 ============ */
.footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 10px 30px; align-items: center; justify-content: space-between; }

/* ============ AI 顾问 ============ */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: linear-gradient(100deg, var(--cyan), var(--violet)); color: #050816; font-weight: 700; box-shadow: 0 16px 40px -10px rgba(34, 211, 238, .6); transition: transform .25s, opacity .25s; }
.chat-fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
.chat-fab circle { fill: currentColor; stroke: none; }
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab .pulse { position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--cyan); animation: ring 2.4s 3; opacity: 0; pointer-events: none; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.chat-open .chat-fab { opacity: 0; pointer-events: none; transform: scale(.8); }
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 61; width: 390px; height: min(640px, calc(100vh - 48px)); display: flex; flex-direction: column; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(9, 14, 26, .96); backdrop-filter: blur(16px); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(34, 211, 238, .08); overflow: hidden; transform-origin: bottom right; animation: pop .3s cubic-bezier(.2, .9, .3, 1.2); }
.chat[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(34, 211, 238, .08), rgba(139, 92, 246, .08)); }
.avatar { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 20px var(--mono); color: #050816; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.chat-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.chat-head small i { width: 7px; height: 7px; border-radius: 50%; background: #3ee6a8; }
.chat-close { margin-left: auto; font-size: 26px; line-height: 1; width: 36px; height: 36px; border-radius: 10px; color: var(--muted); }
.chat-close:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: #1e293b transparent; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; animation: fade .3s; }
.msg.bot { align-self: flex-start; background: #111a2e; border: 1px solid var(--line); border-top-left-radius: 4px; }
.msg.user { align-self: flex-end; background: linear-gradient(100deg, rgba(34, 211, 238, .22), rgba(139, 92, 246, .22)); border-top-right-radius: 4px; }
.msg.typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { transform: translateY(-4px); opacity: .4; } }
.rec { align-self: stretch; border: 1px solid rgba(34, 211, 238, .35); border-radius: 14px; padding: 14px; background: rgba(34, 211, 238, .05); animation: fade .4s; }
.rec h4 { font-size: 13px; color: var(--cyan); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.rec p { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.rec-ways { display: grid; gap: 8px; }
.rec-way { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #0b1222; border: 1px solid var(--line); font-size: 14px; text-align: left; transition: border-color .2s; }
.rec-way:hover { border-color: var(--cyan); }
.rec-way.best { border-color: rgba(34, 211, 238, .6); }
.rec-way small { margin-left: auto; font-size: 11px; color: #050816; background: var(--cyan); padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.rec-way code { font-family: var(--mono); color: #fff; }
.rec-form { margin-top: 10px; width: 100%; justify-content: center; padding: 10px; font-size: 14px; }
.chat-quick { display: flex; gap: 8px; padding: 0 18px 10px; overflow-x: auto; scrollbar-width: none; }
.chat-quick button { flex: none; font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #b6c2d6; transition: .2s; }
.chat-quick button:hover { border-color: var(--cyan); color: #fff; }
.chat-input { display: flex; gap: 10px; align-items: flex-end; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.chat-input textarea { flex: 1; resize: none; max-height: 120px; font: inherit; font-size: 14.5px; color: var(--text); background: #060a13; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
.chat-input textarea:focus { outline: none; border-color: var(--cyan); }
.chat-input button { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.chat-input svg { width: 20px; height: 20px; fill: #050816; }

.toast { position: fixed; left: 50%; bottom: 30px; z-index: 80; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 12px; background: #111a2e; border: 1px solid var(--cyan); font-size: 14px; transition: .3s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ 响应式 ============ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hud { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-lg { grid-row: auto; grid-column: span 2; min-height: 320px; }
  .cap-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 820px) {
  .nav-links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; padding: 10px 20px 20px; background: rgba(7, 11, 20, .97); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .3s; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links { transform: none; }
  .nav.open { background: rgba(7, 11, 20, .97); }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; row-gap: 10px; margin-top: 44px; }
  .ind-grid, .gallery { grid-template-columns: 1fr 1fr; }
  .shot-lg { grid-column: span 2; grid-row: span 1; }
  .shot-wide { grid-column: span 2; }
  .gallery { grid-auto-rows: 200px; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .bento, .ind-grid, .gallery, .row { grid-template-columns: 1fr; }
  .card-lg, .card-wide, .shot-lg, .shot-wide { grid-column: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .req-form { padding: 22px; }
  .cap-panel li { grid-template-columns: 1fr; gap: 2px; }
  .code-win pre { font-size: 11.5px; height: 340px; }
  .chat { right: 0; bottom: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .chat-fab b { display: none; }
  .chat-fab { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
}
.shot-wide { grid-row: span 2; background: #070b14; }
.shot-wide img { object-fit: contain; }
.shot-wide:hover img { transform: scale(1.02); }
@media (max-width: 820px) { .shot-wide { grid-row: span 1; } }

/* =========================================================
 * 交互增强：悬停、光斑、倾斜、磁吸按钮、灯箱、阅读进度
 * ========================================================= */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--violet), var(--amber)); }
.spotlight { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(520px circle at var(--sx, 50%) var(--sy, 50%), rgba(34, 211, 238, .055), transparent 60%); }
body.has-pointer .spotlight { opacity: 1; }

/* 按钮：光泽扫过 + 磁吸 */
.btn { position: relative; overflow: hidden; will-change: transform; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transition: left .6s; }
.btn-primary:hover::after { left: 130%; }
.btn-ghost:hover { background: rgba(34, 211, 238, .1); color: #fff; box-shadow: 0 0 0 4px rgba(34, 211, 238, .12); }

/* 导航品牌 */
.brand img { transition: transform .6s cubic-bezier(.2, .9, .3, 1.4); }
.brand:hover img { transform: rotate(120deg) scale(1.08); }

/* 首屏标题悬停：渐变流动 */
.hero h1 .grad { background-size: 200% 100%; background-position: 0 0; transition: background-position 1.2s ease; pointer-events: auto; }
.hero h1 .grad:hover { background-position: 100% 0; }
.hero-stats div { pointer-events: auto; transition: transform .3s; cursor: default; }
.hero-stats div:hover { transform: translateY(-4px); }
.hero-stats div:hover span { color: var(--text); }
.hero-stats span { transition: color .3s; }

/* 服务卡片：渐变描边 + 3D 倾斜 + 图标动效 */
.card { transform-style: preserve-3d; transition: opacity .8s, border-color .3s, transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), var(--accent), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.card:hover::after { opacity: 1; }
.card:hover { box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--accent) 45%, transparent); }
.card-icon { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), background .3s; }
.card:hover .card-icon { transform: translateZ(30px) scale(1.12) rotate(-6deg); background: color-mix(in srgb, var(--accent) 26%, transparent); }
.card h3 { transition: color .3s, transform .35s; }
.card:hover h3 { color: #fff; transform: translateZ(20px); }
.tags li { transition: border-color .2s, color .2s, background .2s, transform .2s; }
.card:hover .tags li { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.tags li:hover { color: #fff; background: color-mix(in srgb, var(--accent) 18%, transparent); transform: translateY(-2px); }
.card-lg { background-size: auto 104%; background-repeat: no-repeat; transition: opacity .8s, background-size 1.2s ease, border-color .3s, transform .35s, box-shadow .35s; }
.card-lg:hover { background-size: auto 116%; }

/* 能力标签与列表 */
.cap-tabs button:hover:not(.active) { color: var(--text); background: rgba(255, 255, 255, .04); }
.cap-panel li { position: relative; transition: padding-left .3s, color .3s, background .3s; }
.cap-panel li::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; background: var(--cyan); transform: translateY(-50%); transition: height .3s; }
.cap-panel li:hover { padding-left: 16px; color: #cbd5e1; background: linear-gradient(90deg, rgba(34, 211, 238, .07), transparent); }
.cap-panel li:hover::before { height: 60%; }
.cap-panel li:hover b { color: var(--cyan); }
.code-win { transition: opacity .8s, transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .4s; }
.code-win:hover { box-shadow: 0 50px 100px -30px rgba(34, 211, 238, .4), 0 0 0 1px rgba(34, 211, 238, .25); }
.code-win pre .ln-hover { background: rgba(34, 211, 238, .08); }

/* 行业：底线展开 + 箭头 */
.ind { overflow: hidden; cursor: default; transition: opacity .8s, transform .8s, background .3s; }
.ind::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--cyan), var(--violet)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.ind:hover::after { transform: scaleX(1); }
.ind span { display: inline-block; transition: transform .4s, color .3s; }
.ind:hover span { transform: scale(1.4); transform-origin: left; color: var(--cyan); }
.ind h3 { transition: transform .4s; }
.ind:hover h3 { transform: translateX(6px); }
.ind p { transition: color .3s; }
.ind:hover p { color: #c3cfe0; }
.ind-arrow { position: absolute; right: 26px; top: 30px; font-style: normal; font-size: 22px; color: var(--cyan); opacity: 0; transform: translate(-12px, 12px) rotate(-45deg); transition: .4s cubic-bezier(.2, .7, .2, 1); }
.ind:hover .ind-arrow { opacity: 1; transform: translate(0, 0) rotate(-45deg); }

/* 能力展示：倾斜 + 说明上滑 + 灯箱 */
.shot { cursor: zoom-in; transition: opacity .8s, transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .4s; }
.shot:hover { border-color: rgba(34, 211, 238, .45); box-shadow: 0 30px 60px -30px rgba(34, 211, 238, .4); }
.shot figcaption { transition: padding .4s; }
.shot figcaption em { font-style: normal; font-size: 12px; color: var(--cyan); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s, margin .4s; }
.shot:hover figcaption { padding-bottom: 20px; }
.shot:hover figcaption em { max-height: 20px; opacity: 1; margin-top: 6px; }
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 40px 70px; background: rgba(3, 6, 12, .92); backdrop-filter: blur(8px); animation: fade .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1400px, 100%); }
.lightbox img { max-height: calc(100vh - 140px); margin: auto; border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .9); animation: pop .35s cubic-bezier(.2, .9, .3, 1.1); }
.lightbox figcaption { text-align: center; margin-top: 14px; color: #b6c2d6; }
.lightbox figcaption b { color: #fff; margin-right: 10px; }
.lb-close { position: absolute; top: 18px; right: 22px; font-size: 34px; width: 48px; height: 48px; border-radius: 12px; color: #cbd5e1; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; font-size: 30px; color: #cbd5e1; border: 1px solid var(--line-2); background: rgba(15, 23, 42, .7); transition: .2s; }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-close:hover, .lb-nav:hover { color: #fff; border-color: var(--cyan); background: rgba(34, 211, 238, .12); }

/* 流程：节点点亮 */
.steps li { cursor: default; }
.steps li::before { transition: background .3s, color .3s, transform .4s cubic-bezier(.2, .9, .3, 1.4), box-shadow .3s; }
.steps li:hover::before { background: var(--cyan); color: #050816; transform: scale(1.15); box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(34, 211, 238, .6); }
.steps b, .steps p { transition: color .3s; }
.steps li:hover b { color: var(--cyan); }
.steps li:hover p { color: #c3cfe0; }

/* 联系方式 */
.way { position: relative; transition: opacity .8s, border-color .25s, background .25s, transform .3s; }
.way[data-way]:hover { transform: translateX(6px); }
.way-ic { transition: transform .4s cubic-bezier(.2, .9, .3, 1.4), background .3s, color .3s; }
.way[data-way]:hover .way-ic { transform: scale(1.1) rotate(-8deg); background: var(--cyan); color: #050816; }
.way-go { margin-left: auto; font-style: normal; color: var(--cyan); opacity: 0; transform: translateX(-10px); transition: .3s; }
.way:hover .way-go { opacity: 1; transform: none; }

/* 表单 */
.chips span:hover { border-color: rgba(34, 211, 238, .6); color: #fff; transform: translateY(-1px); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 163, 184, .45); }

/* 滚动条：悬停暂停、高亮 */
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { transition: color .2s; }
.marquee span:hover { color: var(--cyan); }

/* 页脚 */
.footer .brand:hover { color: var(--cyan); }

@media (hover: none) { .spotlight { display: none; } }
@media (max-width: 1020px) { .card-lg, .card-lg:hover { background-size: cover; } }
