/* ======================================================
   喵喵 AI 官网 — styles.css (v7.0 双主题版)
   蓝色主题：深天蓝 #1E8EC5 | 粉色主题：玫瑰粉 #E0608A
   ====================================================== */

/* ── Google Fonts 已在 HTML head 中引入 ── */

/* ============================================================
   1. CSS 变量 & 重置
   ============================================================ */
:root {
  /* ── 蓝色主题（默认）── */
  --bg-page:        #E8F4FB;
  --bg-hero:        linear-gradient(160deg, #A8D8F0 0%, #C4E8F8 40%, #E0F2FA 100%);
  --bg-section:     #D8EEF8;
  --bg-section2:    #C8E5F5;
  --bg-card:        rgba(255,255,255,0.95);
  --bg-card2:       rgba(200,232,250,0.8);

  --primary:        #1E8EC5;
  --primary-light:  #4AABDC;
  --primary-dark:   #0D6A9A;
  --primary-pale:   #B8E0F5;
  --primary-vivid:  #0A9FE0;

  --accent:         #0F7DB5;
  --accent-light:   #6DC4EA;
  --accent-dark:    #084E78;
  --accent-warm:    #FF8C42;

  --green:          #2DBF70;
  --red:            #FF5252;
  --sky:            #5BB8E0;
  --star-yellow:    #FFD700;

  --text-white:     #FFFFFF;
  --text-dark:      #0D1F2D;
  --text-body:      #1A3A52;
  --text-muted:     #4A7A9A;
  --text-dim:       #7AAABB;

  /* 主题色阴影变量 */
  --theme-shadow-rgb: 14,110,180;

  /* 排版 */
  --font-en:  'Poppins', sans-serif;
  --font-cn:  'Noto Sans SC', 'Poppins', sans-serif;

  /* 圆角 */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-glow:   0 0 80px rgba(14,110,180,0.35);
  --shadow-card:   0 16px 56px rgba(14,110,180,0.16);
  --shadow-blue:   0 0 100px rgba(14,110,180,0.2);

  /* 过渡 */
  --transition:    0.3s ease;
  --transition-md: 0.5s cubic-bezier(0.4,0,0.2,1);
  --transition-lg: 0.7s cubic-bezier(0.4,0,0.2,1);
}

/* ── 粉色主题 ── */
[data-theme="pink"] {
  --bg-page:        #FDF0F4;
  --bg-section:     #F9E0E9;
  --bg-section2:    #F5D0DC;
  --bg-card:        rgba(255,255,255,0.97);
  --bg-card2:       rgba(252,224,235,0.85);

  --primary:        #E0608A;
  --primary-light:  #F080A0;
  --primary-dark:   #B83A65;
  --primary-pale:   #FBD5E2;
  --primary-vivid:  #F04878;

  --accent:         #C84875;
  --accent-light:   #F4A0BA;
  --accent-dark:    #8B2550;
  --accent-warm:    #FF8C42;

  --text-dark:      #2D0F1A;
  --text-body:      #4A1A2E;
  --text-muted:     #8A4A65;
  --text-dim:       #C080A0;

  --theme-shadow-rgb: 180,58,101;

  --shadow-glow:   0 0 80px rgba(180,58,101,0.3);
  --shadow-card:   0 16px 56px rgba(180,58,101,0.14);
  --shadow-blue:   0 0 100px rgba(180,58,101,0.18);
}

[data-theme="pink"] body {
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(224,96,138,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 100%, rgba(180,58,101,0.14) 0%, transparent 55%);
}

[data-theme="pink"] .hero-section {
  background:
    radial-gradient(ellipse 70% 55% at 15% 90%, rgba(180,58,101,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 10%, rgba(224,96,138,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 50% 45%, rgba(240,72,120,0.15) 0%, transparent 70%),
    linear-gradient(160deg, #F4B0C8 0%, #F8D0DC 35%, #FDE8EF 70%, #FFF2F6 100%);
}

[data-theme="pink"] .personality-section {
  background: linear-gradient(180deg, #FDF0F4 0%, #F9E0E9 50%, #FDF0F4 100%);
}

[data-theme="pink"] .fc-visual {
  background: linear-gradient(135deg, #F0A0BC 0%, #F8C8D8 100%);
}

[data-theme="pink"] .demo-section {
  background: linear-gradient(180deg, #F7DCE7 0%, #F2CDD9 50%, #F7DCE7 100%);
}

[data-theme="pink"] .parents-section {
  background: linear-gradient(180deg, #F5D5E2 0%, #EEC8D5 50%, #F5D5E2 100%);
}

[data-theme="pink"] .phone-screen { background: #FDEAF0; }

[data-theme="pink"] .cta-section {
  background:
    radial-gradient(ellipse 80% 60% at 20% 70%, rgba(180,58,101,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(224,96,138,0.24) 0%, transparent 55%),
    linear-gradient(160deg, #F4A8C0 0%, #F8C8D8 50%, #FDE8F0 100%);
}

[data-theme="pink"] .site-footer {
  background: #F0C8D8;
  border-top-color: rgba(180,58,101,0.22);
}

[data-theme="pink"] .nav-header.scrolled {
  background: rgba(253,230,238,0.96);
  box-shadow: 0 1px 0 rgba(180,58,101,0.18), 0 4px 24px rgba(180,58,101,0.09);
}

[data-theme="pink"] .nav-mobile-menu {
  background: rgba(253,230,238,0.99);
  border-top-color: rgba(180,58,101,0.16);
}

[data-theme="pink"] .product-card-inner {
  background: linear-gradient(140deg, rgba(255,255,255,0.99) 0%, rgba(252,210,228,0.95) 100%);
  border-color: rgba(180,58,101,0.22);
  box-shadow: 0 28px 70px rgba(180,58,101,0.2), 0 2px 0 rgba(255,255,255,0.95) inset;
}

[data-theme="pink"] .hero-emoji-ring {
  background: conic-gradient(from 0deg, #B83A65, #F04878, #F4A0BA, #FFFFFF, #B83A65);
}

[data-theme="pink"] .hero-emoji-ring::before {
  background: linear-gradient(135deg, #F4B0C8, #FCD8E4);
}

[data-theme="pink"] .title-gradient {
  background: linear-gradient(135deg, #B83A65 0%, #F04878 50%, #F4A0BA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="pink"] .chat-header {
  background: linear-gradient(90deg, rgba(240,160,188,0.85), rgba(255,255,255,0.92));
  border-bottom-color: rgba(180,58,101,0.14);
}

[data-theme="pink"] .section-tag {
  border-color: rgba(180,58,101,0.4);
  background: rgba(180,58,101,0.1);
  color: var(--primary-dark);
}

[data-theme="pink"] .story-tag {
  border-color: rgba(180,58,101,0.35);
  background: rgba(180,58,101,0.09);
  color: var(--primary-dark);
}

[data-theme="pink"] .fc-tag {
  border-color: rgba(180,58,101,0.3);
  background: rgba(180,58,101,0.09);
  color: var(--primary-dark);
}

[data-theme="pink"] .review-card {
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(252,218,232,0.92) 100%);
  border-color: rgba(180,58,101,0.16);
}

[data-theme="pink"] .chat-wave-area {
  background: rgba(248,210,225,0.5);
  border-top-color: rgba(180,58,101,0.12);
}

[data-theme="pink"] .q-btn {
  border-color: rgba(180,58,101,0.38);
}

[data-theme="pink"] .parent-card {
  border-left-color: var(--primary-vivid);
}

[data-theme="pink"] .ei-dot {
  background: rgba(180,58,101,0.25);
}

[data-theme="pink"] .hero-badge {
  border-color: rgba(180,58,101,0.38);
  background: rgba(180,58,101,0.1);
  color: var(--primary-dark);
}

[data-theme="pink"] .theme-toggle-icon::before {
  content: '🌊';
}
[data-theme="pink"] .theme-toggle-icon {
  font-size: 0;
}
[data-theme="pink"] .theme-toggle-icon::before {
  font-size: 18px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-page);
  background-image:
    radial-gradient(ellipse 70% 40% at 10% 0%, rgba(30,142,197,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 100%, rgba(14,110,180,0.14) 0%, transparent 55%);
  color: var(--text-dark);
  font-family: var(--font-cn);
  line-height: 1.7;
  overflow-x: clip;
  position: relative;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* 全局 fade-in-up */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-up.delay-1 { transition-delay: 0.1s; }
.fade-in-up.delay-2 { transition-delay: 0.2s; }
.fade-in-up.delay-3 { transition-delay: 0.35s; }
.fade-in-up.delay-4 { transition-delay: 0.5s; }

/* Section 通用标题 */
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(14,110,180,0.45);
  background: rgba(14,110,180,0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-en);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 72px;
}
.section-header-left { text-align: left; margin: 0 0 56px; }

.section-title {
  font-family: var(--font-cn);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
}

/* 渐变文字：深蓝→亮蓝 更鲜明 */
.title-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-vivid) 50%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   2. NAVIGATION
   ============================================================ */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}
.nav-header.scrolled {
  background: rgba(210,238,252,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(14,110,180,0.2), 0 4px 24px rgba(14,110,180,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 8px rgba(255,77,141,0.4));
}
.logo-text {
  font-family: var(--font-cn);
  font-weight: 800;
  font-size: 18px;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}
.logo-text em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-vivid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 36px;
  margin-left: auto;
}
.nav-link {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  font-family: var(--font-cn);
  box-shadow: 0 4px 16px rgba(14,110,180,0.4);
}
.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,110,180,0.55);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  gap: 4px;
  background: rgba(210,238,252,0.99);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(14,110,180,0.18);
  box-shadow: 0 8px 24px rgba(14,110,180,0.1);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-body);
  border-bottom: 1px solid rgba(14,110,180,0.1);
  transition: color var(--transition);
}
.nav-mobile-menu a:hover { color: var(--primary); }
.nav-mobile-menu .mobile-cta {
  margin-top: 12px;
  text-align: center;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary-vivid), var(--primary-dark));
  border-radius: var(--radius-md);
  font-weight: 700;
  border: none;
  color: #fff;
}

/* ============================================================
   3. HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 15% 90%, rgba(14,110,180,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 10%, rgba(30,142,197,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 50% 45%, rgba(10,159,224,0.15) 0%, transparent 70%),
    linear-gradient(160deg, #90CCE8 0%, #B8DFF5 35%, #D8EEF8 70%, #EBF5FC 100%);
  padding: 120px 24px 80px;
}

/* 装饰浮动元素（星星/云朵） */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,110,180,0.6) 0%, transparent 70%);
  animation: floatParticle linear infinite;
  opacity: 0.7;
}
/* 星形粒子：金黄色 */
.p3, .p5 {
  background: radial-gradient(circle, rgba(255,215,0,0.7) 0%, transparent 70%);
}
.p1 { width: 6px; height: 6px; left: 12%; top: 22%; animation-duration: 8s; animation-delay: 0s; }
.p2 { width: 8px; height: 8px; left: 82%; top: 18%; animation-duration: 11s; animation-delay: -3s; }
.p3 { width: 5px; height: 5px; left: 55%; top: 72%; animation-duration: 9s; animation-delay: -5s; }
.p4 { width: 10px; height: 10px; left: 22%; top: 62%; animation-duration: 13s; animation-delay: -2s; }
.p5 { width: 6px; height: 6px; left: 72%; top: 58%; animation-duration: 10s; animation-delay: -7s; }
.p6 { width: 7px; height: 7px; left: 42%; top: 12%; animation-duration: 12s; animation-delay: -4s; }

/* 额外装饰元素（✦ ☁） */
.hero-section::before {
  content: '✦';
  position: absolute;
  top: 14%; left: 8%;
  font-size: 22px;
  color: rgba(14,110,180,0.6);
  animation: twinkle 3s ease-in-out infinite;
}
.hero-section::after {
  content: '☁';
  position: absolute;
  top: 38%; right: 7%;
  font-size: 34px;
  color: rgba(255,255,255,0.85);
  animation: twinkle 4s ease-in-out infinite 1s;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1) rotate(0deg); }
  50%       { opacity: 1; transform: scale(1.15) rotate(8deg); }
}

@keyframes floatParticle {
  0%   { transform: translateY(0) scale(1); opacity: 0.5; }
  50%  { transform: translateY(-36px) scale(1.3); opacity: 0.9; }
  100% { transform: translateY(0) scale(1); opacity: 0.5; }
}

.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(14,110,180,0.14) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: pulseGlow 5s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%,-50%) scale(1.1); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(14,110,180,0.4);
  background: rgba(14,110,180,0.12);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 36px;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 12px rgba(14,110,180,0.12);
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ── Hero 产品展示区（核心重设计）── */
.hero-emoji-wrap {
  position: relative;
  width: 220px; height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 44px;
}

