/* ============================================
   MiraiMind 静态复刻 - 主样式表
   方案: CSS 变量 + 语义化 class（无 Tailwind）
   ============================================ */

/* ---------- 1. 设计令牌（CSS 变量） ---------- */
:root {
  /* 品牌色 */
  --pink: #ff7ead;
  --pink-deep: #ff6b9d;
  --purple: #8e88ff;
  --purple-light: #c685ff;
  --magenta: #fc7fff;
  --blue: #24b0ff;
  --blue-light: #76bdff;
  --mint: #8ef8e2;
  --pink-soft: #fcaafe;

  /* 中性色 */
  --dark: #0e0d17;
  --dark-soft: #1a1830;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;

  /* 渐变 */
  --grad-primary: linear-gradient(90deg, #ff7ead 0%, #8e88ff 50%, #24b0ff 100%);
  --grad-primary-soft: linear-gradient(135deg, #ff7ead 0%, #fc7fff 50%, #8e88ff 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(14,13,23,0.1) 0%, rgba(14,13,23,0.35) 50%, rgba(14,13,23,0.75) 100%);
  --grad-characters: linear-gradient(180deg, #fff 0%, #f3e8ff 50%, #fff 100%);
  --grad-uservoice: linear-gradient(180deg, #fff 0%, #f9fafb 100%);

  /* 字体 */
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 间距 */
  --container: 1200px;
  --container-wide: 1400px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(14,13,23,0.08);
  --shadow: 0 4px 16px rgba(14,13,23,0.10);
  --shadow-lg: 0 12px 40px rgba(14,13,23,0.15);

  /* 动画 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
i[class^="ri-"] { line-height: 1; }

/* ---------- 3. 布局 ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.hidden { display: none !important; }

.section-head { text-align: center; margin-bottom: 40px; position: relative; }
@media (min-width: 768px) { .section-head { margin-bottom: 64px; } }
.section-watermark {
  display: block;
  font-size: 28px; font-weight: 900; letter-spacing: 0.15em;
  color: var(--gray-200); opacity: 0.6;
}
@media (min-width: 768px) { .section-watermark { font-size: 40px; } }
.section-title {
  font-size: 20px; font-weight: 800; margin-top: -18px;
  position: relative;
}
@media (min-width: 768px) { .section-title { font-size: 32px; margin-top: -28px; } }

.text-gradient-primary {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* 通用按钮 */
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px; border-radius: 999px;
  border: 1.5px solid var(--gray-200); color: var(--gray-700);
  font-weight: 600; transition: all 0.3s var(--ease);
}
.btn-outline:hover { border-color: var(--pink); color: var(--pink); box-shadow: var(--shadow-sm); }

/* 应用商店按钮 */
.btn-store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--radius);
  font-weight: 600; transition: all 0.3s var(--ease);
  min-height: 52px;
}
.btn-store i { font-size: 26px; }
.btn-store .store-wrap { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store .store-wrap small { font-size: 10px; font-weight: 500; opacity: 0.85; }
.btn-store .store-wrap strong { font-size: 16px; font-weight: 700; }
.btn-store-light { background: var(--white); color: var(--gray-900); }
.btn-store-light:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.btn-store-dark { background: var(--dark); color: var(--white); }
.btn-store-dark:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* 闪光效果 */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: ''; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg); transition: left 0.6s var(--ease);
}
.btn-shine:hover::after { left: 130%; }

/* ---------- 4. Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { padding: 0 16px; }
@media (min-width: 768px) { .header-inner { padding: 0 24px; } }
.header-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) { .header-nav { height: 80px; } }
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 36px; height: 36px; }
.logo-text { height: 15px; width: auto; }

.header-nav-links { display: none; gap: 28px; }
@media (min-width: 1024px) {
  .header-nav-links { display: flex; }
  .header-nav-links a { font-size: 15px; font-weight: 500; color: var(--gray-700); transition: color 0.2s; }
  .header-nav-links a:hover { color: var(--pink); }
}
.header-actions { display: flex; align-items: center; gap: 12px; }

/* 语言切换 */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; color: var(--gray-700);
  transition: background 0.2s;
}
.lang-btn:hover { background: var(--gray-100); }
.lang-btn i.ri-global-line { font-size: 18px; }
.lang-arrow { font-size: 16px; transition: transform 0.3s var(--ease); }
.lang-switcher.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; right: 0; top: calc(100% + 6px);
  min-width: 140px; padding: 6px 0;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.25s var(--ease-out);
}
.lang-switcher.open .lang-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-dropdown li a {
  display: block; padding: 9px 16px; font-size: 14px; color: var(--gray-700);
  transition: background 0.15s, color 0.15s;
}
.lang-dropdown li a:hover { background: var(--gray-50); color: var(--pink); }
.lang-dropdown li a.active { color: var(--pink); font-weight: 600; }

