/* ============================================================
   souLai - AI灵魂伴侣与情感陪伴聊天软件 单页样式
   暖色系轻量主题（珊瑚 + 陶土 + 灵魂梅 + 奶油）
   移动端优先 · Bento 网格 · 时间轴 · 灵魂光环动画
   ============================================================ */

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

:root {
  /* 主色：珊瑚 coral */
  --c-primary: #e0563f;
  --c-primary-dark: #c4452f;
  --c-primary-light: #f08070;
  /* 副色：陶土 terracotta */
  --c-secondary: #e8a87c;
  --c-secondary-dark: #d68f5c;
  /* 强调色：灵魂梅 plum */
  --c-accent-plum: #6b4a6b;
  --c-accent-plum-light: #9b6b9b;
  --c-accent-rose: #e88a9a;
  /* 渐变 */
  --grad-warm: linear-gradient(135deg, var(--c-primary) 0%, var(--c-secondary) 100%);
  --grad-plum: linear-gradient(135deg, var(--c-accent-plum) 0%, var(--c-accent-plum-light) 100%);
  --grad-cta: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent-rose) 100%);
  --grad-bg: linear-gradient(160deg, #faf5ef 0%, #f7ebe0 100%);
  /* 文本 */
  --c-text: #3d2e2a;
  --c-text-soft: #6b5750;
  --c-text-mute: #9a8b82;
  /* 背景 */
  --c-bg: #faf5ef;
  --c-bg-alt: #f7ebe0;
  --c-card: #ffffff;
  --c-border: #f0e2d4;
  /* 圆角与阴影（暖色调阴影） */
  --radius: 22px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 12px rgba(224, 86, 63, 0.08);
  --shadow: 0 10px 30px rgba(224, 86, 63, 0.12);
  --shadow-lg: 0 22px 60px rgba(224, 86, 63, 0.22);
  --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 { 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(224, 86, 63, 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(224, 86, 63, 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(224, 86, 63, 0.32); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(224, 86, 63, 0.44); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.55); color: var(--c-primary-dark);
  border: 1px solid rgba(224, 86, 63, 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, 245, 239, 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(224, 86, 63, 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, 245, 239, 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(224, 86, 63, 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: 40px; height: 40px; 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（暖色轻量 · 双 blob 光晕 · 灵魂光环） ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(232, 138, 154, 0.35), transparent),
    radial-gradient(800px 460px at 6% 6%, rgba(232, 168, 124, 0.38), transparent),
    radial-gradient(700px 420px at 50% 108%, rgba(155, 107, 155, 0.22), transparent),
    linear-gradient(165deg, #fdf3ec 0%, #fae5d6 45%, #f4d9c8 100%);
  padding: 48px 0 60px;
}
/* 双 blob 浮动光晕 */
.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(224, 86, 63, 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(155, 107, 155, 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(224, 86, 63, 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-accent-plum-light), 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(224, 86, 63, 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-plum-light));
  -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 右侧视觉：手机 + 灵魂光环 + 气泡 */
.hero-visual { position: relative; width: 230px; 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(224, 86, 63, 0.55),
    rgba(232, 138, 154, 0.5),
    rgba(155, 107, 155, 0.5),
    rgba(232, 168, 124, 0.55),
    rgba(224, 86, 63, 0.55));
  filter: blur(28px);
  animation: soulSpin 12s linear infinite, soulPulse 4.5s ease-in-out infinite;
}
.hero-phone {
  position: relative; z-index: 2; display: block; width: 100%; height: auto;
  border-radius: 26px; box-shadow: var(--shadow-lg);
  animation: floatPhone 5.5s ease-in-out infinite; will-change: transform;
}
.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: 18%; left: -38%; animation: chipFloat 4.6s ease-in-out infinite; }
.chat-chip.chip-2 { top: 44%; right: -42%; animation: chipFloat 5.2s ease-in-out infinite 0.8s; border-radius: 14px 14px 4px 14px; }
.chat-chip.chip-3 { bottom: 14%; left: -34%; 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(224,86,63,0.45),0 0 0 0 rgba(224,86,63,0.5)} 50%{box-shadow:0 10px 30px rgba(224,86,63,0.6),0 0 0 10px rgba(224,86,63,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(224, 86, 63, 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(224, 86, 63, 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) ---------- */
.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, #f0a8a0, #e0563f); }
.soul-a2 { background: linear-gradient(135deg, #8a93b8, #5b648c); }
.soul-a3 { background: linear-gradient(135deg, #c8a878, #8b6940); }
.soul-a4 { background: linear-gradient(135deg, #f5b8c8, #e85b8a); }
.soul-a5 { background: linear-gradient(135deg, #a8d8b8, #5ba878); }
.soul-a6 { background: linear-gradient(135deg, #6a6a8a, #3a3a5a); }
.soul-a7 { background: linear-gradient(135deg, #c8a8d8, #8b5ba8); }
.soul-a8 { background: linear-gradient(135deg, #e8c878, #c89b3a); }
.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(224, 86, 63, 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(224, 86, 63, 0.08), rgba(232, 168, 124, 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, #f0a8a0, #e0563f); }
.bubble-user .bubble-avatar { background: linear-gradient(135deg, #9b6b9b, #6b4a6b); }
.bubble-text {
  font-size: 14px; line-height: 1.55; padding: 10px 14px; border-radius: 16px;
}
.bubble-ai .bubble-text { background: #f7ebe0; 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 ---------- */
.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-item img { width: 100%; height: auto; display: block; }
.shot-item figcaption {
  padding: 10px 14px; font-size: 13px; color: var(--c-text-soft); text-align: center;
  border-top: 1px solid var(--c-border);
}

/* ---------- 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(224, 86, 63, 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(224, 86, 63, 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(224, 86, 63, 0.08); padding: 4px 10px; border-radius: 999px;
  font-weight: 500;
}

/* 角色卡渐变补 a9、a10 */
.soul-a9 { background: linear-gradient(135deg, #f0b878, #c8803a); }
.soul-a10 { background: linear-gradient(135deg, #a094b8, #64587c); }

/* ---------- 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-plum-light));
  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(224, 86, 63, 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;
  position: sticky; top: 0;
}
.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(247, 235, 224, 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, #f0a8a0, #e0563f); }
.ra2 { background: linear-gradient(135deg, #9b6b9b, #6b4a6b); }
.ra3 { background: linear-gradient(135deg, #e8c878, #c89b3a); }
.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(224, 86, 63, 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(232, 138, 154, 0.32), transparent),
    radial-gradient(600px 320px at 8% 90%, rgba(232, 168, 124, 0.32), transparent),
    linear-gradient(160deg, #fdf3ec 0%, #f7ebe0 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, #3d2e2a 0%, #4a3530 100%);
  color: #d8c8be; 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: #b8a89e; 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, #f08070, #e8a87c);
  -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: #b8a89e; padding: 5px 0; transition: color 0.18s ease; }
.footer-col a:hover { color: #f08070; 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: #988880; 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(224, 86, 63, 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(224, 86, 63, 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; }

  .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); }

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

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

/* ---- 小屏 ≤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; }
  .compare-wrap .scroll-hint { display: block !important; }
  .shot-scroll + .scroll-hint { display: block !important; margin-top: 8px; }
  .shot-scroll::after {
    content: "→ 左右滑动查看更多"; position: absolute; bottom: -2px; right: 4px;
    font-size: 11px; color: var(--c-text-mute);
  }
  .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; }
  .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; }
  .review-card { padding: 18px 16px; }
  .site-footer { padding: 36px 0 24px; }
  .footer-bottom p { font-size: 11px; }
  /* 防止 chat-chip 溢出容器 */
  .hero-visual { overflow: visible; }
  .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;
  }
  .hero-phone, .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; }
}
