/* ═══════════════════════════════════════════════════════════
   嗨信IM · 官网 UI 样式
   想改主色调：改 :root 里的变量即可
   想改玻璃强度：调 --glass-blur / --glass-alpha
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #05060b;
  --text: #f5f7fc;
  --muted: #9aa4b8;
  --muted-2: #636e83;

  /* 品牌渐变 */
  --c-cyan: #37d4ff;
  --c-blue: #3b82f6;
  --c-violet: #8b5cf6;
  --c-pink: #f472b6;
  --grad: linear-gradient(100deg, #37d4ff 0%, #5b8cff 30%, #a78bfa 62%, #f472b6 100%);
  --grad-btn: linear-gradient(135deg, rgba(59, 130, 246, .95), rgba(139, 92, 246, .95));

  /* 玻璃材质 */
  --glass-alpha: 0.09;
  --glass-blur: 22px;
  --glass-line: rgba(255, 255, 255, 0.14);
  --glass-bg: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.035) 45%, rgba(255,255,255,0.06));

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max: 1180px;
  --nav-h: 62px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 18px);
}

body {
  background:
    radial-gradient(120% 75% at 50% -8%, #111c47 0%, transparent 58%),
    radial-gradient(90% 60% at 100% 15%, #24124a 0%, transparent 55%),
    radial-gradient(80% 55% at 0% 85%, #2a0f3c 0%, transparent 55%),
    linear-gradient(180deg, #070a1c 0%, #0b0a24 45%, #130a26 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 全站淡科技网格 + 星云光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 88% 12%, rgba(38, 170, 255, 0.20), transparent 60%),
    radial-gradient(55% 45% at 8% 82%, rgba(168, 85, 247, 0.20), transparent 60%),
    radial-gradient(45% 40% at 50% 100%, rgba(255, 60, 150, 0.12), transparent 60%),
    linear-gradient(rgba(140, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 130, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 46px 46px, 46px 46px;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
::selection { background: rgba(90, 140, 255, .45); }

/* ── 滚动条 ── */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: #05060b; }
::-webkit-scrollbar-thumb { background: #20273a; border-radius: 9px; border: 2px solid #05060b; }

/* ── 顶部进度条 ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 200;
}

/* ════════════════ 玻璃按钮（全局可复用） ════════════════ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.055));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  backdrop-filter: blur(var(--glass-blur)) saturate(160%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -12px 24px rgba(255, 255, 255, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}

.btn::before { /* 顶部高光扫过 */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,0.28) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 16px 42px rgba(80, 130, 255, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.35);
}

.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(.97); }

.btn svg { width: 17px; height: 17px; }

.btn-sm { height: 38px; padding: 0 20px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 34px; font-size: 17px; }

.btn-accent {
  border-color: rgba(160, 190, 255, 0.35);
  background: linear-gradient(180deg, rgba(120, 170, 255, 0.42), rgba(100, 90, 255, 0.26));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -14px 26px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(160, 190, 255, 0.15),
    0 10px 34px rgba(70, 120, 255, 0.35);
}

.btn-accent:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 36px rgba(90, 150, 255, 0.5),
    0 18px 46px rgba(70, 120, 255, 0.4);
}

/* ════════════════ 导航 ════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background .5s var(--ease), backdrop-filter .5s, border .5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 10, 18, 0.5);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}

.nav-inner {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand b { font-weight: 900; background: linear-gradient(120deg, var(--c-cyan), var(--c-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 8px 22px rgba(90, 120, 255, .4), inset 0 1px 1px rgba(255,255,255,.5), inset 0 -6px 12px rgba(0,0,0,.15);
}

.brand-mark svg { width: 19px; height: 19px; }
.brand-img { overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 40px; height: 40px; position: relative; border-radius: 50%; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.8px;
  background: #fff; border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ════════════════ Hero ════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 26px) 24px 84px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .8;
  mix-blend-mode: screen;
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-a { width: 55vw; height: 55vw; min-width: 500px; min-height: 500px; left: -18vw; top: -28vh; background: radial-gradient(circle at 40% 40%, rgba(0, 190, 255, .68), transparent 60%); }
.orb-b { width: 46vw; height: 46vw; min-width: 440px; min-height: 440px; right: -14vw; top: 4vh; background: radial-gradient(circle at 55% 45%, rgba(160, 80, 255, .62), transparent 62%); animation-delay: -6s; }
.orb-c { width: 40vw; height: 40vw; min-width: 380px; min-height: 380px; left: 30vw; bottom: -32vh; background: radial-gradient(circle at 50% 50%, rgba(255, 40, 150, .5), transparent 62%); animation-delay: -11s; }
.orb-d { width: 36vw; height: 36vw; min-width: 340px; min-height: 340px; right: 16vw; bottom: -22vh; background: radial-gradient(circle at 50% 50%, rgba(255, 168, 40, .45), transparent 62%); animation-delay: -15s; }

/* 旋转彩色光晕 */
.color-wash {
  position: absolute;
  inset: -22%;
  background: conic-gradient(from 90deg at 50% 50%,
    rgba(0, 180, 255, 0.15),
    rgba(150, 80, 255, 0.17),
    rgba(255, 45, 165, 0.15),
    rgba(0, 210, 220, 0.13),
    rgba(0, 180, 255, 0.15));
  filter: blur(70px);
  mix-blend-mode: screen;
  animation: washSpin 26s linear infinite;
}
@keyframes washSpin {
  to { transform: rotate(360deg); }
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, -3vh, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 4vh, 0) scale(.95); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(120, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 130, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, #000 25%, transparent 74%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, #000 25%, transparent 74%);
}

/* 粒子连线画布 */
.tech-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 1;
}

/* 透视发光网格地面 */
.tech-floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -3%;
  height: 52%;
  z-index: 1;
  background:
    linear-gradient(rgba(72, 190, 255, 0.34) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 90, 255, 0.34) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(620px) rotateX(63deg);
  transform-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 42%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 42%);
  animation: gridScroll 4.5s linear infinite;
}

@keyframes gridScroll {
  to { background-position: 0 46px, 0 0; }
}

/* 扫描光束 */
.scanline {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.scanline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18%;
  height: 160px;
  background: linear-gradient(180deg, transparent, rgba(90, 210, 255, 0.20), rgba(255, 80, 190, 0.12), transparent);
  animation: scanBeam 7s ease-in-out infinite;
}
@keyframes scanBeam {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(120vh); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  color: #cbd5e6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 28px;
}

.dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: ping 2s infinite; }

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero h1 {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.01;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.grad-text {
  background: var(--grad);
  background-size: 230% 230%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 6s ease-in-out infinite;
}

.grad-text-2 {
  background: linear-gradient(100deg, var(--c-cyan), var(--c-violet) 60%, var(--c-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes gradFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  max-width: 540px;
  margin-top: 26px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  line-height: 1.85;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-2); }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 20px;
  width: 1px; height: 44px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.55), transparent);
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint {
  0% { opacity: 0; transform: translateX(-50%) scaleY(0); transform-origin: top; }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) scaleY(1); transform-origin: top; }
}

