/* ============================================================
   视界流形官网（deepseek-harness 风格）
   设计令牌沿用已验证的 deepseek 复刻：深色底 + #4d6bfe 蓝 + 渐变
   ============================================================ */
:root {
  --bg-page: #0a0a0a;
  --bg-surface-1: hsla(0,0%,100%,.06);
  --bg-surface-2: hsla(0,0%,100%,.04);
  --bg-surface-raised: hsla(0,0%,100%,.84);
  --bg-overlay: #262626;
  --border-default: hsla(0,0%,100%,.1);
  --border-subtle: hsla(0,0%,100%,.08);
  --border-hover: hsla(0,0%,100%,.2);
  --text-primary: #fff;
  --text-secondary: hsla(0,0%,100%,.8);
  --text-description: hsla(0,0%,100%,.56);
  --brand: #4d6bfe;
  --brand-deep: #3a65c2;
  --accent-yellow: #ffbd2e;
  --accent-red: #ff6058;
  --accent-green: #28c840;
  --radius-card: 18px;
  --radius-panel: 22px;
  --radius-media: 13px;
  --radius-pill: 999px;
  --blur-glass: 12px;
  --container: 1120px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Host Grotesk", "Montserrat", "DM Sans", var(--font-sans);
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --nav-h: 64px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: #0a0a0a; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: transparent;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
img { max-width: 100%; display: block; }

/* ---------------- FluxLines 背景 ---------------- */
#flux-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.flux-bg-canvas { display: block; width: 100%; height: 100%; }

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

/* ---------------- 导航 ---------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(10,10,10,.6);
  backdrop-filter: blur(var(--blur-glass)) saturate(160%);
  -webkit-backdrop-filter: blur(var(--blur-glass)) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; flex-shrink: 0; }
.brand-mark { color: var(--brand); display: inline-flex; transition: transform .4s ease; }
.nav-brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { font-size: 18px; letter-spacing: .2px; }
.brand-sub { font-size: 11px; color: var(--text-description); letter-spacing: .18em; margin-left: 2px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--text-secondary); margin-left: 12px; }
.nav-links a { transition: color .2s; position: relative; padding: 4px 2px; }
.nav-links a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: -2px; height: 2px; width: 0; margin: 0 auto; background: linear-gradient(90deg, var(--brand), var(--accent-green)); border-radius: 2px; transition: width .28s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-cta { font-size: 14px; padding: 8px 16px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); transition: .2s; background: var(--brand); border-color: var(--brand); color: #fff; }
.nav-cta:hover { background: var(--brand-deep); border-color: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 10px 26px -10px var(--brand); }
.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; padding: 140px 24px 240px; position: relative; }
.hero-badge { display: inline-block; font-size: 12px; letter-spacing: .12em; color: var(--text-description); border: 1px solid var(--border-default); border-radius: var(--radius-pill); padding: 4px 12px; margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.12; letter-spacing: -.5px; }
.hero-title .grad { background: linear-gradient(112deg, var(--brand) 0%, var(--accent-yellow) 52%, var(--accent-green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: gradShift 6s ease-in-out infinite; }
@keyframes gradShift { 0%,100%{background-position:0% 50%;} 50%{background-position:100% 50%;} }
.hero-sub { margin-top: 26px; font-size: 17px; color: var(--text-secondary); max-width: 30em; }
.hero-sub2 { margin-top: 14px; font-size: 15px; color: var(--text-description); max-width: 32em; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; padding: 11px 22px; border-radius: var(--radius-pill); cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; border: 1px solid transparent; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--text-primary); color: #0a0a0a; }
.btn-primary:hover { background: hsla(0,0%,100%,.85); box-shadow: 0 12px 30px -12px rgba(255,255,255,.4); }
.btn-ghost { border-color: var(--border-default); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--border-hover); background: var(--bg-surface-1); }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-deep); box-shadow: 0 14px 34px -12px var(--brand); }

/* ---- 右侧：项目交付看板 ---- */
.hero-preview { perspective: 1600px; position: relative; }
.hero-preview::before { content: ""; position: absolute; inset: -50px -30px; background: radial-gradient(circle at 50% 38%, rgba(77,107,254,.30), transparent 68%); filter: blur(60px); z-index: -1; animation: glowPulse 7s ease-in-out infinite; }
@keyframes glowPulse { 0%,100%{ opacity:.55; transform: scale(1);} 50%{ opacity:.9; transform: scale(1.06);} }
.delivery-window {
  background: linear-gradient(180deg, hsla(0,0%,100%,.07), hsla(0,0%,100%,.03));
  border: 1px solid var(--border-default);
  border-radius: var(--radius-panel);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.8), inset 0 1px 0 hsla(0,0%,100%,.08);
  overflow: hidden;
  transform: rotateX(2deg);
  animation: floatY 6.5s ease-in-out infinite;
}
@keyframes floatY { 0%,100%{ transform: rotateX(2deg) translateY(0);} 50%{ transform: rotateX(2deg) translateY(-14px);} }
.delivery-titlebar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: var(--accent-red); } .dot-y { background: var(--accent-yellow); } .dot-g { background: var(--accent-green); }
.delivery-title { margin-left: 8px; font-size: 13px; color: var(--text-description); }
.delivery-body { padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; align-items: flex-start; }
.avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--bg-surface-1); display: grid; place-items: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }
.avatar.bot { background: var(--brand); color: #fff; }
.bubble { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 11px 14px; font-size: 14px; color: var(--text-secondary); position: relative; }
.msg-user .bubble { background: var(--bg-surface-raised); color: #0a0a0a; font-weight: 500; }
.think { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--brand); margin-bottom: 6px; }
.think-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100%{opacity:.4;transform:scale(.8);} 50%{opacity:1;transform:scale(1.2);} }
.bot-text { transition: opacity .4s ease; }
.typing { display: none; gap: 4px; position: absolute; left: 14px; bottom: 10px; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--text-description); animation: blink 1.2s infinite both; }
.typing span:nth-child(2) { animation-delay: .2s; }
.typing span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%,80%,100%{opacity:.2;transform:translateY(0);} 40%{opacity:1;transform:translateY(-3px);} }
.delivery-window.is-typing .bot-text { opacity: 0; }
.delivery-window.is-typing .typing { display: flex; }