/* 外圈：双层光晕 */
.hero-emoji-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary-dark),
    var(--primary-vivid),
    var(--accent-light),
    #FFFFFF,
    var(--primary-dark)
  );
  animation: spin 8s linear infinite;
  padding: 3px;
}
.hero-emoji-ring::before {
  content: '';
  display: block;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #A0CCE8, #C8E8F8);
}

/* 内圈光晕 */
.hero-emoji-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,110,180,0.22) 0%, transparent 65%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hero-logo-img {
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow:
    0 0 0 6px rgba(14,110,180,0.15),
    0 16px 48px rgba(14,110,180,0.35),
    0 4px 16px rgba(0,0,0,0.12);
  animation: emojiFloat 3.5s ease-in-out infinite;
  z-index: 1;
}
.hero-emoji-core {
  position: absolute;
  font-size: 80px;
  filter: drop-shadow(0 0 30px rgba(14,110,180,0.5));
  animation: emojiFloat 3s ease-in-out infinite;
  line-height: 1;
}
@keyframes emojiFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

.hero-title {
  font-size: clamp(34px, 6.5vw, 68px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: var(--font-cn);
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(14,110,180,0.08);
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-body);
  max-width: 560px;
  margin-bottom: 44px;
  font-family: var(--font-en);
  line-height: 1.7;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

/* 主按钮：深蓝渐变，更有力 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-cn);
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 8px 32px rgba(14,110,180,0.5), 0 2px 8px rgba(0,0,0,0.15);
  letter-spacing: 0.02em;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 48px rgba(14,110,180,0.65), 0 4px 12px rgba(0,0,0,0.18);
}

/* 幽灵按钮：深蓝边 */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(14,110,180,0.6);
  background: rgba(14,110,180,0.08);
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: var(--font-cn);
}
.btn-ghost:hover {
  background: rgba(14,110,180,0.15);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,110,180,0.2);
}
button.btn-ghost {
  cursor: pointer;
  font-family: var(--font-cn);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--primary-dark);
  font-size: 22px;
  animation: breatheArrow 2.2s ease-in-out infinite;
  z-index: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.scroll-hint:hover { opacity: 1; }