/* 下载按钮 */
.btn-download {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--radius-sm);
  background: var(--grad-primary); color: var(--white);
  font-size: 14px; font-weight: 600;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.btn-download:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* 汉堡 */
.menu-toggle { display: flex; font-size: 26px; color: var(--gray-700); padding: 4px; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* 移动菜单 */
.mobile-menu {
  position: fixed; inset: 0; top: 0; z-index: 90;
  background: var(--white);
  transform: translateX(100%); transition: transform 0.3s var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-nav { padding: 20px 16px 40px; }
.mobile-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 32px; border-bottom: 1px solid var(--gray-100);
}
.menu-close { font-size: 26px; color: var(--gray-700); }
.mobile-links { display: flex; flex-direction: column; margin-top: 32px; }
.mobile-links a { padding: 14px 4px; font-size: 18px; font-weight: 600; color: var(--gray-900); border-bottom: 1px solid var(--gray-50); }
.mobile-download { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.mobile-download .btn-store { justify-content: center; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
}
@media (min-width: 768px) { .hero { min-height: 90vh; } }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-carousel { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  transition: opacity 1s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero-overlay { position: absolute; inset: 0; background: var(--grad-hero-overlay); }

.hero-content { position: relative; z-index: 2; padding-bottom: 48px; }
@media (min-width: 768px) { .hero-content { padding-bottom: 64px; } }
@media (min-width: 1280px) { .hero-content { padding-bottom: 72px; } }
.hero-text { max-width: 720px; }
.hero-title {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 30px; font-weight: 900; color: var(--white); line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
@media (min-width: 768px) { .hero-title { font-size: 44px; } }
@media (min-width: 1280px) { .hero-title { font-size: 60px; } }
.hero-desc {
  margin-top: 16px; max-width: 560px;
  color: var(--white); font-size: 16px; line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
@media (min-width: 768px) { .hero-desc { font-size: 18px; } }

.hero-actions {
  display: flex; flex-direction: row; align-items: center; gap: 12px; margin-top: 32px;
}
.hero-actions .btn-store { flex: 1 1 0; justify-content: center; min-width: 0; }
@media (min-width: 768px) { .hero-actions { gap: 16px; } .hero-actions .btn-store { flex: 0 1 200px; } }

.hero-note { margin-top: 16px; color: rgba(255,255,255,0.85); font-size: 13px; }
.hero-meta { display: none; gap: 32px; margin-top: 24px; }
@media (min-width: 768px) { .hero-meta { display: flex; } }
.hero-meta-item { display: flex; align-items: center; gap: 8px; color: var(--white); font-size: 14px; font-weight: 500; }
.hero-meta-item i { font-size: 20px; }

.hero-scroll {
  position: absolute; bottom: 20px; right: 20px; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.5); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  animation: bounceDown 2s var(--ease) infinite;
}
@media (min-width: 768px) { .hero-scroll { bottom: 32px; right: 32px; } }
@keyframes bounceDown { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Hero 轮播指示器 */
.hero-indicators {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; align-items: center; gap: 8px;
}
@media (min-width: 768px) { .hero-indicators { bottom: 32px; gap: 10px; } }
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease);
  cursor: pointer; padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,0.8); }
.hero-dot.active {
  width: 24px; border-radius: 4px;
  background: var(--white);
}
@media (min-width: 768px) { .hero-dot { width: 10px; height: 10px; } .hero-dot.active { width: 30px; } }

/* ---------- 6. Features ---------- */
.features { background: var(--white); }
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.feature-card {
  padding: 32px; border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease);
}
.feature-card:hover { background: var(--white); box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.feature-icon {
  width: 40px; height: 40px; object-fit: contain; margin-bottom: 16px;
  transition: transform 0.3s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
@media (min-width: 768px) { .feature-card h3 { font-size: 20px; } }
.feature-subtitle { font-size: 14px; font-weight: 600; color: var(--pink); margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
@media (min-width: 768px) { .feature-desc { font-size: 15px; } }

/* ---------- 7. Characters ---------- */
.characters { background: var(--grad-characters); overflow: hidden; }
.character-carousel-wrapper { position: relative; height: 540px; }
@media (min-width: 1024px) { .character-carousel-wrapper { height: 749px; } }
.character-carousel { position: relative; height: 100%; overflow: hidden; }
.carousel-track {
  display: flex; gap: 16px; height: 100%;
  padding: 0 16px; will-change: transform;
  transition: transform 0.5s var(--ease-out);
}
@media (min-width: 768px) { .carousel-track { gap: 24px; padding: 0 24px; } }
@media (min-width: 1024px) { .carousel-track { padding: 0 40px; } }
.carousel-slide { flex: 0 0 auto; width: 240px; }
@media (min-width: 768px) { .carousel-slide { width: 320px; } }
@media (min-width: 1024px) { .carousel-slide { width: 360px; } }

.character-card { position: relative; height: 100%; }
.character-img-wrap {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--radius-2xl); overflow: hidden;
  aspect-ratio: 7 / 10;
}
.character-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 70%, rgba(14,13,23,0.8) 100%);
  border-radius: var(--radius-2xl);
}
.character-img-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.5s var(--ease);
  border-radius: var(--radius-2xl);
}
.character-card:hover .character-img-wrap img { transform: scale(1.06); }

