/* ============================================================
   nimoo - AI角色聊天与陪伴软件 单页样式
   暗夜科技风 · 玻璃拟态 · 星空粒子 · 3D翻转卡 · 标签页
   ============================================================ */

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

:root {
  --c-bg: #0A0E1A;
  --c-bg-alt: #0F1424;
  --c-card: rgba(255, 255, 255, 0.04);
  --c-card-hover: rgba(255, 255, 255, 0.07);
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-glow: rgba(99, 102, 241, 0.3);
  --c-text: #F1F5F9;
  --c-text-soft: #94A3B8;
  --c-text-mute: #64748B;
  --c-primary: #6366F1;
  --c-cyan: #06B6D4;
  --c-purple: #A855F7;
  --c-pink: #EC4899;
  --grad-main: linear-gradient(135deg, #6366F1 0%, #06B6D4 100%);
  --grad-accent: linear-gradient(135deg, #A855F7 0%, #EC4899 100%);
  --grad-text: linear-gradient(90deg, #818CF8, #22D3EE, #A855F7, #818CF8);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --radius: 20px;
  --radius-sm: 12px;
  --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-cyan); 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, .tab-btn { touch-action: manipulation; }
::selection { background: rgba(99, 102, 241, 0.3); color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }
.container-narrow { max-width: 840px; }
.section { padding: 64px 0; position: relative; }
.section-alt { background: var(--c-bg-alt); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--c-cyan); background: rgba(6, 182, 212, 0.1);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 14px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}
.section-head h2 { font-size: 30px; line-height: 1.3; margin-bottom: 12px; 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-main); color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(99, 102, 241, 0.5); }
.btn-ghost {
  background: var(--c-card); color: var(--c-text);
  border: 1px solid var(--c-border);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: var(--c-card-hover); border-color: var(--c-border-glow); }
.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(10, 14, 26, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--c-border);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3); }
.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; min-height: 44px; }
.brand:hover { text-decoration: none; }
.brand-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: contain; }
.brand-name {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  background: var(--grad-text); background-size: 200% 100%;
  -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-text); text-decoration: none; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad-main); 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(10, 14, 26, 0.98);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    backdrop-filter: saturate(180%) blur(16px);
    border-bottom: 1px solid var(--c-border);
    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-main); color: #fff; border-radius: 999px;
    justify-content: center; min-height: 44px; border-bottom: none !important;
  }
}
@media (min-width: 960px) {
  .main-nav { display: flex; }
  .nav-download { display: inline-flex; }
  .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); }
@media (min-width: 960px) { .nav-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 60px 0 64px;
  background: radial-gradient(900px 500px at 80% -10%, rgba(99, 102, 241, 0.12), transparent),
              radial-gradient(700px 400px at 10% 10%, rgba(6, 182, 212, 0.10), transparent),
              radial-gradient(600px 400px at 50% 100%, rgba(168, 85, 247, 0.08), transparent),
              var(--c-bg);
}
.particle-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; opacity: 0.5;
}
.hero-glow-1 { width: 340px; height: 340px; top: 5%; left: -8%; background: radial-gradient(circle, rgba(99, 102, 241, 0.4), transparent 70%); animation: floatGlow 12s ease-in-out infinite; }
.hero-glow-2 { width: 300px; height: 300px; bottom: 0%; right: -10%; background: radial-gradient(circle, rgba(6, 182, 212, 0.35), transparent 70%); animation: floatGlow 14s ease-in-out infinite 2s; }

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--c-cyan);
  background: rgba(6, 182, 212, 0.08); border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 7px 18px; border-radius: 999px; margin-bottom: 22px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeInUp 0.7s ease-out 0.1s both;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 8px var(--c-cyan); animation: pulse 2s ease-in-out infinite; }
.hero-inner h1 { font-size: 34px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; animation: fadeInUp 0.7s ease-out 0.2s both; }
.hero-inner h1 strong {
  background: var(--grad-text); 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.3s both; }
