/* ==========================================================================
   家资 MyPrecious · 官网样式
   设计原则：
   - 内容优先，留白克制
   - 浅色主题，中文优化字体（PingFang / HarmonyOS Sans）
   - 响应式：移动端单列，桌面端多列

   🎨 颜色系统说明（单点切换主题）：
   改 :root 里的 --hue-* 三元组即可全局换肤。
   所有 rgba() 透明度叠加都基于 --hue-* 三元组拼接。
   想换主题？只改下面"主题色相"那一段即可。
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "HarmonyOS Sans", "Microsoft YaHei", "Helvetica Neue", Arial,
    "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-hover); }
button { font: inherit; cursor: pointer; }

/* ==========================================================================
   Design Tokens · 主题色相（深蓝底 · 一处改全局跟随）
   ========================================================================== */
:root {
  /* ===== 主题色相（RGB 三元组，配合 rgba() 拼接透明色）===== */
  --hue-accent:         96, 165, 250;  /* 主色 · 亮蓝 */
  --hue-accent-hover:  147, 197, 253;  /* 主色按下 · 更亮 */
  --hue-accent-soft:    30,  58, 138;  /* 主色淡化 · 深蓝(深底上的软背景) */
  --hue-bg:             15,  23,  42;  /* 主背景 · 深蓝黑(slate-900) */
  --hue-bg-alt:         30,  41,  59;  /* 副背景 · 中深蓝(slate-800) */
  --hue-bg-card:        30,  41,  59;  /* 卡片 · 中深蓝 */
  --hue-text:          248, 250, 252;  /* 主文字 · 近白 */
  --hue-text-soft:     203, 213, 225;  /* 副文字 · 浅灰蓝 */
  --hue-text-mute:     148, 163, 184;  /* 弱化文字 */
  --hue-border:         51,  65,  85;  /* 边框 · 中深蓝 */
  --hue-shadow:          0,   0,   0;  /* 阴影色(黑) */
  --hue-dark:            2,   6,  23;  /* 深色背景（footer / stats） */
  --hue-dark-2:         15,  23,  42;  /* 深色背景渐变末端 */
  --hue-gold:          147, 197, 253;  /* 辅助高亮 · 亮蓝 */
  --hue-on-dark:       241, 245, 249;  /* 深背景上的文字 */
  --hue-on-dark-soft:  148, 163, 184;  /* 深背景上的弱文字 */
  --hue-on-dark-tint:  226, 232, 240;  /* 深背景上的浅文字 */
  --hue-dot:            71,  85, 105;  /* 轮播指示器点色 */
  --hue-badge-dot:      96, 165, 250;  /* Hero 徽标小点 · 同 accent */

  /* ===== 复合色（用 rgb() 包裹三元组）===== */
  --bg:           rgb(var(--hue-bg));
  --bg-alt:       rgb(var(--hue-bg-alt));
  --bg-card:      rgb(var(--hue-bg-card));
  --text:         rgb(var(--hue-text));
  --text-soft:    rgb(var(--hue-text-soft));
  --text-mute:    rgb(var(--hue-text-mute));
  --border:       rgb(var(--hue-border));
  --accent:       rgb(var(--hue-accent));
  --accent-hover: rgb(var(--hue-accent-hover));
  --accent-soft:  rgb(var(--hue-accent-soft));
  --gold:         rgb(var(--hue-gold));
  --footer-bg:    rgb(var(--hue-dark));
  --footer-fg:    rgb(var(--hue-on-dark));
  --footer-fg-soft: rgb(var(--hue-on-dark-soft));

  /* ===== 阴影（基于 --hue-shadow 拼透明度）===== */
  --shadow-sm: 0 1px 2px rgba(var(--hue-shadow), .08);
  --shadow-md: 0 4px 18px rgba(var(--hue-shadow), .10);
  --shadow-lg: 0 18px 40px rgba(var(--hue-shadow), .14);

  /* ===== 圆角 / 尺寸（非色彩）===== */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --header-h: 64px;
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 80px 0; }
@media (max-width: 768px) {
  section { padding: 56px 0; }
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--hue-bg), .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.brand-name { letter-spacing: .5px; }
.brand-name .en {
  font-size: 13px;
  color: var(--text-soft);
  font-weight: 500;
  margin-left: 4px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
}
.nav-list a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--bg-card);
  cursor: pointer;
  transition: all .15s ease;
}
.lang-switch:hover { color: var(--accent); border-color: var(--accent); }

