/* 一键造站 · 官网样式 — 沉静蓝双主题 + 玻璃/光感/Bento 视觉系统，纯静态零依赖 */
:root {
  --bg: #f3f4f8; --surface: #ffffff; --surface-2: #eceef3;
  --line: #e4e7ee; --line-strong: #d4d9e2;
  --fg: #1b1e27; --fg-muted: #59606e; --fg-subtle: #99a0b0;
  --accent: #4d63c4; --accent-2: #6366f1; --accent-strong: #3f53ab; --accent-soft: #eaedf8;
  --accent-ring: rgba(77, 99, 196, 0.24);
  --accent-grad: linear-gradient(135deg, #5d73d4 0%, #6366f1 100%);
  --success: #0a9e6b;
  --shadow-soft: 0 1px 2px rgba(18,20,31,.06), 0 1px 1px rgba(18,20,31,.04);
  --shadow-pop: 0 10px 30px -10px rgba(18,20,31,.20), 0 3px 10px -4px rgba(18,20,31,.10);
  --shadow-float: 0 40px 80px -32px rgba(40,46,82,.42), 0 12px 32px -12px rgba(18,20,31,.18);
  --glass: rgba(255,255,255,.66);
  --glass-line: rgba(255,255,255,.7);
  --radius: 0.9rem;
}
html.dark {
  --bg: #0a0b0f; --surface: #14161d; --surface-2: #1d2029;
  --line: #272b36; --line-strong: #3a4050;
  --fg: #e9ebf2; --fg-muted: #99a1b1; --fg-subtle: #646b7c;
  --accent: #8ea2f2; --accent-2: #818cf8; --accent-strong: #9bafef; --accent-soft: rgba(142,162,242,.16);
  --accent-ring: rgba(142,162,242,.38);
  --accent-grad: linear-gradient(135deg, #7389e6 0%, #818cf8 100%);
  --success: #34d399;
  --shadow-soft: 0 1px 2px rgba(0,0,0,.5);
  --shadow-pop: 0 14px 36px -10px rgba(0,0,0,.65), 0 3px 10px -4px rgba(0,0,0,.5);
  --shadow-float: 0 50px 100px -36px rgba(0,0,0,.8), 0 16px 40px -16px rgba(0,0,0,.6);
  --glass: rgba(22,25,33,.6);
  --glass-line: rgba(255,255,255,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; overflow-x: hidden;
  font-family: Inter, "PingFang SC", "HarmonyOS Sans", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  color: var(--fg); background: var(--bg); line-height: 1.6;
  transition: background-color .3s ease, color .3s ease;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent-ring); }

/* ── ambient background: drifting aurora blobs ───────────────────────────── */
.bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .26; }
.blob.a { width: 580px; height: 580px; top: -200px; left: -140px; background: radial-gradient(circle, var(--accent) 0%, transparent 66%); animation: drift1 28s ease-in-out infinite; }
.blob.b { width: 480px; height: 480px; top: -120px; right: -160px; background: radial-gradient(circle, var(--accent-2) 0%, transparent 66%); animation: drift2 32s ease-in-out infinite; }
.blob.c { width: 420px; height: 420px; top: 1040px; left: 40%; background: radial-gradient(circle, var(--accent) 0%, transparent 70%); opacity: .12; animation: drift1 36s ease-in-out infinite reverse; }
html.dark .blob { opacity: .2; }
@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(60px,40px) scale(1.08)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-50px,30px) scale(1.1)} }

/* ── layout / type ───────────────────────────────────────────────────────── */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
h1,h2,h3 { letter-spacing: -.022em; margin: 0; }
h2.title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 750; margin: 14px 0 10px; }
.sub { color: var(--fg-muted); font-size: 17px; max-width: 640px; }
.center { text-align: center; }
.center .sub { margin: 0 auto; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; font-size: 13px; font-weight: 550; color: var(--accent); background: var(--accent-soft); border: 1px solid color-mix(in oklab, var(--accent) 22%, transparent); }
.pill .ping { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-ring); animation: ping 2.2s ease-out infinite; }
@keyframes ping { 0%{box-shadow:0 0 0 0 var(--accent-ring)} 70%,100%{box-shadow:0 0 0 7px transparent} }