@keyframes breatheArrow {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* Hero 入场动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-content .delay-1 { animation-delay: 0.2s; }
.hero-content .delay-2 { animation-delay: 0.4s; }
.hero-content .delay-3 { animation-delay: 0.6s; }
.hero-content .delay-4 { animation-delay: 0.8s; }

/* Hero 底部波浪过渡 */
.hero-section .hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}
.hero-section .hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}
.hero-section .hero-wave path {
  fill: var(--bg-page);
}

/* ============================================================
   4. PERSONALITY SECTION (3D Product Card)
   ============================================================ */
.personality-section {
  background: linear-gradient(180deg, #E8F4FB 0%, #D8EEF8 50%, #E8F4FB 100%);
}

.personality-sticky-container {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  gap: 60px;
}

.personality-left {
  flex: 0 0 420px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ── 3D 产品卡片 ── */
.product-card-3d {
  perspective: 900px;
  width: 320px;
  cursor: pointer;
}
.product-card-inner {
  position: relative;
  width: 320px;
  height: 360px;
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, rgba(255,255,255,0.99) 0%, rgba(195,230,250,0.95) 100%);
  border: 2px solid rgba(14,110,180,0.22);
  box-shadow:
    0 28px 70px rgba(14,110,180,0.22),
    0 2px 0 rgba(255,255,255,0.95) inset,
    -4px -4px 16px rgba(14,110,180,0.1) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1), box-shadow 0.6s ease;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}
.product-card-3d:hover .product-card-inner {
  box-shadow:
    0 40px 90px rgba(14,110,180,0.32),
    0 2px 0 rgba(255,255,255,0.95) inset;
}

