/* ===== 设计 tokens(参照 guanshu.top 提取的设计系统) ===== */
:root {
  --bg: #0b0f1a;
  --bg-alt: #0e1322;
  --card: #11141d;
  --card-hover: #151926;
  --line: rgba(148, 163, 184, 0.12);
  --line-glow: rgba(34, 211, 238, 0.35);
  --ink: #e6e9f0;
  --muted: #94a3b8;
  --faint: #64748b;
  --cyan: #22d3ee;
  --violet: #7c3aed;
  --gradient: linear-gradient(to right, #00e5ff, #7c3aed);
  --shadow-card: 0 12px 32px 4px rgba(0, 0, 0, 0.24), 0 8px 20px rgba(0, 0, 0, 0.32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-card: 16px;
  --radius-pill: 999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter, -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===== 滚动淡入(main.js 驱动) ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== 导航:玻璃拟态 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 26, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.logo {
  font-weight: 800;
  font-size: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* ===== 按钮:主按钮用青紫渐变,药丸圆角 ===== */
.btn {
  display: inline-block;
  background: var(--gradient);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.35);
}
.btn-small {
  padding: 6px 16px;
  font-size: 13px;
}
.btn-large {
  padding: 13px 30px;
  font-size: 15px;
}
.btn-ghost {
  background: transparent;
  color: var(--cyan) !important;
  border: 1px solid rgba(34, 211, 238, 0.45);
}
.btn-ghost:hover {
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.15);
  border-color: var(--cyan);
}

/* ===== Hero:径向光斑 + 网格背景 ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  text-align: center;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 900px;
  height: 500px;
  transform: translateX(-50%);
  background:
    radial-gradient(closest-side, rgba(34, 211, 238, 0.16), transparent),
    radial-gradient(closest-side at 70% 60%, rgba(124, 58, 237, 0.14), transparent);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  margin-bottom: 28px;
  background: rgba(17, 20, 29, 0.7);
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.hero h1 {
  font-size: 48px;
  line-height: 1.3;
  letter-spacing: 1px;
  font-weight: 800;
  margin-bottom: 20px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 600px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 15px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 18px;
  font-size: 12px;
  color: var(--faint);
}

/* ===== 产品 mockup(纯 CSS 视觉资产) ===== */
.mockup {
  margin: 56px auto 0;
  max-width: 780px;
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mockup-title {
  margin-left: 8px;
  font-size: 12px;
  color: var(--faint);
}
.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 20px;
}
.mockup-label {
  font-size: 11px;
  color: var(--faint);
  margin: 10px 0 6px;
}
.mockup-label:first-child {
  margin-top: 0;
}
.mockup-input {
  font-size: 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
}
.mockup-btn {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
}
.mockup-card,
.mockup-page {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}
.mockup-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.22);
  margin-bottom: 8px;
}
.mockup-line:last-child {
  margin-bottom: 0;
}
.w50 { width: 50%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w90 { width: 90%; }
.mockup-tags {
  margin-top: 10px;
  display: flex;
  gap: 6px;
}
.mockup-tags span {
  font-size: 11px;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.mockup-filled {
  margin-top: 12px;
  font-size: 12px;
  color: #4ade80;
}
.mockup-publish {
  position: relative;
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-pill);
  padding: 8px;
}
.mockup-cursor {
  position: absolute;
  left: 26px;
  top: -7px;
  width: 12px;
  height: 12px;
  background: var(--cyan);
  clip-path: polygon(0 0, 0 100%, 40% 68%, 60% 100%, 75% 92%, 56% 60%, 100% 55%);
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.8));
  animation: cursor-nudge 2.4s var(--ease) infinite;
}
@keyframes cursor-nudge {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(10px, 5px); }
}

/* ===== 区块 ===== */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}
.mt-48 {
  margin-top: 56px;
}

/* ===== 卡片:深色 + 描边,hover 抬升 + 青色描边发光 ===== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  border-color: var(--line-glow);
  box-shadow: 0 12px 32px rgba(34, 211, 238, 0.08), var(--shadow-card);
}
.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}
.card p {
  color: var(--muted);
  font-size: 13.5px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.icon {
  width: 26px;
  height: 26px;
  color: var(--cyan);
  margin-bottom: 12px;
}

/* ===== 步骤 ===== */
.steps {
  list-style: none;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(34, 211, 238, 0.3);
}
.steps h3 {
  font-size: 15px;
  margin-bottom: 4px;
}
.steps p {
  color: var(--muted);
  font-size: 13.5px;
}

/* ===== 安装 ===== */
.install-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
}
.install-box:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}
.install-box ol {
  margin: 14px 0 14px 22px;
}
.install-box li {
  margin-bottom: 8px;
  color: var(--ink);
}
.muted {
  font-size: 12.5px;
  color: var(--faint);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-list details {
  padding: 16px 22px;
}
.faq-list summary {
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::before {
  content: "＋";
  color: var(--cyan);
  margin-right: 10px;
}
.faq-list details[open] summary::before {
  content: "－";
}
.faq-list details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
}

/* ===== 免责 / 页脚 ===== */
.disclaimer p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--faint);
}
.footer {
  padding: 28px 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--faint);
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: 32px;
  }
  .pain-grid,
  .feature-grid,
  .mockup-body {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 14px;
    font-size: 12px;
  }
}
