/* ============================================================
   Rubii - AI角色扮演聊天软件 单页样式
   移动端优先 · 紫色渐变年轻风格
   ============================================================ */

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

:root {
  --c-primary: #6d5efc;
  --c-primary-dark: #5a4ce0;
  --c-accent: #ff6b9d;
  --c-purple: #a855f7;
  --grad-main: linear-gradient(135deg, #6d5efc 0%, #a855f7 100%);
  --grad-cta: linear-gradient(135deg, #6d5efc 0%, #ff6b9d 100%);
  --c-text: #1a1430;
  --c-text-soft: #5b5470;
  --c-text-mute: #8a839f;
  --c-bg: #faf9ff;
  --c-bg-alt: #f3f1ff;
  --c-card: #ffffff;
  --c-border: #ece9f7;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(109, 94, 252, 0.06);
  --shadow: 0 8px 28px rgba(109, 94, 252, 0.12);
  --shadow-lg: 0 18px 50px rgba(109, 94, 252, 0.18);
  --maxw: 1160px;
  --header-h: 60px;
}

html { scroll-behavior: smooth; -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;
  overflow-x: hidden;
  /* 移动端给悬浮下载按钮留出空间，避免遮挡底部内容；桌面端在 @media 960 归零 */
  padding-bottom: 84px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

ul, ol { list-style: none; }

code {
  background: rgba(109, 94, 252, 0.1);
  color: var(--c-primary-dark);
  padding: 2px 7px;
  border-radius: 6px;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 18px;
}
.container-narrow { max-width: 820px; }

.section { padding: 48px 0; }
.section-alt { background: var(--c-bg-alt); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 32px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  background: rgba(109, 94, 252, 0.1);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: 26px; line-height: 1.3; margin-bottom: 12px; }
.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;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}
.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(255, 107, 157, 0.3); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(255, 107, 157, 0.42); }

.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.24); }

.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(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 9px; color: var(--c-text); }
.brand:hover { text-decoration: none; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { font-size: 20px; font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: none; gap: 26px; }
.main-nav a { color: var(--c-text-soft); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--c-primary); text-decoration: none; }

.nav-download { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(168, 85, 247, 0.35), transparent),
              radial-gradient(900px 500px at 10% 10%, rgba(109, 94, 252, 0.4), transparent),
              linear-gradient(160deg, #14102e 0%, #2a1b5e 55%, #3d1d63 100%);
  color: #fff;
  padding: 44px 0 56px;
  overflow: hidden;
}
.hero-inner { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; }

.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #d9cfff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 18px;
}
.hero-text h1 {
  font-size: 30px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.hero-text h1 strong { background: linear-gradient(90deg, #a855f7, #ff6b9d); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-sub { font-size: 15px; color: #d8d2f0; max-width: 560px; margin: 0 auto; }
.hero-sub strong { color: #fff; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.hero-stats {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats dt { font-size: 26px; font-weight: 800; background: linear-gradient(90deg, #fff, #d9cfff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stats dd { font-size: 13px; color: #b9b0e0; }

/* hero 图为竖长手机截图(420×880),用 height 限制而非 width:100%，避免高度溢出 */
.hero-visual { position: relative; width: 200px; margin: 12px auto 0; }
.hero-visual > img:not(.hero-visual-sub) {
  position: relative; z-index: 2; display: block;
  width: 100%; height: auto;
  border-radius: 22px; box-shadow: var(--shadow-lg);
  animation: floatMain 5s ease-in-out infinite;
  will-change: transform;
}
/* 副图：独立规则(提高特异性，避免被主图 width:100% 覆盖) */
.hero-visual .hero-visual-sub {
  position: absolute; top: 26px; width: 74%;
  border-radius: 20px; box-shadow: var(--shadow);
  opacity: 0.5; filter: blur(0.5px); z-index: 1; display: none;
}
.hero-visual .hero-visual-sub { left: -12%; animation: floatSubLeft 5s ease-in-out infinite; }
.hero-visual .hero-visual-sub2 { left: auto; right: -12%; animation: floatSubRight 5.5s ease-in-out infinite 0.6s; }

/* ---------- Hero 动画增强(主图浮动+光晕 / 副图错峰 / 文字渐入 / 氛围光球 / CTA脉冲) ---------- */

/* 背景漂浮光球(氛围深度) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(168,85,247,0.7), transparent 70%);
  top: 10%; left: -8%;
  animation: floatOrb 9s ease-in-out infinite;
}
.hero::after {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,107,157,0.6), transparent 70%);
  bottom: 6%; right: -6%;
  animation: floatOrb 11s ease-in-out infinite 1.2s;
}
.hero-inner { position: relative; z-index: 1; }

/* 主图后方脉冲光晕 */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -6%;
  background: radial-gradient(circle at 50% 45%, rgba(168,85,247,0.55), rgba(109,94,252,0.25) 45%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  animation: pulseGlow 3.6s ease-in-out infinite;
}

/* 主图:浮动 + 微摆 */
@keyframes floatMain {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-12px) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(0deg); }
  75% { transform: translateY(-8px) rotate(1deg); }
}
/* 副图错峰浮动 */
@keyframes floatSubLeft {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(-6deg); }
}
@keyframes floatSubRight {
  0%, 100% { transform: translateY(0) rotate(6deg); }
  50% { transform: translateY(-12px) rotate(6deg); }
}

/* 文字渐入 */
@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 floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-26px) scale(1.08); }
}
/* 主图光晕脉冲 */
@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.06); }
}
/* H1渐变文字流动 */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
/* eyebrow 光带扫过 */
@keyframes shimmer {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}
/* CTA按钮脉冲发光(吸引下载) */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(168,85,247,0.45), 0 0 0 0 rgba(168,85,247,0.5); }
  50% { box-shadow: 0 10px 30px rgba(168,85,247,0.6), 0 0 0 10px rgba(168,85,247,0); }
}