/* 卡片背景光晕 */
.product-card-inner::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(14,110,180,0.2) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.product-card-inner::after {
  content: '';
  position: absolute;
  bottom: -30px; right: -30px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255,215,0,0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* 产品图 */
.product-img-wrap {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-img {
  width: 185px;
  height: 185px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow:
    0 0 0 5px rgba(14,110,180,0.12),
    0 14px 36px rgba(14,110,180,0.3);
  animation: emojiFloat 3.5s ease-in-out infinite;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 状态标签 */
.product-state-badge {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: var(--radius-full);
  background: rgba(14,110,180,0.12);
  border: 1.5px solid rgba(14,110,180,0.35);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.04em;
  transition: all 0.5s ease;
  box-shadow: 0 2px 12px rgba(14,110,180,0.12);
}
[data-theme="pink"] .product-state-badge {
  background: rgba(180,58,101,0.1);
  border-color: rgba(180,58,101,0.35);
  box-shadow: 0 2px 12px rgba(180,58,101,0.12);
}
.state-icon {
  font-size: 18px;
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.product-card-3d:hover .state-icon {
  transform: scale(1.3) rotate(10deg);
}

/* 装饰小星星 */
.card-deco {
  position: absolute;
  font-size: 16px;
  opacity: 0.65;
  pointer-events: none;
  z-index: 2;
}
.card-deco-1 { top: 16px; right: 20px; animation: twinkle 2.5s ease-in-out infinite; }
.card-deco-2 { bottom: 18px; left: 20px; animation: twinkle 3.2s ease-in-out infinite 0.8s; }
.card-deco-3 { top: 50%; right: 14px; transform: translateY(-50%); animation: twinkle 4s ease-in-out infinite 0.4s; font-size: 12px; }

/* 指示点 */
.emotion-indicator {
  display: flex;
  gap: 10px;
}
.ei-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(14,110,180,0.25);
  transition: background 0.4s, transform 0.4s;
  cursor: pointer;
}
.ei-dot.ei-active {
  background: var(--primary);
  transform: scale(1.5);
  box-shadow: 0 0 10px var(--primary);
}

/* Right story blocks */
.personality-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.story-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.story-inner {
  max-width: 480px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.story-mode-badge,
.emotion-indicator-mobile {
  display: none;
}
.story-block.story-visible .story-inner {
  opacity: 1;
  transform: translateX(0);
}

.story-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(14,110,180,0.4);
  background: rgba(14,110,180,0.1);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-en);
}

.story-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-family: var(--font-cn);
  letter-spacing: -0.01em;
}

.story-desc {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 420px;
}

/* ============================================================
   5. FEATURES SECTION
   ============================================================ */
.features-section {
  padding: 120px 24px;
  background: var(--bg-page);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(200,232,250,0.9) 100%);
  border: 1.5px solid rgba(14,110,180,0.18);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition-md), box-shadow var(--transition-md);
  box-shadow: 0 10px 40px rgba(14,110,180,0.12);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(14,110,180,0.22), 0 0 0 1.5px rgba(14,110,180,0.25);
}
.feature-card-reverse { direction: rtl; }
.feature-card-reverse > * { direction: ltr; }

/* Visual side */
.fc-visual {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #7ABCDA 0%, #A8D8F0 100%);
}

.fc-glow {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.4;
  pointer-events: none;
}
.fc-glow-purple { background: var(--primary); }
.fc-glow-amber  { background: #FFD700; }
.fc-glow-green  { background: var(--green); }

.fc-emoji-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.fc-emoji {
  font-size: 72px;
  filter: drop-shadow(0 0 20px rgba(14,110,180,0.4));
  animation: emojiFloat 3.5s ease-in-out infinite;
}

/* Chat bubbles */
.fc-chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 240px;
}
.chat-bubble {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: var(--font-en);
  max-width: 90%;
}
.cb-right {
  background: var(--primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.cb-left {
  background: rgba(255,255,255,0.95);
  color: var(--text-body);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1.5px solid rgba(14,110,180,0.25);
  box-shadow: 0 2px 8px rgba(14,110,180,0.1);
}

/* QA bubbles */
.fc-qa-bubbles { width: 260px; display: flex; flex-direction: column; gap: 12px; }
.qa-item { background: rgba(255,255,255,0.95); border-radius: var(--radius-md); padding: 12px 16px; border: 1.5px solid rgba(14,110,180,0.2); box-shadow: 0 2px 8px rgba(14,110,180,0.1); }
.qa-q { display: block; font-size: 12px; color: var(--primary-dark); font-weight: 700; margin-bottom: 4px; }
.qa-a { display: block; font-size: 13px; color: var(--text-body); line-height: 1.5; }

/* Timer */
.fc-timer-display { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.timer-ring { position: relative; width: 120px; height: 120px; }
.timer-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.timer-track   { fill: none; stroke: rgba(14,110,180,0.18); stroke-width: 6; }
.timer-progress {
  fill: none;
  stroke: var(--primary-vivid);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 66;
  filter: drop-shadow(0 0 6px var(--primary-vivid));
}
.timer-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.timer-label {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Text side */
.fc-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(14,110,180,0.35);
  background: rgba(14,110,180,0.1);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-en);
  align-self: flex-start;
}

.fc-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-family: var(--font-cn);
  letter-spacing: -0.01em;
}

.fc-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 28px;
}

