/* 大羽 AIGC 创作台官网 · 样式
   与软件一致：中性暗色、清晰层级、克制高亮。主按钮用软件的杏色，品牌橙只出现在 Logo 和极少的强调处。 */
@font-face { font-family: "PuHuiTi"; src: url("/assets/fonts/puhuiti-400-en.woff2?v=733ad630ad") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "PuHuiTi"; src: url("/assets/fonts/puhuiti-600-en.woff2?v=733ad630ad") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0E0E0F; --bg-2: #121214; --surface: #161618; --raised: #1C1C1F; --overlay: #232326;
  --hover: rgba(255,255,255,.045); --fill: rgba(255,255,255,.06); --fill-2: rgba(255,255,255,.1);
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --text: #F3F2EE; --text-2: #AAA69E; --text-3: #85817A;
  --accent: #D99A70; --accent-hover: #E4A880; --accent-text: #E8B08A; --accent-soft: rgba(217,154,112,.13); --on-accent: #141414;
  --brand: #FF5A1F;
  --sand: #E8DCC0; --blue: #CADCEB; --rose: #EBCFCB; --sage: #D3E0CC;
  --ease: cubic-bezier(.2,.8,.2,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --r-lg: 18px; --r-xl: 24px;
  --font: "PuHuiTi", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Segoe UI", sans-serif;
  --mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; left: -9999px; } .sr:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 32px); } }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.m { display: none; } @media (max-width: 640px) { .m { display: inline; } }

