/* ==========================================================================
   Logseq 推广网站 - 共享样式表
   配色：基于 Logo (Solarized 配色)
   风格：扁平、现代、专业
   ========================================================================== */

/* ---------- 1. 设计令牌 (Design Tokens) ---------- */
:root {
  /* Solarized 品牌色 */
  --base03: #002b36;     /* 主色 - 深青墨 */
  --base02: #073642;     /* 次主色 */
  --base01: #586e75;     /* 次文字 */
  --base00: #657b83;     /* 正文灰 */
  --base0:  #839496;     /* 浅灰文字 */
  --base1:  #93a1a1;     /* 边框灰 */
  --base2:  #eee8d5;     /* 浅背景 */
  --base3:  #fdf6e3;     /* 暖白背景 */

  --cyan:   #2aa198;     /* 强调色 - CTA */
  --teal:   #85c8c8;     /* 装饰色 */
  --blue:   #268bd2;     /* 链接蓝 */
  --green:  #859900;     /* 成功色 */
  --yellow: #b58900;     /* 警示色 */
  --orange: #cb4b16;     /* 提示色 */
  --red:    #dc322f;     /* 错误色 */
  --magenta:#d33682;     /* 强调色2 */

  /* 中性色 */
  --bg:        #ffffff;
  --bg-soft:   #f8f9fa;
  --bg-muted:  #f1f3f5;
  --text:      #1a2530;
  --text-soft: #4a5560;
  --text-muted:#8895a3;
  --border:    #e5e9ec;
  --border-strong:#d6dce1;

  /* 尺寸 */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,43,54,.06), 0 1px 2px rgba(0,43,54,.04);
  --shadow:    0 4px 14px rgba(0,43,54,.08), 0 2px 6px rgba(0,43,54,.05);
  --shadow-lg: 0 14px 40px rgba(0,43,54,.12), 0 6px 14px rgba(0,43,54,.08);
  --shadow-cyan: 0 8px 22px rgba(42,161,152,.28);

  /* 过渡 */
  --t-fast: .15s ease;
  --t: .25s cubic-bezier(.4,0,.2,1);
  --t-slow: .45s cubic-bezier(.4,0,.2,1);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue",
               Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas,
               "Source Code Pro", Menlo, monospace;
}

