/* ============================================================
   meimodu - 沉浸式AI对话与角色陪伴软件 单页样式
   紫罗兰轻量主题（紫 + 梅 + 玫瑰 + 薰衣草）
   移动端优先 · Bento 网格 · 时间轴 · CSS手机模拟
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-primary: #7c3aed;
  --c-primary-dark: #6d28d9;
  --c-primary-light: #a78bfa;
  --c-secondary: #a855f7;
  --c-secondary-dark: #9333ea;
  --c-accent-rose: #ec4899;
  --c-accent-cyan: #06b6d4;
  --grad-warm: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  --grad-plum: linear-gradient(135deg, var(--c-secondary) 0%, var(--c-accent-rose) 100%);
  --grad-cta: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-rose) 100%);
  --grad-bg: linear-gradient(160deg, #faf6ff 0%, #f3eaff 100%);
  --c-text: #2e2438;
  --c-text-soft: #5c5470;
  --c-text-mute: #9a92a8;
  --c-bg: #faf6ff;
  --c-bg-alt: #f3eaff;
  --c-card: #ffffff;
  --c-border: #ece3f8;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 12px rgba(124, 58, 237, 0.08);
  --shadow: 0 10px 30px rgba(124, 58, 237, 0.14);
  --shadow-lg: 0 22px 60px rgba(124, 58, 237, 0.24);
  --maxw: 1180px;
  --header-h: 64px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  overscroll-behavior-y: none;
  word-break: break-word;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button, .btn, .nav-toggle, .faq-item summary, .float-download { touch-action: manipulation; }
::selection { background: rgba(124, 58, 237, 0.2); color: var(--c-text); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.container-narrow { max-width: 840px; }
.section { padding: 56px 0; }
.section-alt { background: var(--c-bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-primary); background: rgba(124, 58, 237, 0.10);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
}
.section-head h2 { font-size: 27px; line-height: 1.32; margin-bottom: 12px; color: var(--c-text); letter-spacing: -0.01em; }
.section-desc { color: var(--c-text-soft); font-size: 15px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600; padding: 13px 26px; border-radius: 999px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 8px 22px rgba(124, 58, 237, 0.32); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(124, 58, 237, 0.44); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55); color: var(--c-primary-dark);
  border: 1px solid rgba(124, 58, 237, 0.35);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(124, 58, 237, 0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--c-text); flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; box-shadow: var(--shadow-sm); }
.brand-name {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.main-nav { display: none; gap: 28px; margin-left: auto; }
.main-nav a { color: var(--c-text-soft); font-size: 15px; font-weight: 500; position: relative; }
.main-nav a:hover { color: var(--c-primary); text-decoration: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-warm); border-radius: 2px; transition: width 0.22s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-download { display: none; }

@media (max-width: 959px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(250, 246, 255, 0.98);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--c-border);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.12);
    padding: 8px 18px 14px;
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.28s ease;
    pointer-events: none;
  }
  .main-nav.open { max-height: 560px; opacity: 1; pointer-events: auto; }
  .main-nav a {
    width: 100%; padding: 12px 4px; font-size: 16px;
    border-bottom: 1px solid var(--c-border); min-height: 44px;
  }
  .main-nav a:last-child { border-bottom: none; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta-mobile {
    display: flex; margin-top: 10px; padding: 13px 4px;
    background: var(--grad-cta); color: #fff; border-radius: 999px;
    font-weight: 600; justify-content: center; min-height: 44px;
    border-bottom: none !important;
  }
  .main-nav .nav-cta-mobile:hover { color: #fff; }
}
@media (min-width: 960px) {
  .main-nav .nav-cta-mobile { display: none; }
}

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  cursor: pointer; background: none; border: none; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(236, 72, 153, 0.30), transparent),
    radial-gradient(800px 460px at 6% 6%, rgba(168, 85, 247, 0.34), transparent),
    radial-gradient(700px 420px at 50% 108%, rgba(124, 58, 237, 0.20), transparent),
    linear-gradient(165deg, #f6f0ff 0%, #efe4fb 45%, #f7e8f3 100%);
  padding: 48px 0 60px;
}
.hero-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; opacity: 0.6;
}
.hero-blob-1 {
  width: 320px; height: 320px; top: 6%; left: -6%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
  animation: floatBlob 10s ease-in-out infinite;
}
.hero-blob-2 {
  width: 280px; height: 280px; bottom: 2%; right: -8%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.5), transparent 70%);
  animation: floatBlob 13s ease-in-out infinite 1.4s;
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.hero-text { max-width: 620px; }
.hero-badge {
  position: relative; overflow: hidden; font-size: 13px; letter-spacing: 0.06em;
  color: var(--c-primary-dark);
  background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(124, 58, 237, 0.22);
  padding: 7px 18px; border-radius: 999px; display: inline-block; margin-bottom: 18px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fadeInUp 0.7s ease-out 0.10s both;
}
.hero-badge::after {
  content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shimmer 4.5s ease-in-out infinite 1s;
}
.hero-text h1 {
  font-size: 32px; line-height: 1.28; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px;
  color: var(--c-text); animation: fadeInUp 0.7s ease-out 0.20s both;
}
.hero-text h1 strong {
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent-rose), var(--c-secondary), var(--c-primary));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: gradientShift 5s linear infinite;
}
.hero-sub { font-size: 15px; color: var(--c-text-soft); max-width: 580px; margin: 0 auto; animation: fadeInUp 0.7s ease-out 0.30s both; }
.hero-sub strong { color: var(--c-primary-dark); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; animation: fadeInUp 0.7s ease-out 0.36s both; }
.hero-tags .tag {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--c-text-soft);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; animation: fadeInUp 0.7s ease-out 0.42s both; }
.hero-cta .btn-primary { animation: ctaPulse 2.8s ease-in-out infinite 0.8s; }
.hero-stats {
  display: flex; gap: 22px; justify-content: center; margin-top: 34px; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.50s both;
}
.hero-stats dt {
  font-size: 26px; font-weight: 800;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent-rose));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stats dd { font-size: 13px; color: var(--c-text-mute); }
.hero-stats > div { animation: popIn 0.6s cubic-bezier(.34,1.56,.64,1) both; }
.hero-stats > div:nth-child(1) { animation-delay: 0.50s; }
.hero-stats > div:nth-child(2) { animation-delay: 0.64s; }
.hero-stats > div:nth-child(3) { animation-delay: 0.78s; }
.hero-stats > div:nth-child(4) { animation-delay: 0.92s; }

/* hero 视觉：CSS 手机模拟 + 灵魂光环 + 气泡 */
.hero-visual { position: relative; width: 240px; margin: 16px auto 0; animation: fadeInUp 0.8s ease-out 0.35s both; }
.soul-ring {
  position: absolute; inset: -18% -12%; z-index: 0; pointer-events: none;
  border-radius: 46% 54% 56% 44% / 50% 46% 54% 50%;
  background: conic-gradient(from 0deg,
    rgba(124, 58, 237, 0.55), rgba(236, 72, 153, 0.5),
    rgba(168, 85, 247, 0.5), rgba(6, 182, 212, 0.45),
    rgba(124, 58, 237, 0.55));
  filter: blur(28px);
  animation: soulSpin 12s linear infinite, soulPulse 4.5s ease-in-out infinite;
}
.phone-mock {
  position: relative; z-index: 2; width: 100%; max-width: 240px; margin: 0 auto;
  background: #1a1228; border-radius: 32px; padding: 10px 8px 14px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,0.06);
  animation: floatPhone 5.5s ease-in-out infinite; will-change: transform;
}
.phone-notch {
  width: 70px; height: 18px; background: #1a1228; border-radius: 0 0 12px 12px;
  margin: 0 auto 8px; position: relative; z-index: 3;
}
.phone-screen { background: var(--c-bg); border-radius: 22px; overflow: hidden; }
.phone-bar {
  display: flex; align-items: center; gap: 8px; padding: 12px 14px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.10), rgba(236, 72, 153, 0.10));
  border-bottom: 1px solid var(--c-border);
}
.phone-avatar {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.phone-name { font-size: 13px; font-weight: 600; color: var(--c-text); }
.phone-status { margin-left: auto; font-size: 11px; color: #4caf50; }
.phone-chat { padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.phone-msg { font-size: 12.5px; line-height: 1.5; padding: 9px 12px; border-radius: 14px; max-width: 88%; }
.phone-msg-ai { align-self: flex-start; background: #f3eaff; color: var(--c-text); border-bottom-left-radius: 4px; }
.phone-msg-user { align-self: flex-end; background: var(--grad-cta); color: #fff; border-bottom-right-radius: 4px; }
.phone-typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 14px; background: #f3eaff; border-radius: 14px 14px 14px 4px; }
.phone-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary-light); animation: typeDot 1.4s ease-in-out infinite; }
.phone-typing span:nth-child(2) { animation-delay: 0.2s; }
.phone-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typeDot { 0%,60%,100%{transform:translateY(0);opacity:0.4} 30%{transform:translateY(-5px);opacity:1} }

.chat-chip {
  position: absolute; z-index: 3; font-size: 12.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.92); color: var(--c-primary-dark);
  padding: 7px 13px; border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  white-space: nowrap;
}
.chat-chip.chip-1 { top: 14%; left: -32%; animation: chipFloat 4.6s ease-in-out infinite; }
.chat-chip.chip-2 { top: 44%; right: -36%; animation: chipFloat 5.2s ease-in-out infinite 0.8s; border-radius: 14px 14px 4px 14px; }
.chat-chip.chip-3 { bottom: 12%; left: -28%; animation: chipFloat 4.8s ease-in-out infinite 1.4s; }

@keyframes floatPhone { 0%,100%{transform:translateY(0)} 25%{transform:translateY(-10px)} 50%{transform:translateY(-16px)} 75%{transform:translateY(-6px)} }
@keyframes soulSpin { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
@keyframes soulPulse { 0%,100%{opacity:0.55;transform:scale(1)} 50%{opacity:0.85;transform:scale(1.06)} }
@keyframes chipFloat { 0%,100%{transform:translateY(0);opacity:0.92} 50%{transform:translateY(-9px);opacity:1} }
@keyframes floatBlob { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(22px,-26px) scale(1.08)} }
@keyframes fadeInUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes popIn { 0%{opacity:0;transform:translateY(18px) scale(0.92)} 70%{opacity:1;transform:translateY(0) scale(1.04)} 100%{opacity:1;transform:translateY(0) scale(1)} }
@keyframes gradientShift { 0%{background-position:0% 50%} 100%{background-position:300% 50%} }
@keyframes shimmer { 0%{transform:translateX(-120%)} 100%{transform:translateX(220%)} }
@keyframes ctaPulse { 0%,100%{box-shadow:0 8px 24px rgba(124,58,237,0.45),0 0 0 0 rgba(124,58,237,0.5)} 50%{box-shadow:0 10px 30px rgba(124,58,237,0.6),0 0 0 10px rgba(124,58,237,0)} }

/* ---------- Features (Bento) ---------- */
.bento { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bento-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.bento-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-warm); opacity: 0; transition: opacity 0.2s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 58, 237, 0.25); }
.bento-card:hover::before { opacity: 1; }
.bento-icon {
  width: 54px; height: 54px; border-radius: 16px; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 24px; box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}