.fc-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fc-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
}
.fc-points li i {
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

/* ============================================================
   6. DEMO SECTION (Interactive)
   ============================================================ */
.demo-section {
  padding: 120px 24px;
  background: linear-gradient(180deg, #D5EBF5 0%, #C5E2F2 50%, #D5EBF5 100%);
  position: relative;
  overflow: hidden;
}

.demo-bg-glow {
  position: absolute;
  width: 800px; height: 600px;
  background: radial-gradient(circle, rgba(14,110,180,0.1) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

.demo-container {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}

/* Chat window */
.chat-window {
  background: rgba(255,255,255,0.98);
  border: 1.5px solid rgba(14,110,180,0.25);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 70px rgba(14,110,180,0.16);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(14,110,180,0.15);
  background: linear-gradient(90deg, rgba(170,218,240,0.85), rgba(255,255,255,0.92));
}
.chat-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  overflow: hidden;
}
.chat-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.chat-info { flex: 1; }
.chat-name { font-weight: 700; font-size: 15px; color: var(--text-dark); }
.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: blink 2s infinite;
}
.chat-actions {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.chat-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.chat-dot.red    { background: var(--red); }
.chat-dot.yellow { background: var(--star-yellow); }
.chat-dot.green  { background: var(--green); }

.chat-messages {
  padding: 24px 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.msg {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  animation: msgSlideIn 0.4s ease;
}
.msg-bot { flex-direction: row; }
.msg-user { flex-direction: row-reverse; }

@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg-avatar {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
}
.msg-avatar img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.msg-bubble {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  line-height: 1.6;
  max-width: 75%;
}
.msg-bot .msg-bubble {
  background: rgba(14,110,180,0.08);
  border: 1.5px solid rgba(14,110,180,0.2);
  color: var(--text-body);
  border-bottom-left-radius: 4px;
}
.msg-user .msg-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Wave area */
.chat-wave-area {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border-top: 1px solid rgba(14,110,180,0.12);
  background: rgba(195,228,248,0.5);
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 4px 0;
}
.wb {
  display: block;
  width: 4px;
  border-radius: 4px;
  background: var(--primary);
  transform-origin: bottom;
}
.wb.wave-active { animation: waveBar 0.8s ease-in-out infinite; }
.wb1 { height: 10px; animation-delay: 0s; }
.wb2 { height: 18px; animation-delay: 0.1s; }
.wb3 { height: 28px; animation-delay: 0.2s; }
.wb4 { height: 36px; animation-delay: 0.3s; }
.wb5 { height: 24px; animation-delay: 0.4s; }
.wb6 { height: 16px; animation-delay: 0.5s; }
.wb7 { height: 8px;  animation-delay: 0.6s; }

.wb.think-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  animation: thinkDot 1.2s ease-in-out infinite;
}
.wb.think-dot:nth-child(2) { animation-delay: 0.2s; }
.wb.think-dot:nth-child(3) { animation-delay: 0.4s; }
.wb.think-dot:nth-child(4) { animation-delay: 0.6s; }

@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.5; }
  50%       { transform: scaleY(1); opacity: 1; }
}
@keyframes thinkDot {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50%       { transform: translateY(-8px); opacity: 1; }
}

.wave-label {
  font-size: 13px;
  color: var(--primary-dark);
  font-style: italic;
}

/* Question buttons */
.demo-questions { text-align: center; }
.questions-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.question-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.q-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(14,110,180,0.42);
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-cn);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 10px rgba(14,110,180,0.12);
}
.q-btn:hover:not(:disabled) {
  background: var(--primary-vivid);
  border-color: var(--primary-vivid);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,110,180,0.38);
}
.q-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ============================================================
   7. PARENTS SECTION
   ============================================================ */
.parents-section {
  padding: 120px 24px;
  background: linear-gradient(180deg, #C8E5F5 0%, #BADDf0 50%, #C8E5F5 100%);
  max-width: 100%;
}
.parents-section .section-header-left,
.parents-section .section-title,
.parents-section .section-tag {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.parents-section .section-header-left {
  padding: 0 24px;
}

.parents-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Phone Mockup */
.phone-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 260px;
  background: linear-gradient(160deg, #FFFFFF 0%, #C0DFF5 100%);
  border-radius: 40px;
  border: 1.5px solid rgba(14,110,180,0.32);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(14,110,180,0.24), 0 0 0 1px rgba(255,255,255,0.8) inset;
  position: relative;
  z-index: 1;
  transform: rotate(2deg);
  transition: transform var(--transition-md);
}
.phone-mockup:hover { transform: rotate(0deg) translateY(-8px); }

.phone-notch {
  width: 80px; height: 20px;
  background: rgba(14,110,180,0.15);
  border-radius: 10px;
  margin: 0 auto 12px;
}

.phone-screen {
  background: #DDF0FA;
  border-radius: 24px;
  padding: 12px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 8px;
  border-bottom: 1px solid rgba(14,110,180,0.15);
  margin-bottom: 4px;
}
.app-logo-sm {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-dark);
}
.app-notif { font-size: 14px; }

.app-card-sm {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(14,110,180,0.18);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: 0 2px 8px rgba(14,110,180,0.1);
}
.app-card-row { display: flex; align-items: center; gap: 10px; }
.app-ic { font-size: 18px; }
.app-label { font-size: 10px; color: var(--text-muted); margin-bottom: 2px; }
.app-val { font-size: 12px; font-weight: 700; }
.app-val-purple { color: var(--primary-dark); }
.app-val-green  { color: var(--green); }
.app-val-amber  { color: #E8900A; }
.app-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.app-tag {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(14,110,180,0.14);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 600;
}

.phone-shadow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 40px;
  background: radial-gradient(ellipse, rgba(14,110,180,0.3) 0%, transparent 70%);
  filter: blur(10px);
}

/* Parent feature cards */
.parents-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.parent-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.95);
  border: 1.5px solid rgba(14,110,180,0.18);
  border-left: 4px solid var(--primary-vivid);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 4px 20px rgba(14,110,180,0.1);
}
.parent-card:hover {
  transform: translateX(8px);
  box-shadow: -6px 0 28px rgba(14,110,180,0.22);
  border-color: rgba(14,110,180,0.35);
}

.pc-icon {
  font-size: 36px;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
  padding-top: 2px;
}
.pc-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.pc-content p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   8. SOCIAL PROOF (Marquee)
   ============================================================ */
.social-section {
  padding: 100px 0;
  background: var(--bg-page);
  overflow: hidden;
}
.social-section .section-header {
  padding: 0 24px;
  margin-bottom: 56px;
}

.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  padding: 8px 0;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.review-card {
  width: 300px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(200,232,250,0.92) 100%);
  border: 1.5px solid rgba(14,110,180,0.18);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 6px 28px rgba(14,110,180,0.12);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(14,110,180,0.22);
  border-color: rgba(14,110,180,0.32);
}