/* ── header ──────────────────────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(20px) saturate(1.4); background: color-mix(in oklab, var(--surface) 68%, transparent); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; font-size: 16px; letter-spacing: -.01em; }
.logo { width: 32px; height: 32px; border-radius: 10px; background-image: var(--accent-grad); display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-soft); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { color: var(--fg-muted); padding: 8px 12px; border-radius: 10px; font-size: 14px; transition: background .15s, color .15s; }
.nav a.link:hover { background: var(--surface-2); color: var(--fg); }
.icon-btn { width: 38px; height: 38px; border: 0; background: transparent; color: var(--fg-muted); border-radius: 11px; cursor: pointer; display: grid; place-items: center; transition: background .15s, color .15s; }
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 600; border-radius: 12px; padding: 13px 22px; transition: filter .15s, background .15s, border-color .15s, box-shadow .15s; }
.btn.primary { background-image: var(--accent-grad); color: #fff; box-shadow: 0 6px 20px -6px var(--accent-ring), var(--shadow-soft); }
.btn.primary:hover { filter: brightness(.96); box-shadow: 0 10px 28px -8px var(--accent-ring); }
.btn.outline { background: var(--surface); color: var(--fg); border: 1px solid var(--line); }
.btn.outline:hover { background: var(--surface-2); border-color: var(--line-strong); }
.btn.glass { background: var(--glass); color: var(--fg); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); }
.btn.glass:hover { background: color-mix(in oklab, var(--surface) 85%, transparent); }
.btn.sm { padding: 9px 15px; font-size: 14px; border-radius: 11px; }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.muted-link { color: var(--fg-subtle); font-size: 13px; }
.muted-link:hover { color: var(--accent); }

/* gradient-border wrapper (for glow cards) */
.gborder { position: relative; border-radius: 20px; }
.gborder::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 55%, transparent), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { padding: 84px 0 56px; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 820; line-height: 1.05; margin: 20px 0 18px; letter-spacing: -.03em; }
.hero h1 .grad { color: var(--accent); }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.hero .meta { color: var(--fg-subtle); font-size: 13px; margin-top: 16px; }