.bento-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--c-text); }
.bento-card p { font-size: 14px; color: var(--c-text-soft); }

/* ---------- Characters ---------- */
.soul-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.soul-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 18px; box-shadow: var(--shadow-sm); text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.soul-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.soul-avatar {
  width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.soul-a1 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.soul-a2 { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.soul-a3 { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); }
.soul-a4 { background: linear-gradient(135deg, #f0abfc, #c026d3); }
.soul-a5 { background: linear-gradient(135deg, #a5f3fc, #06b6d4); }
.soul-a6 { background: linear-gradient(135deg, #f9a8d4, #db2777); }
.soul-a7 { background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.soul-a8 { background: linear-gradient(135deg, #93c5fd, #2563eb); }
.soul-a9 { background: linear-gradient(135deg, #64748b, #334155); }
.soul-a10 { background: linear-gradient(135deg, #fbbf24, #d97706); }
.soul-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--c-text); }
.soul-tag {
  display: inline-block; font-size: 12px; color: var(--c-primary-dark);
  background: rgba(124, 58, 237, 0.10); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px;
}
.soul-card p { font-size: 13px; color: var(--c-text-soft); }
.gallery-note { text-align: center; margin-top: 18px; font-size: 14px; color: var(--c-text-mute); }

/* ---------- Demo (chat) ---------- */
.demo-inner { display: flex; flex-direction: column; gap: 28px; align-items: center; }
.demo-text { max-width: 540px; }
.demo-text .section-eyebrow { margin-bottom: 14px; }
.demo-text h2 { font-size: 25px; line-height: 1.32; margin-bottom: 12px; color: var(--c-text); }
.demo-desc { color: var(--c-text-soft); font-size: 15px; margin-bottom: 16px; }
.demo-points { margin-bottom: 20px; }
.demo-points li { font-size: 14px; color: var(--c-text-soft); padding: 4px 0; }
.chat-card {
  width: 100%; max-width: 380px;
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.chat-head {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; font-size: 14px; font-weight: 600; color: var(--c-text);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.08));
  border-bottom: 1px solid var(--c-border);
}
.chat-dot { width: 8px; height: 8px; border-radius: 50%; background: #4caf50; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.18); }
.chat-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.bubble { display: flex; align-items: flex-end; gap: 8px; max-width: 88%; }
.bubble-ai { align-self: flex-start; }
.bubble-user { align-self: flex-end; flex-direction: row-reverse; }
.bubble-avatar {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #fff;
}
.bubble-ai .bubble-avatar { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.bubble-user .bubble-avatar { background: linear-gradient(135deg, #ec4899, #be185d); }
.bubble-text { font-size: 14px; line-height: 1.55; padding: 10px 14px; border-radius: 16px; }
.bubble-ai .bubble-text { background: #f3eaff; color: var(--c-text); border-bottom-left-radius: 4px; }
.bubble-user .bubble-text { background: var(--grad-cta); color: #fff; border-bottom-right-radius: 4px; }

/* ---------- Screenshots (CSS 屏幕模拟) ---------- */
.shot-scroll {
  position: relative;
  display: flex; gap: 16px; overflow-x: auto; padding: 4px 4px 14px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--c-secondary) transparent;
  overscroll-behavior-x: contain;
}
.shot-scroll::-webkit-scrollbar { height: 6px; }
.shot-scroll::-webkit-scrollbar-thumb { background: var(--c-secondary); border-radius: 3px; }
.shot-item {
  flex: 0 0 auto; width: 220px; scroll-snap-align: center; scroll-snap-stop: always;
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot-mock { height: 360px; background: var(--c-bg); display: flex; flex-direction: column; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 12px; font-weight: 600; color: var(--c-text); background: linear-gradient(90deg, rgba(124,58,237,0.10), rgba(236,72,153,0.10)); border-bottom: 1px solid var(--c-border); }
.mock-dot { width: 6px; height: 6px; border-radius: 50%; background: #4caf50; }
.mock-body { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-bubble { font-size: 11px; line-height: 1.5; padding: 8px 11px; border-radius: 12px; max-width: 85%; }
.mock-ai { align-self: flex-start; background: #f3eaff; color: var(--c-text); border-bottom-left-radius: 3px; }
.mock-user { align-self: flex-end; background: var(--grad-cta); color: #fff; border-bottom-right-radius: 3px; }
.mock-choice { align-self: flex-start; font-size: 11px; padding: 8px 12px; background: rgba(124,58,237,0.08); border: 1px dashed rgba(124,58,237,0.3); border-radius: 10px; color: var(--c-primary-dark); }
.mock-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.mock-card { background: var(--c-card); border: 1px solid var(--c-border); border-radius: 10px; padding: 10px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: var(--c-text-soft); }
.mock-ava { width: 28px; height: 28px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.mock-ava.a1 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.mock-ava.a2 { background: linear-gradient(135deg, #818cf8, #4f46e5); }
.mock-ava.a3 { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); }
.mock-ava.a4 { background: linear-gradient(135deg, #f0abfc, #c026d3); }
.mock-form { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mock-field label { font-size: 10px; color: var(--c-text-mute); display: block; margin-bottom: 3px; }
.mock-input { font-size: 11px; padding: 6px 10px; background: var(--c-card); border: 1px solid var(--c-border); border-radius: 8px; color: var(--c-text); }
.mock-btn { margin-top: auto; text-align: center; font-size: 11px; font-weight: 600; padding: 8px; background: var(--grad-cta); color: #fff; border-radius: 8px; }
.shot-item figcaption { padding: 10px 14px; font-size: 13px; color: var(--c-text-soft); text-align: center; border-top: 1px solid var(--c-border); }

/* ---------- Audience (适合人群) ---------- */
.audience-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.audience-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.audience-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-plum); opacity: 0; transition: opacity 0.2s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(168, 85, 247, 0.25); }
.audience-card:hover::before { opacity: 1; }
.audience-icon {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(124,58,237,0.10), rgba(236,72,153,0.10));
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.audience-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--c-text); }
.audience-card p { font-size: 14px; color: var(--c-text-soft); line-height: 1.65; }

/* ---------- Scenarios ---------- */
.scene-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.scene-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative; overflow: hidden;
}
.scene-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-warm); opacity: 0; transition: opacity 0.2s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(124, 58, 237, 0.25); }
.scene-card:hover::before { opacity: 1; }
.scene-icon {
  width: 50px; height: 50px; border-radius: 14px; color: #fff;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
  font-size: 22px; box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}
.scene-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--c-text); }
.scene-card p { font-size: 14px; color: var(--c-text-soft); margin-bottom: 10px; line-height: 1.65; }
.scene-card ul { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.scene-card li {
  font-size: 12.5px; color: var(--c-primary-dark);
  background: rgba(124, 58, 237, 0.08); padding: 4px 10px; border-radius: 999px;
  font-weight: 500;
}

/* ---------- How (Timeline) ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 8px; }
.timeline::before {
  content: ""; position: absolute; left: 30px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-secondary), var(--c-accent-rose));
  border-radius: 2px;
}
.tl-step { position: relative; display: flex; gap: 22px; padding: 14px 0 22px 0; align-items: flex-start; }
.tl-num {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
  background: var(--grad-warm); box-shadow: 0 6px 18px rgba(124, 58, 237, 0.3);
  border: 4px solid var(--c-bg);
}
.section-alt .tl-num { border-color: var(--c-bg-alt); }
.tl-body { padding-top: 6px; }
.tl-body h3 { font-size: 17px; margin-bottom: 6px; color: var(--c-text); }
.tl-body p { font-size: 14px; color: var(--c-text-soft); }

/* ---------- Compare ---------- */
.compare-wrap { max-width: 880px; margin: 0 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 540px; border-collapse: collapse; background: var(--c-card); }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; font-size: 14px; border-bottom: 1px solid var(--c-border); }
.compare-table thead th { background: var(--grad-warm); color: #fff; font-weight: 600; font-size: 14px; }
.compare-table thead th:first-child { border-top-left-radius: var(--radius); }
.compare-table thead th:last-child { border-top-right-radius: var(--radius); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:nth-child(even) { background: rgba(243, 234, 255, 0.5); }
.compare-table td.yes { color: var(--c-primary-dark); font-weight: 600; }
.compare-table td.yes::before { content: "✓ "; color: #4caf50; font-weight: 700; }
.scroll-hint { display: block; text-align: center; font-size: 12px; color: var(--c-text-mute); padding: 10px 0 0; }

/* ---------- Reviews ---------- */
.review-summary {
  display: flex; align-items: center; gap: 18px; justify-content: center;
  margin-bottom: 30px; padding: 20px 28px; max-width: 380px; margin-left: auto; margin-right: auto;
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.review-score {
  font-size: 44px; font-weight: 800; line-height: 1;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.review-stars { color: #f5a623; font-size: 16px; letter-spacing: 2px; }
.review-meta p { font-size: 13px; color: var(--c-text-mute); margin-top: 4px; }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.review-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-card > .review-stars { font-size: 14px; margin-bottom: 10px; }
.review-card p { font-size: 14px; color: var(--c-text-soft); margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: #fff;
}
.ra1 { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.ra2 { background: linear-gradient(135deg, #ec4899, #be185d); }
.ra3 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.review-author strong { display: block; font-size: 14px; color: var(--c-text); }
.review-author span { font-size: 12px; color: var(--c-text-mute); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow); border-color: rgba(124, 58, 237, 0.22); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-size: 15px; font-weight: 600;
  color: var(--c-text); display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: var(--c-primary); transition: transform 0.2s ease;
  flex-shrink: 0; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 18px 16px; }
.faq-answer p { font-size: 14px; color: var(--c-text-soft); line-height: 1.7; }

/* ---------- Download ---------- */
.download {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 360px at 88% 10%, rgba(236, 72, 153, 0.30), transparent),
    radial-gradient(600px 320px at 8% 90%, rgba(168, 85, 247, 0.30), transparent),
    linear-gradient(160deg, #f6f0ff 0%, #f3eaff 100%);
  padding: 60px 0;
}
.download-inner { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }
.download-text { max-width: 600px; }
.download-text .section-eyebrow { margin-bottom: 14px; }
.download-text h2 { font-size: 27px; line-height: 1.3; margin-bottom: 12px; color: var(--c-text); }
.download-desc { color: var(--c-text-soft); font-size: 15px; margin-bottom: 18px; }
.download-desc strong { color: var(--c-primary-dark); }
.download-meta {
  display: inline-flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center;
  margin-bottom: 22px; font-size: 13px; color: var(--c-text-mute);
}
.download-meta li { display: inline-flex; gap: 4px; }
.download-meta strong { color: var(--c-text-soft); }
.download-cta { display: flex; justify-content: center; margin-bottom: 10px; }
.download-hint { font-size: 13px; color: var(--c-text-mute); }
.download-visual { order: -1; }
.download-visual img {
  width: 120px; height: 120px; border-radius: 28px; object-fit: cover;
  box-shadow: var(--shadow-lg); animation: floatPhone 5s ease-in-out infinite;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, #2e2438 0%, #3b2d4a 100%);
  color: #d8c8e8; padding: 48px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { font-size: 13px; color: #b8a8c8; line-height: 1.7; margin-top: 12px; }
.footer-logo { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); }
.footer-brand .brand-name {
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 12px; font-weight: 600; letter-spacing: 0.04em; }
.footer-col a { display: block; font-size: 13px; color: #b8a8c8; padding: 5px 0; transition: color 0.18s ease; }
.footer-col a:hover { color: #a78bfa; text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 22px; }
.footer-bottom p { font-size: 12px; color: #9888a8; line-height: 1.8; margin-bottom: 8px; }

/* ---------- Float Download ---------- */
.float-download {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90; padding: 12px 22px; font-size: 15px; font-weight: 600; color: #fff;
  background: var(--grad-cta); border-radius: 999px; box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  text-decoration: none; opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: ctaPulse 2.8s ease-in-out infinite;
}
.float-download:hover { text-decoration: none; box-shadow: 0 12px 32px rgba(124, 58, 237, 0.55); }
.float-download.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* ---------- Scroll Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   响应式断点
   ============================================================ */

/* ---- 平板 ≥768px ---- */
@media (min-width: 768px) {
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 32px; }
  .section-desc { font-size: 16px; }
  .container { padding: 0 24px; }
  .hero { padding: 72px 0 88px; }
  .hero-text h1 { font-size: 44px; }
  .hero-sub { font-size: 17px; }
  .hero-stats dt { font-size: 32px; }
  .hero-visual { width: 280px; }
  .bento { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .bento-lg { grid-column: span 2; }
  .bento-wide { grid-column: span 2; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  .soul-gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .demo-inner { flex-direction: row; align-items: center; text-align: left; }
  .demo-text { flex: 1; }
  .chat-card { flex: 0 0 380px; }
  .shot-item { width: 260px; }
  .review-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .download-inner { flex-direction: row; text-align: left; align-items: center; }
  .download-text { flex: 1; }
  .download-visual { order: 0; flex: 0 0 auto; }
  .download-visual img { width: 160px; height: 160px; }
  .download-meta { justify-content: flex-start; }
  .download-cta { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
}

/* ---- 桌面 ≥960px ---- */
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .nav-download { display: inline-flex; }
  .hero-inner { flex-direction: row; align-items: center; text-align: left; gap: 48px; }
  .hero-text { flex: 1; max-width: 560px; }
  .hero-tags { justify-content: flex-start; }
  .hero-cta { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-sub { margin: 0; }
  .hero-visual { width: 320px; margin: 0; flex-shrink: 0; }
  .hero-text h1 { font-size: 50px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .bento-lg { grid-column: span 2; grid-row: span 2; }
  .bento-lg .bento-icon { width: 60px; height: 60px; font-size: 26px; }
  .bento-lg h3 { font-size: 20px; }
  .bento-wide { grid-column: span 2; }
  .scene-grid { grid-template-columns: repeat(4, 1fr); }

  .audience-grid { grid-template-columns: repeat(3, 1fr); }

  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- 大屏 ≥1200px ---- */
@media (min-width: 1200px) {
  .hero-text h1 { font-size: 54px; }
}

/* ---- 中小屏 ≤767px chat-chip 位置调整（防止被 overflow-x:clip 裁剪） ---- */
@media (max-width: 767px) {
  .chat-chip.chip-1 { left: -10%; }
  .chat-chip.chip-2 { right: -10%; }
  .chat-chip.chip-3 { left: -6%; }
}

/* ---- 小屏 ≤360px 优化 ---- */
@media (max-width: 360px) {
  .hero-text h1 { font-size: 24px; }
  .hero-stats { gap: 12px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 11px; }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .hero-tags { gap: 8px; }
  .hero-tags .tag { font-size: 11px; padding: 5px 10px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 24px; }
  .section-head h2 { font-size: 20px; }
  .section-eyebrow { font-size: 11px; }
  .section-desc { font-size: 13px; }
  .bento-card { padding: 20px 16px; }
  .bento-card h3 { font-size: 16px; }
  .bento-icon { width: 44px; height: 44px; font-size: 20px; }
  .soul-gallery { grid-template-columns: 1fr; }
  .soul-card { padding: 18px 16px; }
  .scene-grid { grid-template-columns: 1fr; }
  .scene-card { padding: 18px 16px; }
  .scene-icon { width: 44px; height: 44px; font-size: 20px; }
  .btn-lg { padding: 13px 22px; font-size: 14px; }
  .btn-primary.btn-lg, .hero-cta .btn, .download-cta .btn { max-width: 100%; width: 100%; }
  .hero-cta, .download-cta { flex-direction: column; }
  .hero-cta .btn-ghost.btn-lg { width: 100%; }
  .nav-toggle { width: 44px; height: 44px; }
  .faq-item summary { padding: 14px 16px; font-size: 14px; }
  .main-nav a { min-height: 44px; padding: 13px 4px; }
  .compare-table th, .compare-table td { padding: 11px 12px; font-size: 13px; }
  .float-download {
    left: calc(12px + env(safe-area-inset-left));
    right: calc(12px + env(safe-area-inset-right));
    bottom: calc(12px + env(safe-area-inset-bottom));
    font-size: 13px; padding: 12px 16px; text-align: center; width: auto;
  }
  .chat-chip { font-size: 11px; padding: 5px 10px; }
  .chat-chip.chip-1 { top: 12%; left: -6%; }
  .chat-chip.chip-2 { top: 40%; right: -6%; }
  .chat-chip.chip-3 { bottom: 10%; left: -2%; }
  .hero-visual { width: 200px; overflow: visible; }
  .review-summary { flex-direction: column; gap: 10px; padding: 16px; }
  .review-score { font-size: 36px; }
  .tl-step { gap: 14px; }
  .tl-num { width: 52px; height: 52px; font-size: 16px; }
  .timeline::before { left: 26px; }
  .demo-points { margin-bottom: 14px; }
  .gallery-note { font-size: 12.5px; }
  .download-hint { font-size: 12px; }
  .demo-text h2, .download-text h2 { font-size: 22px; }
  .review-card { padding: 18px 16px; }
  .site-footer { padding: 36px 0 24px; }
  .footer-bottom p { font-size: 11px; }
  .chip-1, .chip-2, .chip-3 { max-width: 42vw; white-space: normal; }
}

/* ============================================================
   无障碍：尊重 prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .phone-mock, .soul-ring, .hero-blob, .chat-chip, .download-visual img, .float-download { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   打印样式
   ============================================================ */
@media print {
  .site-header, .float-download, .nav-toggle, .hero-blob, .soul-ring, .chat-chip { display: none !important; }
  .hero, .download { background: #fff !important; color: #000 !important; }
  body { padding-bottom: 0; }
}