.review-stars {
  background: linear-gradient(90deg, #FFD700, #FFAA00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar { font-size: 24px; }
.review-name { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ============================================================
   9. CTA SECTION
   ============================================================ */
.cta-section {
  padding: 140px 24px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 70%, rgba(14,110,180,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 30%, rgba(30,142,197,0.28) 0%, transparent 55%),
    linear-gradient(160deg, #9ACCE8 0%, #B8DDF5 50%, #D8EEF8 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.cta-orb1 {
  width: 500px; height: 500px;
  background: rgba(14,110,180,0.22);
  top: -100px; left: -100px;
}
.cta-orb2 {
  width: 400px; height: 400px;
  background: rgba(10,159,224,0.16);
  bottom: -80px; right: -80px;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-logo-wrap {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(14,110,180,0.5);
  box-shadow: 0 0 40px rgba(14,110,180,0.45);
  animation: emojiFloat 3s ease-in-out infinite;
}
.cta-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta-emoji {
  font-size: 80px;
  filter: drop-shadow(0 0 30px rgba(14,110,180,0.55));
  animation: emojiFloat 3s ease-in-out infinite;
}

.cta-title {
  font-size: clamp(32px, 5.5vw, 60px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-dark);
  font-family: var(--font-cn);
}

.cta-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: -8px;
}

.cta-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.price-label {
  font-size: 13px;
  color: var(--text-muted);
  border: 1.5px solid rgba(14,110,180,0.32);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}
.price-amount {
  font-size: 44px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-vivid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-en);
}
.price-original {
  font-size: 20px;
  color: var(--text-dim);
  text-decoration: line-through;
  font-family: var(--font-en);
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 20px 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  font-family: var(--font-cn);
  box-shadow: 0 12px 40px rgba(14,110,180,0.5), 0 3px 10px rgba(0,0,0,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.02em;
}
.btn-cta-main:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 65px rgba(14,110,180,0.65), 0 5px 15px rgba(0,0,0,0.18);
}
[data-theme="pink"] .btn-cta-main {
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary-dark) 100%);
  box-shadow: 0 12px 40px rgba(180,58,101,0.45), 0 3px 10px rgba(0,0,0,0.15);
}
[data-theme="pink"] .btn-cta-main:hover {
  box-shadow: 0 22px 65px rgba(180,58,101,0.6), 0 5px 15px rgba(0,0,0,0.18);
}
.btn-cta-main i { font-size: 18px; animation: heartBeat 1.5s ease-in-out infinite; }
@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  25%       { transform: scale(1.25); }
  50%       { transform: scale(1); }
  75%       { transform: scale(1.15); }
}

.cta-note {
  font-size: 14px;
  color: var(--text-muted);
}
.cta-note strong { color: var(--primary-dark); }

/* ============================================================
   10. FOOTER
   ============================================================ */
.site-footer {
  background: #B8D8EE;
  border-top: 1px solid rgba(14,110,180,0.25);
  padding: 64px 24px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(14,110,180,0.18);
}

.footer-brand {
  flex: 0 0 280px;
}

.footer-links-group {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cn);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.footer-logo-img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-logo em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary-dark), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-slogan {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: var(--font-en);
}
.footer-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--primary-dark); }

/* ── 关注或联系我们区块 ── */
.footer-contact {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  white-space: nowrap;
}

.footer-qrcodes {
  display: flex;
  gap: 14px;
}

.footer-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-qr-box {
  width: 80px;
  height: 80px;
  /* border-radius: var(--radius-sm); */
  overflow: hidden;
  border: 1px solid rgba(14,110,180,0.18);
  background: #fff;
}
.footer-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 无图片时的占位符 */
.footer-qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  background: rgba(14,110,180,0.06);
}

.footer-qr-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