/* ── product mockup (CSS-built app shot) ─────────────────────────────────── */
.stage { margin-top: 64px; position: relative; perspective: 1600px; }
.stage .halo { position: absolute; inset: -6% 8% auto 8%; height: 70%; background: var(--accent-grad); filter: blur(80px); opacity: .26; border-radius: 50%; z-index: -1; }
.mock { max-width: 980px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-float); transform: rotateX(8deg) scale(.99); transform-origin: top center; }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--surface-2) 60%, var(--surface)); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.mock-bar .dot:nth-child(1){ background:#ff5f57 } .mock-bar .dot:nth-child(2){ background:#febc2e } .mock-bar .dot:nth-child(3){ background:#28c840 }
.mock-bar .mtitle { margin-left: 10px; font-size: 12.5px; color: var(--fg-subtle); }
.mock-body { display: grid; grid-template-columns: 132px 1fr 230px; height: 360px; }
.mock-side { border-right: 1px solid var(--line); padding: 12px 10px; background: color-mix(in oklab, var(--surface-2) 35%, var(--surface)); }
.mock-newbtn { height: 30px; border-radius: 9px; background-image: var(--accent-grad); margin-bottom: 12px; box-shadow: var(--shadow-soft); }
.mock-row { height: 11px; border-radius: 6px; background: var(--surface-2); margin: 9px 2px; }
.mock-row.active { background: var(--accent-soft); }
.mock-chat { padding: 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.bub { max-width: 78%; border-radius: 14px; padding: 10px 13px; font-size: 12.5px; }
.bub.user { align-self: flex-end; background-image: var(--accent-grad); color: #fff; border-top-right-radius: 5px; }
.bub.ai { align-self: flex-start; background: var(--surface-2); border-top-left-radius: 5px; }
.bub.ai .ln { height: 8px; border-radius: 5px; background: var(--line-strong); opacity: .6; margin: 6px 0; }
.ln.w90{width:92%} .ln.w80{width:80%} .ln.w70{width:68%} .ln.w55{width:55%}
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-subtle); animation: bob 1s infinite; }
.typing i:nth-child(2){ animation-delay:.15s } .typing i:nth-child(3){ animation-delay:.3s }
@keyframes bob { 0%,80%,100%{transform:translateY(0);opacity:.5} 40%{transform:translateY(-4px);opacity:1} }
.mock-prev { border-left: 1px solid var(--line); padding: 14px; background: var(--bg); }
.prev-hero { height: 72px; border-radius: 10px; background-image: linear-gradient(135deg, color-mix(in oklab,var(--accent) 80%, #fff) , var(--accent-2)); margin-bottom: 12px; }
.prev-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.prev-cards > div { height: 44px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); }
.prev-line { height: 9px; border-radius: 5px; background: var(--surface-2); margin: 8px 0; }

/* ── data-dashboard mockup (展示成品数据站，而非 AI 聊天界面) ───────────────── */
.dash { padding: 20px 22px 22px; background: var(--surface); }
.dash-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.dash-title { font-size: 18px; font-weight: 720; letter-spacing: -.01em; }
.dash-sub { font-size: 12px; color: var(--fg-subtle); margin-top: 3px; }
.dash-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--success); background: color-mix(in oklab, var(--success) 14%, transparent); border: 1px solid color-mix(in oklab, var(--success) 26%, transparent); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.dash-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.kpi { border: 1px solid var(--line); border-radius: 11px; padding: 12px 14px; background: var(--bg); }
.k-lbl { font-size: 11.5px; color: var(--fg-muted); }
.k-num { font-size: 22px; font-weight: 740; letter-spacing: -.02em; margin-top: 4px; }
.k-num.up { color: var(--success); } .k-num.down { color: #e23a4e; }
.dboard { display: grid; grid-template-columns: 1.1fr 1fr; gap: 14px; }
.chart { display: flex; align-items: flex-end; gap: 7px; height: 96px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); }
.chart span { flex: 1; border-radius: 4px 4px 0 0; background-image: linear-gradient(180deg, var(--accent) 0%, color-mix(in oklab, var(--accent) 55%, var(--surface)) 100%); height: var(--h); min-height: 8px; }
.dtable { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.trow { display: flex; align-items: center; gap: 8px; padding: 8.5px 12px; font-size: 12px; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; }
.tname { font-weight: 620; }
.tcode { color: var(--fg-subtle); font-size: 11px; }
.ttag { margin-left: auto; font-size: 10.5px; color: var(--accent); background: var(--accent-soft); padding: 2px 7px; border-radius: 6px; }
.tnum { font-weight: 680; font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.tnum.up { color: var(--success); } .tnum.down { color: #e23a4e; }
.dash-foot { margin-top: 14px; display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--fg-muted); }
.dash-foot .tag { font-size: 10.5px; font-weight: 600; color: var(--fg-muted); background: var(--surface-2); border: 1px solid var(--line); padding: 3px 9px; border-radius: 7px; }

/* ── marquee / stat band ─────────────────────────────────────────────────── */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in oklab, var(--surface) 55%, transparent); backdrop-filter: blur(8px); }
.band .wrap { display: flex; flex-wrap: wrap; gap: 14px 56px; justify-content: center; padding: 30px 24px; }
.stat { text-align: center; }
.stat .num { font-size: 25px; font-weight: 760; letter-spacing: -.02em; color: var(--accent); }
.stat .lbl { font-size: 13px; color: var(--fg-muted); margin-top: 2px; }

/* ── bento features ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-soft); transition: border-color .18s, box-shadow .18s, transform .18s; position: relative; overflow: hidden; }
.cell:hover { border-color: var(--line-strong); box-shadow: var(--shadow-pop); }
.cell.col3 { grid-column: span 3; } .cell.col2 { grid-column: span 2; } .cell.col4 { grid-column: span 4; }
.cell .ic { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.cell h3 { font-size: 18px; font-weight: 680; margin-bottom: 7px; letter-spacing: -.01em; }
.cell p { color: var(--fg-muted); font-size: 14.5px; margin: 0; }
.cell .demo { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.cell .chip { font-size: 12px; padding: 6px 11px; border-radius: 9px; background: var(--surface-2); color: var(--fg-muted); border: 1px solid var(--line); }
.cell.hot { background: var(--accent-grad); color: #fff; border: 0; }
.cell.hot h3, .cell.hot p { color: #fff; } .cell.hot p { opacity: .9; }
.cell.hot .ic { background: rgba(255,255,255,.18); color: #fff; }
.cell.hot .url { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 9px 13px; font-size: 13px; font-family: ui-monospace, monospace; }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 28px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.step .n { width: 34px; height: 34px; border-radius: 10px; background-image: var(--accent-grad); color: #fff; display: grid; place-items: center; font-weight: 720; margin-bottom: 14px; box-shadow: var(--shadow-soft); }
.step h3 { font-size: 17px; margin-bottom: 5px; } .step p { color: var(--fg-muted); font-size: 14px; margin: 0; }

/* ── use cases ───────────────────────────────────────────────────────────── */
.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 22px 20px; box-shadow: var(--shadow-soft); transition: border-color .18s, box-shadow .18s; }
.use:hover { border-color: var(--line-strong); box-shadow: var(--shadow-pop); }
.use .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 13px; }
.use h3 { font-size: 15.5px; font-weight: 650; margin-bottom: 6px; }
.use p { color: var(--fg-muted); font-size: 13.5px; line-height: 1.55; margin: 0; }