/* Header 内的下载按钮（首屏可见 CTA） */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--hue-accent), .35);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.nav-cta-btn:hover {
  background: var(--accent-hover);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(var(--hue-accent), .45);
}
.nav-cta-btn::before {
  content: "↓";
  font-weight: 700;
  font-size: 13px;
}
@media (max-width: 900px) {
  .nav-cta-btn {
    margin: 8px 24px 4px;
    justify-content: center;
  }
}

.nav-burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  position: relative;
}
.nav-burger span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 6px auto;
  width: 22px;
}

@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-list {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav-list.open { max-height: 420px; }
  .nav-list li { padding: 8px 24px; }
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 64px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 400px at 80% -10%, rgba(var(--hue-accent), .18), transparent 60%),
    radial-gradient(600px 300px at 10% 0%, rgba(var(--hue-gold), .18), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 12px;
  letter-spacing: -.5px;
}
.hero h1 .top {
  display: block;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.hero h1 .main {
  background: linear-gradient(120deg, var(--text) 0%, var(--accent) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .subtitle {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-soft);
  margin-bottom: 20px;
}
.hero .desc {
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  background: var(--bg-card);
}
.hero .badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgb(var(--hue-badge-dot));
  box-shadow: 0 0 0 3px rgba(var(--hue-badge-dot), .20);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(var(--hue-accent), .35);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Hero 统计 */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.hero-stats .stat .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.hero-stats .stat .label {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 4px;
}

/* Hero 视觉 */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-carousel {
  position: relative;
  width: min(360px, 90%);
  aspect-ratio: 9 / 19;
  filter: drop-shadow(0 30px 50px rgba(var(--hue-shadow), .22));
  perspective: 1000px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.hero-carousel.dragging { cursor: grabbing; }
.hero-carousel .phone {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  opacity: 0;
  pointer-events: none;
  object-fit: cover;
  will-change: transform, opacity;
}
.hero-dots {
  display: flex;
  gap: 4px;
  margin-top: 18px;
}
.hero-dots .dot {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.hero-dots .dot::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--hue-dot));
  transition: background .2s ease, width .3s cubic-bezier(.4,0,.2,1), border-radius .3s ease;
}
.hero-dots .dot:hover::before {
  background: var(--accent-soft);
}
.hero-dots .dot.active::before {
  background: var(--accent);
  width: 36px;
  border-radius: 5px;
}

/* ---------- Section Title ---------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -.3px;
}
.section-title .sub {
  color: var(--text-soft);
  font-size: 16px;
}

/* ---------- Features ---------- */
.features {
  background: var(--bg);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}
.feature-card .icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.feature-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Workflow ---------- */
.workflow {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.workflow-steps::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--accent) 0, var(--accent) 8px, transparent 8px, transparent 16px);
  opacity: .35;
  z-index: 0;
}
@media (max-width: 768px) {
  .workflow-steps { grid-template-columns: 1fr; gap: 20px; }
  .workflow-steps::before { display: none; }
}
.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-card .no {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 6px 14px rgba(var(--hue-accent), .35);
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
}
.step-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14.5px;
}

