:root {
  --brand: #c44874;
  --brand-rgb: 196, 72, 116;
  --brand-deep: #8f2d52;
  --ink: #1d1a1c;
  --ink-2: #5e5a5d;
  --ink-3: #9a9598;
  --bg: #fbf8f9;
  --card: #ffffff;
  --line: rgba(29, 26, 28, 0.08);
  --radius: 22px;
  --wash: rgba(var(--brand-rgb), 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="lavender"] { --brand: #6e5eb0; --brand-rgb: 110, 94, 176; --brand-deep: #463a80; }
[data-theme="ocean"]    { --brand: #3b70c7; --brand-rgb: 59, 112, 199; --brand-deep: #25498a; }
[data-theme="mint"]     { --brand: #38a185; --brand-rgb: 56, 161, 133; --brand-deep: #1f6b57; }
[data-theme="sunset"]   { --brand: #e07540; --brand-rgb: 224, 117, 64;  --brand-deep: #9c4a22; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s var(--ease);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
br.m { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.3s;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(var(--brand-rgb), 0.32); }
.btn-brand:hover { box-shadow: 0 10px 26px rgba(var(--brand-rgb), 0.42); transform: translateY(-1px); }
.btn-ghost { background: var(--wash); color: var(--brand); }
.btn-ghost:hover { background: rgba(var(--brand-rgb), 0.12); }

.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 26px 0 22px; border-radius: 16px;
  background: #111; color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.appstore:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24); }
.appstore svg { width: 26px; height: 26px; }
.appstore span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.15; }
.appstore small { font-size: 11px; font-weight: 400; opacity: 0.75; }
.appstore.light { background: #fff; color: #111; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 249, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; height: 64px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  height: 36px; min-width: 44px; padding: 0 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--brand); border-color: rgba(var(--brand-rgb), 0.4); }

/* 英文在 i18n.js 执行前先隐藏，避免闪现中文 */
html.i18n-pending body { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.16), transparent 62%);
  pointer-events: none; transition: background 0.5s;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--wash); color: var(--brand);
  font-size: 13px; font-weight: 600;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.18); }

h1 {
  margin: 22px 0 20px;
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 800;
}
h1 em {
  font-style: normal; color: var(--brand);
  background: linear-gradient(transparent 68%, rgba(var(--brand-rgb), 0.16) 68%);
}
.lead { max-width: 30em; font-size: 18px; color: var(--ink-2); }

.cta-row { display: flex; align-items: center; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.qr-card {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 8px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); line-height: 1.4;
}
.qr-card img { border-radius: 8px; image-rendering: pixelated; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; list-style: none; font-size: 14px; color: var(--ink-2); }
.trust li { display: flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--brand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Phone */
.hero-visual { position: relative; display: flex; justify-content: center; text-align: left; }
.guide { position: relative; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.halo {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; top: 12%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.28), transparent 66%);
  filter: blur(10px);
}
.phone {
  position: relative; width: 300px; height: 620px; padding: 12px;
  border-radius: 52px; background: #111;
  box-shadow: 0 0 0 2px #2a2a2a inset, 0 40px 80px rgba(var(--brand-rgb), 0.22), 0 20px 40px rgba(0, 0, 0, 0.18);
}
.island { position: absolute; top: 22px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 6; }
.screen {
  --app-bg: color-mix(in srgb, var(--brand) 5%, #f3f2f3);
  --wall: linear-gradient(165deg, color-mix(in srgb, var(--brand) 45%, #ffe2d2) 0%, color-mix(in srgb, var(--brand) 80%, #2a1830) 100%);
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: var(--app-bg); isolation: isolate;
}
.status { position: absolute; inset: 0 0 auto; z-index: 5; display: flex; justify-content: space-between; padding: 17px 30px 0; font-size: 13px; font-weight: 600; transition: color 0.4s; pointer-events: none; }
.status .sig { width: 24px; height: 11px; border-radius: 3px; border: 1.5px solid currentColor; position: relative; top: 4px; }
.screen.dark .status { color: #fff; }

/* ---------- Hero guide ---------- */
/* 每个场景 .sc 的动画都挂在 .play 上，--d / --d2 是相对场景开始的秒数 */
.sc {
  position: absolute; inset: 0; padding: 56px 16px 0;
  opacity: 0; visibility: hidden; transform: scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s 0.45s;
}
.sc.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0s; }
.sc.home { background: var(--wall); padding: 56px 12px 0; }
.sc.map { padding: 0; background: #eceee9; }
.sc h4 { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.guide.paused .sc *, .guide.paused .sc *::after, .guide.paused .sc *::before { animation-play-state: paused !important; }

.tap, .days span::after {
  content: ""; position: absolute; left: 50%; top: 50%; z-index: 3;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(120, 120, 128, 0.28); border: 1.5px solid rgba(255, 255, 255, 0.75);
  opacity: 0; pointer-events: none;
}
.sc.play .tap { animation: g-tap 0.6s ease-out var(--d, 0s) both; }
.sc.play .fu { animation: g-fu 0.5s var(--ease) var(--d, 0s) both; }
.swap { display: inline-grid; }
.swap > * { grid-area: 1 / 1; }
.swap > .s2 { opacity: 0; }
.sc.play .swap > .s1 { animation: g-out 0.3s ease var(--d) forwards; }
.sc.play .swap > .s2 { animation: g-in 0.35s ease var(--d) forwards; }

@keyframes g-tap { 0% { opacity: 0; transform: scale(0.6); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes g-fu { from { opacity: 0; transform: translateY(8px); } }
@keyframes g-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes g-out { to { opacity: 0; transform: translateY(-4px); } }
@keyframes g-show { from { opacity: 0; } to { opacity: 1; } }
@keyframes g-hide { to { opacity: 0; } }
@keyframes g-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes g-vanish { to { opacity: 0; transform: scale(0.3); } }
@keyframes g-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes g-sink { to { opacity: 0; transform: translateY(40px); } }
@keyframes g-sheet-in { from { transform: translateY(105%); } to { transform: none; } }
@keyframes g-sheet-out { from { transform: none; } to { transform: translateY(105%); } }
@keyframes g-drop { from { opacity: 0; transform: translateY(-140%); } to { opacity: 1; transform: none; } }

/* 图标 */
.ic { position: relative; display: block; width: 48px; height: 48px; border-radius: 12px; }
.ic svg, .ic img { display: block; width: 100%; height: 100%; border-radius: inherit; }
.grid { display: grid; grid-template-columns: repeat(4, 48px); justify-content: space-between; row-gap: 22px; padding: 14px 10px 0; }
.sc.play .ic.g { animation: g-vanish 0.45s var(--ease) calc(var(--at) + var(--i) * 90ms) both; }
.sc.play .ic.g2 { animation: g-vanish 0.45s var(--ease) calc(var(--at2) + var(--i) * 90ms) both; }
.dock {
  position: absolute; left: 10px; right: 10px; bottom: 12px; height: 72px; border-radius: 30px;
  display: flex; justify-content: space-around; align-items: center; padding: 0 6px;
  background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}

/* 通用 App 界面 */
.ah { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; }
.plus { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(var(--brand-rgb), 0.1); color: var(--brand); font-size: 20px; line-height: 1; }
.asub { margin: -8px 4px 0; font-size: 13px; color: var(--ink-3); }
.gc, .card { background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.gc b { display: block; font-size: 14px; }
.gc small { display: block; font-size: 11px; color: var(--ink-3); }
.gc-apps { display: flex; gap: 6px; margin-top: 10px; }
.gc-apps .ic { width: 24px; height: 24px; border-radius: 7px; }
.gc.new { overflow: hidden; box-shadow: 0 0 0 1.5px rgba(var(--brand-rgb), 0.35); }
.sc.play .gc.new { animation: g-grow 0.5s var(--ease) var(--d) both; }
@keyframes g-grow { from { max-height: 0; padding-top: 0; padding-bottom: 0; margin-bottom: 0; opacity: 0; } to { max-height: 120px; opacity: 1; } }
.toast {
  position: absolute; left: 50%; bottom: 30px; z-index: 4; white-space: nowrap;
  padding: 9px 16px; border-radius: 999px; background: rgba(29, 26, 28, 0.88); color: #fff; font-size: 12.5px; font-weight: 500;
  opacity: 0; transform: translateX(-50%);
}
.sc.play .toast { animation: g-toast 0.4s var(--ease) var(--d) forwards; }
@keyframes g-toast { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* 底部弹层 */
.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; top: 176px; z-index: 4;
  padding: 14px 18px; border-radius: 24px 24px 0 0; background: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08); transform: translateY(105%);
}
.sc.play .sheet { animation: g-sheet-in 0.45s var(--ease) var(--d) both, g-sheet-out 0.4s var(--ease) var(--d2) forwards; }
.sc.play .sheet.stay { animation: g-sheet-in 0.45s var(--ease) var(--d) both; }
.sheet.stay { top: 336px; }
.sheet-h { display: flex; justify-content: space-between; align-items: center; min-height: 20px; margin-bottom: 18px; font-size: 13px; color: var(--ink-3); }
.sheet-h b { font-size: 14px; color: var(--ink); }
.sheet-h .done { position: relative; color: var(--brand); font-weight: 600; }
.pick { display: grid; grid-template-columns: repeat(4, 44px); justify-content: space-between; row-gap: 18px; }
.pick .ic { width: 44px; height: 44px; border-radius: 11px; }
.chk { position: absolute; right: -5px; bottom: -5px; z-index: 2; width: 19px; height: 19px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; transform: scale(0); }
.chk::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.sc.play .chk { animation: g-pop 0.3s var(--ease) var(--d) both; }
.sheet-note { margin-top: 20px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* 2 一键限制 */
.qcard {
  position: absolute; left: 12px; right: 12px; bottom: 98px; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.95); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2); opacity: 0;
}
.sc.play .qcard { animation: g-rise 0.5s var(--ease) var(--d) both, g-sink 0.4s var(--ease) var(--d2) forwards; }
.qcard img { width: 36px; height: 36px; border-radius: 9px; }
.qcard > div { flex: 1; min-width: 0; line-height: 1.3; }
.qcard b { display: block; font-size: 14px; }
.qcard small { font-size: 11.5px; color: var(--ink-3); }
.home-toast { bottom: 104px; }
.tg { position: relative; flex: none; width: 46px; height: 28px; border-radius: 14px; background: #e3e1e2; }
.tg .kn { position: absolute; left: 2px; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); }
.sc.play .tg { animation: g-tg-bg 0.25s ease var(--d) both; }
.sc.play .tg .kn { animation: g-tg-kn 0.25s var(--ease) var(--d) both; }
@keyframes g-tg-bg { to { background: var(--brand); } }
@keyframes g-tg-kn { to { transform: translateX(18px); } }

/* 3 定时 */
.dial { position: relative; width: 200px; height: 200px; margin: 30px auto 0; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial circle { fill: none; stroke-width: 16; }
.dial .trk { stroke: rgba(var(--brand-rgb), 0.12); }
.dial .prg { stroke: var(--brand); stroke-linecap: round; stroke-dasharray: 502.65; stroke-dashoffset: 502.65; }
.dial .knob { transform-box: view-box; transform-origin: 50% 50%; }
.dial .knob circle { fill: #fff; stroke: none; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)); }
.sc.play .dial .prg { animation: g-dial 1.6s cubic-bezier(0.65, 0, 0.35, 1) var(--d) both; }
.sc.play .dial .knob { animation: g-knob 1.6s cubic-bezier(0.65, 0, 0.35, 1) var(--d) both; }
@keyframes g-dial { to { stroke-dashoffset: 125.66; } }
@keyframes g-knob { from { transform: rotate(0); } to { transform: rotate(270deg); } }
.dial-c { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dial-c .big { justify-items: center; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dial-c small { font-size: 12px; color: var(--ink-3); }
.dial-c .swap { justify-items: center; }
.act { margin-top: 34px; text-align: center; }
.act .swap { justify-items: center; align-items: center; }
.abtn { position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 48px; border-radius: 22px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; }
.act .note { font-size: 13px; color: var(--ink-2); }

/* 4 日程 */
.lbl { display: block; margin-bottom: 10px; font-size: 11.5px; font-weight: 600; color: var(--ink-3); }
.days { display: flex; justify-content: space-between; }
.days span { position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #f1eff0; color: var(--ink-3); font-size: 12px; font-weight: 600; }
.days span:nth-child(1) { --d: 0.5s; }
.days span:nth-child(2) { --d: 0.7s; }
.days span:nth-child(3) { --d: 0.9s; }
.days span:nth-child(4) { --d: 1.1s; }
.days span:nth-child(5) { --d: 1.3s; }
.sc.play .days span:nth-child(-n+5) { animation: g-day 0.25s ease var(--d) both; }
.sc.play .days span:nth-child(-n+5)::after { animation: g-tap 0.6s ease-out calc(var(--d) - 0.1s) both; }
@keyframes g-day { to { background: var(--brand); color: #fff; } }
.trange { display: flex; align-items: center; font-size: 22px; font-variant-numeric: tabular-nums; }
.trange i { flex: 1; height: 1.5px; margin: 0 12px; background: var(--line); }
.tbar { position: relative; height: 8px; margin-top: 12px; border-radius: 4px; background: rgba(var(--brand-rgb), 0.12); }
.tbar .fill { position: absolute; left: 37.5%; width: 37.5%; top: 0; bottom: 0; border-radius: 4px; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.sc.play .tbar .fill { animation: g-fill 0.8s var(--ease) var(--d) both; }
@keyframes g-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ticks { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 10px; border-radius: 999px; background: rgba(var(--brand-rgb), 0.1); color: var(--brand); font-size: 12px; font-weight: 600; }

/* 5 地点 */
.map-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo { position: absolute; left: 138px; top: 262px; width: 0; height: 0; }
.rad { position: absolute; left: -75px; top: -75px; width: 150px; height: 150px; border-radius: 50%; border: 1.5px dashed var(--brand); background: rgba(var(--brand-rgb), 0.1); opacity: 0; }
.sc.play .rad { animation: g-rad 0.6s var(--ease) var(--d) both, g-rad-on 0.4s ease var(--d2) forwards; }
@keyframes g-rad { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
@keyframes g-rad-on { to { opacity: 1; background: rgba(var(--brand-rgb), 0.24); border-style: solid; } }
.pin2 { position: absolute; left: -13px; top: -31px; width: 26px; height: 26px; opacity: 0; }
.pin2::before { content: ""; position: absolute; inset: 0; border-radius: 50% 50% 50% 0; background: var(--brand); transform: rotate(-45deg); box-shadow: 0 4px 10px rgba(var(--brand-rgb), 0.4); }
.pin2::after { content: ""; position: absolute; inset: 8.5px; border-radius: 50%; background: #fff; }
.sc.play .pin2 { animation: g-pin 0.5s var(--ease) var(--d) both; }
@keyframes g-pin { from { opacity: 0; transform: translateY(-40px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.plabel { position: absolute; left: -80px; width: 160px; top: 8px; text-align: center; }
.plabel span { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.loc-dot { position: absolute; left: 60px; top: 465px; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #2f7cf6; border: 3px solid #fff; box-shadow: 0 0 0 7px rgba(47, 124, 246, 0.18), 0 2px 6px rgba(0, 0, 0, 0.2); }
.sc.play .loc-dot { animation: g-walk 1.3s cubic-bezier(0.45, 0, 0.35, 1) var(--d) both; }
@keyframes g-walk { to { transform: translate(112px, -237px); } }
.banner {
  position: absolute; left: 8px; right: 8px; top: 46px; z-index: 4;
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14); opacity: 0; line-height: 1.3;
}
.sc.play .banner { animation: g-drop 0.5s var(--ease) var(--d) both; }
.banner img { flex: none; width: 34px; height: 34px; border-radius: 8px; }
.banner div { flex: 1; min-width: 0; }
.banner b { display: block; font-size: 13px; }
.banner small { font-size: 12px; color: var(--ink-2); }
.banner time { align-self: flex-start; font-size: 11px; color: var(--ink-3); }
.msheet { position: absolute; left: 10px; right: 10px; bottom: 14px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
.msheet b { font-size: 15px; }
.seg { display: flex; margin-top: 10px; padding: 3px; border-radius: 10px; background: #f1eff0; }
.seg span { flex: 1; padding: 6px 0; border-radius: 8px; text-align: center; font-size: 12px; color: var(--ink-2); }
.seg span.on { background: #fff; color: var(--brand); font-weight: 600; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08); }

/* 6 替身密码 */
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 74px; background: var(--app-bg); }
.sc.play .lock { animation: g-lock-out 0.4s var(--ease) var(--d2) forwards; }
@keyframes g-lock-out { to { opacity: 0; transform: scale(1.06); } }
.lk-ic { width: 48px; height: 48px; border-radius: 12px; }
.lock p { margin-top: 14px; font-size: 15px; font-weight: 600; }
.dots { display: flex; gap: 14px; margin: 18px 0 34px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--ink-2); }
.sc.play .dots i { animation: g-dot 0.15s ease var(--d) both; }
@keyframes g-dot { to { background: var(--ink); border-color: var(--ink); } }
.keys { display: grid; grid-template-columns: repeat(3, 62px); gap: 12px 20px; }
.keys span { position: relative; display: grid; place-items: center; height: 62px; border-radius: 50%; background: rgba(0, 0, 0, 0.06); font-size: 24px; }
.keys .fn { background: none; font-size: 18px; color: var(--ink-2); }
.sc.play .keys .p { animation: g-key 0.35s ease var(--d) both; }
@keyframes g-key { 0%, 100% { background: rgba(0, 0, 0, 0.06); } 30% { background: rgba(0, 0, 0, 0.2); } }
.notes { position: absolute; inset: 0; padding: 56px 18px 0; background: #fff; opacity: 0; }
.sc.play .notes { animation: g-in 0.45s var(--ease) var(--d) forwards; }
.search { margin: 10px 0 8px; padding: 7px 10px; border-radius: 10px; background: #f0eff0; color: var(--ink-3); font-size: 13px; }
.notes ul { list-style: none; }
.notes li { padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.notes li b { display: block; font-size: 14px; }
.notes li small { font-size: 12px; color: var(--ink-3); }

/* 7 伪装图标 */
.ti { box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.9), 0 8px 20px rgba(0, 0, 0, 0.25); }
.ti img { position: absolute; inset: 0; }
.ti img + img { opacity: 0; }
.sc.play .ti img + img { animation: g-in 0.35s ease var(--d) forwards; }
.ring { position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--brand); opacity: 0; }
.sc.play .ring { animation: g-show 0.2s ease var(--d) both, g-hide 0.2s ease var(--d2) forwards; }
.sc.play .ring.last { animation: g-show 0.2s ease var(--d) both; }

/* 8 小组件与 Siri */
.wrow { display: flex; justify-content: space-between; padding: 14px 10px 0; }
.wrow + .grid { padding-top: 22px; }
.wdg {
  position: relative; width: 109px; height: 118px; padding: 12px; border-radius: 24px; color: #fff;
  display: flex; flex-direction: column;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 70%, #000), color-mix(in srgb, var(--brand) 42%, #000));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}
.wdg .w-top span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdg .w-state { font-size: 18px; }
.wdg .w-btn { position: relative; display: grid; }
.grid.mini { padding: 0; grid-template-columns: repeat(2, 48px); gap: 22px 13.3px; }
.siri { position: absolute; left: 50%; bottom: 100px; margin-left: -22px; }
.siri .wave { display: block; }
.bubble { position: absolute; left: 16px; right: 16px; bottom: 160px; text-align: center; }
.bubble span { display: inline-block; padding: 9px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.92); font-size: 13.5px; font-weight: 600; }

/* 章节导航 */
.gnav { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 300px; }
.gbar { display: flex; align-items: center; gap: 10px; width: 100%; }
.gsegs { display: flex; gap: 6px; flex: 1; }
.gsound {
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: var(--ink-3); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.7);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.gsound[hidden] { display: none; }
.gsound:hover { color: var(--brand); border-color: rgba(var(--brand-rgb), 0.4); }
.gsound svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gsound .spk { fill: currentColor; }
.gsound .wv { display: none; }
.gsound[aria-pressed="true"] { color: #fff; background: var(--brand); border-color: var(--brand); }
.gsound[aria-pressed="true"] .wv { display: inline; }
.gsound[aria-pressed="true"] .mute { display: none; }
.gseg { flex: 1; padding: 9px 0; }
.gseg span { display: block; height: 3px; border-radius: 2px; background: rgba(var(--brand-rgb), 0.16); overflow: hidden; transition: background 0.2s; }
.gseg:hover span { background: rgba(var(--brand-rgb), 0.3); }
.gseg i { display: block; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.gcap { position: relative; width: 100%; height: 60px; text-align: center; }
.gcap p { position: absolute; inset: 0; opacity: 0; transform: translateY(4px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.gcap p.on { opacity: 1; transform: none; }
.gcap b { display: block; font-size: 15px; }
.gcap span { font-size: 13px; color: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 14px; }
.kicker.light { color: rgba(255, 255, 255, 0.8); }
h2 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 800; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--ink-2); }
h3 { font-size: 20px; letter-spacing: -0.01em; }

/* Modes */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mode:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(var(--brand-rgb), 0.1); }
.mode p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.mode-art {
  height: 132px; margin-bottom: 20px; border-radius: 16px;
  background: var(--wash); display: grid; place-items: center; position: relative; overflow: hidden;
}
.toggle { width: 76px; height: 44px; border-radius: 22px; background: var(--brand); position: relative; }
.toggle span { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); animation: knob 3s var(--ease) infinite; }
@keyframes knob { 0%, 40% { right: 4px; } 50%, 90% { right: 36px; } 100% { right: 4px; } }
.mode:hover .toggle span { animation-duration: 1.6s; }

.art-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.art-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.art-ring .track { stroke: rgba(var(--brand-rgb), 0.15); }
.art-ring .prog { stroke: var(--brand); stroke-dasharray: 239; stroke-dashoffset: 80; animation: ring 4s var(--ease) infinite alternate; }
@keyframes ring { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 60; } }
.art-ring b { position: absolute; display: flex; flex-direction: column; align-items: center; font-size: 22px; line-height: 1; color: var(--brand); }
.art-ring b small { font-size: 11px; font-weight: 600; margin-top: 3px; opacity: 0.8; }

.art-week { display: flex; gap: 5px; width: 100%; padding: 0 12px; justify-content: center; }
.art-week span { flex: 1; max-width: 28px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: #fff; color: var(--ink-3); }
.art-week span.on { background: var(--brand); color: #fff; }

.art-map { background-image: linear-gradient(rgba(var(--brand-rgb), 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--brand-rgb), 0.08) 1px, transparent 1px); background-size: 18px 18px; background-color: var(--wash); }
.radius { position: absolute; width: 90px; height: 90px; border-radius: 50%; background: rgba(var(--brand-rgb), 0.14); border: 1.5px dashed var(--brand); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.25); opacity: 0.2; } }
.pin { position: relative; width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--brand); transform: rotate(-45deg) translate(4px, -4px); box-shadow: 0 4px 10px rgba(var(--brand-rgb), 0.4); }
.pin::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff; }

.extra { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.extra-item { display: flex; align-items: center; gap: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.extra-item p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.widget-demo {
  flex: none; width: 132px; height: 132px; border-radius: 26px; padding: 14px; color: #fff;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 78%, #000), color-mix(in srgb, var(--brand) 50%, #000));
  display: flex; flex-direction: column; box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.3);
}
.w-top { display: flex; align-items: center; gap: 6px; font-size: 11px; opacity: 0.9; }
.w-top img { width: 18px; height: 18px; border-radius: 5px; }
.w-state { font-size: 20px; font-weight: 700; margin-top: auto; }
.w-btn { margin-top: 8px; font-size: 11px; padding: 5px 0; text-align: center; border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.siri-demo { flex: none; width: 132px; height: 132px; border-radius: 26px; background: #111; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 12px; text-align: center; }
.siri-demo p { font-size: 13px; line-height: 1.35; margin: 0; color: #fff; }
.wave { width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(from 0deg, var(--brand), #6e5eb0, #3b70c7, #38a185, var(--brand)); filter: blur(1px); animation: spin 4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scenes */
.scenes { padding-top: 40px; }
.scene-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.scene {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.scene:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07); }
.scene-top {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  height: 96px; padding: 16px 20px; color: #fff;
  background: linear-gradient(135deg, var(--g1), var(--g2));
}
.scene-top::after {
  content: ""; position: absolute; right: -24px; top: -24px; width: 96px; height: 96px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.scene-time { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.scene-tag { position: relative; z-index: 1; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(6px); }
.scene-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.scene-body p { margin: 6px 0 16px; font-size: 14.5px; color: var(--ink-2); flex: 1; }
.scene-mode {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--brand);
  padding: 5px 12px; border-radius: 999px; background: var(--wash);
}
.scene-mode::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* Privacy */
.privacy {
  color: #fff;
  background: radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--brand) 60%, #000) 0%, transparent 60%), #17121a;
  transition: background 0.5s;
}
.privacy-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.plist { list-style: none; margin-top: 36px; display: grid; gap: 22px; }
.plist li { display: grid; gap: 4px; padding-left: 20px; border-left: 2px solid rgba(255, 255, 255, 0.14); }
.plist b { font-size: 17px; }
.plist span { font-size: 15px; color: rgba(255, 255, 255, 0.66); }
.icon-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 28px; border-radius: 32px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.icon-wall img { width: 100%; aspect-ratio: 1; border-radius: 22%; transition: transform 0.3s var(--ease); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); }
.icon-wall img:hover { transform: scale(1.08); }
.icon-wall img.me { box-shadow: 0 0 0 3px #fff, 0 0 30px rgba(var(--brand-rgb), 0.8); }

/* Themes */
.themes { padding: 80px 0; }
.themes-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: 32px; padding: 44px 48px; }
.themes-inner p { margin-top: 10px; color: var(--ink-2); }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.sw i { width: 52px; height: 52px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 3px var(--card), 0 0 0 3px transparent; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.sw:hover i { transform: scale(1.08); }
.sw.is-on i { box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--s); }
.sw.is-on { color: var(--ink); font-weight: 600; }

/* FAQ */
.faq { padding-top: 40px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; font-size: 17px; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--wash); color: var(--brand); font-size: 20px; font-weight: 400; transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 4px 22px; color: var(--ink-2); font-size: 15.5px; }

/* Final */
.final { padding: 40px 0 110px; }
.final-inner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 72px 24px; border-radius: 40px; color: #fff;
  background: linear-gradient(140deg, var(--brand), var(--brand-deep));
  box-shadow: 0 40px 80px rgba(var(--brand-rgb), 0.3);
  transition: background 0.5s;
}
.final-inner img { border-radius: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); margin-bottom: 28px; }
.final-inner p { margin: 12px 0 32px; font-size: 18px; opacity: 0.85; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--ink-3); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 24px; }
.footer a:hover { color: var(--ink); }

/* Sticky CTA (mobile only) */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
  transform: translateY(140%); transition: transform 0.4s var(--ease);
}
.sticky-cta.show { transform: none; }
.sticky-cta img { border-radius: 10px; }
.sticky-cta div { flex: 1; line-height: 1.3; }
.sticky-cta b { display: block; font-size: 15px; }
.sticky-cta small { font-size: 12px; color: var(--ink-3); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .modes, .scene-list { grid-template-columns: repeat(2, 1fr); }
  .extra, .privacy-inner { grid-template-columns: 1fr; }
  .privacy-inner { gap: 48px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: 40px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 56px; }
  .lead { margin-inline: auto; }
  .cta-row, .trust { justify-content: center; }
  .qr-card { display: none; }
  .phone { transform: scale(0.92); margin: -24px 0; }
  .section { padding: 80px 0; }
  br.m { display: inline; }
  .themes-inner { padding: 32px 24px; justify-content: center; text-align: center; }
  .sticky-cta { display: flex; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

@media (max-width: 520px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .modes { grid-template-columns: 1fr; }
  .extra-item { flex-direction: column; text-align: center; }
  /* 手机上横向滑动，避免 6 张卡片把页面拉得太长 */
  .scene-list {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none;
  }
  .scene-list::-webkit-scrollbar { display: none; }
  .scene { flex: 0 0 82%; scroll-snap-align: center; }
  .icon-wall { gap: 14px; padding: 20px; }
  .sw i { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  :not(.sc *), :not(.sc *)::before, :not(.sc *)::after { animation: none !important; transition: none !important; }
  /* 演示不自动播放，点章节直接显示该章节的最终画面 */
  .sc *, .sc *::before, .sc *::after { animation-duration: 1ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