/* 应用动画 */
.hero-eyebrow {
  position: relative; overflow: hidden;
  animation: fadeInUp 0.7s ease-out 0.10s both;
}
.hero-eyebrow::after {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: shimmer 4.5s ease-in-out infinite 1s;
}
.hero-text h1 { animation: fadeInUp 0.7s ease-out 0.20s both; }
.hero-text h1 strong {
  background: linear-gradient(90deg, #a855f7, #ff6b9d, #a855f7);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s linear infinite;
}
.hero-sub { animation: fadeInUp 0.7s ease-out 0.30s both; }
.hero-cta { animation: fadeInUp 0.7s ease-out 0.40s both; }
.hero-cta .btn-primary { animation: ctaPulse 2.6s ease-in-out infinite 0.8s; }
.hero-stats { animation: fadeInUp 0.7s ease-out 0.50s both; }
.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-visual { animation: fadeInUp 0.8s ease-out 0.35s both; }
.hero-visual .hero-visual-sub { animation: floatSubLeft 5s ease-in-out infinite; }
.hero-visual .hero-visual-sub2 { animation: floatSubRight 5.5s ease-in-out infinite 0.6s; }

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-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;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--grad-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--c-text-soft); }

/* ---------- Scenes ---------- */
.scene-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
.scene-card {
  background: var(--c-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scene-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.scene-body { padding: 22px; }
.scene-body h3 { font-size: 18px; margin-bottom: 8px; }
.scene-body p { font-size: 14px; color: var(--c-text-soft); }

/* ---------- Demo ---------- */
.demo-inner { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
.demo-text .section-eyebrow { margin-bottom: 14px; }
.demo-text h2 { font-size: 24px; line-height: 1.35; margin-bottom: 12px; }
.demo-desc { color: var(--c-text-soft); font-size: 15px; margin-bottom: 22px; }

.chat-demo { display: flex; flex-direction: column; gap: 14px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; max-width: 100%; }
.bubble-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; }
.bubble p {
  background: var(--c-bg-alt);
  padding: 12px 16px;
  border-radius: 14px 14px 14px 4px;
  font-size: 14px;
  color: var(--c-text);
}
.bubble-user { flex-direction: row-reverse; }
.bubble-user p { background: var(--grad-main); color: #fff; border-radius: 14px 14px 4px 14px; }
.demo-visual { display: none; }
.demo-visual img { height: 460px; width: auto; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ---------- Reviews ---------- */
.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;
  box-shadow: var(--shadow-sm);
}
.review-avatar { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 14px; }
.review-card blockquote p { font-size: 15px; color: var(--c-text); margin-bottom: 14px; }
.review-card figcaption { font-size: 13px; color: var(--c-text-mute); }
.review-card figcaption strong { color: var(--c-text); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; max-width: 640px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--grad-main); border-radius: 2px; }
.timeline-item { position: relative; padding-bottom: 26px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--c-primary); box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.15); }
.timeline-date { display: inline-block; font-size: 13px; font-weight: 700; color: var(--c-primary); margin-bottom: 4px; }
.timeline-body h3 { font-size: 16px; margin-bottom: 4px; }
.timeline-body p { font-size: 14px; color: var(--c-text-soft); }

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.news-card {
  background: var(--c-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.news-body { padding: 18px; }
.news-body time { font-size: 12px; color: var(--c-primary); font-weight: 600; }
.news-body h3 { font-size: 16px; line-height: 1.4; margin: 6px 0 8px; }
.news-body p { font-size: 13px; color: var(--c-text-soft); }

/* ---------- FAQ ---------- */
.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);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--c-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--c-primary);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 18px; font-size: 14.5px; color: var(--c-text-soft); }