.hero-sub strong { color: var(--c-text); }
.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: var(--c-card); border: 1px solid var(--c-border); color: var(--c-text-soft);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; animation: fadeInUp 0.7s ease-out 0.42s both; }
.hero-stats {
  display: flex; gap: 28px; justify-content: center; margin-top: 40px; flex-wrap: wrap;
  animation: fadeInUp 0.7s ease-out 0.5s both;
}
.hero-stats dt {
  font-size: 28px; font-weight: 800;
  background: var(--grad-main); -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.5s; }
.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; }

@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 pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
@keyframes floatGlow { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(20px,-24px) scale(1.08)} }

/* ---------- 核心能力（横向滚动） ---------- */
.section-features { background: var(--c-bg); }
.feature-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 18px 8px; -webkit-overflow-scrolling: touch; scroll-padding-left: 18px;
}
.feature-scroll::-webkit-scrollbar { height: 4px; }
.feature-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.feature-scroll::-webkit-scrollbar-thumb { background: var(--c-primary); border-radius: 2px; }
.feature-card {
  flex: 0 0 300px; scroll-snap-align: start;
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px 24px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--c-border-glow); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.2); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-size: 26px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--c-text); }
.feature-card p { font-size: 14px; color: var(--c-text-soft); line-height: 1.65; }
.feature-hint { text-align: center; font-size: 13px; color: var(--c-text-mute); margin-top: 18px; padding: 0 18px; }