.footer-hotline {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-hotline-label {
  color: var(--text-muted);
  white-space: nowrap;
}
.footer-hotline-num {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 24px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background var(--transition), transform 0.15s;
  width: fit-content;
}
.footer-contact-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
[data-theme="pink"] .footer-contact-btn {
  background: var(--primary);
}
[data-theme="pink"] .footer-contact-btn:hover {
  background: var(--primary-dark);
}

[data-theme="pink"] .footer-qr-box {
  border-color: rgba(180,58,101,0.18);
}
[data-theme="pink"] .footer-qr-placeholder {
  background: rgba(180,58,101,0.06);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a {
  color: var(--text-muted);
  font-size: 18px;
  transition: color var(--transition), transform var(--transition);
}
.footer-social a:hover {
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .personality-sticky-container {
    flex-direction: column;
    gap: 0;
    padding: 72px 16px 32px;
  }
  .personality-left {
    display: none;
  }
  .emotion-indicator-mobile {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  .story-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 110, 180, 0.1);
    border: 1px solid rgba(14, 110, 180, 0.2);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
  }
  .story-mode-icon {
    font-size: 14px;
    line-height: 1;
  }
  .personality-right {
    width: 100%;
  }
  .story-block {
    min-height: auto;
    padding: 12px 0 28px;
    align-items: stretch;
    scroll-margin-top: 80px;
  }
  .story-inner {
    max-width: none;
    width: 100%;
    padding: 24px 20px;
    background: #fff;
    backdrop-filter: none;
    border: 1px solid rgba(14, 110, 180, 0.12);
    box-shadow: 0 8px 32px rgba(14, 110, 180, 0.1);
    opacity: 1;
    transform: none;
  }
  .story-block:not(.story-visible) .story-inner {
    opacity: 0.45;
    transform: scale(0.98);
  }
  .story-block.story-visible .story-inner {
    opacity: 1;
    transform: scale(1);
  }
  .story-tag {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .story-title {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .story-desc {
    font-size: 15px;
    line-height: 1.75;
    max-width: none;
  }

  .feature-card,
  .feature-card-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .feature-card-reverse .fc-visual { order: -1; }
  .fc-text { padding: 36px 32px; }
  .fc-visual { min-height: 260px; }

  .parents-layout { grid-template-columns: 1fr; }
  .phone-mockup-wrap { order: -1; }

  .footer-inner { gap: 28px; }
  .footer-links-group { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-container { gap: 0; }

  .hero-section { padding: 100px 16px 60px; }
  .hero-emoji-wrap { width: 140px; height: 140px; }
  .hero-logo-img { width: 112px; height: 112px; }
  .hero-emoji-core { font-size: 60px; }

  .emotion-card { width: 240px; height: 240px; }
  .emotion-face { font-size: 80px; }

  .features-section { padding: 80px 16px; }
  .fc-text { padding: 28px 20px; }
  .fc-emoji { font-size: 54px; }
  .fc-chat-bubbles, .fc-qa-bubbles { width: 200px; }

  .demo-section { padding: 80px 16px; }
  .question-btns { flex-direction: column; align-items: center; }
  .q-btn { width: 100%; max-width: 300px; justify-content: center; }

  .parents-section { padding: 80px 16px; }
  .parent-card { padding: 20px; }

  .cta-section { padding: 100px 16px; }
  .btn-cta-main { padding: 16px 36px; font-size: 17px; }

  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-brand { flex: none; width: 100%; }
  .footer-links-group { grid-template-columns: 1fr; gap: 20px; }
  .footer-contact { flex: none; width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .theme-toggle { right: 60px; }
}

/* ============================================================
   12. 主题切换按钮
   ============================================================ */
.theme-toggle {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 1100;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 2px solid rgba(var(--theme-shadow-rgb), 0.3);
  box-shadow: 0 6px 24px rgba(var(--theme-shadow-rgb), 0.22), 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(12px);
}
.theme-toggle:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 32px rgba(var(--theme-shadow-rgb), 0.32);
}
.theme-toggle:active {
  transform: scale(0.95);
}
.theme-toggle-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(20deg) scale(1.1);
}

/* 粉色主题下导航栏也同步 theme-toggle 按钮颜色 */
[data-theme="pink"] .theme-toggle {
  border-color: rgba(180,58,101,0.35);
}

/* ============================================================
   13. 弹窗 (Coming Soon Modal)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(13,31,45,0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.modal-open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 48px 40px 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.18);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.modal-overlay.modal-open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-icon {
  font-size: 64px;
  animation: emojiFloat 3s ease-in-out infinite;
}

.modal-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-dark);
  font-family: var(--font-cn);
}

.modal-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}

.modal-close-btn {
  margin-top: 8px;
  padding: 14px 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-vivid) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-cn);
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 20px rgba(var(--theme-shadow-rgb), 0.38);
}
.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--theme-shadow-rgb), 0.5);
}

/* ============================================================
   14. Personality Section 丰满度增强
   ============================================================ */
.personality-section {
  background: linear-gradient(180deg, #E8F4FB 0%, #D8EEF8 50%, #E8F4FB 100%);
  position: relative;
  /* 注意：不能设置 overflow: hidden，否则会破坏 sticky 定位 */
}

/* 装饰背景元素 */
.personality-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14,110,180,0.08) 0%, transparent 65%);
  top: 10%; left: 0;
  pointer-events: none;
}
.personality-section::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,215,0,0.07) 0%, transparent 65%);
  bottom: 5%; right: 0;
  pointer-events: none;
}

[data-theme="pink"] .personality-section::before {
  background: radial-gradient(circle, rgba(224,96,138,0.08) 0%, transparent 65%);
}
[data-theme="pink"] .personality-section::after {
  background: radial-gradient(circle, rgba(255,160,190,0.07) 0%, transparent 65%);
}

/* 故事块内部装饰卡片 */
.story-block {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  position: relative;
}

@media (max-width: 960px) {
  .story-block {
    min-height: auto;
    padding: 12px 0 28px;
    align-items: stretch;
    scroll-margin-top: 80px;
  }
}

