/* =========================================================
   Galchat Landing · styles
   主色取自 App AccentColor：#F04B7A（浅色）/ #FF8FB0（深色）
   ========================================================= */
:root {
  --pink: #F04B7A;
  --pink-2: #FF8FB0;
  --pink-deep: #C42A5A;       /* 小字号用，白底对比度 ≥ 4.5 */
  --blush: #FFE3EC;
  --cream: #FFF6F1;
  --paper: #FFFFFF;
  --ink: #2B1D24;
  --ink-2: #5E4A54;
  --muted: #7C6770;
  --line: rgba(43, 29, 36, .08);
  --gold: #F5B94A;
  --mint: #2F7D5B;
  --amber: #8A4B0F;
  --night: #1A1116;

  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow-1: 0 1px 2px rgba(92, 30, 55, .05), 0 8px 24px rgba(92, 30, 55, .07);
  --shadow-2: 0 2px 6px rgba(92, 30, 55, .06), 0 24px 60px rgba(92, 30, 55, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--pink-2); outline-offset: 3px; border-radius: 8px; }

/* ---------- 背景层 ---------- */
.bg-aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform; }
.b1 { width: 52vw; height: 52vw; left: -12vw; top: -18vw; background: radial-gradient(circle, #FFC2D4 0%, transparent 70%); animation: drift1 22s ease-in-out infinite; }
.b2 { width: 46vw; height: 46vw; right: -14vw; top: 10vh; background: radial-gradient(circle, #FFE1B8 0%, transparent 70%); animation: drift2 26s ease-in-out infinite; }
.b3 { width: 40vw; height: 40vw; left: 30vw; top: 60vh; background: radial-gradient(circle, #FFD0E2 0%, transparent 70%); animation: drift1 30s ease-in-out infinite reverse; }
@keyframes drift1 { 50% { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes drift2 { 50% { transform: translate(-6vw, 10vh) scale(.92); } }
.bg-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .6 0 0 0 0 .4 0 0 0 0 .45 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; z-index: -1;
  border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(circle, rgba(255, 143, 176, .28), transparent 65%);
}
body.has-pointer .cursor-glow { opacity: 1; }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--pink-2), var(--pink), var(--gold)); }

/* ---------- 按钮 ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; font-weight: 600; white-space: nowrap; isolation: isolate; overflow: hidden;
  transform: translate(var(--mx), var(--my));
  transition: transform .35s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-primary { color: #fff; background: linear-gradient(135deg, #FF6F98, var(--pink) 55%, #E23C6D); box-shadow: 0 8px 24px rgba(240, 75, 122, .35), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary::after { /* 光泽扫过 */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(240, 75, 122, .45), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1.5px rgba(43,29,36,.12); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(240,75,122,.5); }
.btn:active { transform: translate(var(--mx), var(--my)) scale(.97); }

/* ---------- 顶栏 ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; transition: transform .45s var(--ease); }
.nav.hide { transform: translateY(-120%); }
.nav-inner {
  width: min(1180px, 100% - 24px); margin-inline: auto; display: flex; align-items: center; gap: 24px;
  padding: 8px 8px 8px 16px; border-radius: 999px;
  background: rgba(255, 250, 247, .55); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.7) inset, 0 6px 24px rgba(92, 30, 55, .06);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled .nav-inner { background: rgba(255, 250, 247, .82); box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset, 0 10px 30px rgba(92, 30, 55, .1); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 2px 8px rgba(240,75,122,.25); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(240,75,122,.08); }
.nav-links a.active { color: var(--pink-deep); }
.nav-links a.active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); transform: translateX(-50%); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; position: relative; }
.nav-toggle i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle i:first-child { top: 16px; } .nav-toggle i:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] i:first-child { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------- 通用段落头 ---------- */
section { position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.sec-head.left { text-align: left; margin: 0 0 36px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.sec-head p:not(.eyebrow) { margin-top: 18px; font-size: 18px; color: var(--ink-2); }
.eyebrow { display: inline-block; margin-bottom: 16px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--pink-deep); background: rgba(240,75,122,.1); }
.eyebrow.light { color: #FFB3C8; background: rgba(255,143,176,.14); }
.gradient-text { background: linear-gradient(100deg, var(--pink) 10%, #FF7B9C 45%, #F59E4A 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 入场动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); filter: blur(6px); transition: opacity .7s var(--ease), transform .8s var(--ease-spring), filter .7s var(--ease); transition-delay: calc(var(--i) * 45ms + 120ms); }
.loaded .split .ch { opacity: 1; transform: none; filter: none; }

/* =========================================================
   01 Hero
   ========================================================= */
.hero { min-height: 100svh; padding: 140px 0 80px; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(240,75,122,.18) inset, var(--shadow-1); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 0 rgba(240,75,122,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(240,75,122,0); } 100% { box-shadow: 0 0 0 0 rgba(240,75,122,0); } }
.hero-title { margin: 26px 0 26px; font-size: clamp(46px, 7.2vw, 96px); font-weight: 900; line-height: 1.08; letter-spacing: -.035em; }
.hero-title .line { display: block; }
.hl { font-style: normal; position: relative; display: inline-block; color: var(--pink); }
.hl .ch { color: var(--pink); }
.hl::after { /* 手绘下划线 */
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em; z-index: -1; border-radius: 99px;
  background: linear-gradient(90deg, rgba(255,143,176,.55), rgba(245,185,74,.45));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform 1s var(--ease) 1.1s;
}
.loaded .hl::after { transform: scaleX(1); }
.hero-sub { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); max-width: 600px; }
.hero-sub strong { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.hero-tags li { display: inline-flex; align-items: center; gap: 7px; }
.hero-tags svg { width: 17px; height: 17px; fill: none; stroke: var(--pink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hero-stage { position: relative; display: flex; flex-direction: column; align-items: center; perspective: 1400px; }
.stage-note { margin-top: 18px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.float-deco { position: absolute; inset: -40px; pointer-events: none; }
.deco { position: absolute; font-size: 28px; transition: transform .6s var(--ease); }
.deco.heart { color: var(--pink-2); text-shadow: 0 6px 18px rgba(240,75,122,.3); }
.deco.spark { color: var(--gold); }
.deco.bubble { width: 48px; height: 48px; border-radius: 16px 16px 16px 4px; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pink-2), var(--pink)); box-shadow: var(--shadow-2); }
.d1 { left: 4%; top: 18%; font-size: 40px; animation: bob 6s ease-in-out infinite; }
.d2 { right: 2%; top: 8%; font-size: 26px; animation: bob 7s ease-in-out infinite 1s; }
.d3 { right: 6%; bottom: 26%; font-size: 30px; animation: twinkle 3s ease-in-out infinite; }
.d4 { left: 10%; bottom: 14%; animation: twinkle 3.6s ease-in-out infinite .8s; }
.d5 { left: -2%; top: 50%; animation: bob 5s ease-in-out infinite .4s; }
@keyframes bob { 50% { translate: 0 -14px; } }
@keyframes twinkle { 50% { scale: .6; opacity: .5; rotate: 45deg; } }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(43,29,36,.2); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--pink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- 手机外壳 ---------- */
.phone { --w: 330px; width: var(--w); transform-style: preserve-3d; }
.phone-frame {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: calc(var(--w) * .16); padding: calc(var(--w) * .035);
  background: linear-gradient(145deg, #3A2A32, #120B0F 60%, #2A1D23);
  box-shadow: 0 0 0 1.5px #5A4650 inset, 0 0 0 1px rgba(255,255,255,.08), 0 50px 90px -20px rgba(92, 30, 55, .45), 0 30px 50px -30px rgba(0,0,0,.4);
}
.island { position: absolute; left: 50%; top: calc(var(--w) * .058); z-index: 5; width: 30%; height: calc(var(--w) * .085); transform: translateX(-50%); border-radius: 99px; background: #000; }
.screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * .125); background: #F6F2F4; }
.phone-sm { --w: 300px; }
.phone-xs { --w: 230px; }

/* ---------- Hero 演示屏 ---------- */
.demo { display: flex; flex-direction: column; font-size: 13px; background: linear-gradient(#FBF8FA, #F3EEF1); }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0; height: 44px; font-size: 13px; }
.sb-icons { display: flex; gap: 4px; }
.sb-icons i { width: 14px; height: 8px; border-radius: 2px; background: var(--ink); opacity: .8; }
.sb-icons i:first-child { width: 12px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.chat-head { display: flex; align-items: center; padding: 6px 14px 10px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.chat-head .back { font-size: 26px; line-height: 1; color: var(--pink); width: 24px; }
.chat-head .who { flex: 1; text-align: center; line-height: 1.2; }
.chat-head .who b { font-size: 15px; }
.chat-head .who small { display: block; font-size: 10px; color: var(--muted); }
.chat-head .more { width: 24px; color: var(--muted); }

.pip {
  position: absolute; z-index: 4; left: 12px; right: 12px; top: 96px; display: flex; align-items: center; gap: 9px;
  padding: 8px 10px; border-radius: 14px; background: linear-gradient(100deg, #FFE3EC, #FFFFFF 55%);
  box-shadow: 0 10px 30px rgba(92,30,55,.18), 0 0 0 1px rgba(255,255,255,.9) inset;
  transform: translateY(-14px) scale(.92); opacity: 0; transition: transform .6s var(--ease-spring), opacity .4s;
}
.pip.on { transform: none; opacity: 1; }
.pip-avatar { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, #FFB0C6, var(--pink)); }
.pip-main { flex: 1; min-width: 0; }
.pip-top { display: flex; justify-content: space-between; gap: 6px; font-size: 10.5px; color: #2B3833; }
.pip-state { color: var(--muted); white-space: nowrap; }
.pip-state.busy::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 4px; border-radius: 50%; background: var(--pink); animation: ping 1.2s infinite; vertical-align: middle; }
.pip-row { display: flex; gap: 6px; align-items: baseline; margin: 2px 0 5px; white-space: nowrap; overflow: hidden; }
.pip-emotion { font-weight: 700; font-size: 12.5px; color: #2B4D3B; transition: color .3s; }
.pip-emotion.warn { color: var(--amber); } .pip-emotion.up { color: var(--pink-deep); }
.pip-advice { font-size: 10.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; }
.pip-track { height: 4px; border-radius: 4px; background: rgba(0,0,0,.08); overflow: hidden; }
.pip-track i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--pink-2), var(--pink)); transition: width 1.2s var(--ease); }
.pip-score { flex: none; text-align: center; line-height: 1; }
.pip-heart { display: block; color: var(--pink); font-size: 13px; animation: beat 1.2s ease-in-out infinite; }
.pip-score b { display: block; font-size: 19px; margin: 2px 0; font-variant-numeric: tabular-nums; }
.pip-score small { font-size: 9px; color: var(--muted); }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1.05); } 45% { transform: scale(1.18); } }
.pip.bump .pip-score b { animation: bump .6s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.45); color: var(--pink); } }

.chat-body { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 90px 12px 10px; overflow: hidden; }
.msg { max-width: 76%; padding: 8px 12px; border-radius: 16px; line-height: 1.45; animation: pop .45s var(--ease-spring) both; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.msg.them { align-self: flex-start; background: #fff; border-bottom-left-radius: 5px; }
.msg.me { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #FF7AA0, var(--pink)); border-bottom-right-radius: 5px; }
.msg.typing { display: flex; gap: 4px; padding: 12px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #BFB2B8; animation: dots 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-4px); background: var(--pink-2); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.9); } }
.msg.out { animation: fadeUp .4s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 0; transform: translateY(-20px); } }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent, rgba(255,143,176,.28) 80%, rgba(240,75,122,.7) 100%); }
.scanline.run { animation: scan 1.4s var(--ease) 1; }
@keyframes scan { 0% { opacity: 0; transform: translateY(40px); } 15% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(420px); } }

.composer { display: flex; align-items: center; gap: 8px; padding: 8px 10px 10px; background: rgba(255,255,255,.85); border-top: 1px solid var(--line); }
.input { flex: 1; min-height: 34px; padding: 7px 12px; border-radius: 18px; background: #F2ECEF; line-height: 1.4; }
.input .ph { color: #A7979E; }
.input .caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: var(--pink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.send { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #E6DDE1; transition: background .3s, transform .3s var(--ease-spring); }
.send svg { width: 16px; height: 16px; fill: #fff; }
.send.ready { background: var(--pink); transform: scale(1.08); }
.send.press { transform: scale(.85); }

.kbd { height: 0; overflow: hidden; background: #E9E1E5; transition: height .55s var(--ease); }
.kbd.on { height: 212px; }
.kbd-bar { display: flex; justify-content: space-between; padding: 8px 12px 4px; font-size: 10.5px; color: var(--muted); }
.kbd-brand { font-weight: 700; color: var(--pink-deep); }
.cands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 2px 8px 8px; }
.cand { min-height: 44px; padding: 6px 7px; border-radius: 10px; font-size: 11px; line-height: 1.35; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.12); animation: pop .45s var(--ease-spring) both; transition: transform .2s, background .2s, color .2s; }
.cand.pick { background: var(--pink); color: #fff; transform: scale(1.04); }
.keys { padding: 0 4px; }
.krow { display: flex; gap: 4px; justify-content: center; margin-bottom: 6px; }
.krow.pad { padding: 0 12px; }
.krow i { flex: 1; height: 26px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-size: 12px; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.15); }
.krow i.w { flex: 1.4; background: #D4C9CE; font-size: 10px; }
.krow i.space { flex: 5; font-size: 10px; color: var(--muted); }
.krow i.go { background: var(--pink); color: #fff; }
.tap { position: absolute; z-index: 9; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; pointer-events: none; opacity: 0; background: rgba(255,255,255,.55); box-shadow: 0 0 0 2px rgba(240,75,122,.8), 0 6px 20px rgba(0,0,0,.2); transition: left .6s var(--ease), top .6s var(--ease), opacity .3s; }
.tap.on { opacity: 1; }
.tap.press { animation: press .35s var(--ease); }
@keyframes press { 50% { transform: scale(.7); } }

/* 飘心 */
.heart-fx { position: fixed; z-index: 80; pointer-events: none; font-size: 18px; color: var(--pink); animation: heartfly 1.1s var(--ease) forwards; }
@keyframes heartfly { 0% { opacity: 1; transform: translate(0,0) scale(.4) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.2) rotate(var(--r)); } }

/* =========================================================
   02 痛点跑马灯
   ========================================================= */
.pain { padding: 60px 0 120px; overflow: hidden; }
.pain-lead { text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: .1em; margin-bottom: 28px; }
.marquee { display: flex; overflow: hidden; padding: 8px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee .track { display: flex; gap: 14px; flex: none; padding-right: 14px; animation: marq 48s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 56s; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { flex: none; padding: 14px 24px; border-radius: 999px; font-size: 17px; font-weight: 600; color: var(--ink-2); background: rgba(255,255,255,.8); box-shadow: var(--shadow-1); transition: transform .3s var(--ease), color .3s, background .3s; }
.marquee span:hover { transform: translateY(-4px) rotate(-1.5deg); color: #fff; background: var(--pink); }
.marquee.reverse span { background: rgba(255,227,236,.9); }
@keyframes marq { to { transform: translateX(-50%); } }
.pain-answer { text-align: center; margin-top: 56px; font-size: clamp(28px, 4vw, 46px); font-weight: 900; letter-spacing: -.02em; }

/* =========================================================
   03 三步上手
   ========================================================= */
.how { padding: 120px 0; }
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.how-sticky { position: sticky; top: calc(50vh - 330px); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.how-sticky .screen { background: var(--blush); }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.shot.is-active { opacity: 1; transform: none; }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }
.shot-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 20px; text-align: center;
  color: var(--pink-deep);
  background:
    repeating-linear-gradient(135deg, rgba(240,75,122,.07) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #FFF0F5, #FFE0EA);
}
.shot-ph::before { content: ""; position: absolute; inset: 14px; border-radius: 22px; border: 2px dashed rgba(240,75,122,.35); pointer-events: none; }
.shot-ph .ph-ico { width: 64px; height: 64px; margin-bottom: 8px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--pink-2), var(--pink)); box-shadow: 0 10px 24px rgba(240,75,122,.3); }
.shot-ph b { font-size: 16px; }
.shot-ph small { font-size: 13px; color: var(--ink-2); }
.shot-ph em { font-style: normal; font-size: 11px; color: var(--muted); margin-top: 4px; }
.how-dots { display: flex; gap: 8px; }
.how-dots i { width: 8px; height: 8px; border-radius: 8px; background: rgba(43,29,36,.15); transition: width .4s var(--ease), background .4s; }
.how-dots i.on { width: 28px; background: var(--pink); }

.steps { display: flex; flex-direction: column; gap: 40vh; padding: 16vh 0 30vh; }
.step { position: relative; padding: 34px 34px 34px 36px; border-radius: var(--r-lg); background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.8) inset; opacity: .38; transform: scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease), background .6s, box-shadow .6s; }
.step.is-active { opacity: 1; transform: none; background: #fff; box-shadow: var(--shadow-2); }
.step::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; width: 4px; border-radius: 4px; background: linear-gradient(var(--pink-2), var(--pink)); transform: scaleY(0); transition: transform .6s var(--ease); }
.step.is-active::before { transform: scaleY(1); }
.step-num { display: block; font-size: 15px; font-weight: 800; letter-spacing: .1em; color: var(--pink); margin-bottom: 10px; }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; margin-bottom: 14px; }
.step p { color: var(--ink-2); font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips li { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--pink-deep); background: var(--blush); }

/* =========================================================
   04 Bento
   ========================================================= */
.features { padding: 120px 0; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  --px: 50%; --py: 50%;
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 26px; padding: 32px; border-radius: var(--r-lg);
  background: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(255,255,255,.9) inset, var(--shadow-1);
  backdrop-filter: blur(10px); transition: box-shadow .4s, transform .5s var(--ease);
}
.card.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), box-shadow .4s; }
.card:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.9) inset, var(--shadow-2); }
.spot::before { /* 鼠标聚光 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--px) var(--py), rgba(255,143,176,.22), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.c-pip { grid-column: span 4; justify-content: space-between; background: linear-gradient(140deg, rgba(255,255,255,.85), rgba(255,227,236,.8)); }
.c-gauge { grid-column: span 2; align-items: center; text-align: center; }
.c-cands { grid-column: span 3; }
.c-ocr { grid-column: span 3; }
.c-memory { grid-column: span 3; justify-content: space-between; }
.c-byok { grid-column: span 3; }

/* mini pip */
.mini-pip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-2); max-width: 520px; transform: rotate(-1.5deg); transition: transform .5s var(--ease); }
.c-pip:hover .mini-pip { transform: rotate(0) translateY(-4px); }
.mp-avatar { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, #FFC6D6, var(--pink)); }
.mp-main { flex: 1; min-width: 0; }
.mp-main > b { font-size: 13px; color: var(--muted); font-weight: 600; }
.mp-row { display: flex; gap: 10px; align-items: baseline; margin: 2px 0 8px; white-space: nowrap; overflow: hidden; }
.mp-emo { font-weight: 800; font-size: 17px; color: var(--pink-deep); transition: opacity .3s; }
.mp-adv { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.mp-track { height: 6px; border-radius: 6px; background: rgba(0,0,0,.07); overflow: hidden; }
.mp-track i { display: block; height: 100%; width: 72%; border-radius: inherit; background: linear-gradient(90deg, var(--pink-2), var(--pink)); transition: width 1s var(--ease); }
.mp-score { text-align: center; line-height: 1; }
.mp-score span { display: block; color: var(--pink); animation: beat 1.2s infinite; }
.mp-score b { font-size: 28px; font-variant-numeric: tabular-nums; }
.fade { opacity: 0; }

/* gauge */
.gauge { position: relative; width: 170px; height: 170px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.g-bg { stroke: rgba(240,75,122,.12); }
.g-fg { stroke: url(#gGrad); stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) .2s; }
.c-gauge.in .g-fg { stroke-dashoffset: 24; }
.g-num { position: absolute; inset: 0; display: grid; place-content: center; line-height: 1.1; }
.g-num b { font-size: 46px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--ink); }
.g-num small { font-size: 12px; color: var(--muted); }

/* stack cands */
.stack { position: relative; display: flex; flex-direction: column; gap: 10px; }
.stack span { align-self: flex-start; padding: 12px 18px; border-radius: 16px; font-weight: 600; background: #fff; box-shadow: var(--shadow-1); transition: transform .5s var(--ease), background .3s, color .3s; }
.stack span:nth-child(2) { margin-left: 28px; } .stack span:nth-child(3) { margin-left: 56px; }
.c-cands:hover .stack span:nth-child(1) { transform: translateX(8px); }
.c-cands:hover .stack span:nth-child(2) { transform: translateX(16px); background: var(--pink); color: #fff; }
.c-cands:hover .stack span:nth-child(3) { transform: translateX(24px); }

/* ocr demo */
.ocr-demo { position: relative; height: 150px; padding: 18px; border-radius: 18px; background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.ocr-lines { display: flex; flex-direction: column; gap: 10px; }
.ocr-lines i { width: var(--w); height: 14px; border-radius: 8px; background: #F0E8EC; position: relative; overflow: hidden; }
.ocr-lines i.me { align-self: flex-end; background: #FFD6E2; }
.ocr-lines i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--pink-2), var(--gold)); transform: scaleX(0); transform-origin: 0 50%; animation: ocrfill 4s var(--ease) infinite; }
.ocr-lines i:nth-child(2)::after { animation-delay: .25s; } .ocr-lines i:nth-child(3)::after { animation-delay: .5s; } .ocr-lines i:nth-child(4)::after { animation-delay: .75s; } .ocr-lines i:nth-child(5)::after { animation-delay: 1s; }
@keyframes ocrfill { 0%, 10% { transform: scaleX(0); opacity: .9; } 40%, 80% { transform: scaleX(1); opacity: .9; } 100% { transform: scaleX(1); opacity: 0; } }
.ocr-beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--pink); box-shadow: 0 0 18px 4px rgba(240,75,122,.45); animation: beam 4s var(--ease) infinite; }
@keyframes beam { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 45% { transform: translateY(147px); opacity: 1; } 55%, 100% { transform: translateY(147px); opacity: 0; } }

/* avatars */
.avatars { display: flex; }
.avatars span { width: 58px; height: 58px; margin-right: -12px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: var(--ink-2); background: var(--c); box-shadow: 0 0 0 4px #fff, var(--shadow-1); transition: transform .45s var(--ease-spring); }
.c-memory:hover .avatars span { transform: translateY(-8px); }
.c-memory:hover .avatars span:nth-child(2) { transition-delay: .05s; } .c-memory:hover .avatars span:nth-child(3) { transition-delay: .1s; } .c-memory:hover .avatars span:nth-child(4) { transition-delay: .15s; }

/* key orbit */
.key-orbit { position: relative; height: 150px; }
.k-core { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 20px; display: grid; place-items: center; font-size: 28px; background: #fff; box-shadow: var(--shadow-2); z-index: 2; }
.k-o { position: absolute; left: 50%; top: 50%; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; color: var(--pink-deep); background: var(--blush); translate: -50% -50%; animation: orbit 14s linear infinite; }
.o2 { animation-delay: -4.66s; } .o3 { animation-delay: -9.33s; }
@keyframes orbit { from { transform: rotate(0) translateX(150px) rotate(0); } to { transform: rotate(360deg) translateX(150px) rotate(-360deg); } }
.key-orbit::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; border: 1.5px dashed rgba(240,75,122,.22); transform: scaleY(.4); }
.k-o { animation-name: orbit-flat; }
@keyframes orbit-flat {
  0% { transform: translate(150px, 0); z-index: 1; }
  25% { transform: translate(0, 60px) scale(1.08); z-index: 3; }
  50% { transform: translate(-150px, 0); z-index: 1; }
  75% { transform: translate(0, -60px) scale(.85); z-index: 1; opacity: .7; }
  100% { transform: translate(150px, 0); z-index: 1; }
}

/* =========================================================
   05 人格
   ========================================================= */
.persona { padding: 120px 0; }
.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.persona-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.persona-tabs button { position: relative; text-align: left; padding: 16px 18px; border: 0; border-radius: 18px; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1.5px rgba(43,29,36,.06) inset; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.persona-tabs button:hover { transform: translateY(-3px); background: #fff; }
.persona-tabs button b { display: block; font-size: 17px; }
.persona-tabs button small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.persona-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 2px var(--pink) inset, 0 12px 30px rgba(240,75,122,.18); }
.persona-tabs button[aria-selected="true"] b { color: var(--pink-deep); }
.persona-tabs button[aria-selected="true"]::after { content: "✓"; position: absolute; right: 14px; top: 14px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #fff; background: var(--pink); animation: pop .4s var(--ease-spring); }

.pd-card { padding: 30px; border-radius: 32px; background: #fff; box-shadow: var(--shadow-2); }
.pd-head { display: flex; align-items: center; gap: 12px; }
.pd-head b { display: block; font-size: 16px; line-height: 1.2; }
.pd-head small { font-size: 12px; color: var(--muted); }
.pd-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: #FFE7C2; }
.pd-emo { margin-left: auto; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--amber); background: #FFF1DB; }
.pd-in { margin: 20px 0 26px; padding: 14px 18px; border-radius: 20px 20px 20px 6px; font-size: 17px; background: #F6F0F3; display: inline-block; }
.pd-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 12px; }
.pd-label span { color: var(--pink-deep); }
.pd-out { display: flex; flex-direction: column; gap: 10px; min-height: 196px; counter-reset: c; }
.pd-out li { position: relative; padding: 14px 18px 14px 50px; border-radius: 18px; font-size: 16px; background: linear-gradient(100deg, #FFF3F7, #FFFFFF); box-shadow: 0 0 0 1px rgba(240,75,122,.14) inset; counter-increment: c; animation: pop .45s var(--ease-spring) both; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.pd-out li:hover { transform: translateX(6px); box-shadow: 0 0 0 1.5px var(--pink) inset; }
.pd-out li::before { content: counter(c); position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--pink); }
.pd-out li .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--pink); animation: blink 1s steps(1) infinite; }
.pd-foot { margin-top: 18px; font-size: 12px; color: var(--muted); text-align: right; }

/* =========================================================
   06 隐私（暗场）
   ========================================================= */
.privacy { padding: 140px 0; color: #F7EDF1; background: var(--night); overflow: hidden; }
.privacy .sec-head h2 { color: #fff; }
.spotlight { position: absolute; left: 50%; top: -30%; width: 1100px; height: 900px; margin-left: -550px; pointer-events: none; background: radial-gradient(ellipse at 50% 30%, rgba(255,143,176,.28), transparent 60%); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .6; transform: scale(1.08); } }
.p-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.p-item { padding: 30px 26px; border-radius: var(--r-md); background: rgba(255,255,255,.04); box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset; transition: background .4s, transform .5s var(--ease), box-shadow .4s; }
.p-item:hover { background: rgba(255,143,176,.08); transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255,143,176,.35) inset; }
.p-ico { width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,143,176,.25), rgba(240,75,122,.1)); }
.p-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--pink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-item h3 { font-size: 19px; color: #fff; margin-bottom: 10px; }
.p-item p { font-size: 15px; color: #CDBBC3; }
.p-item strong { color: var(--pink-2); }
.p-note { position: relative; margin-top: 56px; text-align: center; font-size: 15px; color: #B7A3AC; }

/* =========================================================
   07 画廊
   ========================================================= */
.gallery { padding: 120px 0 80px; }
.gallery .sec-head { margin-bottom: 48px; }
.hint-drag { font-size: 14px !important; color: var(--muted) !important; letter-spacing: .1em; }
.rail { display: flex; gap: 36px; padding: 20px max(24px, calc((100vw - 1180px) / 2)) 50px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; user-select: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail-item { flex: none; margin: 0; scroll-snap-align: center; text-align: center; transition: transform .6s var(--ease); }
.rail-item:nth-child(even) { transform: translateY(36px); }
.rail-item:hover { transform: translateY(-10px); }
.rail-item:nth-child(even):hover { transform: translateY(26px); }
.rail-item figcaption { margin-top: 16px; font-weight: 700; color: var(--ink-2); }
.phone-xs .shot-ph .ph-ico { width: 52px; height: 52px; font-size: 22px; }
.phone-xs .shot-ph b { font-size: 14px; }
.phone-xs .shot-ph small { font-size: 12px; }

/* =========================================================
   08 FAQ
   ========================================================= */
.faq { padding: 100px 0; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: var(--r-md); background: rgba(255,255,255,.72); box-shadow: 0 0 0 1px rgba(255,255,255,.9) inset, var(--shadow-1); transition: background .3s, box-shadow .3s; }
.faq details[open] { background: #fff; box-shadow: 0 0 0 1.5px rgba(240,75,122,.3) inset, var(--shadow-2); }
.faq summary { position: relative; list-style: none; padding: 22px 64px 22px 26px; font-size: 17.5px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--blush); transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; border-radius: 2px; background: var(--pink-deep); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(180deg); background: var(--pink); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0); }
.ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.ans > div { overflow: hidden; }
.ans p { padding: 0 26px 24px; color: var(--ink-2); font-size: 16px; }
details.opening .ans, details[open]:not(.closing) .ans { grid-template-rows: 1fr; }

/* =========================================================
   09 CTA
   ========================================================= */
.cta { padding: 60px 0 120px; }
.cta-card { position: relative; overflow: hidden; padding: 90px 32px 70px; border-radius: 44px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #FF8FB0 0%, #F04B7A 45%, #B8295A 100%); box-shadow: 0 40px 100px -30px rgba(240,75,122,.6); }
.cta-rings { position: absolute; left: 50%; top: 150px; pointer-events: none; }
.cta-rings i { position: absolute; left: 0; top: 0; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); animation: ring 5s var(--ease) infinite; }
.cta-rings i:nth-child(2) { animation-delay: 1.66s; } .cta-rings i:nth-child(3) { animation-delay: 3.33s; }
@keyframes ring { from { transform: scale(.6); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.cta-icon { position: relative; margin: 0 auto 30px; border-radius: 28px; box-shadow: 0 20px 40px rgba(90,10,40,.35), 0 0 0 5px rgba(255,255,255,.35); animation: bob 5s ease-in-out infinite; }
.cta h2 { position: relative; font-size: clamp(36px, 5.4vw, 64px); font-weight: 900; letter-spacing: -.03em; }
.cta-card > p { position: relative; margin: 18px auto 0; max-width: 520px; font-size: 18px; color: rgba(255,255,255,.92); }
.join-form { position: relative; display: flex; gap: 8px; max-width: 480px; margin: 36px auto 0; padding: 7px; border-radius: 999px; background: rgba(255,255,255,.2); box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset; backdrop-filter: blur(10px); }
.join-form input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; font: inherit; font-size: 16px; color: #fff; background: transparent; }
.join-form input::placeholder { color: rgba(255,255,255,.8); }
.join-form .btn { padding: 13px 26px; font-size: 16px; color: var(--pink-deep); background: #fff; box-shadow: 0 6px 18px rgba(90,10,40,.25); }
.join-form .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(255,143,176,.35) 50%, transparent 70%); }
.join-form.shake { animation: shake .45s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.form-msg { position: relative; min-height: 24px; margin-top: 14px; font-size: 14px; color: #fff; }
/* 预约流程 & 社群面板 */
.join-flow { position: relative; transition: opacity .4s var(--ease), transform .5s var(--ease); }
.join-flow.leaving { opacity: 0; transform: translateY(-12px) scale(.98); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.turnstile-slot { display: flex; justify-content: center; }
.turnstile-slot:not(:empty) { margin-top: 14px; }
.join-form .btn[disabled] { opacity: .75; cursor: progress; }
.join-form .btn.loading span::after { content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; vertical-align: -1px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy { position: relative; margin-top: 2px; font-size: 12.5px; color: rgba(255,255,255,.72); }

.community { position: relative; margin: 34px auto 0; max-width: 900px; }
.community[hidden] { display: none; }
.community > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.community.show > * { opacity: 1; transform: none; }
.community.show > :nth-child(2) { transition-delay: .06s; } .community.show > :nth-child(3) { transition-delay: .12s; }
.community.show > :nth-child(4) { transition-delay: .18s; } .community.show > :nth-child(n+5) { transition-delay: .3s; }
.community-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border-radius: 999px; font-size: 14px; background: rgba(255,255,255,.2); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; }
.community-badge span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: var(--pink-deep); background: #fff; }
.community h3 { margin-top: 16px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.01em; }
.community-sub { margin-top: 8px; font-size: 15.5px; color: rgba(255,255,255,.88); }

.qr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 18px 20px; border-radius: 26px; color: var(--ink); background: #fff; box-shadow: 0 20px 40px -18px rgba(90,10,40,.45); transition: transform .45s var(--ease), box-shadow .45s; }
.qr-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -20px rgba(90,10,40,.5); }
.community.show .qr-grid .qr-card { animation: pop .6s var(--ease-spring) both; }
.community.show .qr-grid .qr-card:nth-child(2) { animation-delay: .1s; } .community.show .qr-grid .qr-card:nth-child(3) { animation-delay: .2s; }
.qr-img { position: relative; width: 100%; max-width: 200px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(43,29,36,.08) inset; }
.qr-img img { display: block; width: 100%; height: 100%; object-fit: contain; -webkit-touch-callout: default; }
.qr-ph { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 12px; border-radius: inherit; font-size: 14px; font-weight: 700; color: var(--pink-deep); border: 2px dashed rgba(240,75,122,.4); background: repeating-linear-gradient(135deg, #FFF5F8 0 12px, #FFEAF1 12px 24px); }
.qr-ph small { font-size: 11px; font-weight: 500; color: var(--muted); word-break: break-all; }
.qr-img.missing img { display: none; }
.qr-img.missing .qr-ph { display: flex; }
.qr-info { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.qr-info b { font-size: 17px; }
.qr-info small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink-2); }
.qr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }
.qr-btn { display: inline-flex; align-items: center; padding: 8px 14px; border: 0; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 700; color: #fff; background: var(--pink); cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s; }
.qr-btn:hover { transform: translateY(-2px); }
.qr-btn:active { transform: scale(.96); }
.qr-btn.ghost { color: var(--pink-deep); background: var(--blush); }
.qr-btn.done { color: #fff; background: #2BAE66; }
.community-tip { margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,.82); }
.community-back { margin-top: 10px; padding: 6px 10px; border: 0; font: inherit; font-size: 13px; color: rgba(255,255,255,.75); background: none; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.community-back:hover { color: #fff; }

.store-row { position: relative; display: flex; justify-content: center; margin-top: 22px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 20px 9px 16px; border-radius: 14px; background: rgba(20,8,14,.85); line-height: 1.1; text-align: left; }
.store-badge svg { width: 26px; height: 26px; fill: #fff; }
.store-badge small { display: block; font-size: 11px; opacity: .8; }
.store-badge b { font-size: 18px; }

/* ---------- Footer / Toast ---------- */
.footer { padding: 40px 0 50px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.foot-inner .brand { font-size: 16px; color: var(--ink); }
.foot-inner .copy { margin-left: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 12px 22px; border-radius: 999px; font-size: 15px; font-weight: 600; color: #fff; background: rgba(43,29,36,.92); box-shadow: var(--shadow-2); transform: translate(-50%, calc(100% + 40px)); opacity: 0; transition: transform .5s var(--ease-spring), opacity .3s; pointer-events: none; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1080px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .c-pip { grid-column: span 6; }
  .c-gauge { grid-column: span 6; flex-direction: row; text-align: left; }
  .br-lg { display: none; }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; left: 12px; right: 12px; top: 72px; flex-direction: column; gap: 2px; padding: 12px; border-radius: 24px; background: rgba(255,250,247,.96); box-shadow: var(--shadow-2); backdrop-filter: blur(18px); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav-toggle { display: block; }
  .nav-inner > .btn { margin-left: auto; }
  .hero { padding-top: 120px; }
  .hero-grid, .persona-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta, .hero-tags { justify-content: center; }
  .how-grid { grid-template-columns: 1fr; gap: 0; }
  .how-sticky { top: 90px; z-index: 1; }
  .how-sticky .phone { --w: 210px; }
  .steps { gap: 50vh; padding: 20vh 0 20vh; position: relative; z-index: 2; }
  .step { background: rgba(255,255,255,.92); }
  .bento > .card { grid-column: span 6; }
  .scroll-hint { display: none; }
}
@media (max-width: 760px) {
  .qr-grid { grid-template-columns: 1fr; gap: 12px; max-width: 440px; margin-inline: auto; }
  .qr-card { flex-direction: row; align-items: center; gap: 14px; padding: 14px; border-radius: 22px; text-align: left; }
  .qr-img { width: 116px; flex: none; border-radius: 14px; }
  .qr-info { align-items: flex-start; }
  .qr-actions { justify-content: flex-start; margin-top: 6px; }
  .qr-btn { padding: 7px 12px; font-size: 13px; }
}
@media (max-width: 560px) {
  .container, .container.narrow { width: calc(100% - 32px); }
  .phone { --w: 290px; }
  .phone-xs { --w: 200px; }
  .card { padding: 24px; }
  .c-gauge { flex-direction: column; text-align: center; }
  .persona-tabs { grid-template-columns: 1fr; }
  .p-grid { grid-template-columns: 1fr; }
  .pd-card { padding: 22px; }
  .join-form { flex-direction: column; border-radius: 26px; }
  .join-form input { padding: 14px 16px; text-align: center; }
  .cta-card { padding: 70px 20px 56px; border-radius: 32px; }
  .foot-inner .copy { margin-left: 0; }
  .key-orbit { transform: scale(.8); }
  .marquee span { font-size: 15px; padding: 11px 18px; }
}

/* 无障碍：减少动效 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .split .ch { opacity: 1; transform: none; filter: none; }
  .marquee .track { animation: none; }
}
