:root {
  --bg: #0E1C38;
  --bg-2: #12264A;
  --bg-3: #0D2240;
  --panel: rgba(255, 255, 255, 0.035);
  --line: rgba(201, 162, 95, 0.18);
  --line-2: rgba(255, 255, 255, 0.07);
  --text: #E6F1FF;
  --muted: #94A3B8;
  --gold: #c9a25f;
  --gold-2: #e8cf9c;
  --gold-soft: rgba(201, 162, 95, 0.12);
  --grad-gold: linear-gradient(135deg, #b98f4e 0%, #e8cf9c 100%);
  --grad-gold-soft: linear-gradient(135deg, #d8b878 0%, #f2ddb0 100%);
  --steel: #6f95d6;
  --radius: 14px;
  --maxw: 1200px;
  --shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.1px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.svg-sprite { display: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px;
  letter-spacing: 0.6px;
  transition: transform .25s, box-shadow .25s, background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn svg { font-size: 18px; }
.btn-primary { background: var(--grad-gold); color: #171307; box-shadow: 0 12px 32px rgba(201, 162, 95, .28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(201, 162, 95, .45); }
.btn-ghost { border: 1px solid rgba(201, 162, 95, .45); color: #e6d6b4; background: rgba(201, 162, 95, .05); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(201, 162, 95, .12); transform: translateY(-2px); color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(6, 9, 16, .82); backdrop-filter: blur(16px); border-bottom-color: var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.nav-inner { display: flex; align-items: center; gap: 30px; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 10px; overflow: hidden; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 162, 95, .22); box-shadow: 0 10px 26px rgba(2, 8, 23, .28);
}
.brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.22; }
.brand-text b { font-size: 17.5px; letter-spacing: 2px; font-weight: 700; }
.brand-text i { font-style: normal; font-size: 11px; color: var(--muted); letter-spacing: .6px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14.5px; color: #b9c2d4; transition: color .2s; position: relative; letter-spacing: .5px; }
.nav-links a:hover { color: var(--gold-2); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 1px; background: var(--grad-gold); transition: width .3s; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #bcd4f0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; padding: 172px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 560px at 10% -10%, rgba(201, 162, 95, .30), transparent 60%),
    radial-gradient(900px 560px at 95% 0%, rgba(201, 162, 95, .26), transparent 62%),
    linear-gradient(180deg, #0A1830, var(--bg));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 26%, #000 26%, transparent 74%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.06fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; color: #e6d6b4; background: rgba(201, 162, 95, .08); border: 1px solid rgba(201, 162, 95, .28); padding: 7px 16px; border-radius: 4px; letter-spacing: 1px; }
.eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 12px var(--gold-2); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.12; letter-spacing: -1.5px; margin: 26px 0 22px; font-weight: 800; color: #eaf2ff; }
.grad { background: var(--grad-gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 16.5px; color: #a6b0c4; max-width: 560px; line-height: 1.8; }
.hero-actions { display: flex; gap: 14px; margin: 34px 0 26px; flex-wrap: wrap; }
.hero-tags { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-tags span { font-size: 12.5px; color: #c2cad9; border: 1px solid var(--line-2); padding: 6px 14px; border-radius: 4px; background: rgba(255,255,255,.02); letter-spacing: .5px; }
.hero-visual { position: relative; }
.hero-glow { position: absolute; inset: -34px -26px auto; height: 74%; background: radial-gradient(closest-side, rgba(201, 162, 95, .28), transparent); filter: blur(46px); z-index: -1; }

/* 浏览器框 */
.browser { background: #070b14; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgba(201,162,95,.08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #0a0f1a; border-bottom: 1px solid var(--line-2); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #c96a5a; } .dot.yellow { background: #c8a86a; } .dot.green { background: #6f9e77; }
.browser-url { margin-left: 14px; font-size: 11.5px; color: #7f8ca4; background: rgba(255,255,255,.04); padding: 4px 14px; border-radius: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; letter-spacing: .3px; }
.browser-view { position: relative; aspect-ratio: 1080 / 580; background: #fff; overflow: hidden; }
.browser-view > img { width: 100%; height: 100%; object-fit: cover; }

/* 架构流程图（真实图片节点） */
.arch { position: relative; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; box-shadow: var(--shadow), 0 0 0 1px rgba(201,162,95,.08); }
.arch-step { display: flex; flex-direction: column; align-items: stretch; }
.arch-node { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); border-radius: 12px; padding: 11px 16px; }
.arch-img { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(201,162,95,.4); background: #0a1426; }
.arch-img img { width: 100%; height: 100%; object-fit: cover; }
.arch-meta { display: flex; flex-direction: column; line-height: 1.3; }
.arch-meta b { font-size: 15px; color: #eaf2ff; font-weight: 700; letter-spacing: .5px; }
.arch-meta span { font-size: 11.5px; color: var(--muted); letter-spacing: .3px; margin-top: 2px; }
.arch-connect { position: relative; height: 30px; display: flex; align-items: center; justify-content: center; }
.arch-connect::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: linear-gradient(180deg, rgba(201,162,95,.55), rgba(201,162,95,.15)); }
.arch-connect::after { content: ""; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%); border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid rgba(201,162,95,.75); }
.arch-connect span { position: relative; z-index: 1; font-size: 11px; color: var(--gold-2); background: var(--bg-2); padding: 2px 10px; border-radius: 10px; border: 1px solid var(--line-2); letter-spacing: 1px; white-space: nowrap; }
.arch-results { display: flex; gap: 10px; margin-top: 4px; }
.arch-chip { flex: 1; text-align: center; font-size: 12.5px; color: #1a1206; font-weight: 700; letter-spacing: .5px; padding: 10px 6px; border-radius: 10px; background: var(--grad-gold-soft); box-shadow: 0 6px 18px rgba(201,162,95,.22); }

/* 数据条 */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(201,162,95,.08), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat b { display: block; font-size: 36px; font-weight: 700; background: var(--grad-gold-soft); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; letter-spacing: -.5px; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: 1px; }

/* 通用 section */
.section { padding: 108px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* 功能介绍 */
.intro-list { display: flex; flex-direction: column; gap: 52px; }
.intro-row { display: flex; align-items: center; gap: 48px; }
.intro-row.is-reverse { flex-direction: row-reverse; }
.intro-media { flex: 0 0 30%; max-width: 30%; }
.intro-media img { width: 100%; height: auto; border-radius: 14px; background: #fff; box-shadow: 0 22px 50px rgba(0,0,0,.45); display: block; }
.intro-media.is-phone { flex: 0 0 auto; max-width: 165px; margin: 0 auto; }
.intro-text { flex: 1; min-width: 0; }
.intro-tag { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--gold); padding: 5px 13px; border: 1px solid rgba(201,162,95,.45); border-radius: 999px; background: rgba(201,162,95,.08); margin-bottom: 14px; }
.intro-text h3 { font-size: 23px; color: #eaf2ff; margin-bottom: 14px; font-weight: 800; letter-spacing: -.4px; }
.intro-text p { font-size: 15.5px; color: var(--muted); line-height: 1.95; max-width: 640px; }
.intro-text ul { list-style: none; margin: 16px 0 0; display: flex; flex-direction: column; gap: 9px; }
.intro-text li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.intro-text li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.section-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.kicker::before, .kicker::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { background: linear-gradient(90deg, var(--gold), transparent); }
.section-head h2 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 16px; color: #eaf2ff; }
.section-head p { color: var(--muted); font-size: 15.5px; line-height: 1.8; }

/* 核心能力 */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform .35s, border-color .35s, box-shadow .35s; position: relative; overflow: hidden;
}
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px 170px at 82% -18%, rgba(201,162,95,.20), transparent 70%); opacity: 0; transition: opacity .35s; }
.feature:hover { transform: translateY(-6px); border-color: rgba(201,162,95,.5); box-shadow: 0 28px 60px rgba(0,0,0,.5); }
.feature:hover::before { opacity: 1; }
.feature-ico { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(201,162,95,.28); margin-bottom: 20px; }
.feature-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: .3px; color: #eaf2ff; }
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* 在线演示 */
.demo-tabs { display: flex; justify-content: center; gap: 14px; margin-bottom: 40px; }
.demo-tab { display: inline-flex; align-items: center; gap: 9px; padding: 12px 26px; border-radius: 6px; border: 1px solid var(--line-2); color: #b9c2d4; font-weight: 600; letter-spacing: .6px; transition: .28s; }
.demo-tab svg { width: 18px; height: 18px; }
.demo-tab:hover { color: #fff; border-color: rgba(201,162,95,.5); }
.demo-tab.active { background: var(--grad-gold); color: #171307; border-color: transparent; box-shadow: 0 12px 30px rgba(201,162,95,.3); }
.demo-pane { display: none; }
.demo-pane.active { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.demo-stage { display: flex; justify-content: center; }
.demo-browser { width: 100%; max-width: 980px; position: relative; }
.demo-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s; margin: 0; }
.demo-slide.active { opacity: 1; }
.demo-slide img { width: 100%; height: 100%; object-fit: cover; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(7,11,20,.82); border: 1px solid rgba(201,162,95,.35); color: #e8cf9c; font-size: 26px; line-height: 1; display: grid; place-items: center; z-index: 5; backdrop-filter: blur(6px); transition: .25s; }
.car-btn:hover { background: var(--grad-gold); color: #171307; border-color: transparent; }
.car-btn.prev { left: 16px; } .car-btn.next { right: 16px; }
.demo-thumbs { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.demo-thumbs button { width: 116px; border-radius: 6px; overflow: hidden; border: 1px solid var(--line-2); opacity: .5; transition: .28s; padding: 0; background: #070b14; }
.demo-thumbs button img { width: 100%; aspect-ratio: 1080/580; object-fit: cover; }
.demo-thumbs button.active, .demo-thumbs button:hover { opacity: 1; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(201,162,95,.4); }
.demo-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; letter-spacing: .3px; }

/* 手机框 */
.phone { position: relative; width: 288px; aspect-ratio: 9 / 19.3; background: #04060c; border: 11px solid #141b2a; border-radius: 44px; box-shadow: var(--shadow), inset 0 0 0 1px rgba(201,162,95,.12); overflow: hidden; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 116px; height: 24px; background: #04060c; border-radius: 14px; z-index: 4; }
.phone-view { position: absolute; inset: 0; background: #fff; }
.phone-view .demo-slide img { object-fit: cover; }
.phone .car-btn { width: 34px; height: 34px; font-size: 20px; }
.phone .car-btn.prev { left: 6px; } .phone .car-btn.next { right: 6px; }

/* 截图画廊 */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #070b14; cursor: zoom-in; transition: transform .35s, border-color .35s, box-shadow .35s; }
.shot:hover { transform: translateY(-5px); border-color: rgba(201,162,95,.55); box-shadow: 0 24px 54px rgba(0,0,0,.55); }
.shot img { width: 100%; aspect-ratio: 1080/580; object-fit: cover; transition: transform .6s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 13px; font-size: 13px; color: #e6d6b4; background: linear-gradient(transparent, rgba(4,6,12,.92)); letter-spacing: .6px; }

/* 文档 */
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card { display: flex; gap: 15px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); transition: .3s; }
.doc-card:hover { border-color: rgba(201,162,95,.5); background: rgba(201,162,95,.06); transform: translateY(-4px); }
.doc-ico { flex: 0 0 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-2); border: 1px solid rgba(201,162,95,.28); }
.doc-ico svg { width: 24px; height: 24px; }
.doc-body { min-width: 0; flex: 1; }
.doc-body h3 { font-size: 15.5px; margin-bottom: 5px; color: #eaf2ff; letter-spacing: .2px; }
.doc-body p { font-size: 12.8px; color: var(--muted); margin-bottom: 10px; line-height: 1.6; }
.doc-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #8a96ad; }
.doc-meta .dl { display: inline-flex; align-items: center; gap: 5px; color: var(--gold-2); font-weight: 600; letter-spacing: .4px; }
.doc-meta .dl svg { width: 15px; height: 15px; }

/* 角色 */
.roles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.role { padding: 40px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), transparent); text-align: center; transition: .35s; }
.role:hover { border-color: rgba(201,162,95,.5); transform: translateY(-5px); box-shadow: 0 26px 56px rgba(0,0,0,.45); }
.role-ico { width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 20px; display: grid; place-items: center; background: var(--grad-gold); color: #171307; }
.role-ico svg { width: 28px; height: 28px; }
.role h3 { font-size: 19px; margin-bottom: 10px; color: #eaf2ff; }
.role p { color: var(--muted); font-size: 14.5px; line-height: 1.8; }

/* CTA */
.cta { padding: 84px 0; background: radial-gradient(760px 340px at 18% 0%, rgba(201,162,95,.28), transparent 62%), var(--bg-2); border-top: 1px solid var(--line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 10px; color: #eaf2ff; letter-spacing: -.5px; }
.cta p { color: var(--muted); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.cta-qr { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.cta-qr-img { width: 104px; height: 104px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; background: #fff; padding: 6px; }
.cta-qr-img img, .cta-qr-img canvas { display: block; width: 100% !important; height: 100% !important; }
.cta-qr-text { display: flex; flex-direction: column; gap: 6px; max-width: 190px; }
.cta-qr-text b { font-size: 15px; color: #eaf2ff; }
.cta-qr-text span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* 页脚 */
.footer { background: var(--bg-3); border-top: 1px solid var(--line); padding: 62px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 38px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: 13.5px; margin-top: 16px; letter-spacing: .4px; }
.footer-col h4 { font-size: 13.5px; margin-bottom: 16px; color: #e6d6b4; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; color: #6f7b90; font-size: 12.5px; letter-spacing: .4px; }

/* 灯箱 */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(3, 5, 10, .95); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lb-figure { max-width: 92vw; text-align: center; }
.lb-figure img { max-width: 92vw; max-height: 82vh; border-radius: 8px; border: 1px solid rgba(201,162,95,.3); box-shadow: var(--shadow); }
.lb-figure figcaption { color: #e6d6b4; font-size: 14px; margin-top: 16px; letter-spacing: 1px; }
.lb-close { position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,95,.3); display: grid; place-items: center; }
.lb-close svg { width: 22px; height: 22px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,95,.3); font-size: 30px; line-height: 1; display: grid; place-items: center; color: #e8cf9c; }
.lb-nav:hover, .lb-close:hover { background: var(--grad-gold); color: #171307; border-color: transparent; }
.lb-nav.prev { left: 26px; } .lb-nav.next { right: 26px; }

/* 动效 */
.reveal { opacity: 1; transform: none; transition: opacity .8s ease, transform .8s ease; }
body.js-anim .reveal { opacity: 0; transform: translateY(28px); }
body.js-anim .reveal.in { opacity: 1; transform: none; }

/* 响应式 */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 132px; }
  .feature-grid, .gallery-grid, .docs-grid, .roles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(6,9,16,.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); padding: 10px 26px 22px; margin: 0; transform: translateY(-135%); transition: transform .3s; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-2); }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .docs-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
  .feature-grid, .gallery-grid, .docs-grid, .roles-grid { grid-template-columns: 1fr; }
  .intro-row, .intro-row.is-reverse { flex-direction: column; gap: 22px; }
  .intro-media, .intro-media.is-phone { flex: none; max-width: 100%; }
  .intro-media.is-phone { max-width: 220px; margin: 0 auto; }
  .section { padding: 74px 0; }
  .demo-thumbs button { width: 86px; }
  .phone { width: 250px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
  .cta-btns { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox { padding: 16px; }
  .hero h1 { letter-spacing: -.8px; }
}

/* ===== 申请免费部署表单 ===== */
.apply { background: linear-gradient(180deg, var(--bg-3), var(--bg)); border-top: 1px solid var(--line); }
.apply .section-head p b { color: var(--gold-2); font-weight: 700; }
.apply-card {
  max-width: 760px; margin: 38px auto 0;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow), 0 0 0 1px rgba(201,162,95,.08);
}
.apply-form { display: flex; flex-direction: column; gap: 18px; }
.apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apply-field { display: flex; flex-direction: column; gap: 8px; }
.apply-field label { font-size: 13.5px; color: #e6d6b4; letter-spacing: .3px; }
.apply-field label i { color: var(--gold-2); font-style: normal; margin-left: 2px; }
.apply-field input,
.apply-field textarea {
  width: 100%; font-size: 14.5px; color: var(--text);
  background: rgba(7, 11, 20, .6); border: 1px solid var(--line-2);
  border-radius: 10px; padding: 13px 15px; outline: none;
  transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.apply-field input::placeholder,
.apply-field textarea::placeholder { color: var(--muted); }
.apply-field input:focus,
.apply-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 95, .18);
}
.apply-field textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.apply-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.apply-actions .btn-primary { min-width: 150px; justify-content: center; }
.apply-hint { font-size: 13.5px; letter-spacing: .3px; }
.apply-hint.is-success { color: #5fd38a; }
.apply-hint.is-error { color: #ff8a8a; }
@media (max-width: 640px) {
  .apply-card { padding: 22px; }
  .apply-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