/* ---------- Details (Tabs) ---------- */
.details-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.detail-tab {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
  transition: all .15s ease;
}
.detail-tab:hover { color: var(--accent); border-color: var(--accent); }
.detail-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.detail-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.detail-panel.active { display: block; }
.detail-panel h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
}
.detail-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 700px) {
  .detail-panel ul { grid-template-columns: 1fr; }
}
.detail-panel li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
}
.detail-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 14px;
  background: var(--accent-soft);
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.detail-panel li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* ---------- Screenshots ---------- */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .screenshots-grid { grid-template-columns: 1fr; }
}
.shot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.shot-card .img-wrap {
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.shot-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19;
  object-fit: contain;
  display: block;
  background: var(--bg-alt);
}
.shot-card .caption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-soft);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* ---------- Videos ---------- */
.videos { background: var(--bg-alt); }
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.video-cover {
  position: absolute;
  inset: 0;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(var(--hue-accent), .85), rgba(var(--hue-accent-hover), .85)),
    radial-gradient(closest-side, rgba(255,255,255,.25), transparent);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
}
.video-cover .video-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.video-card:hover .video-play { transform: scale(1.08); }
.video-card .video-info {
  padding: 16px 18px;
}
.video-card .video-info h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
}
.video-card .video-info p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-soft);
}
.video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
}

/* ---------- Download ---------- */
.download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 380px;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .download-grid { max-width: 100%; }
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.download-card .name {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 4px;
}
.download-card .platform {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
}
.download-card .desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.download-card .qr {
  width: 120px;
  height: 120px;
  margin: 12px auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--text-mute);
  font-size: 12px;
}
.download-card .qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- Download Top（Hero 之后的下载区）---------- */
.download-top {
  padding: 80px 0;
  background:
    radial-gradient(700px 350px at 20% 0%, rgba(var(--hue-accent), .10), transparent 60%),
    radial-gradient(500px 250px at 90% 100%, rgba(var(--hue-gold), .10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}
.download-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.download-top-grid .download-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (max-width: 900px) {
  .download-top-grid { grid-template-columns: 1fr; gap: 32px; }
}
.download-top-text .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 14px;
}
.download-top-text h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.3;
  color: var(--text);
  letter-spacing: -.3px;
}
.download-top-desc {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0;
}
.download-card-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(var(--hue-accent), .18);
  background: var(--bg-card);
}
.download-card-featured .qr {
  width: 140px;
  height: 140px;
}

/* ---------- 多平台下载卡片新增样式 ---------- */
.download-card .platform-icon {
  font-size: 40px;
  margin-bottom: 8px;
  line-height: 1;
}
.download-card .download-actions {
  margin: 16px 0 12px;
}
.download-card .btn-download {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  gap: 6px;
}
.download-card .btn-download span {
  font-size: 16px;
}
.download-card .qr-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.download-card .qr-wrap .qr {
  width: 110px;
  height: 110px;
}
.download-card small {
  display: block;
  color: var(--text-mute);
  font-size: 12px;
  margin-top: 4px;
}
.download-card .pc-soon-hint {
  display: block;
  color: var(--accent);
  font-size: 12px;
  margin-top: 10px;
  font-weight: 600;
}

