/* Cullia 官网样式 —— 与 App 视觉一致（品牌色 #FF79C6） */
:root {
  --accent: #FF79C6;
  --accent-dark: #e35ba8;
  --ink: #16181d;
  --muted: #5b616e;
  --line: #e6e8ee;
  --bg: #ffffff;
  --card: #f7f8fa;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
header.site {
  background: transparent;
}
header.site .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}
nav.top { display: flex; gap: 16px; margin-left: auto; }
nav.top a, .lang, footer.site a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
nav.top a:hover, footer.site a:hover, .lang:hover { color: var(--accent-dark); }
a.lang { white-space: nowrap; }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero h1 { font-size: 44px; line-height: 1.1; }
.hero .en {
  font-size: 20px;
  color: var(--muted);
  margin-top: 8px;
}
p.lead {
  font-size: 16px;
  color: var(--muted);
  margin-top: 16px;
  max-width: 640px;
}
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  background: rgba(255, 121, 198, 0.12);
  border: 1px solid rgba(255, 121, 198, 0.35);
  border-radius: 999px;
  padding: 5px 14px;
}

/* Sections */
section { padding: 40px 0; }
h2 { font-size: 26px; margin-bottom: 18px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.pro-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 2px 9px;
  vertical-align: middle;
}

/* Steps */
ol.steps { list-style: none; counter-reset: step; }
ol.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 18px 46px;
  color: var(--muted);
}
ol.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
ol.steps strong { color: var(--ink); }

/* 文档页 */
article.page { padding: 40px 0 56px; max-width: 720px; }
article.page h1 { font-size: 32px; margin-bottom: 6px; }
article.page h2 { font-size: 19px; margin: 26px 0 8px; }
article.page p { margin-bottom: 12px; color: var(--muted); }
article.page a { color: var(--accent-dark); text-decoration: none; }
article.page a:hover { text-decoration: underline; }

/* 底部 */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; }
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 34px;
}
footer.site .copy { margin-left: auto; color: var(--muted); font-size: 13px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
.section-sub { color: var(--muted); font-size: 15px; }

@media (max-width: 640px) {
  header.site .wrap { flex-wrap: wrap; }
  nav.top { width: 100%; order: 3; margin-left: 0; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: 34px; }
}

/* 深色模式跟随 */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f0f0f4;
    --muted: #a6a6b5;
    --line: rgba(255,255,255,0.10);
    --bg: #13131b;
    --card: #1e1e2a;
  }
}