/* ── Hero 视觉（手机） ── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1400px;
}

.scene { position: relative; width: 320px; transform-style: preserve-3d; }

.glass-frame {
  position: relative;
  border-radius: 54px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(155deg, rgba(255,255,255,.14), rgba(255,255,255,.05) 36%, rgba(255,255,255,.09));
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,.35),
    inset 0 -18px 40px rgba(0,0,0,.2),
    0 70px 130px rgba(0,0,0,.5);
}

.phone { width: 306px; margin: 0 auto; padding: 10px; border-radius: 54px; transition: transform .2s ease-out; will-change: transform; }

.phone-screen {
  position: relative;
  height: 580px;
  border-radius: 46px;
  overflow: hidden;
  background:
    radial-gradient(130% 60% at 18% 0%, rgba(55, 180, 255, .2), transparent 55%),
    radial-gradient(120% 60% at 85% 100%, rgba(160, 100, 255, .18), transparent 55%),
    linear-gradient(180deg, #0a0e19, #070a13 60%, #0a0c16);
  display: flex;
  flex-direction: column;
}

.glass-shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 28%),
    radial-gradient(60% 30% at 50% 0%, rgba(255,255,255,.08), transparent 70%);
}

.phone-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255,255,255,.92);
}
.p-notch {
  position: absolute;
  left: 50%; top: 9px;
  transform: translateX(-50%);
  width: 100px; height: 25px;
  border-radius: 16px;
  background: #000;
}
.p-status { font-size: 10px; letter-spacing: .02em; opacity: .8; }

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.avatar {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.av-a { background: linear-gradient(135deg, #38bdf8, #8b5cf6); box-shadow: 0 0 0 3px rgba(139,92,246,.25), 0 8px 20px rgba(56,130,246,.4); }
.chat-head b { display: block; font-size: 14px; line-height: 1.3; }
.chat-head small { font-size: 10.5px; color: #34d399; }
.more { color: #8b96ad; letter-spacing: 2px; padding: 4px; }

.chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 20px 14px 10px;
  overflow: hidden;
}
.chat-body.scrollable { overflow-y: auto; scrollbar-width: none; }
.chat-body.scrollable::-webkit-scrollbar { display: none; }

.bubble {
  max-width: 82%;
  padding: 8px 13px;
  font-size: 12.5px;
  line-height: 1.55;
  border-radius: 17px 17px 17px 4px;
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  white-space: pre-line;
  color: #eef3fb;
  animation: riseIn .5s var(--ease) both;
}
.bubble.me {
  align-self: flex-end;
  border-radius: 17px 17px 4px 17px;
  background: linear-gradient(135deg, rgba(56,130,246,.92), rgba(139,92,246,.9));
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(80,110,255,.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.bubble .time { display: block; margin-top: 3px; font-size: 9px; opacity: .55; }

.typing-bubble {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 13px 15px;
  border-radius: 17px 17px 17px 4px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}
.typing-bubble i { width: 5px; height: 5px; border-radius: 50%; background: #cbd5e6; animation: blinkDot 1.2s infinite; }
.typing-bubble i:nth-child(2) { animation-delay: .18s; }
.typing-bubble i:nth-child(3) { animation-delay: .36s; }
@keyframes blinkDot { 0%, 60%, 100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

.caret { display: inline-block; width: 1.6px; height: 12px; margin-left: 2px; background: #fff; vertical-align: -2px; animation: caret 0.7s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.chat-input {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 12px 12px;
  padding: 7px 9px;
  border-radius: 22px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.plus, .send {
  width: 27px; height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #c7d2e5;
  background: rgba(255,255,255,.08);
}
.send { background: linear-gradient(135deg, #3b82f6, #8b5cf6); color: #fff; }
.send svg { width: 13px; height: 13px; }
.say { flex: 1; font-size: 11px; color: rgba(255,255,255,.4); }

.float-chip {
  --fc-glow: rgba(110, 190, 255, 0.38);
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 9px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(150, 180, 255, 0.35);
  background: linear-gradient(180deg, rgba(22, 30, 56, 0.96), rgba(30, 18, 54, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    inset 0 -12px 24px rgba(0,0,0,.28),
    0 16px 36px rgba(0,0,0,.4),
    0 0 24px var(--fc-glow);
  will-change: transform;
  pointer-events: none;
  user-select: none;
}
.fc-ico {
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 5px 14px rgba(0,0,0,.3);
}
.fc-ico svg { width: 13px; height: 13px; }
.fc-1 { top: 7%; right: -7%; --fc-glow: rgba(56, 205, 255, .5); }
.fc-1 .fc-ico { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.fc-2 { top: 42%; left: -16%; --fc-glow: rgba(190, 130, 255, .5); }
.fc-2 .fc-ico { background: linear-gradient(135deg, #a78bfa, #d946ef); }
.fc-3 { bottom: 7%; right: -5%; --fc-glow: rgba(255, 140, 210, .46); }
.fc-3 .fc-ico { background: linear-gradient(135deg, #f472b6, #fb923c); }

/* ════════════════ 跑马灯 ════════════════ */
.marquee {
  overflow: hidden;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.014);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track span { font-size: 13.5px; font-weight: 600; letter-spacing: .3em; color: var(--muted); }
