:root {
  --bg: #0a0a0b;
  --surface: #101013;
  --surface-2: #16161a;
  --surface-3: #1d1d24;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #f5f5f6;
  --text-muted: #a1a1aa;
  --text-faint: #76767f;
  --primary: #4c8dff;
  --primary-strong: #2563eb;
  --primary-soft: rgba(76, 141, 255, .13);
  --violet: #a78bfa;
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, .13);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, .13);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, .13);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 10px 30px rgba(0,0,0,.38);
  --font-sans: "PingFang SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.65;
  min-height: 100dvh; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1000px 520px at 50% -200px, rgba(76,141,255,.14), transparent 62%),
    radial-gradient(700px 360px at 88% 4%, rgba(124,92,252,.07), transparent 60%);
}
.wrap { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; padding: 0 20px 80px; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 顶栏 ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0 8px; }
.logo { display: flex; align-items: center; gap: 10px; margin-left: -5px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; font-weight: 650; font-size: 15px; letter-spacing: -.01em; }
.logo-sub { font-size: 11px; font-weight: 450; color: var(--text-faint); letter-spacing: 0; }
.logo-mark { width: 40px; height: 40px; display: grid; place-items: center; }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 13.5px; color: var(--text-muted); }
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav .cta { padding: 8px 16px; border-radius: 999px; background: var(--primary-soft); border: 1px solid rgba(76,141,255,.32); color: var(--primary); font-weight: 550; }
.nav .cta:hover { color: var(--primary); border-color: rgba(76,141,255,.55); }
@media (max-width: 720px) { .nav .hide-m { display: none; } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 64px 0 24px; position: relative; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: -130px; z-index: -1;
  width: 920px; height: 620px; transform: translateX(-50%);
  background:
    radial-gradient(540px 310px at 50% 28%, rgba(76,141,255,.16), transparent 70%),
    radial-gradient(430px 260px at 26% 14%, rgba(124,92,252,.13), transparent 72%),
    radial-gradient(430px 260px at 76% 12%, rgba(167,139,250,.09), transparent 72%);
  pointer-events: none; filter: blur(8px);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 15px; border-radius: 999px;
  background: rgba(76,141,255,.10); border: 1px solid rgba(76,141,255,.32);
  color: var(--primary); font-size: 12px; font-weight: 500; letter-spacing: .02em;
  box-shadow: 0 0 22px rgba(76,141,255,.14); backdrop-filter: blur(8px);
}
.badge b { color: #7db4ff; font-weight: 650; }
.hero h1 {
  font-size: clamp(32px, 5.6vw, 50px); font-weight: 720; letter-spacing: -.028em;
  line-height: 1.16; margin: 24px auto 16px; max-width: 700px;
  text-shadow: 0 0 34px rgba(76,141,255,.20);
}
.hero h1 .hl {
  display: inline-block;
  background-image:
    linear-gradient(100deg, rgba(255,255,255,0) 42%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 58%),
    linear-gradient(120deg, #4c8dff 0%, #a78bfa 55%, #e879f9 100%);
  background-size: 300% 100%, 100% 100%;
  background-position: 100% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hl-sweep 24s ease-in-out infinite, hl-pulse 24s ease-in-out infinite;
}
@keyframes hl-sweep {
  0%   { background-position: 130% 0, 0 0; }
  45%  { background-position: -30% 0, 0 0; }
  100% { background-position: -30% 0, 0 0; }
}
@keyframes hl-pulse {
  0%   { transform: translateX(-10px) scale(.88); }
  35%  { transform: translateX(0) scale(1); }
  70%  { transform: translateX(12px) scale(1.03); }
  100% { transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .hl { animation: none; background-image: linear-gradient(120deg, #4c8dff 0%, #a78bfa 55%, #e879f9 100%); }
}
.hero .sub { color: #b8b9c3; font-size: 16px; line-height: 1.75; max-width: 600px; margin: 0 auto; letter-spacing: .005em; }

/* ---------- 检测演示 ---------- */
.demo { position: relative; max-width: 660px; margin: 46px auto 0; }
.demo::before {
  content: ""; position: absolute; inset: -10px -16px; z-index: -1; border-radius: 28px;
  background: linear-gradient(120deg, rgba(76,141,255,.15), rgba(124,92,252,.14), transparent 62%);
  filter: blur(18px);
}
.demo-form { display: flex; gap: 10px; }
.demo-input {
  flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 18px;
  background: linear-gradient(180deg, #17171d, #0f0f13);
  border: 1px solid var(--border-strong); border-radius: 14px; min-height: 56px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 4px 18px rgba(0,0,0,.35);
}
.demo-input svg { width: 18px; height: 18px; color: var(--text-faint); flex: none; }
.demo-input input {
  flex: 1; background: none; border: 0; outline: 0; color: var(--text);
  font: inherit; font-size: 16px; min-height: 54px;
}
.demo-input input::placeholder { color: var(--text-faint); }
.btn {
  flex: none; height: 56px; padding: 0 26px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(135deg, #2563eb, #4c8dff); color: #fff; font: inherit;
  font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 8px 24px rgba(37,99,235,.42);
  transition: filter .18s ease, transform .12s ease, box-shadow .18s ease;
}
.btn:hover { filter: brightness(1.08); box-shadow: 0 10px 30px rgba(37,99,235,.5); }
.btn:active { transform: scale(.97); }
.demo-note { margin-top: 14px; color: var(--text-faint); font-size: 12.5px; text-align: center; }
.demo-note b { color: var(--primary); font-weight: 550; }
.demo .soon {
  margin-top: 16px; padding: 12px 18px; border-radius: 12px;
  background: var(--primary-soft); border: 1px dashed rgba(76,141,255,.4);
  color: var(--text-muted); font-size: 13px; text-align: center;
}
@media (max-width: 640px) {
  .demo-form { flex-direction: column; }
  .btn { height: 52px; justify-content: center; }
}

/* ---------- 增长流程 ---------- */
.flow { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 40px; }
.f-item {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 20px; border-radius: 999px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(167,139,250,.28);
  color: #e8e9f2; font-size: 14.5px; font-weight: 550; letter-spacing: .02em;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 6px 20px rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.f-n {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  background: linear-gradient(120deg, #4c8dff, #a78bfa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.f-arrow { color: #7d8bb3; opacity: .55; width: 20px; height: 12px; flex: none; }
@media (max-width: 640px) {
  .flow { gap: 9px; }
  .f-item { padding: 7px 14px; font-size: 13px; }
  .f-arrow { width: 14px; height: 10px; }
}

/* ---------- 区块 ---------- */
.section { margin-top: 110px; scroll-margin-top: 40px; }
.sec-head { margin-bottom: 26px; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.sec-head h2 { font-size: clamp(24px, 3.4vw, 30px); font-weight: 700; letter-spacing: -.02em; margin-top: 10px; }
.sec-head p { color: var(--text-muted); font-size: 14.5px; max-width: 640px; margin-top: 10px; line-height: 1.7; }

/* 能力卡 */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.card .icon { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); font-size: 18px; }
.card h3 { font-size: 16.5px; font-weight: 650; margin-top: 16px; letter-spacing: -.01em; }
.card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; margin-top: 8px; }
.card .tag { display: inline-block; margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--primary); }
@media (max-width: 760px) { .grid3 { grid-template-columns: 1fr; } }

/* loop图 */
.loop {
  background: linear-gradient(160deg, rgba(76,141,255,.06), rgba(124,92,252,.10) 55%, rgba(232,121,249,.05));
  border: 1px solid rgba(167,139,250,.24); border-radius: 20px; padding: 34px;
}
.loop-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 20px; }
.loop-cell {
  background: rgba(255,255,255,.04); border: 1px solid rgba(167,139,250,.16); border-radius: 10px;
  padding: 12px 10px; text-align: center;
}
.loop-cell b { font-size: 13px; font-weight: 600; display: block; }
.loop-cell span { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.loop-cell.hl { background: rgba(76,141,255,.12); border-color: rgba(76,141,255,.4); }
.loop-note { margin-top: 16px; color: var(--text-muted); font-size: 13px; line-height: 1.7; }
@media (max-width: 760px) { .loop-grid { grid-template-columns: repeat(3, 1fr); } }

/* 白皮书 / 日报 双卡 */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.big-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: border-color .2s ease, transform .2s ease;
}
.big-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.big-card .k { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.big-card h3 { font-size: 19px; font-weight: 680; letter-spacing: -.015em; }
.big-card p { color: var(--text-muted); font-size: 13.5px; line-height: 1.7; }
.big-card .link { margin-top: auto; font-size: 13.5px; font-weight: 550; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }

/* 日报卡 */
.r-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.r-card .d { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); flex: none; }
.r-card .q { font-size: 13.5px; font-weight: 500; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-card .sc { font-family: var(--font-mono); font-size: 16px; font-weight: 650; flex: none; }
.sc.ok { color: var(--success); } .sc.warn { color: var(--warning); } .sc.bad { color: var(--danger); } .sc.mid { color: var(--primary); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.faq summary { font-size: 14.5px; font-weight: 550; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--text-faint); font-family: var(--font-mono); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); font-size: 13.5px; line-height: 1.75; margin-top: 12px; }

/* CTA / 联系 */
.cta-sec { text-align: center; padding: 50px 20px; border-radius: 24px; border: 1px solid rgba(167,139,250,.2); background: linear-gradient(160deg, rgba(76,141,255,.08), rgba(124,92,252,.1)); }
.cta-sec h2 { font-size: clamp(24px, 3.6vw, 32px); font-weight: 700; letter-spacing: -.02em; }
.cta-sec p { color: var(--text-muted); font-size: 14.5px; margin-top: 12px; }
.cta-sec .btn { margin-top: 24px; }
.cta-links { margin-top: 18px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; font-size: 13px; }

/* 页脚 */
footer { margin-top: 80px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--text-faint); }
footer a:hover { color: var(--text); }
footer code { font-family: var(--font-mono); }

.hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