/* ---------- Download CTA ---------- */
.download-cta {
  background: radial-gradient(900px 400px at 80% 120%, rgba(255, 107, 157, 0.3), transparent),
              radial-gradient(700px 400px at 0% 0%, rgba(109, 94, 252, 0.4), transparent),
              linear-gradient(160deg, #14102e 0%, #2a1b5e 100%);
  color: #fff;
}
.download-cta .section-eyebrow { background: rgba(255, 255, 255, 0.12); color: #d9cfff; }
.download-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.download-text h2 { font-size: 26px; margin-bottom: 12px; }
.download-desc { color: #d8d2f0; font-size: 15px; margin-bottom: 8px; }
.download-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center;
  font-size: 14px; color: #b9b0e0; margin: 18px 0 26px;
}
.download-meta li { list-style: none; }
.download-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f0a1e; color: #b9b0e0; padding: 40px 0 24px; }
.footer-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.footer-brand { display: flex; gap: 12px; align-items: flex-start; }
.footer-brand img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand strong { color: #fff; font-size: 17px; display: block; margin-bottom: 2px; }
.footer-brand p { font-size: 13px; max-width: 320px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px 22px; }
.footer-nav a { color: #b9b0e0; font-size: 14px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 26px; padding-top: 18px; text-align: center; }
.footer-bottom p { font-size: 12px; color: #8a83a8; margin-bottom: 4px; }
.footer-icp a { color: #8a83a8; text-decoration: none; }
.footer-icp a:hover { color: #b9b0e0; text-decoration: underline; }

/* ---------- Floating download (mobile) ---------- */
.float-download {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 16px;
  right: 16px;
  background: var(--grad-cta);
  color: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
  z-index: 90;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.float-download:hover { text-decoration: none; transform: translateY(-2px); }
.float-download.hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* ============================================================
   Responsive — Tablet (≥640px)
   ============================================================ */
@media (min-width: 640px) {
  .section { padding: 80px 0; }
  .section-head h2 { font-size: 30px; }
  .hero { padding: 72px 0 88px; }
  .hero-text h1 { font-size: 38px; }
  .hero-sub { font-size: 16px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .scene-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-visual { width: 260px; }
  .float-download { left: auto; right: 24px; bottom: 24px; width: auto; padding: 14px 28px; }
}

/* ============================================================
   Responsive — Desktop (≥960px)
   ============================================================ */
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .main-nav { display: flex; }
  .container { padding: 0 32px; }
  .section { padding: 96px 0; }
  .section-head h2 { font-size: 34px; }
  .section-head { margin-bottom: 52px; }

  .hero-inner { flex-direction: row; text-align: left; gap: 48px; }
  .hero-text { flex: 1; }
  .hero-text h1 { font-size: 46px; }
  .hero-sub { margin: 0; max-width: none; }
  .hero-cta { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; margin-top: 38px; gap: 40px; }
  .hero-visual { width: auto; height: 480px; margin: 0; flex-shrink: 0; }
  .hero-visual > img:not(.hero-visual-sub) { width: auto; height: 100%; }
  .hero-visual .hero-visual-sub { display: block; width: auto; height: 78%; }

  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .scene-list { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }

  .demo-inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
  .demo-visual { display: block; }
  .demo-text h2 { font-size: 28px; }

  .download-text h2 { font-size: 32px; }

  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .float-download { display: none; }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  /* hero 主图/副图浮动 与 CTA 脉冲 为核心吸睛动效,用户明确要求保留(轻柔浮动,幅度小) */
  .hero-visual > img:not(.hero-visual-sub) { animation: floatMain 5s ease-in-out infinite !important; }
  .hero-visual .hero-visual-sub { animation: floatSubLeft 5s ease-in-out infinite !important; }
  .hero-visual .hero-visual-sub2 { animation: floatSubRight 5.5s ease-in-out infinite 0.6s !important; }
  .hero-cta .btn-primary { animation: ctaPulse 2.6s ease-in-out infinite 0.8s !important; }
}