.marquee-track i { font-style: normal; color: rgba(255,255,255,.15); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ════════════════ Section 通用 ════════════════ */
.section { max-width: var(--max); margin: 0 auto; padding: 130px 24px; }
.split { padding-block: 150px; }
.split.reverse .split-grid { direction: rtl; }
.split.reverse .split-grid > * { direction: ltr; }

.split-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.split-copy { padding-right: 12px; }

.kicker {
  display: inline-block;
  padding: 7px 16px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid var(--glass-line);
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #bfd6ff;
}

.split-copy h2, .section-head h2 {
  font-size: clamp(34px, 4.3vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.split-copy > p {
  margin-top: 24px;
  max-width: 540px;
  color: var(--muted);
  font-size: 17px;
}

.check-list { margin-top: 34px; display: flex; flex-direction: column; gap: 24px; }
.check-list li { display: flex; gap: 15px; }
.check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  color: #08101f;
  background: linear-gradient(135deg, #67e8f9, #8b5cf6);
  box-shadow: 0 0 0 5px rgba(120, 200, 255, .1), 0 6px 16px rgba(80, 120, 255, .3);
}
.check-list b { display: block; font-size: 16.5px; letter-spacing: -.01em; }
.check-list p { margin-top: 3px; font-size: 14px; color: var(--muted); }

/* ── 毛玻璃大面板 ── */
.glass-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.028) 45%, rgba(255,255,255,.05));
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 46px 100px rgba(0,0,0,.45);
  border-radius: 30px;
  overflow: hidden;
}