/* ---------- 角色世界（3D 翻转卡） ---------- */
.section-characters { background: var(--c-bg-alt); }
.char-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.char-card { perspective: 1000px; height: 220px; cursor: pointer; }
.char-card-inner {
  position: relative; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.char-card:hover .char-card-inner, .char-card:focus .char-card-inner { transform: rotateY(180deg); }
.char-card:focus { outline: none; }
.char-card-front, .char-card-back {
  position: absolute; width: 100%; height: 100%; backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius); border: 1px solid var(--c-border);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 20px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
}
.char-card-front { background: var(--c-card); }
.char-card-back {
  background: var(--c-card-hover); transform: rotateY(180deg);
  border-color: var(--c-border-glow);
}
.char-avatar {
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.char-avatar-1 { background: linear-gradient(135deg, #1e1b4b, #312e81); }
.char-avatar-2 { background: linear-gradient(135deg, #134e4a, #0f766e); }
.char-avatar-3 { background: linear-gradient(135deg, #4c1d95, #6b21a8); }
.char-avatar-4 { background: linear-gradient(135deg, #831843, #9d174d); }
.char-avatar-5 { background: linear-gradient(135deg, #0c4a6e, #075985); }
.char-avatar-6 { background: linear-gradient(135deg, #352f1b, #574a16); }
.char-card-front h3 { font-size: 17px; margin-bottom: 8px; }
.char-tag { font-size: 12px; color: var(--c-cyan); background: rgba(6, 182, 212, 0.1); padding: 4px 12px; border-radius: 999px; }
.char-card-back h3 { font-size: 16px; margin-bottom: 10px; color: var(--c-text); }
.char-card-back p { font-size: 13px; color: var(--c-text-soft); line-height: 1.6; text-align: center; }

/* ---------- 对话演示 ---------- */
.section-demo { background: var(--c-bg); }
.demo-inner { display: flex; flex-direction: column; gap: 36px; align-items: center; }
.demo-text { max-width: 540px; }
.demo-text .section-eyebrow { margin-bottom: 14px; }
.demo-text h2 { font-size: 28px; margin-bottom: 12px; }
.demo-desc { color: var(--c-text-soft); font-size: 15px; margin-bottom: 20px; }
.demo-points { display: flex; flex-direction: column; gap: 10px; }
.demo-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--c-text-soft); }
.check { color: var(--c-cyan); font-weight: 700; flex-shrink: 0; }

/* 手机模拟 */
.demo-phone { flex-shrink: 0; }
.phone-frame {
  width: 280px; background: #1a1f3a; border-radius: 32px; padding: 12px;
  border: 1px solid var(--c-border); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
}
.phone-frame-mini { width: 240px; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 80px; height: 6px; background: #0A0E1A; border-radius: 0 0 8px 8px; z-index: 2; }
.phone-screen { background: #0d1117; border-radius: 24px; overflow: hidden; min-height: 420px; display: flex; flex-direction: column; }
.phone-header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--c-border); background: rgba(255,255,255,0.02); }
.phone-avatar { width: 36px; height: 36px; border-radius: 12px; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.phone-name { font-size: 15px; font-weight: 600; color: var(--c-text); }
.phone-status { margin-left: auto; font-size: 12px; color: #22c55e; }
.phone-chat { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.chat-msg { max-width: 80%; padding: 10px 14px; border-radius: 16px; font-size: 13px; line-height: 1.5; }
.chat-msg-ai { background: rgba(99, 102, 241, 0.12); border: 1px solid rgba(99, 102, 241, 0.15); align-self: flex-start; border-radius: 16px 16px 16px 4px; }
.chat-msg-user { background: var(--grad-main); color: #fff; align-self: flex-end; border-radius: 16px 16px 4px 16px; }
.chat-sender { display: block; font-size: 11px; color: var(--c-cyan); margin-bottom: 4px; }
.chat-time { display: block; font-size: 10px; color: var(--c-text-mute); margin-top: 4px; }
.phone-input { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--c-border); background: rgba(255,255,255,0.02); }
.phone-input-placeholder { flex: 1; font-size: 13px; color: var(--c-text-mute); }
.phone-send { font-size: 13px; color: var(--c-cyan); font-weight: 600; padding: 4px 8px; }

/* 真实产品截图展示 */
.phone-frame-shot { width: 300px; }
.phone-screen-shot { min-height: auto; padding: 0; background: #000; }
.show-main { width: 100%; height: auto; display: block; }
.show-thumbs { display: flex; gap: 10px; margin-top: 20px; justify-content: center; flex-wrap: wrap; }
.show-thumb {
  flex: 0 0 58px; border: 2px solid var(--c-border); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: none; padding: 0;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex; flex-direction: column; align-items: center; min-height: 44px;
}
.show-thumb img { width: 100%; height: auto; display: block; }
.show-thumb span { font-size: 11px; color: var(--c-text-mute); padding: 3px 0 5px; }
.show-thumb:hover { transform: translateY(-2px); }
.show-thumb.active { border-color: var(--c-primary); transform: translateY(-2px); box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3); }
.show-thumb.active span { color: var(--c-primary); font-weight: 600; }
.show-hint { text-align: center; font-size: 12px; color: var(--c-text-mute); margin-top: 12px; }

/* ---------- 应用场景（标签页） ---------- */
.section-scenarios { background: var(--c-bg-alt); }
.tab-bar { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.tab-btn {
  font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--c-border); background: var(--c-card); color: var(--c-text-soft);
  cursor: pointer; transition: all 0.2s ease; min-height: 44px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tab-btn:hover { color: var(--c-text); border-color: var(--c-border-glow); }
.tab-btn.active { background: var(--grad-main); color: #fff; border-color: transparent; box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3); }
.tab-panels { position: relative; }
.tab-panel { display: none; animation: fadeInUp 0.4s ease both; }
.tab-panel.active { display: block; }
.tab-content {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; max-width: 680px; margin: 0 auto;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
}
.tab-icon { width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 8px 24px rgba(99, 102, 241, 0.25); }
.tab-content h3 { font-size: 20px; margin-bottom: 10px; }
.tab-content p { font-size: 14px; color: var(--c-text-soft); line-height: 1.7; }

/* ---------- 对比优势（分屏） ---------- */
.section-compare { background: var(--c-bg); }
.compare-split { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 800px; margin: 0 auto; }
.compare-col {
  border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--c-border);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
}
.compare-col-nimoo { background: rgba(99, 102, 241, 0.06); border-color: rgba(99, 102, 241, 0.2); }
.compare-col-other { background: var(--c-card); }
.compare-badge {
  display: inline-block; font-size: 14px; font-weight: 700; padding: 6px 16px; border-radius: 999px;
  margin-bottom: 18px; background: var(--grad-main); color: #fff;
}
.compare-badge-other { background: rgba(255, 255, 255, 0.08); color: var(--c-text-mute); }
.compare-list { display: flex; flex-direction: column; gap: 12px; }
.compare-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.compare-list .check { color: #22c55e; }
.compare-list .cross { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.compare-list-other li { color: var(--c-text-mute); }

/* ---------- 使用步骤（进度条） ---------- */
.section-how { background: var(--c-bg-alt); }
.steps-track { position: relative; display: flex; flex-direction: column; gap: 28px; max-width: 640px; margin: 0 auto; }
.step-line { position: absolute; left: 28px; top: 28px; bottom: 28px; width: 2px; background: linear-gradient(180deg, var(--c-primary), var(--c-cyan), var(--c-purple)); opacity: 0.3; }
.step-item { display: flex; gap: 22px; align-items: flex-start; position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-main); color: #fff; font-size: 22px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3); border: 3px solid var(--c-bg-alt);
}
.step-body { padding-top: 8px; }
.step-body h3 { font-size: 17px; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--c-text-soft); line-height: 1.6; }

/* ---------- 用户评价 ---------- */
.section-reviews { background: var(--c-bg); }
.review-summary { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 36px; }
.review-score { font-size: 48px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.review-score span { font-size: 20px; color: var(--c-text-mute); -webkit-text-fill-color: var(--c-text-mute); }
.review-meta p { font-size: 14px; color: var(--c-text-soft); }
.review-stars { color: #fbbf24; font-size: 18px; letter-spacing: 2px; }
.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: 24px 22px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.review-card:hover { transform: translateY(-3px); border-color: var(--c-border-glow); }
.review-card p { font-size: 14px; color: var(--c-text-soft); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-text); font-weight: 600; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--grad-main); display: flex; align-items: center; justify-content: center; font-size: 14px; color: #fff; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--c-bg-alt); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  overflow: hidden; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--c-border-glow); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; font-size: 15px; font-weight: 600; color: var(--c-text);
  cursor: pointer; list-style: none; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--c-cyan); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { font-size: 14px; color: var(--c-text-soft); line-height: 1.7; }

/* ---------- 下载区 ---------- */
.section-download { background: var(--c-bg); padding: 56px 0 72px; }
.download-card {
  display: flex; flex-direction: column; gap: 36px; align-items: center;
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 40px 32px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card), var(--shadow-glow); text-align: center;
}
.download-text .section-eyebrow { margin-bottom: 14px; }
.download-text h2 { font-size: 28px; margin-bottom: 12px; }
.download-desc { color: var(--c-text-soft); font-size: 15px; margin-bottom: 20px; max-width: 480px; }
.download-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: center; margin-bottom: 24px; }
.meta-item { font-size: 14px; color: var(--c-text-soft); }
.download-btn { margin: 0 auto; }
.download-hint { font-size: 13px; color: var(--c-text-mute); margin-top: 14px; }
.download-visual { flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-bg-alt); border-top: 1px solid var(--c-border); padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
.footer-brand p { font-size: 13px; color: var(--c-text-mute); margin-top: 12px; line-height: 1.6; max-width: 300px; }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--c-text); }
.footer-col a { display: block; font-size: 13px; color: var(--c-text-mute); padding: 5px 0; }
.footer-col a:hover { color: var(--c-cyan); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--c-border); padding-top: 20px; }
.footer-bottom p { font-size: 12px; color: var(--c-text-mute); text-align: center; margin-bottom: 4px; }
.footer-bottom a { color: var(--c-text-mute); }
.footer-bottom a:hover { color: var(--c-cyan); }

/* ---------- 悬浮下载按钮 ---------- */
.float-download {
  position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  background: var(--grad-main); color: #fff; font-size: 15px; font-weight: 600;
  padding: 12px 28px; border-radius: 999px; z-index: 90;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.4);
  opacity: 0; pointer-events: none; transform: translateX(-50%) translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}
.float-download.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.float-download:hover { text-decoration: none; }
.float-download-icon { font-size: 18px; }

/* ---------- 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- 滑动提示 ---------- */
.scroll-hint { text-align: center; font-size: 13px; color: var(--c-text-mute); margin-top: 16px; }

/* ---------- 响应式：≥768px ---------- */
@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .section-head h2 { font-size: 34px; }
  .hero { padding: 80px 0 88px; }
  .hero-inner h1 { font-size: 44px; }
  .hero-stats { gap: 36px; }
  .hero-stats dt { font-size: 32px; }
  .feature-card { flex: 0 0 340px; }
  .char-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-inner { flex-direction: row; align-items: center; }
  .compare-split { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .review-summary { gap: 28px; }
  .download-card { flex-direction: row; text-align: left; }
  .download-text { flex: 1; }
  .download-desc { margin-left: 0; }
  .download-meta { justify-content: flex-start; }
  .download-btn { margin: 0; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .steps-track { gap: 32px; }
}

/* ---------- 响应式：≥960px ---------- */
@media (min-width: 960px) {
  .hero-inner h1 { font-size: 50px; }
  .char-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- 响应式：≥1200px ---------- */
@media (min-width: 1200px) {
  .hero-inner h1 { font-size: 56px; }
}

/* ---------- 小屏 ≤767px 优化 ---------- */
@media (max-width: 767px) {
  .hero-inner h1 { font-size: 30px; }
  .hero-stats { gap: 18px; }
  .hero-stats dt { font-size: 24px; }
  .feature-card { flex: 0 0 280px; }
  .step-num { width: 48px; height: 48px; font-size: 18px; }
  .step-line { left: 24px; }
  .download-card { padding: 32px 22px; }
  .footer-col a { min-height: 44px; display: flex; align-items: center; padding: 8px 0; }
  .char-card-front, .char-card-back { padding: 20px 14px; }
  .char-avatar { width: 56px; height: 56px; font-size: 28px; }
}

/* ---------- 小屏 ≤360px 优化 ---------- */
@media (max-width: 360px) {
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 22px; }
  .hero { padding: 40px 0 48px; }
  .hero-inner h1 { font-size: 25px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { gap: 14px; }
  .hero-stats dt { font-size: 20px; }
  .hero-stats dd { font-size: 11px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; max-width: 100%; }
  .hero-cta .btn-lg { padding: 13px 22px; font-size: 14px; }
  .hero-tags .tag { font-size: 12px; padding: 5px 12px; }
  .feature-card { flex: 0 0 260px; padding: 22px 18px; }
  .feature-icon { width: 44px; height: 44px; font-size: 22px; }
  .feature-card h3 { font-size: 16px; }
  .char-grid { grid-template-columns: 1fr; }
  .char-card { height: 200px; }
  .phone-frame { width: 260px; }
  .phone-frame-mini { width: 220px; }
  .tab-btn { font-size: 13px; padding: 8px 16px; }
  .tab-content { padding: 28px 20px; }
  .tab-content h3 { font-size: 18px; }
  .compare-col { padding: 22px 18px; }
  .step-item { gap: 16px; }
  .step-body h3 { font-size: 15px; }
  .step-body p { font-size: 13px; }
  .review-card { padding: 20px 18px; }
  .faq-item summary { font-size: 14px; padding: 14px 16px; }
  .faq-answer { padding: 0 16px 16px; }
  .download-text h2 { font-size: 22px; }
  .download-meta { gap: 8px 16px; }
  .meta-item { font-size: 13px; }
  .float-download { left: 12px; right: 12px; transform: none; justify-content: center; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .float-download.show { transform: none; }
}

/* ---------- 无障碍：减少动画 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .particle-canvas { display: none; }
}
