/* ============================================================
   allxianfei.com  全站设计系统 v1.0
   蓝白科技风 · 原创实现
   结构参考行业站点通行模式：吸顶大导航 / 全屏轮播 / 光效
   ============================================================ */
:root {
  --blue: #1e5eff;
  --blue-deep: #0f47d8;
  --cyan: #12b8ff;
  --ink: #10192b;
  --ink-2: #3d4a61;
  --muted: #8a94a8;
  --bg: #f3f6fb;
  --card: #ffffff;
  --line: #e3e9f4;
  --dark: #050d1c;
  --dark-2: #0a1730;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 40, 90, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 40, 90, 0.14);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
i { font-style: normal; }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 40px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  transition: all .25s var(--ease); position: relative; overflow: hidden;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(30,94,255,.35); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(30,94,255,.45); }
.btn-primary::after { /* 光扫过按钮 */
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .6s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-outline { border: 1px solid var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost { border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.14); }
.btn-lg { padding: 15px 34px; font-size: 15px; }
.arrow { transition: transform .25s; display: inline-block; }
.btn:hover .arrow, .more-link:hover .arrow { transform: translateX(4px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.9); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(16,40,90,.08); }
.header-inner { max-width: 1560px; margin: 0 auto; padding: 0 32px; height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; font-weight: 800; font-size: 17px; font-style: italic;
  display: flex; align-items: center; justify-content: center;
  font-family: "Arial Black", sans-serif; letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(30,94,255,.35);
}
.brand-text { line-height: 1.22; }
.brand-text strong { display: block; font-size: 16px; }
.brand-text small { font-size: 9.5px; color: var(--muted); letter-spacing: .4px; }

.main-nav { display: flex; gap: 4px; flex: 1; margin-left: 8px; }
.main-nav > .nav-item { position: relative; }
.main-nav > .nav-item > a {
  display: block; padding: 26px 14px; font-size: 15px; color: var(--ink-2); position: relative;
}
.main-nav > .nav-item > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease);
}
.main-nav > .nav-item > a:hover, .main-nav > .nav-item.active > a { color: var(--blue); }
.main-nav > .nav-item:hover > a::after, .main-nav > .nav-item.active > a::after { transform: scaleX(1); }

/* mega 菜单 */
.mega {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%) translateY(10px);
  width: 720px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); padding: 26px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  opacity: 0; visibility: hidden; transition: all .28s var(--ease);
}
.nav-item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col b { display: block; font-size: 13px; color: var(--muted); margin-bottom: 10px; font-weight: 600; }
.mega-col a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); }
.mega-col a:hover { color: var(--blue); }
.mega-feature {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, rgba(30,94,255,.06), rgba(18,184,255,.06));
  border-radius: 12px; padding: 12px 18px;
}
.mega-feature img { width: 92px; height: 64px; object-fit: contain; }
.mega-feature strong { font-size: 14px; display: block; }
.mega-feature small { color: var(--muted); font-size: 12px; }