.character-info {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  padding: 16px;
}
@media (min-width: 768px) { .character-info { padding: 20px; } }
.character-info h3 { color: var(--white); font-size: 18px; font-weight: 700; }
@media (min-width: 768px) { .character-info h3 { font-size: 22px; } }
.character-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.character-tags span {
  padding: 4px 12px; border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px; color: var(--white); font-size: 11px;
}
@media (min-width: 768px) { .character-tags span { font-size: 13px; padding: 5px 14px; } }

.character-controls {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin-top: 32px;
}
.character-carousel-btn {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-700); font-size: 24px;
  transition: all 0.25s var(--ease);
}
@media (min-width: 768px) { .character-carousel-btn { width: 52px; height: 52px; font-size: 28px; } }
.character-carousel-btn:hover { background: var(--grad-primary); color: var(--white); transform: scale(1.08); }
.gender-tabs {
  display: inline-flex; background: var(--gray-100); border-radius: 999px; padding: 4px;
}
.character-tab {
  padding: 9px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--gray-500);
  transition: all 0.3s var(--ease);
}
@media (min-width: 768px) { .character-tab { padding: 10px 36px; font-size: 16px; } }
.character-tab.active { background: var(--white); color: var(--gray-900); box-shadow: var(--shadow-sm); }

/* ---------- 8. Guide ---------- */
.guide { background: var(--white); }
.guide-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 768px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.guide-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all 0.3s var(--ease);
}
.guide-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.guide-img-wrap { aspect-ratio: 1.516; overflow: hidden; background: var(--gray-50); }
.guide-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.guide-card:hover .guide-img-wrap img { transform: scale(1.05); }
.guide-body { padding: 20px; background: var(--gray-50); flex: 1; transition: background 0.3s; }
.guide-card:hover .guide-body { background: var(--white); }
.guide-body h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
@media (min-width: 768px) { .guide-body h3 { font-size: 18px; } }
.guide-body h3 i { color: var(--pink); }
.guide-body p { font-size: 13px; color: var(--gray-500); line-height: 1.7; margin-bottom: 12px; }
.guide-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--pink);
}
.guide-more { text-align: center; margin-top: 40px; }

