:root {
  --primary: #d16a8f;
  --primary-strong: #b85073;
  --primary-soft: #f7e2ea;
  --bg: #fff7fa;
  --surface: #ffffff;
  --text: #4a3340;
  --text-soft: #8a6f7c;
  --border: #f0dbe4;
  --shadow: 0 8px 24px rgba(209, 106, 143, 0.10);
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 250, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; }

.brand-logo,
.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e88bab, var(--primary));
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(209, 106, 143, 0.35);
}

.brand-name { font-size: 18px; font-weight: 700; }
.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.links { display: flex; gap: 22px; font-size: 14px; }
.links a { color: var(--text-soft); transition: color 0.2s; }
.links a:hover { color: var(--primary-strong); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 24px 72px;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, #fbe3ec 0%, transparent 70%);
}

.hero-logo {
  width: 84px;
  height: 84px;
  font-size: 38px;
  border-radius: 22px;
  margin-bottom: 22px;
}

.hero h1 { font-size: 52px; font-weight: 800; letter-spacing: 0.02em; }

.hero-sub {
  margin-top: 6px;
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-strong);
  letter-spacing: 0.08em;
}

.hero-desc {
  margin: 22px auto 0;
  max-width: 560px;
  font-size: 16px;
  color: var(--text-soft);
}

.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #e88bab, var(--primary));
  color: #fff;
  box-shadow: 0 6px 18px rgba(209, 106, 143, 0.35);
}

.btn-ghost {
  background: var(--surface);
  color: var(--primary-strong);
  border: 1px solid var(--border);
}

.btn-lg { padding: 14px 40px; font-size: 16px; }

.hero-stats {
  margin: 56px auto 0;
  max-width: 560px;
  display: flex;
  justify-content: center;
  gap: 64px;
}

.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 34px; font-weight: 800; color: var(--primary-strong); }
.stat span { font-size: 13px; color: var(--text-soft); }

/* ---------- 通用区块 ---------- */
section { padding: 72px 24px; }

section h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
}

.section-sub {
  text-align: center;
  color: var(--text-soft);
  margin-top: 8px;
  margin-bottom: 40px;
  font-size: 15px;
}

/* ---------- 特性 ---------- */
.features { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.feature-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ---------- 工具库 ---------- */
.tools { max-width: 1080px; margin: 0 auto; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.cat-card {
  padding: 24px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e88bab, var(--primary));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}

.cat-card h3 { font-size: 16px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--text-soft); }

.shot-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.shot-wrap img { display: block; width: 100%; height: auto; }

/* ---------- 下载 ---------- */
.download {
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 120%, #fbe3ec 0%, transparent 70%);
}

.download .btn { margin-top: 10px; }
.download-note { margin-top: 16px; font-size: 13px; color: var(--text-soft); }

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 36px 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.footer-brand { font-weight: 700; }
.footer-brand small { font-weight: 500; color: var(--text-soft); margin-left: 6px; }

.footer-links { display: flex; gap: 20px; font-size: 14px; }
.footer-links a { color: var(--text-soft); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary-strong); }

.copyright { font-size: 12px; color: var(--text-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 820px) {
  .feature-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 32px; }
  .links { gap: 12px; font-size: 13px; }
}