.split-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  transform: translateZ(0);
  transition: transform .6s var(--ease);
}

.gp-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.03);
}
.gp-bar .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; }
.gp-bar .dot.r { background: #ff5f57; }
.gp-bar .dot.y { background: #febc2e; }
.gp-bar .dot.g { background: #28c840; }
.gp-title { margin-left: 10px; font-size: 12px; color: var(--muted-2); }

.gp-body {
  width: 100%;
  padding: 90px 30px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg-row { display: flex; gap: 10px; max-width: 84%; align-items: flex-end; animation: riseIn .6s var(--ease) both; }
.msg-row p {
  padding: 10px 15px;
  font-size: 14px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}
.msg-row.them { align-self: flex-start; }
.msg-row.me { align-self: flex-end; flex-direction: row-reverse; }
.msg-row.me p { border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, rgba(56,130,246,.85), rgba(139,92,246,.85)); border-color: transparent; color: #fff; }

.mini-av {
  width: 30px; height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #38bdf8, #8b5cf6);
}

.voice-row {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, rgba(56,130,246,.85), rgba(139,92,246,.85));
  box-shadow: 0 10px 26px rgba(80,110,255,.3);
}
.voice-wave { display: flex; align-items: center; gap: 2.5px; height: 20px; }
.voice-wave i {
  width: 3px;
  border-radius: 2px;
  background: #fff;
  animation: wave 1s ease-in-out infinite;
}
.voice-wave i:nth-child(odd) { height: 8px; }
.voice-wave i:nth-child(even) { height: 16px; }
.voice-wave i:nth-child(3n) { height: 5px; animation-delay: -.4s; }
.voice-wave i:nth-child(4n) { animation-delay: -.2s; }
@keyframes wave { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1.15); } }
.voice-time { font-size: 11px; color: rgba(255,255,255,.85); }

.file-row {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 18px 18px 5px 18px;
  background: linear-gradient(135deg, rgba(56,130,246,.85), rgba(139,92,246,.85));
}
.file-ico {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-size: 15px;
  color: #3b82f6;
  background: rgba(255,255,255,.9);
}
.file-row b { display: block; font-size: 12px; line-height: 1.3; }
.file-row p { padding: 0 !important; border: 0 !important; background: none !important; font-size: 10.5px; opacity: .7; margin-top: 2px; color: #fff; }

.read-row { align-self: flex-end; font-size: 10.5px; color: var(--muted-2); padding-right: 4px; }

.float-tag {
  position: absolute;
  right: 22px; bottom: 22px;
  padding: 10px 17px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  color: #0b1220;
  background: linear-gradient(120deg, #67e8f9, #818cf8 55%, #f0abfc);
  box-shadow: 0 16px 36px rgba(120, 130, 255, .4);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── 设计之美的视觉 ── */
.design-panel { overflow: visible; min-height: 440px; }
.dp-window {
  width: 86%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(6, 9, 16, .72);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 40px 80px rgba(0,0,0,.45);
}
.dp-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.m-dot { width: 9px; height: 9px; border-radius: 50%; }
.dp-top .r { background: #ff5f57; }
.dp-top .y { background: #febc2e; }
.dp-top .g { background: #28c840; }
.dp-url {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted-2);
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  padding: 2px 12px;
}
.dp-body {
  position: relative;
  height: 330px;
  background:
    radial-gradient(60% 50% at 20% 10%, rgba(56,180,255,.18), transparent 60%),
    radial-gradient(60% 50% at 90% 90%, rgba(160,110,255,.16), transparent 60%),
    rgba(4,6,12,.5);
  overflow: hidden;
}
.dp-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 230px;
  border-radius: 34px;
  border: 1px solid rgba(255,255,255,.28);
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.06) 40%, rgba(120,160,255,.1));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 30px 60px rgba(0,0,0,.5);
  animation: phoneBob 6s ease-in-out infinite;
}
@keyframes phoneBob { 0%, 100% { transform: translate(-50%, -52%); } 50% { transform: translate(-50%, -46%); } }
.dp-card {
  position: absolute;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05));
  box-shadow: 0 20px 44px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25);
  animation: cardFloat 7s ease-in-out infinite;
}
.dp-card.c1 { width: 150px; height: 90px; left: 4%; top: 16%; transform: rotate(-8deg); }
.dp-card.c2 { width: 140px; height: 120px; right: 3%; bottom: 14%; transform: rotate(7deg); animation-delay: -2s; }
.dp-line {
  position: absolute;
  height: 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.14);
}
.dp-line.l1 { width: 76px; left: 5%; top: 56%; }
.dp-line.l2 { width: 60px; right: 7%; top: 38%; background: rgba(120,160,255,.5); }
.design-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60,140,255,.25), rgba(160,100,255,.15) 55%, transparent 72%);
  filter: blur(48px);
  z-index: -1;
}
.tag-b { left: 20px; right: auto; animation-delay: -2s; }