/* ---------- 9. User Voice ---------- */
.user-voice { background: var(--grad-uservoice); }
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 720px; margin: 0 auto 56px;
}
@media (min-width: 768px) { .stats-grid { gap: 32px; margin-bottom: 80px; } }
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; }
@media (min-width: 768px) { .stat-num { font-size: 48px; } }
.stat-label { color: var(--gray-500); font-size: 12px; font-weight: 500; margin-top: 6px; }
@media (min-width: 768px) { .stat-label { font-size: 16px; margin-top: 8px; } }

.creators-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 768px) { .creators-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.creators-col { display: flex; flex-direction: column; gap: 16px; }
.voice-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease);
}
.voice-card:hover { box-shadow: var(--shadow); }
.voice-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.voice-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary-soft); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  overflow: hidden; flex-shrink: 0;
}
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; }
.voice-head h4 { font-size: 16px; font-weight: 700; }
.voice-head span { font-size: 12px; color: var(--gray-500); }
.voice-main { font-size: 14px; color: var(--gray-700); line-height: 1.8; }
.voice-card-small { padding: 16px 20px; }
.voice-card-small p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }
.voice-card-small i { color: var(--pink); font-size: 16px; margin-right: 4px; }

/* ---------- 10. News ---------- */
.news { background: var(--white); }
.news-list { max-width: 800px; margin: 0 auto; }
.news-item { border-bottom: 1px solid var(--gray-100); }
.news-item a {
  display: flex; align-items: center; gap: 20px; padding: 20px 8px;
  transition: padding 0.25s var(--ease);
}
.news-item a:hover { padding-left: 16px; }
.news-date { flex-shrink: 0; font-size: 14px; color: var(--gray-500); font-weight: 500; min-width: 90px; }
.news-title { flex: 1; font-size: 15px; font-weight: 600; color: var(--gray-900); }
.news-tag {
  display: inline-block; margin-left: 8px; padding: 2px 8px;
  background: var(--pink); color: var(--white); font-size: 10px;
  border-radius: 4px; font-weight: 700; vertical-align: middle;
}
.news-arrow { color: var(--gray-200); font-size: 18px; transition: all 0.25s var(--ease); }
.news-item a:hover .news-arrow { color: var(--pink); transform: translateX(4px); }
.news-more { text-align: center; margin-top: 40px; }

/* ---------- 11. Footer ---------- */
.site-footer { background: var(--dark); color: var(--white); padding-top: 64px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.5fr 1fr; } }
.footer-logo { height: 28px; width: auto; margin-bottom: 16px; }
.footer-tagline { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; transition: background 0.25s var(--ease), transform 0.25s;
}
.footer-social a:hover { background: var(--grad-primary); transform: translateY(-2px); }
.footer-social a img { width: 18px; height: 18px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-col h4 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); padding: 6px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

/* ---------- 12. 动画/进入效果 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fadeInUp 0.7s var(--ease-out) forwards; }

/* ---------- 11.5 法律/隐私政策页 ---------- */
.btn-back {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: var(--gray-700);
  transition: all 0.2s var(--ease);
}
.btn-back:hover { color: var(--pink); background: var(--gray-50); }

.legal-main { padding-top: 96px; padding-bottom: 48px; background: var(--white); }
@media (min-width: 768px) { .legal-main { padding-top: 112px; padding-bottom: 80px; } }

.legal-article {
  max-width: 820px; margin: 0 auto;
  background: var(--white);
}
.legal-head { text-align: center; margin-bottom: 40px; }
@media (min-width: 768px) { .legal-head { margin-bottom: 56px; } }
.legal-head .section-watermark { font-size: 24px; }
@media (min-width: 768px) { .legal-head .section-watermark { font-size: 36px; } }
.legal-title { font-size: 24px; font-weight: 900; margin-top: -14px; }
@media (min-width: 768px) { .legal-title { font-size: 36px; margin-top: -22px; } }
.legal-updated { margin-top: 12px; font-size: 13px; color: var(--gray-500); }

.legal-intro {
  background: var(--gray-50); border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 32px;
}
.legal-intro p { font-size: 14px; color: var(--gray-700); line-height: 1.85; }
.legal-intro p + p { margin-top: 10px; }