.h1 { font-size: clamp(44px, 7.2vw, 104px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; margin: 0; }
.h2 { font-size: clamp(34px, 5vw, 68px); line-height: 1.1; letter-spacing: -.025em; font-weight: 600; margin: 0; }
.h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.18; letter-spacing: -.02em; font-weight: 600; margin: 0; }
.h1, .h2, .h3 { text-wrap: balance; }
:lang(zh) .h1, :lang(zh) .h2, :lang(zh) .h3 { word-break: keep-all; overflow-wrap: anywhere; }
[lang="en"] .h1 { letter-spacing: -.04em; }
[lang="en"] .pain-grid .h2 { font-size: clamp(32px, 4.2vw, 58px); }
.lead { font-size: clamp(16px, 1.45vw, 19px); color: var(--text-2); margin: 0; text-wrap: pretty; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--accent-text); }
.foot-note { font-size: 12.5px; color: var(--text-3); margin: 0; }
.sec { position: relative; padding: clamp(96px, 13vw, 176px) 0; }
.sec-head { display: grid; gap: 18px; max-width: 920px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; justify-items: center; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s var(--ease), box-shadow .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 30px -10px rgba(217,154,112,.6); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { background: var(--hover); }
.btn-line { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: var(--hover); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* 引导：需要用户点的按钮轻轻呼吸 */
.pulse { animation: pulse 1.8s var(--ease) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(217,154,112,.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(217,154,112,0); } }

/* 进入动画 */
.rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }

/* 导航 */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: 64px; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid, .nav.open { background: rgba(14,14,15,.78); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px); border-color: var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-brand svg { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14px; color: var(--text-2); padding: 8px 12px; border-radius: 8px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--hover); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-ext { display: flex; align-items: center; gap: 2px; padding-right: 10px; border-right: 1px solid var(--line); }
.nav-ext a, .np-ext a { display: inline-flex; align-items: center; gap: 3px; font-size: 13.5px; color: var(--text-2); padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav-ext a:hover, .np-ext a:hover { color: var(--text); background: var(--hover); }
.nav-ext svg, .np-ext svg { width: 13px; height: 13px; opacity: .7; }
.lang-btn { display: inline-flex; align-items: center; font-size: 13px; color: var(--text-2); height: 32px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.lang-btn:hover { color: var(--text); }
.nav-menu { display: none; width: 36px; height: 36px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); place-items: center; align-content: center; gap: 5px; }
.nav-menu i { display: block; width: 14px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.nav-menu[aria-expanded="true"] i:first-child { transform: translateY(3.25px) rotate(45deg); } .nav-menu[aria-expanded="true"] i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.nav-panel { position: absolute; left: 0; right: 0; top: 64px; background: rgba(14,14,15,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 14px 0 22px; }
.nav-panel .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; height: auto; }
.np-links { display: grid; } .np-links a { font-size: 16px; padding: 10px 0; }
.np-ext { display: flex; flex-direction: column; align-items: flex-start; } .np-ext h6 { margin: 12px 0 4px; font-size: 12px; font-weight: 400; color: var(--text-3); } .np-ext a { padding: 10px 0; font-size: 15px; }
@media (max-width: 1180px) { .nav-ext { display: none; } .nav-menu { display: grid; } }
@media (max-width: 860px) { .nav-links { display: none; } .nav-right { margin-left: auto; } }
@media (max-width: 420px) { .nav-brand span { display: none; } .nav-cta { padding: 0 12px; font-size: 13px; } }

/* 首屏 */
.hero { padding: 132px 0 0; overflow: hidden; text-align: center; }
.hero-glow { position: absolute; left: 50%; top: -10%; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(45% 50% at 50% 40%, rgba(217,154,112,.14), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; justify-items: center; gap: 22px; }
.hero-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--text-2); }
.hero-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-note { font-size: 13.5px; color: var(--text-3); margin: 0; }
.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 88px); perspective: 2000px; }
.shot-frame { position: relative; width: min(1320px, 100% - 48px); margin-inline: auto; border-radius: 16px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px var(--line-2), 0 60px 140px -40px rgba(0,0,0,.9), 0 0 120px -40px rgba(217,154,112,.25); transform-origin: 50% 0; }
.shot-frame img { width: 100%; height: auto; }
.hero .shot-frame { transform: rotateX(18deg) scale(.94); transition: transform .1s linear; }
.shot-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(22,22,24,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgba(0,0,0,.4); font-size: 13px; white-space: nowrap; }
.shot-tag b { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.shot-note { display: block; text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-3); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
@media (max-width: 760px) { .shot-tag { display: none; } .hero .shot-frame { width: 150%; margin-left: 4%; } }

/* 痛点：散乱 → 归位 */
.pain-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }
.pain-list { display: grid; gap: 18px; margin-top: 36px; }
.pain-list > div { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.pain-list b { display: block; font-size: 17px; } .pain-list p { margin: 2px 0 0; color: var(--text-2); font-size: 14.5px; }
.pain-list i { width: 28px; height: 28px; border-radius: 8px; background: var(--fill); display: grid; place-items: center; color: var(--text-3); font-style: normal; font-size: 12px; font-family: var(--mono); }
.mess { position: relative; height: 460px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mess .fld { position: absolute; left: 20px; right: 20px; height: 82px; border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); padding: 10px 14px; opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.mess .fld span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.mess .fld span svg { width: 13px; height: 13px; }
.mess.sorted .fld { opacity: 1; transform: none; }
.mess .file { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; background: var(--overlay); box-shadow: 0 0 0 1px var(--line-2), 0 8px 20px rgba(0,0,0,.35); font-size: 12px; font-family: var(--mono); white-space: nowrap; transition: transform 1s var(--ease-io), background .4s, color .4s; will-change: transform; }
.mess .file img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.mess .file.in { background: var(--accent-soft); color: var(--accent-text); }
.mess .ctl { position: absolute; right: 16px; bottom: 14px; display: flex; align-items: center; gap: 12px; z-index: 3; }
.mess .ctl span { font-size: 13px; color: var(--text-2); }

/* 全流程：左侧文字，右侧粘性画面 */
.flow-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); }
.flow-steps { display: grid; }
.step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 24px 0; opacity: .32; transition: opacity .5s; }
.step.on { opacity: 1; }
.step .idx { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--accent-text); font-weight: 600; letter-spacing: .08em; }
.step .idx i { font-style: normal; font-family: var(--mono); color: var(--text-3); }
.step h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.25; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }
.step .mshot { display: none; }
.flow-stage { position: sticky; top: calc(50vh - min(29vw, 340px)); height: fit-content; }
.flow-frame { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #0b0b0c; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(0,0,0,.9); }
.flow-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity .6s var(--ease); }
.flow-frame img.on { opacity: 1; }
.flow-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.flow-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--fill-2); transition: width .3s var(--ease), background .3s; }
.flow-dots i.on { width: 22px; background: var(--accent); }
@media (max-width: 900px) {
  .flow-grid { grid-template-columns: 1fr; } .flow-stage { display: none; }
  .step { min-height: 0; opacity: 1; padding: 32px 0; border-top: 1px solid var(--line); }
  .step .mshot { display: block; margin-top: 12px; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
}

/* 演示卡片通用 */
.demo { position: relative; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -40px rgba(0,0,0,.8); overflow: hidden; }
.demo-foot { margin-top: 14px; }

/* 拖入归位 */
.place { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 560px; }
.gen .big { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; } }
.pl-canvas { position: relative; padding: 22px; background-color: #121214; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; border-right: 1px solid var(--line); display: grid; grid-template-columns: 132px 1fr; gap: 18px 16px; align-content: center; }
@media (max-width: 900px) { .pl-canvas { border-right: 0; border-bottom: 1px solid var(--line); } }
.pl-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-3); }
.pl-bar b { color: var(--text); font-weight: 600; }
.pl-refs { display: grid; gap: 12px; align-content: center; }
.node { border-radius: 12px; background: var(--raised); box-shadow: 0 0 0 1px var(--line-2), 0 12px 30px rgba(0,0,0,.35); overflow: hidden; }
.node header { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; font-size: 11.5px; color: var(--text-2); border-bottom: 1px solid var(--line); }
.node header svg { width: 12px; height: 12px; }
.node .ref { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gen .big { position: relative; aspect-ratio: 16 / 9; background: #000; cursor: grab; }
.gen .big img { width: 100%; height: 100%; object-fit: cover; }
.gen .big:active { cursor: grabbing; }
.gen .grab { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(14,14,15,.72); font-size: 12px; opacity: 0; transition: opacity .2s; pointer-events: none; }
.gen .big:hover .grab { opacity: 1; }
.cands { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px; }
.cands button { position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.cands button img { width: 100%; height: 100%; object-fit: cover; }
.cands button.on { box-shadow: 0 0 0 2px var(--accent); }
.cands button span { position: absolute; left: 4px; top: 3px; font-size: 10px; font-family: var(--mono); color: #fff; text-shadow: 0 1px 2px #000; }
.gen .pr { padding: 0 10px 10px; font-size: 11.5px; color: var(--text-2); line-height: 1.5; }
.gen .pr em { font-style: normal; color: var(--accent-text); }
.wire { position: absolute; pointer-events: none; }
.pl-panel { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.pl-panel h4 { margin: 0 0 2px; font-size: 12.5px; font-weight: 500; color: var(--text-3); }
.tgt { border-radius: 14px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line); padding: 10px 12px 12px; transition: box-shadow .2s, background .2s; }
.tgt.over { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-soft); background: linear-gradient(0deg, var(--accent-soft), var(--accent-soft)), var(--raised); }
.tgt.pick { cursor: pointer; }
.tgt header { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.tgt header b { font-weight: 600; } .tgt header span { font-size: 11px; color: var(--text-3); font-family: var(--mono); margin-left: auto; }
.strip { display: flex; gap: 8px; overflow: hidden; }
.thumb { flex: none; width: 92px; display: grid; gap: 4px; }
.thumb img { width: 92px; height: 58px; object-fit: cover; border-radius: 7px; box-shadow: 0 0 0 1px var(--line); }
.thumb span { font-size: 10.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.new img { box-shadow: 0 0 0 2px var(--accent); animation: pop .5s var(--ease); }
.thumb.new span { color: var(--accent-text); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.pl-hint { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-3); }
.pl-hint .sp { flex: 1; }
.ghost { position: fixed; z-index: 90; left: 0; top: 0; width: 150px; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 2px var(--accent), 0 20px 40px rgba(0,0,0,.6); pointer-events: none; transform-origin: 0 0; }
.ghost img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.toast { position: absolute; left: 50%; top: 16px; transform: translate(-50%, -8px); display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; background: rgba(28,28,31,.95); box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgba(0,0,0,.5); font-size: 13px; opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; white-space: nowrap; z-index: 5; }
.toast svg { width: 15px; height: 15px; color: var(--accent-text); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 900px) { .toast { top: auto; bottom: 74px; } }
.demo .cursor svg { width: 22px; height: 22px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.demo .cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; opacity: 0; transition: opacity .3s; }

/* 剧本格式 */
.script { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 520px; }
@media (max-width: 760px) { .script { grid-template-columns: 1fr; } }
.sc-side { border-right: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-2); }
@media (max-width: 760px) { .sc-side { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; } }
.sc-side button { text-align: left; height: 40px; padding: 0 14px; border-radius: 10px; font-size: 14px; color: var(--text-2); }
.sc-side button.on { background: var(--fill); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.sc-side .ai { margin-top: 10px; background: var(--accent); color: var(--on-accent); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; justify-content: center; }
.sc-side .ai svg { width: 15px; height: 15px; }
.sc-side .ai[disabled] { opacity: .45; cursor: default; }
.paper { position: relative; margin: 24px; padding: clamp(24px, 4vw, 48px); border-radius: 14px; background: #F7F4EE; color: #1B1A18; font-size: 14.5px; line-height: 1.75; font-family: "Courier New", var(--font); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); min-height: 380px; transition: opacity .3s; }
.paper p { margin: 0; }
.paper [data-t=scene] { font-weight: 700; margin-top: 1.6em; } .paper [data-t=scene]:first-child { margin-top: 0; }
.paper.hollywood [data-t=character] { margin: 1em 0 0 36%; font-weight: 700; }
.paper.hollywood [data-t=dialogue] { margin: 0 18% 0 24%; }
.paper.chinese [data-t=character], .paper.hktw [data-t=character] { margin: 1em 0 0; font-weight: 700; }
.paper.chinese [data-t=dialogue], .paper.hktw [data-t=dialogue] { margin: 0 0 .6em; }
.paper.hktw [data-t=action]::before { content: "△ "; }
.paper.raw { font-family: var(--font); color: #3A3833; }
.paper.raw p { margin: 0 0 .5em; }
.paper .typing::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #C2410C; vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 智能体 */
.agent-grid .h2 { font-size: clamp(32px, 3.5vw, 50px); }
.agent-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .agent-grid { grid-template-columns: 1fr; } }
.chat { display: flex; flex-direction: column; height: 560px; background: var(--surface); }
.chat > header { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.chat > header svg { width: 16px; height: 16px; color: var(--accent-text); flex: none; }
.chat > header span { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--text-3); }
.msgs { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.msg-u { align-self: flex-end; max-width: 82%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--overlay); font-size: 14px; box-shadow: inset 0 0 0 1px var(--line-2); }
.msg-a { align-self: flex-start; width: 92%; display: flex; flex-direction: column; gap: 10px; }
.steps-a { display: grid; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--text-2); }
.steps-a div { display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.steps-a div.on { opacity: 1; transform: none; }
.steps-a svg { width: 14px; height: 14px; color: var(--accent-text); flex: none; }
.preview { padding: 14px; border-radius: 12px; background: var(--raised); box-shadow: inset 0 0 0 1px rgba(217,154,112,.4); font-size: 13.5px; display: grid; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.preview.on { opacity: 1; transform: none; }
.preview b { font-size: 12.5px; color: var(--accent-text); font-weight: 600; }
.preview ul { margin: 0; padding-left: 18px; color: var(--text); display: grid; gap: 4px; }
.preview .row { display: flex; gap: 8px; margin-top: 4px; }
.preview .row .btn { height: 32px; font-size: 13px; padding: 0 14px; }
.preview .row .btn.press { transform: scale(.94); }
.done-a { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); padding: 10px 14px; border-radius: 12px; background: rgba(120,190,140,.1); box-shadow: inset 0 0 0 1px rgba(120,190,140,.35); opacity: 0; transition: opacity .4s; }
.done-a.on { opacity: 1; } .done-a svg { width: 15px; height: 15px; color: #8FD3A5; }
.composer { border-top: 1px solid var(--line); padding: 12px 14px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-3); }
.composer .pill { height: 26px; padding: 0 10px; border-radius: 7px; background: var(--fill); display: inline-flex; align-items: center; color: var(--text-2); }
.composer .send { margin-left: auto; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--accent); color: var(--on-accent); font-weight: 600; display: inline-flex; align-items: center; }
.points { display: grid; gap: 22px; margin-top: 34px; }
.points b { display: block; font-size: 17px; margin-bottom: 4px; } .points p { margin: 0; color: var(--text-2); font-size: 14.5px; }

/* 第三方画布 */
.prov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .prov-grid { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { height: 34px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13.5px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }
.chips span:first-child { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(217,154,112,.45); }
.prov-notes { display: grid; gap: 10px; margin-top: 22px; font-size: 13.5px; color: var(--text-3); }
.prov-shot { width: min(100%, 420px); margin-inline: auto; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 40px 100px -30px rgba(0,0,0,.9); }

/* 更多 */
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--line); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .more-grid { grid-template-columns: 1fr; } }
.more-grid div { background: var(--bg); padding: 26px; } .more-grid b { display: block; font-size: 17px; margin-bottom: 6px; } .more-grid p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
@media (max-width: 800px) { .honest { grid-template-columns: 1fr; } }
.honest div { padding: 20px 22px; border-radius: 16px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.honest b { display: block; font-size: 15px; margin-bottom: 4px; } .honest p { margin: 0; font-size: 13.5px; color: var(--text-2); }

/* 申请 */
.apply { overflow: hidden; }
.apply-glow { position: absolute; inset: 0; background: radial-gradient(50% 60% at 50% 100%, rgba(217,154,112,.14), transparent 70%); pointer-events: none; }
.apply-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } }
.steps-ol { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; counter-reset: s; }
.steps-ol li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; counter-increment: s; }
.steps-ol li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--mono); font-size: 15px; color: var(--accent-text); }
.steps-ol b { display: block; font-size: 18px; } .steps-ol p { margin: 2px 0 0; color: var(--text-2); font-size: 15px; }
.qr-card { margin: 0; display: grid; gap: 16px; }
.qr-card > a { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; background: #f4f4f2; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 100px -30px rgba(0,0,0,.85); }
.qr-card img { width: 100%; height: auto; aspect-ratio: 30 / 17; }
.qb { position: absolute; top: 10.8%; width: clamp(26px, 3.4vw, 38px); height: clamp(26px, 3.4vw, 38px); margin: calc(clamp(26px, 3.4vw, 38px) / -2) 0 0 calc(clamp(26px, 3.4vw, 38px) / -2); border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: clamp(14px, 1.6vw, 19px); display: grid; place-items: center; box-shadow: 0 0 0 4px #fff, 0 8px 20px rgba(0,0,0,.35); }
.qb1 { left: 62.6%; } .qb2 { left: 7.6%; }
.qr-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 14px; color: var(--text-2); padding: 0 4px; }
.qr-card figcaption b { color: var(--accent-text); font-weight: 600; }
.qr-card figcaption a { display: inline-flex; align-items: center; gap: 6px; }
.qr-card figcaption a:hover { color: var(--text); }
.qr-card figcaption svg { width: 14px; height: 14px; }
.qr-card .m-only { display: none; }
@media (hover: none) and (pointer: coarse) { .qr-card .m-only { display: block; width: 100%; font-size: 13px; color: var(--text-3); } }

/* 常见问题 */
.faq-list { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-size: 17px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-list summary i::before, .faq-list summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: var(--text-2); transition: transform .3s var(--ease); }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list .a { padding: 0 4px 22px; color: var(--text-2); font-size: 15px; max-width: 720px; }

/* 页脚 */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; }
@media (max-width: 700px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h6 { margin: 0 0 12px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.footer ul a:hover { color: var(--text); }
.footer .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.footer .filing-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.footer .filing-links a { display: inline-flex; align-items: center; min-height: 32px; white-space: nowrap; }
.footer .police-filing { gap: 6px; }
.footer .police-filing img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; }
.footer .brandline { display: grid; gap: 8px; font-size: 13px; color: var(--text-3); }
.footer .brandline b { font-size: 16px; color: var(--text); }

/* 视频弹窗 */
.vmodal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(5,5,6,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.vmodal.on { opacity: 1; pointer-events: auto; }
.vmodal video { width: min(1200px, 100%); aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 40px 120px rgba(0,0,0,.8); }
.vmodal .x { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: var(--fill-2); display: grid; place-items: center; }
.vmodal .x svg { width: 18px; height: 18px; }
.vmodal .vn { position: absolute; bottom: 18px; font-size: 12px; color: var(--text-3); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .hero .shot-frame { transform: none !important; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