/* ---------- 2. 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--cyan); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* ---------- 3. 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--base03);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-soft); }
strong, b { color: var(--base02); font-weight: 700; }
code {
  font-family: var(--font-mono);
  font-size: .88em;
  background: var(--bg-muted);
  color: var(--base02);
  padding: .15em .4em;
  border-radius: var(--radius-sm);
}

/* ---------- 4. 容器与布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-tight { padding: 48px 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-5 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }

/* ---------- 5. 工具样式 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 14px;
  background: rgba(42,161,152,.08);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.section-title { margin-bottom: 16px; }
.section-desc {
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.section-desc.left { margin-left: 0; }
.bg-soft { background: var(--bg-soft); }
.bg-dark {
  background: linear-gradient(135deg, var(--base03), var(--base02));
  color: #fff;
}
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }
.bg-dark p { color: rgba(255,255,255,.78); }
.bg-gradient-cyan {
  background: linear-gradient(135deg, #002b36 0%, #073642 50%, #1a5a52 100%);
  color: #fff;
}
.bg-gradient-cyan h1, .bg-gradient-cyan h2, .bg-gradient-cyan h3 { color: #fff; }
.bg-gradient-cyan p { color: rgba(255,255,255,.82); }

/* ---------- 6. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: all var(--t);
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: var(--shadow-cyan);
}
.btn-primary:hover {
  background: #259691;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42,161,152,.38);
}
.btn-dark {
  background: var(--base03);
  color: #fff;
}
.btn-dark:hover { background: var(--base02); color: #fff; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--base03);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--base03);
  color: #fff;
  border-color: var(--base03);
}
.btn-light {
  background: rgba(255,255,255,.14);
  color: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(10px);
}
.btn-light:hover {
  background: rgba(255,255,255,.22);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- 7. 导航 ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--base03);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--cyan); }
.brand img { width: 32px; height: 32px; }
.brand span { line-height: 1; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 16px;
  color: var(--text-soft);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-pill);
  transition: all var(--t-fast);
}
.nav-links a:hover { color: var(--base03); background: var(--bg-muted); }
.nav-links a.active { color: var(--cyan); background: rgba(42,161,152,.08); }
.nav-cta { margin-left: 12px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--base03);
  transition: all var(--t);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 96px;
  background:
    radial-gradient(ellipse at top right, rgba(42,161,152,.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(133,200,200,.14), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--base03);
  background: var(--bg-muted);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(133,153,0,.18);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--cyan); }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.hero-stat .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--base03);
  line-height: 1;
}
.hero-stat .label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Hero 视觉 - 模拟 app 截图 */
.hero-visual {
  position: relative;
}
.hero-mockup {
  background: var(--base03);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--t-slow);
}
.hero-mockup:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.hero-mockup-bar .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.hero-mockup-bar .dot.r { background: #ff5f57; }
.hero-mockup-bar .dot.y { background: #febc2e; }
.hero-mockup-bar .dot.g { background: #28c840; }
.hero-mockup-bar .title {
  margin-left: 14px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  font-family: var(--font-mono);
}
.hero-mockup-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 380px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--base1);
}
.hero-mockup-sidebar {
  background: #003540;
  padding: 18px 14px;
  border-right: 1px solid rgba(255,255,255,.05);
}
.hero-mockup-sidebar h5 {
  font-size: .7rem;
  color: var(--teal);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.hero-mockup-sidebar ul li {
  padding: 5px 8px;
  color: rgba(255,255,255,.6);
  border-radius: 4px;
  margin-bottom: 2px;
  cursor: pointer;
}
.hero-mockup-sidebar ul li.active {
  background: rgba(42,161,152,.18);
  color: var(--teal);
}
.hero-mockup-content {
  padding: 22px 26px;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
}
.hero-mockup-content h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}
.hero-mockup-content .tag {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(42,161,152,.2);
  color: var(--teal);
  border-radius: 4px;
  margin-right: 4px;
  font-size: .75rem;
}
.hero-mockup-content .bullet {
  display: flex;
  gap: 10px;
  margin: 6px 0;
}
.hero-mockup-content .bullet::before {
  content: "•";
  color: var(--cyan);
}
.hero-mockup-content p { color: rgba(255,255,255,.78); }
.hero-mockup-content .ref {
  color: var(--yellow);
  border-bottom: 1px dashed;
}
.hero-orbit {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan);
}
.hero-orbit.orbit-1 { top: -22px; right: -22px; }
.hero-orbit.orbit-2 { bottom: -22px; left: -22px; background: var(--yellow); color:#fff; }

/* ---------- 9. 信任栏 ---------- */
.trust-bar {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-label {
  font-size: .85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo {
  font-weight: 700;
  font-size: 1rem;
  color: var(--base01);
  opacity: .65;
  letter-spacing: -.02em;
  transition: opacity var(--t-fast);
}
.trust-logo:hover { opacity: 1; }

/* ---------- 10. 卡片网格 ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(42,161,152,.12), rgba(133,200,200,.18));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card-icon.dark {
  background: var(--base03);
  color: var(--teal);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .95rem; line-height: 1.65; }
.card-tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(42,161,152,.1);
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: .05em;
}

/* 功能卡片 hover 高光 */
.card.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.card.feature-card:hover::before { transform: scaleX(1); }

/* ---------- 11. 使用场景 ---------- */
.scenario-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  overflow: hidden;
  transition: all var(--t);
}
.scenario-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
}
.scenario-card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  background: var(--base03);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 22px;
}
.scenario-card .tag-line {
  font-size: .78rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.scenario-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.scenario-card p {
  color: var(--text-soft);
  margin-bottom: 18px;
  font-size: .98rem;
}
.scenario-card ul li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: .92rem;
  margin-bottom: 7px;
}
.scenario-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ---------- 12. 用户评价 ---------- */
.testimonial {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: all var(--t);
  position: relative;
}
.testimonial:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--teal);
}
.testimonial .quote-mark {
  position: absolute;
  top: 22px; right: 26px;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--bg-muted);
  line-height: 1;
}
.testimonial-stars {
  color: var(--yellow);
  margin-bottom: 14px;
  letter-spacing: 2px;
  font-size: .95rem;
}
.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-author-info .name {
  font-weight: 600;
  color: var(--base03);
  font-size: .95rem;
}
.testimonial-author-info .role {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- 13. CTA 区 ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--base03) 0%, #1a4f4a 100%);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,161,152,.3), transparent 70%);
  top: -100px; right: -100px;
}
.cta-banner::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133,200,200,.22), transparent 70%);
  bottom: -80px; left: -80px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,.82);
  font-size: 1.08rem;
  max-width: 580px;
  margin: 0 auto 32px;
}
.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- 14. 下载页 - 平台卡片 ---------- */
.platform-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: all var(--t);
  position: relative;
}
.platform-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.platform-card .platform-icon {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,43,54,.08), rgba(42,161,152,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--base03);
}
.platform-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.platform-card .ver {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.platform-card .meta-list {
  margin: 18px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.platform-card .meta-list li {
  display: flex;
  justify-content: space-between;
  font-size: .85rem;
  padding: 6px 0;
  color: var(--text-soft);
}
.platform-card .meta-list li span:last-child {
  color: var(--base02);
  font-weight: 500;
}
.platform-card .btn { width: 100%; }

/* 下载选项卡 */
.download-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  background: var(--bg-muted);
  border-radius: var(--radius-pill);
  padding: 5px;
  margin: 0 auto 48px;
  width: fit-content;
}
.download-tab {
  padding: 10px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-soft);
  transition: all var(--t);
  cursor: pointer;
}
.download-tab.active {
  background: var(--bg);
  color: var(--base03);
  box-shadow: var(--shadow-sm);
}