.header-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--bg); color: var(--blue); }
.lang-btn { border: 0; background: transparent; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.menu-toggle { display: none; }

/* ---------- 首页 Hero 轮播 ---------- */
.hero {
  position: relative; overflow: hidden; min-height: 660px;
  background:
    radial-gradient(1200px 560px at 64% 28%, rgba(30,94,255,.10), transparent 60%),
    radial-gradient(820px 420px at 18% 82%, rgba(18,184,255,.10), transparent 65%),
    linear-gradient(165deg, #ffffff 0%, #eef3fa 45%, #e5edf9 100%);
}
.hero-bg-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .5; mix-blend-mode: luminosity; pointer-events: none;
}
.hero::before { /* 顶部光带 */
  content: ""; position: absolute; top: -180px; left: 30%; width: 700px; height: 380px;
  background: radial-gradient(ellipse, rgba(18,184,255,.22), transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.hero-slides { position: relative; }
.hero-slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.05fr 1.15fr .8fr; gap: 24px; align-items: center;
  max-width: 1560px; margin: 0 auto; padding: 62px 32px 30px;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease); pointer-events: none;
}
.hero-slide.on { position: relative; opacity: 1; visibility: visible; pointer-events: auto; }
.hero-slide.on .hero-copy > * { animation: rise .8s var(--ease) both; }
.hero-slide.on .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.on .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.on .hero-copy > *:nth-child(4) { animation-delay: .22s; }
.hero-slide.on .hero-copy > *:nth-child(5) { animation-delay: .3s; }
.hero-slide.on .hero-visual img { animation: floatIn 1s var(--ease) both .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); }
.hero-badge i { color: #c6cfdd; margin: 0 6px; }
.hero-copy h1 { font-size: 54px; line-height: 1.16; font-weight: 800; letter-spacing: 1px; }
.t-blue { color: var(--blue); }
.hero-features { margin-top: 20px; font-size: 16px; color: var(--ink-2); }
.hero-features i { color: #c6cfdd; margin: 0 10px; }
.hero-en { margin-top: 8px; font-size: 12px; letter-spacing: 2.4px; color: var(--muted); }
.hero-ctas { margin-top: 30px; display: flex; gap: 16px; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 440px; }
.stage { position: absolute; inset: auto 0 4% 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.stage-glow { width: 68%; height: 90px; border-radius: 50%; background: radial-gradient(ellipse, rgba(30,94,255,.28), transparent 70%); filter: blur(8px); }
.stage-ring { border: 1px solid rgba(30,94,255,.3); border-radius: 50%; position: absolute; bottom: 0; animation: ringPulse 4s ease-in-out infinite; }
.stage-ring.r1 { width: 76%; height: 110px; }
.stage-ring.r2 { width: 56%; height: 82px; bottom: 12px; animation-delay: 1s; }
@keyframes ringPulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.hero-visual img { position: relative; z-index: 2; max-height: 430px; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(10,25,60,.25)); }

.hero-side { display: flex; flex-direction: column; gap: 18px; }
.tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(30,94,255,.1); color: var(--blue); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.flagship-name { font-size: 38px; font-weight: 800; }
.flagship-name em { font-style: normal; color: #ff8a00; font-size: 19px; vertical-align: super; }
.flagship-sub { color: var(--ink-2); margin: 6px 0 12px; font-size: 15px; }
.check-list { list-style: none; }
.check-list li { position: relative; padding: 5px 0 5px 26px; font-size: 14px; color: var(--ink-2); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 50%;
  font-size: 11px; background: rgba(30,94,255,.12); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.more-link { color: var(--blue); font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; margin-top: 10px; }
.more-link.sm { font-size: 13px; margin: 0; }

.industry-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; }
.industry-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.industry-head h3 { font-size: 16px; }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.industry-item { font-size: 12px; color: var(--ink-2); text-align: center; }
.industry-item:hover { color: var(--blue); }
.thumb { display: block; aspect-ratio: 4/3; border-radius: 8px; margin-bottom: 6px; background-size: cover; background-position: center; transition: transform .3s var(--ease); }
.industry-item:hover .thumb { transform: translateY(-3px); }
.th-1 { background: linear-gradient(140deg, #ff9a56, #4a2f66); }
.th-2 { background: linear-gradient(140deg, #274b8f, #0f2a55); }
.th-3 { background: linear-gradient(140deg, #2f7fb8, #123a5c); }
.th-4 { background: linear-gradient(140deg, #3556a8, #101d3f); }

/* 轮播控制 */
.hero-ctrl { position: absolute; left: 32px; bottom: 218px; display: flex; align-items: center; gap: 18px; z-index: 5; }
.pager-num { font-size: 26px; font-weight: 700; color: var(--ink-2); }
.pager-num small { font-size: 13px; color: var(--muted); font-weight: 400; }
.pager-dots { display: flex; gap: 10px; }
.pager-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: #c9d3e2; cursor: pointer; transition: all .3s; }
.pager-dots button.on { background: var(--blue); width: 52px; }

/* 数据带 + 产品矩阵（首屏底部） */
.hero-bottom { position: relative; max-width: 1560px; margin: 0 auto; padding: 10px 32px 36px; display: grid; grid-template-columns: 460px 1fr; gap: 24px; z-index: 4; }
.stats-panel {
  background: linear-gradient(135deg, var(--blue), #3f7dff 60%, var(--cyan));
  border-radius: var(--radius); color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 22px 26px; gap: 8px;
  box-shadow: 0 14px 34px rgba(30,94,255,.35);
}
.stats-panel::after { content:""; position: absolute; top: -60%; right: -20%; width: 60%; height: 220%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.14), transparent); transform: skewX(-18deg); animation: sweep 5.5s ease-in-out infinite; }
@keyframes sweep { 0%, 55% { right: 110%; } 85%, 100% { right: -60%; } }
.stat { text-align: center; }
.stat strong { display: block; font-size: 26px; font-weight: 800; }
.stat strong i { font-size: 16px; }
.stat span { font-size: 12px; opacity: .85; }

.matrix-panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px 20px; }
.matrix-title { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
.matrix-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.matrix-card { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px; transition: all .25s var(--ease); background: #fff; }
.matrix-card:hover { border-color: var(--blue); box-shadow: 0 10px 24px rgba(30,94,255,.14); transform: translateY(-3px); }
.matrix-card.current { border-color: var(--blue); background: rgba(30,94,255,.04); }
.m-thumb { width: 64px; height: 52px; border-radius: 8px; flex: none; object-fit: contain; background: #f2f5fa; padding: 4px; }
.m-info { flex: 1; min-width: 0; }
.m-info strong { display: block; font-size: 14px; }
.m-info small { font-size: 11px; color: var(--muted); }
.m-arrow { width: 26px; height: 26px; border-radius: 50%; flex: none; background: rgba(30,94,255,.1); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---------- 通用 section ---------- */
section.block { padding: 92px 0; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.sec-head .kicker { display: inline-block; font-size: 13px; letter-spacing: 3px; color: var(--blue); font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.sec-head h2 { font-size: 38px; font-weight: 800; line-height: 1.25; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.sec-head.light h2 { color: #fff; }
.sec-head.light p { color: rgba(255,255,255,.55); }

/* 滚动显现 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* 产品卡 */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.prod-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: all .3s var(--ease); position: relative; display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(30,94,255,.4); }
.prod-card .ph { aspect-ratio: 4/3; background: radial-gradient(120% 100% at 50% 0%, #ffffff, #e8eef7); display: flex; align-items: center; justify-content: center; padding: 18px; position: relative; overflow: hidden; }
.prod-card .ph::after { content: ""; position: absolute; left: -70%; top: 0; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.prod-card:hover .ph::after { left: 140%; }
.prod-card .ph img { max-height: 82%; object-fit: contain; transition: transform .4s var(--ease); }
.prod-card:hover .ph img { transform: scale(1.06); }
.prod-card .info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.prod-card h3 { font-size: 18px; margin-bottom: 6px; }
.prod-card p { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip { font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(30,94,255,.08); color: var(--blue); }

/* 解决方案卡 */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sol-card { position: relative; border-radius: 16px; overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; background-size: cover; background-position: center; }
.sol-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,13,28,.05) 30%, rgba(5,13,28,.85)); transition: background .3s; }
.sol-card:hover::before { background: linear-gradient(180deg, rgba(30,94,255,.15) 20%, rgba(5,13,28,.9)); }
.sol-card .txt { position: relative; padding: 24px; transform: translateY(8px); transition: transform .3s var(--ease); }
.sol-card:hover .txt { transform: none; }
.sol-card h3 { font-size: 20px; margin-bottom: 8px; }
.sol-card p { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.7; }
.sol-card .go { margin-top: 12px; font-size: 13px; color: var(--cyan); opacity: 0; transition: opacity .3s; }
.sol-card:hover .go { opacity: 1; }
.sg-1 { background-image: linear-gradient(140deg, #35130a, #0d2242); }
.sg-2 { background-image: linear-gradient(140deg, #0c2c56, #061226); }
.sg-3 { background-image: linear-gradient(140deg, #0d3a63, #04101f); }
.sg-4 { background-image: linear-gradient(140deg, #14285e, #070f22); }
.sg-5 { background-image: linear-gradient(140deg, #1f1440, #06101f); }
.sg-6 { background-image: linear-gradient(140deg, #05303a, #04101c); }

/* ---------- 暗色科技区 ---------- */
.dark-block { background: radial-gradient(1000px 500px at 70% 0%, rgba(30,94,255,.16), transparent 60%), var(--dark); color: #fff; position: relative; overflow: hidden; }
.dark-block::before { content: ""; position: absolute; left: -10%; bottom: -30%; width: 55%; height: 80%; background: radial-gradient(ellipse, rgba(18,184,255,.12), transparent 65%); filter: blur(20px); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.tech-card { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: 16px; padding: 28px 24px; transition: all .3s var(--ease); position: relative; overflow: hidden; }
.tech-card:hover { transform: translateY(-5px); border-color: rgba(18,184,255,.5); background: rgba(255,255,255,.07); }
.tech-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); opacity: 0; transition: opacity .3s; }
.tech-card:hover::after { opacity: 1; }
.tech-num { font-size: 34px; font-weight: 800; background: linear-gradient(120deg, #7db4ff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tech-card h3 { font-size: 17px; margin: 12px 0 8px; }
.tech-card p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.8; }

/* 3D 展示区 */
.viewer-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.viewer-box { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; position: relative; }
.viewer-box model-viewer { width: 100%; height: 480px; background: transparent; }
.viewer-tabs { display: flex; gap: 10px; margin-top: 18px; }
.viewer-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: rgba(255,255,255,.7); font-size: 13px; cursor: pointer; transition: all .25s; }
.viewer-tabs button.on, .viewer-tabs button:hover { border-color: var(--cyan); color: #fff; background: rgba(18,184,255,.12); }

/* 新闻卡 */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; transition: all .3s var(--ease); }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card time { font-size: 12px; color: var(--muted); letter-spacing: 1px; }
.news-card h3 { font-size: 17px; line-height: 1.5; margin: 12px 0 10px; }
.news-card p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.news-card .cat { display: inline-block; margin-bottom: 12px; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(30,94,255,.08); color: var(--blue); }

/* CTA */
.cta-band { background: linear-gradient(120deg, var(--blue), #3f7dff 55%, var(--cyan)); border-radius: 22px; padding: 58px 60px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; position: relative; overflow: hidden; box-shadow: 0 22px 50px rgba(30,94,255,.35); }
.cta-band::after { content:""; position: absolute; top: -70%; left: -10%; width: 40%; height: 240%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent); transform: skewX(-18deg); animation: sweep 6s ease-in-out infinite; }
.cta-band h2 { font-size: 32px; margin-bottom: 10px; }
.cta-band p { opacity: .85; font-size: 15px; }
.cta-band .btn { background: #fff; color: var(--blue); flex: none; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.18); }

/* ---------- 子页通用 ---------- */
.page-hero { position: relative; padding: 84px 0 66px; overflow: hidden;
  background: radial-gradient(900px 420px at 70% 10%, rgba(30,94,255,.12), transparent 60%), linear-gradient(160deg, #fff, #e9f0fa); }
.page-hero h1 { font-size: 42px; font-weight: 800; }
.page-hero .sub { color: var(--muted); margin-top: 12px; font-size: 15.5px; max-width: 640px; line-height: 1.8; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split.rev { direction: rtl; }
.split.rev > * { direction: ltr; }
.split .pic { border-radius: 18px; overflow: hidden; background: radial-gradient(120% 100% at 50% 0%, #ffffff, #e6edf7); box-shadow: var(--shadow); padding: 22px; }
.split .pic img { object-fit: contain; max-height: 380px; margin: 0 auto; }
.split h3 { font-size: 27px; margin-bottom: 14px; }
.split p { color: var(--ink-2); line-height: 1.9; font-size: 15px; }

/* 规格表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.spec-table th, .spec-table td { padding: 13px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 220px; color: var(--muted); font-weight: 500; background: #f8fafd; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }

/* FAQ 折叠 */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; color: var(--blue); font-size: 20px; transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .a { padding: 0 22px 18px; color: var(--ink-2); font-size: 14px; line-height: 1.8; }

/* 表单 */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 7px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,94,255,.12); }

/* 时间线 */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: linear-gradient(180deg, var(--blue), rgba(30,94,255,.1)); }
.tl-item { position: relative; padding: 0 0 30px 22px; }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 0 0 4px rgba(30,94,255,.15); }
.tl-item b { font-size: 16px; color: var(--blue); }
.tl-item p { color: var(--ink-2); font-size: 14px; margin-top: 6px; line-height: 1.8; }

/* 浮动工具 / 页脚 */
.float-tools { position: fixed; right: 22px; bottom: 90px; z-index: 150; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 62px; border: 0; cursor: pointer; border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 11px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.float-btn.consult { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(30,94,255,.4); }
.float-btn.consult:hover { background: var(--blue-deep); }
.float-btn.top { background: #fff; color: var(--ink-2); box-shadow: var(--shadow); display: none; }

.site-footer { background: var(--dark); color: rgba(255,255,255,.6); margin-top: 90px; }
.footer-main { max-width: 1480px; margin: 0 auto; padding: 64px 40px 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-main h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-main a { display: block; padding: 5px 0; font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer-main a:hover { color: var(--cyan); }
.f-brand p { font-size: 13px; line-height: 1.9; margin-top: 14px; max-width: 300px; }
.f-contact li { list-style: none; font-size: 13.5px; padding: 5px 0; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.09); }
.footer-bar .inner { max-width: 1480px; margin: 0 auto; padding: 20px 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: rgba(255,255,255,.4); }

/* ---------- 响应式 ---------- */
@media (max-width: 1280px) {
  .hero-slide { grid-template-columns: 1fr 1fr; }
  .hero-side { grid-column: 1 / -1; flex-direction: row; }
  .hero-bottom { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .viewer-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 1500px) and (min-width: 881px) {
  .matrix-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .wrap { padding: 0 22px; }
  .main-nav { display: none; position: fixed; top: 74px; left: 0; right: 0; bottom: 0; overflow: auto;
    background: #fff; flex-direction: column; padding: 18px 28px; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav > .nav-item > a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav > .nav-item > a::after { display: none; }
  .mega { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 8px 0 14px; grid-template-columns: 1fr 1fr; display: none; }
  .nav-item.open .mega { display: grid; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 8px; }
  .menu-toggle span { width: 20px; height: 2px; background: var(--ink); transition: all .3s; }
  .lang-btn, .header-actions .btn-outline { display: none; }
  .hero-slide { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy h1 { font-size: 34px; }
  .hero-side { flex-direction: column; }
  .hero-ctrl { position: static; padding: 10px 22px; }
  .stats-panel { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .matrix-grid, .prod-grid, .sol-grid, .news-grid, .tech-grid { grid-template-columns: 1fr 1fr; }
  .split, .form-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 28px; }
  .cta-band { flex-direction: column; text-align: center; padding: 40px 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .matrix-grid, .prod-grid, .sol-grid, .news-grid, .tech-grid { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 13.5px; }
  .header-inner { height: 68px; padding: 0 16px; gap: 12px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav { top: 68px; }
  .admin-bar .main-nav { top: 114px; }
}

/* ---------- WordPress 集成 ---------- */
.site-content { min-height: 45vh; }
.main-nav > .menu { display: flex; align-items: stretch; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-nav > .menu > .nav-item { position: relative; list-style: none; }
.main-nav > .menu > .nav-item > a { display: block; padding: 26px 14px; font-size: 15px; color: var(--ink-2); position: relative; }
.main-nav > .menu > .nav-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 16px; height: 2px; background: var(--blue); border-radius: 2px; transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav > .menu > .nav-item > a:hover,
.main-nav > .menu > .nav-item.active > a,
.main-nav > .menu > .nav-item.current-menu-ancestor > a { color: var(--blue); }
.main-nav > .menu > .nav-item > a:hover::after,
.main-nav > .menu > .nav-item.active > a::after,
.main-nav > .menu > .nav-item.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .sub-menu { display: none; position: absolute; z-index: 20; left: 0; top: 68px; min-width: 210px; margin: 0; padding: 10px; list-style: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-lg); }
.main-nav .nav-item:hover > .sub-menu,
.main-nav .nav-item:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-size: 14px; }
.main-nav .sub-menu a:hover { color: var(--blue); background: var(--bg); }
.brand-logo .custom-logo-link { display: flex; }
.brand-logo .custom-logo { width: auto; max-width: 150px; max-height: 46px; }
.admin-bar .site-header { top: 32px; }
.xf-article .wrap { max-width: 880px; }
.xf-article p { margin: 0 0 1.4em; line-height: 1.9; }
.xf-article h2, .xf-article h3 { margin: 1.8em 0 .7em; }
.xf-article img { max-width: 100%; height: auto; border-radius: 16px; }
.form-ok.is-error { color: #b42318 !important; }
.xf-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; z-index: 9999; padding: 10px 16px; background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 8px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(30,94,255,.35); outline-offset: 3px; }

@media (max-width: 880px) {
  .site-header { backdrop-filter: none; }
  .main-nav { position: absolute; top: 74px; bottom: auto; height: calc(100vh - 74px); height: calc(100dvh - 74px); z-index: 210; }
  .main-nav > .menu { width: 100%; flex-direction: column; align-items: stretch; }
  .main-nav > .menu > .nav-item > a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav > .menu > .nav-item > a::after { display: none; }
  .main-nav .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 16px; }
  .admin-bar .main-nav { top: 106px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 560px) {
  .main-nav { top: 68px; height: calc(100vh - 68px); height: calc(100dvh - 68px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  model-viewer { --poster-color: transparent; }
}

/* ============================================================
   v1.1 视觉增强层（2026-07-17）
   叠加于 v1.0 之上：字阶 / 视差 / 光效 / 质感 / 节奏
   ============================================================ */

/* --- 全局质感 --- */
::selection { background: rgba(30,94,255,.85); color: #fff; }
body { text-rendering: optimizeLegibility; }

/* 流式字阶：大屏更有气势，小屏自适应 */
.hero-copy h1 { font-size: clamp(38px, 4.4vw, 62px); letter-spacing: 0; line-height: 1.12; }
.sec-head h2 { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.5px; }
.page-hero h1 { font-size: clamp(34px, 3.4vw, 50px); letter-spacing: -.5px; }
.sec-head .kicker { letter-spacing: 4px; }

/* --- 顶部滚动进度条 --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 400; pointer-events: none;
}
.admin-bar .scroll-progress { top: 32px; }

/* --- 导航吸顶收缩 --- */
.site-header, .header-inner { transition: box-shadow .3s, height .3s var(--ease), background .3s; }
.site-header.scrolled { background: rgba(255,255,255,.86); }
.site-header.scrolled .header-inner { height: 62px; }
.site-header.scrolled .main-nav > .menu > .nav-item > a,
.site-header.scrolled .main-nav > .nav-item > a { padding-top: 20px; padding-bottom: 20px; }
@media (max-width: 880px) { .site-header.scrolled .header-inner { height: 68px; } }

/* --- Hero：网格底纹 + 极光漂移 + 产品悬浮 --- */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(30,94,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,94,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 100%);
}
.hero-aurora {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  filter: blur(70px); opacity: .5; pointer-events: none; z-index: 0;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}
.hero-aurora.a1 { top: -180px; right: 6%; background: radial-gradient(circle, rgba(18,184,255,.28), transparent 65%); }
.hero-aurora.a2 { bottom: -220px; left: -4%; background: radial-gradient(circle, rgba(30,94,255,.24), transparent 65%); animation-delay: -9s; }
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(-60px, 40px, 0) scale(1.15); }
}
.hero-slide.on .hero-visual img {
  animation: floatIn 1s var(--ease) both .15s, heroBob 7s ease-in-out infinite 1.5s;
}
@keyframes heroBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* --- 数据带：渐变流动 --- */
.stats-panel { background-size: 200% 200%; animation: gradFlow 12s ease infinite; }
@keyframes gradFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* --- 滚动显现升级：位移+模糊聚焦 --- */
.reveal { transform: translateY(40px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); will-change: opacity, transform, filter; }
.reveal.in { filter: blur(0); }

/* --- 产品卡：辉光边 + 深层阴影 --- */
.prod-card { will-change: transform; }
.prod-card:hover {
  box-shadow: 0 24px 60px rgba(16,40,90,.16), 0 0 0 1px rgba(30,94,255,.35), 0 0 34px rgba(30,94,255,.12);
}
.prod-card .ph img { filter: drop-shadow(0 14px 22px rgba(10,25,60,.16)); }
.prod-card .info h3 { transition: color .25s; }
.prod-card:hover .info h3 { color: var(--blue); }

/* --- 方案卡：背景微缩放 + 箭头引导 --- */
.sol-card { isolation: isolate; }
.sol-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: inherit; background-size: cover; background-position: center;
  transition: transform .6s var(--ease);
}
.sol-card:hover::after { transform: scale(1.06); }
.sol-card .go .arrow { display: inline-block; transition: transform .3s; }
.sol-card:hover .go .arrow { transform: translateX(4px); }

/* --- 暗区：星尘网格 + 卡片辉光焦点 --- */
.dark-block::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(120,170,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000, transparent 100%);
}
.tech-card { --mx: 50%; --my: 50%; }
.tech-card:hover { box-shadow: 0 18px 44px rgba(0,10,40,.5); }
.tech-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(280px circle at var(--mx) var(--my), rgba(18,184,255,.12), transparent 65%);
}
.tech-card:hover::before { opacity: 1; }

/* --- 子页 hero 同步质感 --- */
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30,94,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,94,255,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(75% 80% at 60% 30%, #000, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 80% at 60% 30%, #000, transparent 100%);
}

/* --- 图文区图片视差容器 --- */
.split .pic { overflow: hidden; }
.split .pic img { transition: none; will-change: transform; }

/* --- 表格 / 新闻卡 / FAQ 微打磨 --- */
.spec-table tbody tr { transition: background .2s; }
.spec-table tbody tr:hover td, .spec-table tbody tr:hover th { background: rgba(30,94,255,.035); }
.news-card { position: relative; overflow: hidden; }
.news-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--cyan)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.news-card:hover::before { transform: scaleX(1); }
.faq-item { transition: border-color .25s, box-shadow .25s; }
.faq-item[open] { border-color: rgba(30,94,255,.45); box-shadow: 0 8px 24px rgba(30,94,255,.08); }

/* --- 按钮按压反馈 --- */
.btn:active { transform: translateY(0) scale(.97); }

/* --- 细滚动条（桌面端 webkit） --- */
@media (min-width: 881px) {
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: #eef2f8; }
  ::-webkit-scrollbar-thumb { background: #c3cede; border-radius: 6px; border: 2px solid #eef2f8; }
  ::-webkit-scrollbar-thumb:hover { background: #9fb0c9; }
}

/* --- 降噪：尊重减少动效偏好 --- */
@media (prefers-reduced-motion: reduce) {
  .hero-aurora, .stats-panel { animation: none !important; }
  .reveal { filter: none !important; }
  .scroll-progress { display: none; }
}

/* ============================================================
   微信分享模块 v1（2026-07-17，当前仅首页启用）
   ============================================================ */
.float-btn.xf-wechat-share { background: #fff; color: var(--ink-2); box-shadow: var(--shadow); border: 1px solid var(--line); cursor: pointer; }
.float-btn.xf-wechat-share svg { flex: none; }
.float-btn.xf-wechat-share:hover { border-color: #07C160; color: #07C160; transform: translateY(-2px); }
.float-btn.xf-wechat-share.copied { background: #07C160; border-color: #07C160; color: #fff; }
.float-btn.xf-wechat-share.copied svg path { fill: #fff; }
.xf-toast {
  position: fixed; left: 50%; bottom: 46px; z-index: 500; pointer-events: none;
  transform: translateX(-50%) translateY(16px); opacity: 0;
  background: rgba(16,25,43,.94); color: #fff; font-size: 14px; line-height: 1.5;
  padding: 12px 24px; border-radius: 999px; max-width: 86vw; text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.xf-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.xf-share-manual { position: fixed; inset: 0; z-index: 600; background: rgba(5,13,28,.55); display: flex; align-items: center; justify-content: center; padding: 20px; }
.xf-share-manual .box { background: #fff; border-radius: 14px; padding: 24px; width: 100%; max-width: 440px; box-shadow: var(--shadow-lg); }
.xf-share-manual p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.xf-share-manual input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; color: var(--ink); }
.xf-share-manual .close { margin-top: 14px; width: 100%; padding: 11px; border: 0; border-radius: 10px; background: var(--blue); color: #fff; font-size: 14px; cursor: pointer; }
@media (max-width: 560px) { .xf-toast { bottom: 76px; } }

/* ---------- 微信分享 v2：PC hover 气泡 + 移动弹窗按钮 ---------- */
.xf-share-wrap { position: relative; display: flex; }
.xf-share-pop {
  position: absolute; right: calc(100% + 14px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  width: 202px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 14px 12px; text-align: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 160;
}
.xf-share-pop::after { content: ""; position: absolute; left: 100%; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left-color: #fff; }
.xf-share-wrap:hover .xf-share-pop, .xf-share-wrap:focus-within .xf-share-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.xf-share-pop img { display: block; width: 170px; height: 170px; margin: 0 auto 8px; }
.xf-share-pop p { font-size: 12px; color: var(--muted); line-height: 1.7; margin: 0; }
.xf-share-manual .wx-send {
  display: block; width: 100%; padding: 13px; border: 0; border-radius: 10px;
  background: #07C160; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; margin-bottom: 10px;
}
.xf-share-manual .wx-send:active { opacity: .85; }
.xf-share-manual .copy-link {
  display: block; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; margin-bottom: 6px;
}
.xf-share-manual .close.plain { background: transparent; color: var(--muted); font-size: 13px; margin-top: 2px; }

/* ---------- 微信分享 v2.1：移动端轻量底部面板（点外部即关） ---------- */
.xf-share-manual.xf-share-sheet { background: rgba(5,13,28,.12); align-items: flex-end; padding: 0; }
.xf-share-sheet .box {
  max-width: none; width: 100%; border-radius: 18px 18px 0 0;
  padding: 20px 22px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 40px rgba(16,40,90,.18);
  animation: xfSheetUp .28s var(--ease) both;
}
@keyframes xfSheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- 微信分享 v2.2：移动端点击弹出气泡 + 悬浮按钮单行修正 ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.float-tools .float-btn { width: auto; min-width: 62px; white-space: nowrap; }
.xf-share-wrap.open .xf-share-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); pointer-events: auto; }
.xf-share-wrap:hover .xf-share-pop, .xf-share-wrap:focus-within .xf-share-pop { pointer-events: auto; }
.xf-share-pop .wx-send-mini {
  margin-top: 10px; width: 100%; padding: 11px; border: 0; border-radius: 8px;
  background: #07C160; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
}
.xf-share-pop .wx-send-mini:active { opacity: .85; }
@media (max-width: 880px) {
  .xf-share-pop { width: 188px; padding: 12px 12px 10px; }
  .xf-share-pop img { width: 160px; height: 160px; }
}
/* 允许微信内长按二维码弹出原生菜单（识别图中二维码/保存/转发） */
.xf-share-pop img { pointer-events: auto; -webkit-touch-callout: default; -webkit-user-select: auto; user-select: auto; }

/* v2.3：移动端提示条移到顶部，避免遮挡二维码气泡文字 */
@media (max-width: 880px) {
  .xf-toast { bottom: auto; top: 20px; transform: translateX(-50%) translateY(-16px); }
  .xf-toast.show { transform: translateX(-50%) translateY(0); }
}
/* v2.4：移动端气泡去 transform（微信内核下 transform 容器内图片长按识别会延迟到松手才弹出） */
@media (max-width: 880px) {
  .xf-share-pop {
    top: auto; bottom: 0; transform: none;
    transition: opacity .22s var(--ease), visibility .22s;
  }
  .xf-share-wrap.open .xf-share-pop, .xf-share-wrap:hover .xf-share-pop { transform: none; }
}