/* 下载卡片区域双列布局（PC端显示两张并排） */
.download-top-grid > .download-top-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 100%;
}
@media (max-width: 700px) {
  .download-top-grid > .download-top-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pricing-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pricing-card.recommended {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}
.pricing-card .tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
}
.pricing-card h3 { margin: 0 0 8px; font-size: 18px; }
.pricing-card .price {
  font-size: 32px;
  font-weight: 800;
  margin: 8px 0 16px;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pricing-card li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: var(--text-soft);
  font-size: 14.5px;
}
.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq-item.open { border-color: var(--accent); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q::after {
  content: "+";
  color: var(--accent);
  font-size: 22px;
  transition: transform .2s ease;
  flex-shrink: 0;
  font-weight: 400;
}
.faq-item.open .faq-q::after {
  content: "−";
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 22px;
  transition: padding .3s ease;
}
.faq-item.open .faq-a-inner {
  padding: 0 22px 18px;
}

/* ---------- Roadmap ---------- */
.roadmap { background: var(--bg-alt); }
.roadmap-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 768px) {
  .roadmap-cols { grid-template-columns: 1fr; }
}
.roadmap-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.roadmap-col h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}
.roadmap-col h3::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.roadmap-item {
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.roadmap-item:last-child { border-bottom: 0; }
.roadmap-item .title { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.roadmap-item .status {
  font-size: 12px;
  color: var(--text-mute);
  padding: 2px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  display: inline-block;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.contact-grid > .contact-card {
  width: 100%;
  max-width: 360px;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.contact-card .label {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.contact-card .value {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}
.contact-card .qr {
  width: 140px;
  height: 140px;
  margin: 8px auto 0;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  color: var(--text-mute);
  font-size: 12px;
  border: 1px solid var(--border);
}
.contact-card .qr img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ---------- Reveal 动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Big Stats（数据展示区）---------- */
.big-stats {
  padding: 64px 0;
  background: linear-gradient(135deg, rgb(var(--hue-dark)) 0%, rgb(var(--hue-dark-2)) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.big-stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 20% 0%, rgba(var(--hue-accent), .25), transparent 60%),
    radial-gradient(500px 200px at 80% 100%, rgba(var(--hue-gold), .22), transparent 60%);
  pointer-events: none;
}
.big-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .big-stats-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .big-stats-grid { grid-template-columns: 1fr; gap: 20px; }
}
.big-stat {
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}
.big-stat:last-child { border-right: 0; }
@media (max-width: 600px) {
  .big-stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 20px; }
  .big-stat:last-child { border-bottom: 0; }
}
.big-num {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, #f8fafc 0%, rgb(var(--hue-gold)) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
}
.big-num span {
  font-size: .55em;
  font-weight: 600;
  margin-left: 2px;
  opacity: .9;
}
.big-label {
  font-size: 14px;
  color: rgba(var(--hue-on-dark-tint), .75);
  margin-top: 8px;
  letter-spacing: .5px;
}

/* ---------- Feature Block（6 大独立模块 · Eagle 风格）---------- */
.features {
  background: var(--bg);
  padding-top: 100px;
  padding-bottom: 80px;
}
.feature-block {
  padding: 48px 0;
  border-bottom: 1px dashed var(--border);
}
.feature-block:last-child { border-bottom: 0; }

.feature-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-block-alt .feature-block-grid {
  grid-template-areas: "visual text";
}
.feature-block-alt .feature-visual { grid-area: visual; }
.feature-block-alt .feature-text { grid-area: text; }
.feature-block-alt .feature-block-grid.reverse {
  grid-template-areas: "text visual";
}

@media (max-width: 900px) {
  .feature-block-grid,
  .feature-block-alt .feature-block-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "text";
    gap: 32px;
  }
  .feature-block { padding: 32px 0; }
}

.feature-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  letter-spacing: .5px;
  margin-bottom: 16px;
}
.feature-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.25;
  letter-spacing: -.3px;
  color: var(--text);
}
.feature-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 24px;
}