/* ---------- 15. 弹窗 (下载) ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,43,54,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), visibility var(--t);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 880px;
  max-height: 92vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.98);
  transition: transform var(--t);
}
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
}
.modal-header h3 {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.4rem;
  transition: all var(--t-fast);
}
.modal-close:hover { background: var(--bg-muted); color: var(--base03); }
.modal-body { padding: 36px 32px; }

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.qr-item {
  text-align: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: all var(--t);
}
.qr-item:hover {
  border-color: var(--cyan);
  background: rgba(42,161,152,.04);
}
.qr-item img {
  width: 200px; height: 200px;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  background: #fff;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}
.qr-item h4 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.qr-item p {
  font-size: .85rem;
  color: var(--text-muted);
}
.qr-item .qr-platform-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(42,161,152,.1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: .05em;
}
.modal-footer-note {
  margin-top: 28px;
  padding: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: .88rem;
  color: var(--text-soft);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.modal-footer-note .icon {
  color: var(--cyan);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- 16. 步骤区 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 12px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--bg-muted);
  font-family: var(--font-mono);
  line-height: 1;
  margin-bottom: 14px;
}
.step::after {
  content: "";
  position: absolute;
  top: 38px; right: -16px;
  width: 32px; height: 2px;
  background: var(--border);
}
.step:last-child::after { display: none; }
.step h4 { margin-bottom: 8px; font-size: 1.1rem; }
.step p { font-size: .92rem; color: var(--text-soft); }

/* ---------- 17. 价格/对比表 ---------- */
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.compare-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--base03);
  font-size: .95rem;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(42,161,152,.03); }
.compare-table .check { color: var(--green); font-weight: 700; }
.compare-table .x { color: var(--text-muted); }
.compare-table .col-highlight {
  background: rgba(42,161,152,.06);
  font-weight: 600;
  color: var(--base03);
}

/* ---------- 18. FAQ 手风琴 ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
  transition: all var(--t);
}
.faq-item.active { border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  color: var(--base03);
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-size: 1rem;
}
.faq-question .icon {
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.4rem;
  transition: transform var(--t);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t);
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  color: var(--text-soft);
  line-height: 1.7;
}

/* ---------- 19. 页脚 ---------- */
.footer {
  background: var(--base03);
  color: rgba(255,255,255,.7);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand img { filter: brightness(1.1); }
.footer-brand p {
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 18px;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  transition: all var(--t-fast);
}
.footer-social a:hover {
  background: var(--cyan);
  color: #fff;
  transform: translateY(-2px);
}
.footer-col h5 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.6);
  font-size: .92rem;
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .85rem;
  color: rgba(255,255,255,.5);
}
.footer-bottom .links {
  display: flex;
  gap: 20px;
}
.footer-bottom .links a {
  color: rgba(255,255,255,.5);
}
.footer-bottom .links a:hover { color: var(--teal); }

/* ---------- 20. 页面 Hero (内页通用) ---------- */
.page-hero {
  padding: 80px 0 64px;
  background:
    radial-gradient(ellipse at top right, rgba(42,161,152,.1), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  margin-bottom: 18px;
}
.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--text-muted); }

/* ---------- 21. 关于页 - 价值卡片 ---------- */
.value-card {
  text-align: center;
  padding: 40px 28px;
}
.value-card .icon {
  width: 72px; height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--base03);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

/* 时间线 */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--teal), var(--base1));
}
.timeline-item {
  position: relative;
  padding-bottom: 36px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -32px; top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--cyan);
  box-shadow: 0 0 0 4px rgba(42,161,152,.15);
}
.timeline-item .year {
  font-size: .85rem;
  font-weight: 700;
  color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}
.timeline-item h4 { margin-bottom: 8px; }
.timeline-item p { font-size: .95rem; }

/* ---------- 22. 滚动动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ---------- 23. 滚动到顶部 ---------- */
.scroll-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--base03);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: all var(--t);
  z-index: 90;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--cyan); transform: translateY(-3px); }

/* ---------- 24. 响应式 ---------- */
@media (max-width: 992px) {
  .section { padding: 72px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 540px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .container { padding: 0 18px; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-links a { padding: 12px 16px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero-stats { gap: 24px; }
  .hero-mockup-body { grid-template-columns: 1fr; min-height: auto; }
  .hero-mockup-sidebar { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .qr-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .modal-body { padding: 24px 18px; }
  .modal-header { padding: 18px 22px; }
  .trust-bar-inner { flex-direction: column; gap: 14px; }
  .compare-table { font-size: .88rem; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .platform-card { padding: 28px 22px; }
}

/* ---------- 25. 无障碍 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* 选中文本配色 */
::selection { background: var(--cyan); color: #fff; }
