/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --purple: #7c4dff;
  --purple-dark: #5e35b1;
  --purple-light: #ede7f6;
  --purple-bg: #f3e5f5;
  --pink: #ec407a;
  --bg: #fdfbff;
  --bg-alt: #f5f0fa;
  --text: #2a1f3d;
  --text-light: #7a6b8a;
  --white: #fff;
  --shadow: 0 12px 32px rgba(124,77,255,.18);
  --radius: 24px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: all .25s ease; white-space: nowrap;
}
.btn-purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: #fff; box-shadow: 0 8px 22px rgba(124,77,255,.35);
}
.btn-purple:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124,77,255,.45); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-white-purple {
  background: #fff; color: var(--purple);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}
.btn-white-purple:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

/* ========== 导航栏 ========== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253,251,255,.92); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(124,77,255,.12); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 38px; height: 38px; border-radius: 12px; }
.brand-name { font-size: 20px; font-weight: 800; color: var(--purple-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--text-light); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--purple); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ========== Hero ========== */
.hero {
  padding: 130px 0 70px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #7c4dff 0%, #b388ff 50%, #e1bee7 100%);
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.15) 0%, transparent 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-text h1 { font-size: 60px; line-height: 1.1; font-weight: 900; }
.hero-sub { font-size: 20px; margin: 14px 0; font-weight: 600; color: #fce4ec; }
.hero-desc { margin: 0 0 30px; font-size: 16px; opacity: .92; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { display: flex; justify-content: center; }
.hero-img {
  width: 100%; max-width: 340px; border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}

/* ========== 数据条 ========== */
.stats { background: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-num { display: block; font-size: 34px; font-weight: 800; color: var(--purple); }
.stat-label { font-size: 14px; color: var(--text-light); }

/* ========== 通用 Section ========== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-tag {
  display: inline-block; font-size: 12px; letter-spacing: 4px; font-weight: 700;
  color: var(--purple); margin-bottom: 12px;
}
.section-head h2 { font-size: 36px; font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--text-light); font-size: 16px; }

/* ========== 特色卡片 ========== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(124,77,255,.08); transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 18px; font-size: 28px;
  background: var(--purple-light); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); }

/* ========== 应用亮点 ========== */
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.show-item {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(124,77,255,.15);
  transition: transform .3s;
}
.show-item:hover { transform: translateY(-6px); }
.show-item img { width: 100%; height: 100%; object-fit: cover; }

/* ========== 下载 CTA ========== */
.download-band {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  padding: 90px 0;
}
.download-inner { display: flex; justify-content: center; }
.download-card { text-align: center; color: #fff; max-width: 560px; }
.download-icon { width: 90px; height: 90px; border-radius: 24px; margin: 0 auto 22px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.download-card h2 { font-size: 36px; margin-bottom: 14px; }
.download-card p { opacity: .9; margin-bottom: 26px; font-size: 16px; }
.download-tip { display: block; margin-top: 16px; font-size: 13px; opacity: .8; }

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(124,77,255,.1);
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; color: var(--text);
}
.faq-arrow { transition: transform .3s; font-size: 22px; color: var(--purple); }
.faq-item.open .faq-arrow { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--text-light); font-size: 15px; }

/* ========== 页脚 ========== */
.footer { background: #1a1030; color: #9a8ab0; padding: 50px 0 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 280px; }
.footer-links { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.footer-links a { font-size: 14px; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { text-align: center; padding: 20px 0; font-size: 13px; opacity: .7; }

/* ========== 回到顶部 ========== */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px;
  border-radius: 50%; border: none; cursor: pointer; font-size: 20px;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff;
  box-shadow: 0 6px 18px rgba(124,77,255,.4);
  opacity: 0; pointer-events: none; transition: .3s; z-index: 99;
}
.back-top.show { opacity: 1; pointer-events: auto; }

/* ========== 响应式 ========== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 42px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s;
    box-shadow: 0 10px 20px rgba(0,0,0,.06);
  }
  .nav-links a { padding: 16px 24px; border-top: 1px solid var(--purple-light); }
  .nav-links.open { max-height: 400px; }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 34px; }
  .features-grid, .showcase-grid { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 28px; }
  .download-card h2 { font-size: 26px; }
}