/* ── download ────────────────────────────────────────────────────────────── */
.dl-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; text-align: center; box-shadow: var(--shadow-soft); transition: transform .18s, box-shadow .18s; }
.dl:hover { box-shadow: var(--shadow-pop); }
.dl.featured { box-shadow: 0 0 0 1.5px color-mix(in oklab, var(--accent) 55%, transparent), var(--shadow-pop); }
.dl .badge { display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 12px; }
.dl .os { font-weight: 680; font-size: 19px; margin: 8px 0 2px; }
.dl .arch { color: var(--fg-subtle); font-size: 13px; margin-bottom: 20px; }
.dl .osic { width: 46px; height: 46px; margin: 0 auto; color: var(--fg-muted); }

/* ── final CTA ───────────────────────────────────────────────────────────── */
.cta-panel { position: relative; border-radius: 28px; overflow: hidden; padding: 64px 32px; text-align: center; background-image: var(--accent-grad); box-shadow: var(--shadow-float); }
.cta-panel::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.cta-panel h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 780; letter-spacing: -.02em; position: relative; }
.cta-panel p { color: rgba(255,255,255,.9); font-size: 17px; margin: 12px auto 28px; max-width: 520px; position: relative; }

/* ── faq / footer ────────────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
details.q { border-bottom: 1px solid var(--line); padding: 18px 4px; }
details.q summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: "+"; color: var(--fg-subtle); font-size: 20px; transition: transform .2s; }
details.q[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details.q p { color: var(--fg-muted); font-size: 14.5px; margin: 12px 0 0; }
footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--fg-subtle); font-size: 13.5px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
footer a:hover { color: var(--accent); }

/* ── reveal ──────────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.21,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .bento .cell { grid-column: span 6 !important; }
  .steps, .dl-grid { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 0 1fr 0; } .mock-side, .mock-prev { display: none; }
  .nav a.link { display: none; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .blob, .typing i, .pill .ping { animation: none; }
  html { scroll-behavior: auto; }
}
