:root {
  --brand: #7c3aed;
  --brand2: #a855f7;
  --ink: #1f2430;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f6f5fb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #eee;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; }
.logo-badge {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  color: #fff; display: grid; place-items: center; font-size: 18px; font-weight: 700;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: #444; font-size: 15px; }
.nav-links a:hover { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 10px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-primary {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color: #fff; box-shadow: 0 6px 18px rgba(124,58,237,.3);
}
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* Hero */
.hero { padding: 80px 0 60px; text-align: center;
  background:
    radial-gradient(1000px 480px at 50% -120px, rgba(124,58,237,.12), transparent 70%); }
.hero h1 { font-size: 46px; line-height: 1.25; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 18px; margin: 18px auto 30px; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-url {
  margin: 34px auto 0; display: inline-flex; align-items: center;
  background: #fff; border: 1px solid #e7e3f7; border-radius: 14px;
  padding: 8px 8px 8px 18px; box-shadow: 0 10px 30px rgba(124,58,237,.1); }
.hero-url .domain { color: var(--muted); font-size: 15px; }
.hero-url .name { color: var(--brand); font-weight: 700; }
.hero-url .go { margin-left: 12px; background: linear-gradient(90deg,var(--brand),var(--brand2));
  color: #fff; border: 0; border-radius: 9px; padding: 8px 16px; font-size: 14px; cursor: pointer; }
.hero-meta { margin-top: 18px; color: #9aa0ac; font-size: 13px; }

/* 通用区块标题 */
.section { padding: 70px 0; }
.section.soft { background: var(--soft); }
.sec-head { text-align: center; margin-bottom: 46px; }
.sec-head h2 { font-size: 32px; font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }

/* 特色卡片 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 28px;
  transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(80,60,200,.1); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(168,85,247,.14)); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }
.tag-free { display: inline-block; margin-top: 14px; color: var(--brand);
  background: #f1ecff; border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; }

/* 模块类型 */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mod-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #eee; }
.mod-card .thumb { height: 130px; display: grid; place-items: center; font-size: 40px;
  background: linear-gradient(135deg,#f3efff,#faf5ff); }
.mod-card .body { padding: 16px 18px; }
.mod-card h4 { font-size: 16px; }
.mod-card p { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* 数据统计 */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.stat { text-align: center; background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 26px 10px; }
.stat .num { font-size: 34px; font-weight: 800;
  background: linear-gradient(90deg,var(--brand),var(--brand2));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* 评价 */
.quote { background: #fff; border: 1px solid #eee; border-radius: 16px; padding: 26px; }
.quote p { font-size: 15px; color: #374151; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote .av { width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,var(--brand),var(--brand2));
  color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { font-size: 15px; display: block; }
.quote .who span { color: var(--muted); font-size: 13px; }

/* 底部 CTA */
.cta {
  background: linear-gradient(120deg, var(--brand), var(--brand2));
  border-radius: 24px; padding: 56px 24px; text-align: center; color: #fff; }
.cta h2 { font-size: 30px; font-weight: 800; }
.cta p { opacity: .9; margin: 12px 0 26px; }
.cta .btn { background: #fff; color: var(--brand); }

/* footer */
.footer { border-top: 1px solid #eee; padding: 36px 0; margin-top: 70px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer .links { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.footer .copy { color: #9aa0ac; font-size: 13px; }

@media (max-width: 860px) {
  .hero h1 { font-size: 32px; }
  .grid3, .grid4, .stats-row { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .sec-head h2 { font-size: 26px; }
}
@media (max-width: 520px) {
  .grid3, .grid4, .stats-row { grid-template-columns: 1fr; }
}