/* 每个 story-block 右侧显示装饰数字 */
.story-block::before {
  content: attr(data-index);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 160px;
  font-weight: 900;
  font-family: var(--font-en);
  color: rgba(14,110,180,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

[data-theme="pink"] .story-block::before {
  color: rgba(224,96,138,0.05);
}

/* story-inner 丰满化 */
.story-inner {
  max-width: 480px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  background: rgba(255,255,255,0.6);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  border: 1px solid rgba(14,110,180,0.1);
  box-shadow: 0 8px 40px rgba(14,110,180,0.07), 0 2px 8px rgba(0,0,0,0.04);
  backdrop-filter: blur(8px);
}

[data-theme="pink"] .story-inner {
  border-color: rgba(180,58,101,0.1);
  box-shadow: 0 8px 40px rgba(180,58,101,0.07), 0 2px 8px rgba(0,0,0,0.04);
}

.story-block.story-visible .story-inner {
  opacity: 1;
  transform: translateX(0);
}

/* 左侧产品卡片区域也丰满化 */
.personality-left {
  flex: 0 0 420px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* 产品卡片下方添加特点文字 */
.product-features-hint {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 300px;
}
.pfh-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(14,110,180,0.12);
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(14,110,180,0.06);
}
.pfh-item i {
  color: var(--primary);
  font-size: 14px;
  width: 18px;
  text-align: center;
  flex-shrink: 0;
}

[data-theme="pink"] .pfh-item {
  border-color: rgba(180,58,101,0.12);
  box-shadow: 0 2px 8px rgba(180,58,101,0.06);
}

@media (max-width: 960px) {
  .product-features-hint { display: none; }
  .story-block::before { display: none; }
  .personality-left { display: none; }
  .emotion-indicator-mobile { display: flex; }
  .story-mode-badge { display: inline-flex; }
  [data-theme="pink"] .story-mode-badge {
    background: rgba(180, 58, 101, 0.1);
    border-color: rgba(180, 58, 101, 0.2);
  }
  .story-inner {
    max-width: none;
    width: 100%;
    padding: 24px 20px;
    background: #fff;
    backdrop-filter: none;
    border: 1px solid rgba(14, 110, 180, 0.12);
    box-shadow: 0 8px 32px rgba(14, 110, 180, 0.1);
    opacity: 1;
    transform: none;
  }
  .story-block:not(.story-visible) .story-inner {
    opacity: 0.45;
    transform: scale(0.98);
  }
  .story-block.story-visible .story-inner {
    opacity: 1;
    transform: scale(1);
  }
  .story-tag {
    margin-bottom: 12px;
    font-size: 11px;
  }
  .story-title {
    font-size: clamp(26px, 7vw, 34px);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .story-desc {
    font-size: 15px;
    line-height: 1.75;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .personality-sticky-container {
    padding-top: 64px;
  }
  .story-inner {
    padding: 20px 18px;
    border-radius: 16px;
  }
  .story-title br {
    display: none;
  }
}

/* ── 使用手册弹窗 ── */
.manual-popup {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 560px;
  max-height: calc(100vh - 120px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.18), 0 4px 20px rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.manual-popup.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.manual-popup.fullscreen {
  bottom: 0;
  right: 0;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border-radius: 0;
}
.manual-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
  border-radius: 16px 16px 0 0;
}
.manual-popup.fullscreen .manual-popup-header {
  border-radius: 0;
}
.manual-popup-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.manual-popup-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.manual-popup-fullscreen,
.manual-popup-close {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.manual-popup-fullscreen:hover,
.manual-popup-close:hover {
  background: rgba(255,255,255,0.35);
}
.manual-popup-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-primary);
  scroll-behavior: smooth;
}
.manual-popup-body h1 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--primary-dark);
}
.manual-popup-body h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 20px 0 8px;
  color: var(--primary);
  border-left: 3px solid var(--primary);
  padding-left: 8px;
}
.manual-popup-body h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 6px;
  color: var(--text-primary);
}
.manual-popup-body p {
  margin: 6px 0;
}
.manual-popup-body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 6px 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.manual-popup-body strong {
  color: var(--text-primary);
}
@media (max-width: 480px) {
  .manual-popup {
    bottom: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    height: 70vh;
    border-radius: 16px 16px 0 0;
  }
}

/* ── 使用教程视频弹窗 ── */
.video-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.video-popup.open {
  opacity: 1;
  pointer-events: all;
}
.video-popup-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10010;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: max(10px, env(safe-area-inset-top)) 14px 10px;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  pointer-events: all;
}
.video-popup.open .video-popup-topbar {
  display: flex;
}
.video-popup-close-bar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.video-popup-bottombar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10010;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px max(12px, env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.82);
  pointer-events: all;
}
.video-popup-bottombar[hidden] {
  display: none !important;
}
.video-ctrl-btn {
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.video-ctrl-close {
  background: rgba(220, 60, 60, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}
.video-popup-box {
  width: min(960px, 100%);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: #111;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}
.video-popup.open .video-popup-box {
  transform: translateY(0) scale(1);
}
.video-popup-box.is-portrait {
  width: auto;
  max-width: min(420px, 100%);
}
.video-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}
.video-popup-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.92;
}
.video-popup-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.video-popup-close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.video-popup-body {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #000;
}
.video-player-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  background: #000;
  z-index: 1;
}
.video-play-overlay {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 10004;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.video-popup.show-play .video-play-overlay {
  display: flex;
}
.video-popup.show-play .video-player-wrap video {
  pointer-events: none;
}
.video-play-overlay i {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  font-size: 26px;
  padding-left: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.video-play-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  pointer-events: none;
}
.video-popup:not(.open) .video-player-wrap video {
  display: none;
}
.video-popup-body video {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(92vh - 44px);
  object-fit: contain;
  vertical-align: middle;
}
.video-popup-body video::-webkit-media-controls,
.video-popup-body video::-webkit-media-controls-enclosure,
.video-popup-body video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
.video-player-wrap.is-portrait video {
  width: auto;
  height: calc(92vh - 44px);
  max-height: calc(92vh - 44px);
  max-width: 100%;
}
.video-player-wrap.is-landscape video {
  width: 100%;
  height: auto;
  max-height: calc(92vh - 44px);
}

.video-fallback-hint {
  flex-shrink: 0;
  margin: 0;
  padding: 8px 14px;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  background: #0a0a0a;
}
.video-fallback-hint a {
  color: var(--primary-light, #5eb8f0);
  text-decoration: underline;
}
@media (min-width: 481px) {
  .video-popup-topbar,
  .video-popup-bottombar {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .video-popup {
    padding: 0;
    background: #000;
    backdrop-filter: none;
  }
  .video-popup-box {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }
  .video-popup.open .video-popup-box {
    transform: none;
  }
  .video-popup-box.is-portrait {
    width: 100%;
    max-width: 100%;
  }
  .video-popup-header {
    display: none;
  }
  .video-popup-body {
    position: relative;
    height: 100%;
    padding-top: calc(48px + env(safe-area-inset-top));
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }
  .video-player-wrap {
    height: 100%;
  }
  .video-popup-body video,
  .video-player-wrap.is-portrait video,
  .video-player-wrap.is-landscape video {
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
  }
  .video-fallback-hint {
    position: absolute;
    bottom: calc(56px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    z-index: 2;
    padding-bottom: 8px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  }
}