.feature-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) {
  .feature-chips { grid-template-columns: 1fr; }
}
.feature-chips li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.feature-chips li:hover {
  border-color: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.feature-chips .chip-icon {
  font-size: 18px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border-radius: 8px;
  flex-shrink: 0;
}

.feature-visual {
  position: relative;
}
.feature-visual img {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(var(--hue-shadow), .18);
  display: block;
}

/* ---------- Testimonials（用户证言 · 双行 marquee）---------- */
.testimonials {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 80px 0 100px;
  overflow: hidden;
}
.marquee-row {
  position: relative;
  overflow: hidden;
  /* 两侧渐隐，让卡片从边缘柔和淡入淡出 */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.marquee-row + .marquee-row {
  margin-top: 20px;
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: mp-marquee-left 60s linear infinite;
}
.marquee-track[data-marquee-direction="right"] {
  animation-name: mp-marquee-right;
  animation-duration: 75s;
}
/* hover 暂停：方便用户阅读单条 */
.marquee-row:hover .marquee-track,
.marquee-row:focus-within .marquee-track {
  animation-play-state: paused;
}
@keyframes mp-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes mp-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: relative;
  /* marquee 上下文里固定宽度，禁用收缩 */
  flex: 0 0 auto;
  width: 360px;
  /* 用 margin-right 而不是 gap，确保 -50% 平移能无缝衔接 */
  margin-right: 20px;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.testimonial-card:hover {
  /* 取消 translateY 避免连续滚动时 hover 闪烁；保留描边和阴影反馈 */
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .testimonial-card { width: 320px; }
}
@media (max-width: 600px) {
  .testimonial-card {
    width: 280px;
    margin-right: 16px;
    padding: 22px 18px;
  }
  .marquee-row + .marquee-row { margin-top: 16px; }
}
/* 尊重用户的「减少动画」偏好 */
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  position: absolute;
  top: 12px;
  right: 20px;
  font-weight: 700;
}
.testimonial-card .quote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  position: relative;
  z-index: 1;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testimonial-card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  user-select: none;
}
.testimonial-card .info { line-height: 1.4; }
.testimonial-card .name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card .role {
  font-size: 12.5px;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ---------- Final CTA（页脚大 CTA）---------- */
.final-cta {
  padding: 80px 0;
  background: var(--bg);
}
.final-cta-card {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(var(--hue-accent), .12), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(var(--hue-gold), .10), transparent 60%),
    linear-gradient(135deg, rgb(var(--hue-bg-card)) 0%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(var(--hue-shadow), .06);
}
.final-cta-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  margin-bottom: 16px;
}
.final-cta-card h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--text);
  letter-spacing: -.3px;
}
.final-cta-card p {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 0 28px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.final-cta-card .hero-cta {
  justify-content: center;
  margin-bottom: 24px;
}
.final-cta-meta {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0 !important;
}
.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 14px;
}

@media (max-width: 600px) {
  .final-cta-card { padding: 40px 24px; }
  .final-cta-card .hero-cta { flex-direction: column; }
  .final-cta-card .hero-cta .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-fg);
  padding: 56px 0 24px;
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}
.site-footer p { margin: 0 0 8px; font-size: 13px; line-height: 1.7; }
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li { margin: 6px 0; }
.site-footer a {
  color: var(--footer-fg);
  font-size: 13px;
}
.site-footer a:hover { color: #fff; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.footer-brand img { width: 28px; height: 28px; border-radius: 6px; }
.footer-brand .name {
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  color: var(--footer-fg-soft);
}
.footer-bar a { color: var(--footer-fg-soft); }
.footer-bar a:hover { color: #fff; }

/* ---------- Legal Pages ---------- */
.legal {
  padding: 80px 0;
  background: var(--bg);
}
.legal-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px;
}
@media (max-width: 600px) {
  .legal-card { padding: 28px; }
}
.legal h1 {
  font-size: 30px;
  margin: 0 0 8px;
}
.legal .meta {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.legal h2 {
  font-size: 18px;
  margin: 28px 0 10px;
  color: var(--text);
}
.legal p, .legal li {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.8;
}
.legal ul {
  padding-left: 22px;
}
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--text-soft);
}
.back-link::before { content: "← "; }

/* ---------- Auth 登录相关样式 ---------- */
.nav-auth-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-left: 8px;
}
.nav-auth-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}
.site-header.scrolled .nav-auth-btn {
  border-color: rgba(99,102,241,0.4);
  color: var(--primary);
}
.site-header.scrolled .nav-auth-btn:hover {
  background: rgba(99,102,241,0.08);
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  font-size: 14px;
  color: #fff;
}
.nav-logout-btn {
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.nav-logout-btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.site-header.scrolled .nav-logout-btn {
  border-color: rgba(0,0,0,0.15);
  color: var(--text-mute);
}
.site-header.scrolled .nav-logout-btn:hover {
  background: rgba(0,0,0,0.05);
  color: var(--text);
}

.membership-badge {
  padding: 2px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.login-modal.active {
  display: flex !important;
}
.login-modal:not(.active) {
  display: none !important;
}
.login-modal-content {
  animation: modalSlideIn 0.25s ease;
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.qq-login-btn:hover {
  background: #f8fafc;
  border-color: #12B7F5;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .nav-user-info {
    flex-wrap: wrap;
    gap: 4px;
  }
  .nav-auth-btn {
    padding: 5px 12px;
    font-size: 13px;
  }
}
