/* ========== 基础重置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #e0528a;
  --primary-dark: #c23a70;
  --primary-light: #f48fb1;
  --primary-soft: #fce4ec;
  --bg: #fffafc;
  --bg-alt: #fdf2f6;
  --text: #2b2230;
  --text-light: #7a6b78;
  --white: #fff;
  --shadow: 0 12px 32px rgba(224, 82, 138, .15);
  --radius: 18px;
}
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: 820px; }

/* ========== 按钮 ========== */
.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-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: 0 8px 20px rgba(224, 82, 138, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224, 82, 138, .45); }
.btn-light {
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
}
.btn-light:hover { transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.5);
}
.btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-white {
  background: #fff; color: var(--primary);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
}
.btn-white: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(255,255,255,.9); backdrop-filter: blur(12px);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.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: 10px; }
.brand-name { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: -.5px; }
.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(--primary); }
.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 80px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 60%, #9c2d5c 100%);
  color: #fff;
}
.hero-bg {
  position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 20% 30%, #fff 0, transparent 40%),
                    radial-gradient(circle at 80% 70%, #fff 0, transparent 40%);
}
.hero-inner { position: relative; 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,.18); backdrop-filter: blur(4px);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero-text h1 { font-size: 56px; line-height: 1.1; font-weight: 900; letter-spacing: -1px; }
.hero-text h1 em {
  font-style: normal; color: #ffd6e7;
}
.hero-desc { margin: 22px 0 30px; font-size: 17px; opacity: .92; max-width: 500px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { list-style: none; display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta li { font-size: 14px; opacity: .85; }
.hero-meta strong { display: block; font-size: 24px; font-weight: 800; color: #fff; }

.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 280px; border-radius: 36px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
  border: 8px solid #2b2230;
  transform: rotate(-3deg);
  transition: transform .4s;
}
.phone-frame:hover { transform: rotate(0) scale(1.03); }
.phone-img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

/* ========== 数据条 ========== */
.stats { background: #fff; padding: 44px 0; box-shadow: 0 -20px 40px rgba(0,0,0,.04); }
.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(--primary); }
.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: 3px; font-weight: 700;
  color: var(--primary); 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: 24px; }
.feature-card {
  background: #fff; padding: 34px 26px; border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,.04); transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; font-size: 28px;
  background: var(--primary-soft); display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14px; color: var(--text-light); }

/* ========== 界面预览 ========== */
.screens-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.phone-shot {
  position: relative; border-radius: 24px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); background: #fff;
  transition: transform .3s;
}
.phone-shot:hover { transform: translateY(-6px); }
.phone-shot img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.shot-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px; text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff; font-size: 14px; font-weight: 600;
}

/* ========== 分类 ========== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  background: #fff; padding: 28px; border-radius: var(--radius);
  border-top: 4px solid var(--c, var(--primary));
  box-shadow: 0 4px 16px rgba(0,0,0,.04); transition: transform .25s;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card span { font-size: 32px; }
.cat-card h3 { margin: 10px 0 6px; font-size: 19px; }
.cat-card p { font-size: 14px; color: var(--text-light); }

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

/* ========== FAQ ========== */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.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(--primary); }
.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: #2a1f26; color: #b8a8b4; padding: 50px 0 0; margin-top: 40px; }
.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: 46px; height: 46px;
  border-radius: 50%; border: none; cursor: pointer; font-size: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff;
  box-shadow: 0 6px 18px rgba(224,82,138,.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: 40px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .phone-frame { width: 220px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .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 #f3f3f3; }
  .nav-links.open { max-height: 400px; }
  .nav-toggle { display: flex; }
  .nav-download { display: none; }
}
@media (max-width: 560px) {
  .hero-text h1 { font-size: 32px; }
  .features-grid, .cat-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section-head h2 { font-size: 28px; }
  .download-card h2 { font-size: 26px; }
  .download { margin: 0 12px; }
}