/* ── 安全锁视觉 ── */
.lock-panel { background: radial-gradient(60% 70% at 50% 100%, rgba(139,92,246,.14), transparent 60%); }
.lock-ring {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle, rgba(139,92,246,.1), transparent 60%);
  box-shadow: 0 0 0 18px rgba(255,255,255,.02), 0 0 0 38px rgba(255,255,255,.015);
  animation: lockBreath 5s ease-in-out infinite;
}
@keyframes lockBreath {
  0%, 100% { box-shadow: 0 0 0 18px rgba(255,255,255,.02), 0 0 0 38px rgba(255,255,255,.015), 0 0 40px rgba(139,92,246,.15); }
  50% { box-shadow: 0 0 0 24px rgba(255,255,255,.03), 0 0 0 48px rgba(255,255,255,.02), 0 0 90px rgba(139,92,246,.4); }
}
.lock-core {
  width: 120px; height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #dbe7ff;
  background: linear-gradient(160deg, rgba(90,130,255,.5), rgba(139,92,246,.45));
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 20px 50px rgba(80,100,255,.35);
}
.lock-core svg { width: 54px; height: 54px; }
.lock-note {
  position: absolute;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.04));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: chipFloat 6s ease-in-out infinite;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}
.lock-note b { display: block; font-size: 13px; }
.lock-note p { font-size: 10.5px; color: var(--muted); }
.lock-note.n1 { top: 12%; right: 8%; }
.lock-note.n2 { bottom: 14%; left: 6%; animation-delay: -2s; }
.lock-note.n3 { bottom: 24%; right: 12%; animation-delay: -4s; }
.lock-rays {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(255,255,255,.06) 0deg 4deg, transparent 4deg 14deg);
  -webkit-mask-image: radial-gradient(circle, transparent 30%, #000 31%, transparent 62%);
  mask-image: radial-gradient(circle, transparent 30%, #000 31%, transparent 62%);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ════════════════ 能力卡片 ════════════════ */
.section-head { max-width: 780px; margin-bottom: 70px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 62px); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  padding: 34px 28px 30px;
  border-radius: 26px;
  transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 40px 80px rgba(0,0,0,.45), 0 0 50px rgba(100,150,255,.12);
}
.fc-ico {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--grad-btn);
  box-shadow: 0 12px 28px rgba(90,110,255,.35), inset 0 1px 0 rgba(255,255,255,.4);
}
.feature-card:nth-child(2) .fc-ico, .feature-card:nth-child(5) .fc-ico { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.feature-card:nth-child(3) .fc-ico, .feature-card:nth-child(6) .fc-ico { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.fc-ico svg { width: 25px; height: 25px; }
.feature-card h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 7px; }
.feature-card p { font-size: 14px; color: var(--muted); }

/* ════════════════ CTA ════════════════ */
.cta { max-width: var(--max); margin: 0 auto; padding: 120px 24px 160px; }
.cta-card { padding: 100px 40px; border-radius: 44px; overflow: hidden; text-align: center; }
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: ctaFloat 12s ease-in-out infinite alternate;
}
.cta-orb.c1 { width: 50%; height: 90%; left: -12%; top: -20%; background: radial-gradient(circle, rgba(56,180,255,.5), transparent 60%); }
.cta-orb.c2 { width: 55%; height: 95%; right: -12%; top: 10%; background: radial-gradient(circle, rgba(160,100,255,.5), transparent 60%); animation-delay: -4s; }
.cta-orb.c3 { width: 40%; height: 60%; left: 30%; bottom: -30%; background: radial-gradient(circle, rgba(244,114,182,.35), transparent 60%); animation-delay: -8s; }
@keyframes ctaFloat {
  from { transform: translate3d(-2%, -2%, 0) scale(1); }
  to { transform: translate3d(2%, 3%, 0) scale(1.15); }
}
.cta-inner { position: relative; z-index: 2; }
.cta-logo {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
}
.cta-logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta-inner h2 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; }
.cta-inner p { margin-top: 22px; color: var(--muted); font-size: 17px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 42px; }
.cta-note { margin-top: 26px; font-size: 12px; color: var(--muted-2); letter-spacing: .08em; }