/* 交付流程步骤 */
.stages { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--border-subtle); border-radius: 12px; background: rgba(0,0,0,.25); padding: 12px; }
.stage { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 5px 4px; border-radius: 8px; }
.stage .s-ico { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.stage.done .s-ico { background: rgba(40,200,64,.2); color: #7ee690; }
.stage.active .s-ico { background: rgba(77,107,254,.25); color: #9db4ff; }
.stage .s-name { color: var(--text-secondary); }
.stage .s-state { margin-left: auto; font-size: 11px; color: var(--text-description); }
.stage.active .s-state { color: var(--brand); }

.deliverables { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.file-card { display: flex; align-items: center; gap: 9px; background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 9px; }
.fw { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #0a0a0a; flex-shrink: 0; }
.fw-mp { background: #4a90d9; color:#fff; } .fw-web { background: #28c840; color:#0a0a0a;} .fw-sys { background: #3178c6; color:#fff; }
.fm { min-width: 0; } .fm b { display: block; font-size: 12px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm small { font-size: 10px; color: var(--text-description); }

.seq { opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease; }
.seq.in { opacity: 1; transform: none; }

.delivery-input { display: flex; align-items: center; gap: 10px; margin: 8px 14px 14px; padding: 10px 14px; background: var(--bg-surface-1); border: 1px solid var(--border-default); border-radius: 12px; }
.delivery-input input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--text-description); font-size: 13px; }
.model-tag { font-size: 11px; color: var(--text-description); white-space: nowrap; }
.model-tag b { color: var(--text-secondary); }

/* ---------------- 通用区块 ---------------- */
section { padding: 256px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(26px, 3vw, 38px); font-weight: 700; text-align: center; letter-spacing: -.3px; }
.section-sub { text-align: center; color: var(--text-description); margin-top: 20px; font-size: 15px; max-width: 38em; margin-left: auto; margin-right: auto; }

/* ---------------- 能力卡片 ---------------- */
.caps { padding-top: 0; }
/* 点击导航“能力”跳转时，顶部留出 100px，避免被吸顶导航遮挡 */
#capabilities { scroll-margin-top: 100px; }
#contact { scroll-margin-top: 300px; }  /* 免费咨询锚点落点：卡片上方 300px */
.cap-grid { margin-top: 144px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cap-card { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 28px; transition: .3s; }
.cap-card:hover { border-color: var(--border-hover); transform: translateY(-6px); background: hsla(0,0%,100%,.09); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.cap-icon { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--brand-deep)); display: grid; place-items: center; margin-bottom: 18px; color: #fff; box-shadow: 0 8px 24px -8px var(--brand); }
.cap-icon svg { display: block; }
.cap-card h3 { font-size: 17px; margin-bottom: 10px; }
.cap-card p { font-size: 14px; color: var(--text-description); }

/* ---------------- 行业预览 ---------------- */
.industries-preview { margin-top: 64px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ip-row { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; background: var(--bg-surface-2); border: 1px solid var(--border-subtle); border-radius: 14px; padding: 22px 10px; transition: .3s; }
.ip-row:hover { border-color: var(--border-hover); background: var(--bg-surface-1); transform: translateY(-5px); }
.ip-icon { color: var(--brand); display: inline-flex; transition: transform .3s ease; }
.ip-row:hover .ip-icon { transform: scale(1.15) translateY(-2px); }
.ip-text { font-size: 13px; color: var(--text-secondary); }

/* ---------------- 交付体验 ---------------- */
.dev { padding-top: 224px; }
.dev-grid { margin-top: 144px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dev-card { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 32px; transition: .3s; }
.dev-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.dev-card h3 { font-size: 18px; margin-bottom: 10px; }
.dev-card p { color: var(--text-description); font-size: 14px; margin-bottom: 20px; }
.code-block { position: relative; display: flex; align-items: center; background: rgba(0,0,0,.4); border: 1px solid var(--border-subtle); border-radius: 10px; padding: 14px 16px; font-family: var(--font-mono); font-size: 13px; color: var(--text-secondary); overflow-x: auto; white-space: pre; transition: border-color .25s; }
.code-block:hover { border-color: var(--border-hover); }
.code-block .prompt { color: var(--accent-green); margin-right: 8px; }
.copy-btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: var(--bg-surface-raised); color: #0a0a0a; border: 0; border-radius: 6px; font-size: 11px; padding: 4px 10px; cursor: pointer; }
.copy-btn:hover { background: #fff; }

/* 流程步骤（交付体验左侧） */
.flow-steps { display: flex; flex-direction: column; gap: 16px; }
.flow-step { display: flex; gap: 14px; align-items: flex-start; }
.flow-num { width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex-shrink: 0; transition: transform .3s ease, box-shadow .3s ease; }
.flow-step:hover .flow-num { transform: scale(1.12); box-shadow: 0 8px 20px -6px var(--brand); }
.flow-step h4 { font-size: 15px; margin-bottom: 2px; }
.flow-step p { font-size: 13px; color: var(--text-description); }

/* ---------------- 加入 / CTA ---------------- */
.join { text-align: center; padding-top: 224px; }
.join .section-sub { max-width: 46em; }

/* ---------------- 页脚 ---------------- */
.footer { border-top: 1px solid var(--border-subtle); padding-top: 128px; margin-top: 224px; background: #080808; }
.footer-inner { display: flex; gap: 48px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand .brand-name { font-size: 20px; }
.footer-brand .brand-name-en { font-size: 12px; letter-spacing: .14em; color: var(--text-description); margin-left: 8px; text-transform: uppercase; }
.footer-desc { color: var(--text-description); margin-top: 10px; font-size: 14px; max-width: 22em; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h4 { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--text-description); font-size: 13px; margin-bottom: 8px; transition: .2s; }
.footer-cols a:hover { color: var(--text-primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 28px 24px; margin-top: 96px; border-top: 1px solid var(--border-subtle); color: var(--text-description); font-size: 12px; }
.footer-legal a:hover { color: var(--text-primary); }

/* ============================================================
   关于页 / 案例页
   ============================================================ */
.page-hero { padding: 140px 24px 176px; text-align: center; position: relative; }
.page-hero::before { content: ""; position: absolute; left: 50%; top: 60px; transform: translateX(-50%); width: 520px; height: 320px; background: radial-gradient(ellipse at center, rgba(77,107,254,.18), transparent 70%); filter: blur(60px); z-index: -1; animation: glowPulse 8s ease-in-out infinite; }
.page-hero .hero-badge { margin-bottom: 22px; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -.5px; }
.page-hero h1 .grad { background: linear-gradient(112deg, var(--brand) 0%, var(--accent-yellow) 52%, var(--accent-green) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% auto; animation: gradShift 6s ease-in-out infinite; }
.page-hero p { margin: 22px auto 0; max-width: 40em; color: var(--text-secondary); font-size: 16px; }

.about-intro { padding-top: 0; }  /* 与 page-hero 文字间距统一由 about-grid 控制 */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 124px; }
.about-card { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 32px; transition: .3s; }
.about-card:hover { border-color: var(--border-hover); transform: translateY(-5px); background: hsla(0,0%,100%,.09); }
.about-card h3 { font-size: 19px; margin-bottom: 14px; }
.about-card p { color: var(--text-description); font-size: 14px; }
.about-card .big-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--brand); line-height: 1; }
.about-card .big-label { color: var(--text-description); font-size: 13px; margin-top: 6px; }

.contact-box { margin-top: 160px; background: linear-gradient(135deg, hsla(228,98%,64%,.12), hsla(0,0%,100%,.04)); border: 1px solid var(--border-default); border-radius: var(--radius-panel); padding: 44px; text-align: center; position: relative; overflow: hidden; }
.contact-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(77,107,254,.16), transparent 60%); pointer-events: none; }
.contact-box h2 { font-family: var(--font-display); font-size: clamp(22px,2.6vw,30px); position: relative; }
.contact-box p { color: var(--text-description); margin: 14px auto 26px; max-width: 34em; position: relative; white-space: nowrap; }
.contact-rows { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 8px; position: relative; }
.contact-rows div { font-size: 14px; color: var(--text-secondary); }
.contact-rows b { color: var(--text-primary); }

/* 案例网格 */
.case-grid { margin-top: 144px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: var(--bg-surface-1); border: 1px solid var(--border-subtle); border-radius: var(--radius-card); padding: 28px; transition: .3s; display: flex; flex-direction: column; }
.case-card:hover { border-color: var(--border-hover); transform: translateY(-6px); background: hsla(0,0%,100%,.09); box-shadow: 0 24px 50px -24px rgba(0,0,0,.7); }
.case-tag { align-self: flex-start; font-size: 11px; letter-spacing: .08em; padding: 4px 10px; border-radius: var(--radius-pill); margin-bottom: 16px; }
.tag-mp { background: rgba(74,144,217,.18); color: #9dc3ff; }
.tag-web { background: rgba(40,200,64,.16); color: #7ee690; }
.tag-sys { background: rgba(49,120,198,.2); color: #9db4ff; }
.case-card h3 { font-size: 18px; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--text-description); flex: 1; }
.case-meta { margin-top: 18px; font-size: 12px; color: var(--text-description); border-top: 1px solid var(--border-subtle); padding-top: 14px; display: flex; justify-content: space-between; }

/* ---------------- 滚动入场动效 ---------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
/* 卡片错峰入场 */
.cap-grid .cap-card:nth-child(2),
.industries-preview .ip-row:nth-child(2),
.dev-grid .dev-card:nth-child(2),
.about-grid .about-card:nth-child(2) { transition-delay: .08s; }
.cap-grid .cap-card:nth-child(3),
.industries-preview .ip-row:nth-child(3),
.about-grid .about-card:nth-child(3) { transition-delay: .16s; }
.cap-grid .cap-card:nth-child(4),
.industries-preview .ip-row:nth-child(4),
.about-card .about-card:nth-child(4) { transition-delay: .24s; }
.industries-preview .ip-row:nth-child(5) { transition-delay: .20s; }
.industries-preview .ip-row:nth-child(6) { transition-delay: .26s; }
.case-grid .case-card:nth-child(2),
.case-grid .case-card:nth-child(5) { transition-delay: .08s; }
.case-grid .case-card:nth-child(3),
.case-grid .case-card:nth-child(6) { transition-delay: .16s; }
.case-grid .case-card:nth-child(4) { transition-delay: .12s; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 96px; padding-bottom: 110px; }
  .cap-grid, .industries-preview { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 96px 24px 120px; }
  .dev-grid, .about-grid, .case-grid { grid-template-columns: 1fr; }
  .industries-preview { grid-template-columns: repeat(3, 1fr); }
  .cap-grid, .about-grid, .case-grid, .dev-grid { margin-top: 72px; }
  section { padding: 120px 0; }
  .dev { padding-top: 120px; }
  .join { padding-top: 120px; }
  .footer { margin-top: 120px; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { display: inline-flex; padding: 7px 14px; font-size: 13px; }
  .nav-burger { display: flex; }
  .brand-sub { display: none; }
  .nav-links.open { display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: rgba(10,10,10,.96); padding: 18px 24px; gap: 16px; border-bottom: 1px solid var(--border-subtle); animation: menuIn .25s ease; }
  .cap-grid, .industries-preview, .case-grid { grid-template-columns: 1fr; }
  .industries-preview { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: column; gap: 32px; }
  section { padding: 88px 0; }
  .cap-grid, .about-grid, .case-grid, .dev-grid { margin-top: 48px; }
  .dev { padding-top: 88px; }
  .join { padding-top: 88px; }
  .footer { margin-top: 88px; padding-top: 72px; }
  .contact-box { margin-top: 64px; padding: 30px 22px; }
  .page-hero { padding: 96px 20px 80px; }
  .hero { padding-bottom: 84px; }
  .hero-actions { gap: 10px; }
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-title .grad, .page-hero h1 .grad, .delivery-window, .hero-preview::before, .page-hero::before, .contact-box::before { animation: none; }
}

/* ---------------- 首页行业模版（类别切换 tabs + 卡片） ---------------- */
.ip-row { cursor: pointer; }
.ip-row.active { border-color: var(--brand); background: var(--bg-surface-1); box-shadow: 0 8px 22px -10px var(--brand); }
.ip-row.active .ip-text { color: var(--text-primary); font-weight: 700; }

.tpl-panel { display: none; }
.tpl-panel.show { display: block; margin-top: 10px; animation: tplFade .3s ease; }
@keyframes tplFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hp-cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hp-cat-head h3 { font-size: 20px; font-weight: 800; position: relative; padding-left: 14px; }
.hp-cat-head h3::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), #36584A); }

.hp-cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.tpl-card { display: block; background: #121212; border: 1px solid #232323; border-radius: var(--radius-card); overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(0,0,0,.45); transition: transform .25s, border-color .25s, box-shadow .25s; }
.tpl-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: 0 18px 44px rgba(77,107,254,.22); }
.tpl-cover { position: relative; aspect-ratio: 16 / 10; background: #1a1206; background-size: cover; background-position: center; background-repeat: no-repeat; }
.tpl-badge { position: absolute; top: 12px; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(4px); white-space: nowrap; }
.tpl-badge-tag { right: 12px; background: #6b6bff; color: #fff; }
.tpl-info { padding: 16px 16px 14px; }
.tpl-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tpl-name { font-size: 17px; font-weight: 700; color: #fff; }
.tpl-code { font-size: 12px; color: var(--text-description); font-variant-numeric: tabular-nums; flex: none; }
.tpl-desc { margin-top: 8px; font-size: 12.5px; color: var(--text-secondary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.tpl-feats { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.tpl-feat { font-size: 11.5px; color: #cfcfcf; background: #1e1e1e; border: 1px solid #343434; border-radius: 8px; padding: 4px 10px; }
.tpl-divider { height: 1px; background: #262626; margin: 13px 0 11px; }
.tpl-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tpl-ver { font-size: 11.5px; color: var(--text-description); }
.tpl-preview { font-size: 12.5px; font-weight: 600; color: #6b6bff; white-space: nowrap; }
.tpl-card:hover .tpl-preview { text-decoration: underline; }
.tpl-viewall { text-align: center; margin-top: 48px; }

/* 模版卡动效：指针弹簧倾斜 + 分类切换入场（tilt-cards.js，纯 CSS 3D，无 WebGL） */
.tpl-card.rc-tilt { transform: perspective(1000px) translate3d(0, var(--rc-lift, 0px), 0) rotateX(var(--rc-rx, 0deg)) rotateY(var(--rc-ry, 0deg)); transition: border-color .25s, box-shadow .25s; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  .tpl-panel.show .rc-tilt { animation: rcFade .45s ease both; }
  .tpl-panel.show .rc-tilt:nth-child(2) { animation-delay: .07s; }
  .tpl-panel.show .rc-tilt:nth-child(3) { animation-delay: .14s; }
}
@keyframes rcFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 920px) {
  .hp-cat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .industries-preview { grid-template-columns: repeat(3, 1fr); }
  .hp-cat-cards { grid-template-columns: 1fr; }
}