.legal-toc {
  background: linear-gradient(135deg, rgba(255,126,173,0.06), rgba(142,136,255,0.06));
  border: 1px solid rgba(255,126,173,0.15);
  border-radius: var(--radius-lg); padding: 24px 28px; margin-bottom: 40px;
}
.legal-toc h2 { font-size: 14px; font-weight: 700; color: var(--gray-500); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.legal-toc ol { list-style: decimal; padding-left: 20px; columns: 2; column-gap: 24px; }
@media (max-width: 639px) { .legal-toc ol { columns: 1; } }
.legal-toc li { padding: 4px 0; }
.legal-toc a { font-size: 14px; color: var(--gray-700); transition: color 0.2s; }
.legal-toc a:hover { color: var(--pink); }

.legal-section { margin-bottom: 36px; scroll-margin-top: 100px; }
.legal-section h2 {
  font-size: 18px; font-weight: 800; color: var(--gray-900);
  padding-bottom: 10px; margin-bottom: 16px;
  border-bottom: 2px solid var(--grad-primary);
  border-image: var(--grad-primary) 1;
}
@media (min-width: 768px) { .legal-section h2 { font-size: 22px; } }
.legal-section h3 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin: 18px 0 8px; }
.legal-section p { font-size: 14px; color: var(--gray-700); line-height: 1.9; margin-bottom: 10px; }
.legal-section ul { list-style: none; padding-left: 0; }
.legal-section ul li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: 14px; color: var(--gray-700); line-height: 1.85;
}
.legal-section ul li::before {
  content: ''; position: absolute; left: 4px; top: 10px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-primary);
}
.legal-section strong { color: var(--gray-900); font-weight: 600; }

.legal-contact li { padding-left: 24px; }
.legal-contact i { position: absolute; left: 0; top: 3px; color: var(--pink); font-size: 16px; }
.legal-contact a { color: var(--pink); }
.legal-contact a:hover { text-decoration: underline; }

.legal-footer { text-align: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-100); }

/* 文章页头部标签 */
.legal-updated .news-cat {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--grad-primary); color: var(--white);
  font-size: 12px; font-weight: 600;
}
.legal-updated .news-dot { margin: 0 8px; color: var(--gray-300); }

/* ---------- 12.5 404 页面 ---------- */
.error-page {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 16px 40px;
  background: linear-gradient(180deg, #fff 0%, #fdf2f8 50%, #f3e8ff 100%);
}
.error-code {
  font-size: 120px; font-weight: 900; line-height: 1;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: -0.04em;
}
@media (min-width: 768px) { .error-code { font-size: 180px; } }
.error-title { font-size: 22px; font-weight: 800; color: var(--gray-900); margin-top: 16px; }
@media (min-width: 768px) { .error-title { font-size: 28px; } }
.error-desc { font-size: 15px; color: var(--gray-500); margin-top: 12px; max-width: 420px; line-height: 1.8; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.error-actions a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: all 0.25s var(--ease);
}
.error-actions .btn-primary {
  background: var(--grad-primary); color: var(--white);
}
.error-actions .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.error-actions .btn-ghost { border: 1.5px solid var(--gray-200); color: var(--gray-700); }
.error-actions .btn-ghost:hover { border-color: var(--pink); color: var(--pink); }
.error-links { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.error-links a { font-size: 13px; color: var(--gray-500); transition: color 0.2s; }
.error-links a:hover { color: var(--pink); }

/* ---------- 13. 响应式微调 ---------- */
@media (max-width: 639px) {
  .hero-content { padding-bottom: 64px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-store { flex: 1 1 0; padding: 8px 10px; min-height: 46px; gap: 6px; }
  .hero-actions .btn-store i { font-size: 20px; }
  .hero-actions .store-wrap small { font-size: 9px; }
  .hero-actions .store-wrap strong { font-size: 13px; }
  .hero-title { font-size: 26px; }
  .stat-num { font-size: 22px; }
  .stat-label { font-size: 11px; }
  .news-item a { gap: 12px; padding: 16px 4px; }
  .news-date { font-size: 12px; min-width: 72px; }
  .news-title { font-size: 14px; }
}
@media (max-width: 1023px) {
  .header-nav-links { display: none; }
}