/* ════════════════ 页脚 ════════════════ */
.footer { border-top: 1px solid rgba(255,255,255,.07); background: rgba(2,3,8,.6); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 76px 24px 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
}
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-cols h4 { color: var(--muted-2); font-size: 12px; letter-spacing: .14em; font-weight: 700; margin-bottom: 18px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 14px; color: var(--muted); transition: color .25s, transform .25s; }
.footer-cols a:hover { color: #fff; transform: translateX(3px); }
.footer-legal {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ════════════════ 滚动显现 ════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0) * 1ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ════════════════ 响应式 ════════════════ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .fc-1 { right: 2%; } .fc-2 { left: 2%; } .fc-3 { right: 2%; }

  .split-grid { grid-template-columns: 1fr; gap: 70px; }
  .split-copy { padding: 0; text-align: center; }
  .split-copy > p { margin-inline: auto; }
  .check-list { align-items: center; }
  .check-list li { text-align: left; max-width: 460px; width: 100%; }
  .section-head { text-align: center; margin-inline: auto; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .split.reverse .split-grid { direction: ltr; }
}

@media (max-width: 860px) {
  .split-visual { min-height: 400px; }
  .lock-panel { min-height: 420px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 58px; }
  .section { padding: 90px 18px; }
  .split { padding-block: 96px; }
  .nav-inner { padding: 0 16px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 26px;
    background: rgba(7, 9, 16, .88);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    backdrop-filter: blur(28px) saturate(170%);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { font-size: 17px; padding: 13px 14px; border-radius: 13px; }
  .nav-actions .btn { display: none; }
  .burger { display: block; }

  .hero { min-height: auto; padding: calc(var(--nav-h) + 34px) 18px 70px; }
  .hero h1 { font-size: clamp(42px, 13vw, 60px); }
  .scene { width: 280px; }
  .phone { width: 268px; }
  .phone-screen { height: 500px; border-radius: 42px; }
  .fc-1 { top: 2%; } .fc-2 { top: auto; bottom: 30%; } .fc-3 { bottom: 2%; }
  .float-chip { padding: 8px 13px; font-size: 11.5px; }
  .float-chip .fc-ico { width: 21px; height: 21px; }

  .gp-body { padding: 84px 16px 30px; }
  .msg-row p { font-size: 13px; }
  .split-grid { gap: 54px; }
  .dp-body { height: 260px; }
  .dp-phone { width: 130px; height: 200px; }
  .dp-card.c1 { width: 120px; height: 70px; }
  .dp-card.c2 { width: 120px; height: 100px; }

  .card-grid { grid-template-columns: 1fr; }
  .cta { padding: 80px 18px 120px; }
  .cta-card { padding: 80px 22px; border-radius: 30px; }
  .cta-btns .btn { flex: 1 1 44%; }
  .footer-inner { grid-template-columns: 1fr; gap: 42px; padding: 56px 18px 30px; }
  .footer-cols { gap: 20px; }
}

@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .cta-btns .btn { flex-basis: 100%; }
  .footer-legal { justify-content: center; text-align: center; }
  .marquee-track span { font-size: 12px; letter-spacing: .2em; }
}

/* ════════════════ 减弱动画 ════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
