/* ============================================================
   Link to Connect 官方网站 · 品牌样式
   风格对齐 LinkPal / 绽青官网（深色氛围 / 卡片 / 特效），品牌色改为靛蓝→蓝
   品牌色取自 App 图标: 靛蓝 #6156f5 → 蓝 #0088ff，点缀红 #d4454f
   ============================================================ */

:root {
  --bg: #0b1220;
  --bg-2: #0f1830;
  --bg-3: #070d1a;

  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --ink: #f0f5ff;
  --body: #aebbd6;
  --muted: #7d8bab;

  --brand: #8b85ff;
  --brand-deep: #0088ff;
  --brand-ink: #ffffff;
  --accent: #ff8a50;
  --accent-soft: rgba(255, 138, 80, 0.14);
  --danger: #ff7a7a;

  --grad-brand: linear-gradient(120deg, #a49dff 0%, #6e66ff 45%, #0088ff 100%);
  --grad-cta: linear-gradient(120deg, #7c74ff 0%, #5b6ef5 55%, #0088ff 100%);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;

  --shadow-card: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 40px -18px rgba(0,0,0,.55);
  --shadow-pop: 0 24px 60px -20px rgba(0, 0, 0, .7);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", Roboto, sans-serif;
  --mono: "SF Mono", ui-monospace, Menlo, Consolas, "Courier New", monospace;

  --maxw: 1120px;
  --nav-h: 64px;
}

/* ---------- 浅色模式（跟随系统） ---------- */
@media (prefers-color-scheme: light) {
:root {
    --bg: #f4f7fe;
    --bg-2: #ffffff;
    --bg-3: #e8eefb;

    --surface: rgba(16, 26, 48, 0.04);
    --surface-2: rgba(16, 26, 48, 0.07);
    --line: rgba(16, 26, 48, 0.12);
    --line-strong: rgba(16, 26, 48, 0.26);

    --ink: #101828;
    --body: #3d4a63;
    --muted: #5c6b8a;

    --brand: #4f46e5;
    --brand-deep: #0077e6;
    --brand-ink: #ffffff;
    --accent: #d95f1e;
    --accent-soft: rgba(217, 95, 30, 0.12);
    --danger: #c0392b;

    --grad-brand: linear-gradient(120deg, #5b53e0 0%, #4f46e5 45%, #0077e6 100%);
    --grad-cta: linear-gradient(120deg, #5b53e0 0%, #4a56e0 55%, #0077e6 100%);

    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.65) inset, 0 18px 40px -18px rgba(16, 26, 48, 0.18);
    --shadow-pop: 0 24px 60px -20px rgba(16, 26, 48, 0.25);
  }
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; letter-spacing: -0.018em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.container {
  width: min(var(--maxw), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--brand); color: var(--brand-ink);
  padding: 8px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- 背景氛围 ---------- */
.ambient {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 85% -5%, rgba(97, 86, 245, 0.13), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(0, 136, 255, 0.12), transparent 60%),
    radial-gradient(700px 600px at 60% 110%, rgba(212, 69, 79, 0.05), transparent 60%),
    var(--bg);
}
.ambient::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 0%, transparent 75%);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(11, 18, 32, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(11, 18, 32, 0.88); }
.nav-inner {
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 800; font-size: 1.08rem;
  letter-spacing: -0.01em; text-decoration: none; flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 32px; height: 32px; border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 136, 255, .35);
}
.brand small { color: var(--muted); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  color: var(--body); font-size: .92rem; font-weight: 600;
  padding: 8px 13px; border-radius: 9px; text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.nav-links a.active { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 6px 12px; font-size: .84rem; font-weight: 700;
  color: var(--body); text-decoration: none; background: var(--surface);
}
.lang-switch:hover { color: var(--ink); border-color: var(--brand); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: 10px; width: 40px; height: 40px;
  color: var(--ink); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: .98rem;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }

.btn-primary {
  background: var(--grad-cta); color: var(--brand-ink);
  box-shadow: 0 10px 30px -8px rgba(91, 110, 245, .5);
}
.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(91, 110, 245, .65); }

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { border-color: var(--brand); background: var(--surface-2); }

.btn-sm { padding: 9px 18px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px); }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  color: var(--brand); text-transform: uppercase;
  border: 1px solid rgba(139, 133, 255, .3); background: rgba(97, 86, 245, .1);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }

.hero h1 .grad {
  background: linear-gradient(100deg, #a49dff 0%, #6e66ff 35%, #4aa8ff 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-poem {
  font-size: clamp(1rem, 1.6vw, 1.14rem); font-weight: 700;
  color: var(--brand); letter-spacing: .04em;
  margin: -6px 0 14px;
}
.hero-poem::before { content: "—— "; color: var(--muted); font-weight: 600; }
.hero-sub { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 560px; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; list-style: none; }
.hero-meta li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .86rem; color: var(--muted); font-weight: 600;
}
.hero-meta svg { width: 15px; height: 15px; color: var(--brand); flex: 0 0 auto; }

/* Hero 视觉 */
.hero-visual { position: relative; }
.hero-visual .glow {
  position: absolute; inset: -12% -18%; z-index: 0;
  background: radial-gradient(closest-side, rgba(97,86,245,.24), transparent 72%);
  filter: blur(10px); pointer-events: none;
}
.shot {
  position: relative; z-index: 1;
  border-radius: var(--radius-l);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-pop);
  overflow: hidden; background: var(--bg-2);
}
.shot img { width: 100%; }
.shot-float {
  position: absolute; z-index: 2; right: -18px; bottom: -34px;
  width: min(210px, 36%);
  border-radius: 20px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.8);
  overflow: hidden; background: var(--bg-2);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-badge {
  position: absolute; z-index: 3; left: -14px; top: 26px;
  background: rgba(15, 24, 48, .92); border: 1px solid var(--line-strong);
  border-radius: 14px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-pop);
  backdrop-filter: blur(8px);
}
.hero-badge .ic { width: 30px; height: 30px; border-radius: 9px; background: rgba(255,138,80,.16); display: grid; place-items: center; color: var(--accent); }
.hero-badge .ic svg { width: 16px; height: 16px; }
.hero-badge b { display: block; color: var(--ink); font-size: .82rem; line-height: 1.2; }
.hero-badge span { font-size: .72rem; color: var(--muted); }

/* ---------- 通用 section ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,.018) 12%, rgba(255,255,255,.018) 88%, transparent); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker {
  display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head p { font-size: 1.04rem; margin: 0; }

/* ---------- 特性卡片 ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: transform .2s, border-color .2s, background .2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(139, 133, 255, .38); background: var(--surface-2); }
.feature .ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(97, 86, 245, .14); color: var(--brand);
  border: 1px solid rgba(139, 133, 255, .24);
}
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: 8px; font-size: 1.05rem; }
.feature p { font-size: .92rem; margin: 0; color: var(--body); }
.feature .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.feature .tags span {
  font-size: .72rem; font-weight: 700; color: var(--brand);
  background: rgba(97, 86, 245, .1); border: 1px solid rgba(139, 133, 255, .2);
  padding: 3px 9px; border-radius: 999px;
}

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 28px 24px 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -.03em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 12px; font-family: var(--mono);
}
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; margin: 0; }

/* ---------- 聚焦区 ---------- */
.spotlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.spotlight .shot { border-radius: var(--radius-l); }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; }
.checklist svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 auto; margin-top: 4px; }

/* ---------- 演示模式横幅 ---------- */
.demo-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(255, 138, 80, .12), transparent 60%),
    linear-gradient(180deg, rgba(255,138,80,.05), rgba(212, 69, 79, .05)), var(--surface);
  border: 1px solid rgba(255, 138, 80, .28);
  border-radius: clamp(20px, 3vw, 30px);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 64px);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.demo-banner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.demo-banner p { max-width: 560px; }
.demo-badge-demo {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid rgba(255, 138, 80, .35);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.demo-facts { display: grid; gap: 10px; }
.demo-facts .fact {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 13px 16px; font-size: .9rem;
}
.demo-facts .fact b { color: var(--ink); font-family: var(--mono); font-size: 1.05rem; }
.demo-facts .fact svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; color: var(--ink); font-weight: 700; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--brand);
  background: rgba(97, 86, 245, .12); border: 1px solid rgba(139, 133, 255, .22);
  transition: transform .25s;
}
.faq-item summary .chev svg { width: 14px; height: 14px; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item .faq-body { padding: 0 22px 20px; }
.faq-item .faq-body p { font-size: .93rem; margin: 0; }

/* ---------- CTA 横幅 ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% 20%, rgba(97, 86, 245, .18), transparent 60%),
    linear-gradient(180deg, rgba(97,86,245,.07), rgba(0, 136, 255, .07)), var(--surface);
  border: 1px solid rgba(139, 133, 255, .28);
  border-radius: clamp(20px, 3vw, 30px);
  padding: clamp(40px, 6vw, 68px) clamp(24px, 5vw, 64px);
  text-align: center;
}
.cta-banner p { max-width: 560px; margin-inline: auto; }
.cta-banner .hero-cta { justify-content: center; margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 48px 0 28px; background: rgba(7, 13, 26, .6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { font-size: .88rem; color: var(--muted); max-width: 300px; margin-top: 14px; }
.footer h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { color: var(--body); font-size: .9rem; text-decoration: none; }
.footer ul a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center;
  font-size: .82rem; color: var(--muted);
}
.footer-bottom .spacer { margin-left: auto; }
.footer-bottom .beian { font-size: .78rem; opacity: .85; white-space: nowrap; }
@media (max-width: 720px) { .footer-bottom .beian { white-space: normal; } }

/* ---------- 文档页（支持/隐私） ---------- */
.doc-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); }
.doc-hero .container { max-width: 860px; }
.breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.doc-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc-hero .lede { font-size: 1.05rem; max-width: 640px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: .84rem; color: var(--muted); margin-top: 18px; }
.doc-meta b { color: var(--body); font-weight: 700; }

.doc { padding-bottom: clamp(48px, 7vw, 80px); }
.doc .container { max-width: 860px; }
.doc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.doc-toc {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 30px; background: rgba(255,255,255,.02);
}
.doc-toc h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.doc-toc ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.doc-toc a { color: var(--body); font-size: .92rem; }
.doc-toc a:hover { color: var(--brand); }

.doc-body h2 {
  font-size: 1.3rem; margin: 40px 0 14px; padding-top: 8px;
  border-top: 1px solid var(--line);
}
.doc-body h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.doc-body h3 { font-size: 1.05rem; margin: 26px 0 10px; }
.doc-body p, .doc-body li { font-size: .95rem; }
.doc-body ul, .doc-body ol { padding-left: 24px; margin: 0 0 1em; }
.doc-body li { margin-bottom: 6px; }
.doc-body strong { color: var(--ink); }
.doc-body blockquote {
  margin: 18px 0; padding: 14px 18px;
  border-left: 3px solid var(--brand); border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: rgba(97, 86, 245, .07); color: var(--body);
}
.doc-body blockquote p { margin: 0; }
.doc-body code {
  font-family: var(--mono); font-size: .86em;
  background: rgba(255,255,255,.07); border: 1px solid var(--line);
  padding: 2px 6px; border-radius: 6px; color: var(--brand);
}
.doc-body .table-wrap { overflow-x: auto; margin: 16px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-s); }
.doc-body table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.doc-body th, .doc-body td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc-body th { color: var(--ink); background: rgba(255,255,255,.03); font-weight: 700; white-space: nowrap; }
.doc-body tr:last-child td { border-bottom: 0; }

.callout {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(97, 86, 245, .07); border: 1px solid rgba(139, 133, 255, .24);
  border-radius: var(--radius); padding: 16px 18px; margin: 20px 0;
}
.callout svg { width: 20px; height: 20px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.callout p { margin: 0; font-size: .92rem; }
.callout.callout-accent { background: var(--accent-soft); border-color: rgba(255,138,80,.3); }
.callout.callout-accent svg { color: var(--accent); }

.contact-card {
  display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
  background: linear-gradient(120deg, rgba(97,86,245,.09), rgba(0,136,255,.09)), var(--surface);
  border: 1px solid rgba(139, 133, 255, .28); border-radius: var(--radius-l);
  padding: 26px 28px; margin-top: 32px;
}
.contact-card h2 { font-size: 1.15rem; margin: 0 0 4px; }
.contact-card p { margin: 0; font-size: .9rem; }
.contact-card .btn { flex: 0 0 auto; }

/* ============================================================
   CSS 应用界面样机（纯 CSS 还原 Mac 界面，无图片依赖）
   ============================================================ */

/* ---- Mac 窗口（Hero 大图：批量内购） ---- */
.win {
  background: #f5f7fc;
  display: flex; flex-direction: column;
  min-height: 420px;
}
.win__bar {
  height: 42px; flex: 0 0 auto;
  display: flex; align-items: center; gap: 7px; padding: 0 14px;
  background: #e9edf6; border-bottom: 1px solid #dde3f0;
}
.win__dot { width: 11px; height: 11px; border-radius: 50%; }
.win__dot--r { background: #ff5f57; }
.win__dot--y { background: #febc2e; }
.win__dot--g { background: #28c840; }
.win__title {
  margin-inline: auto; font-size: 12px; font-weight: 700; color: #51608a;
  display: inline-flex; align-items: center; gap: 6px;
}
.win__title img { width: 15px; height: 15px; border-radius: 4px; }
.win__body { display: grid; grid-template-columns: 150px 1fr; flex: 1; }
.win__side {
  background: #eef1f9; border-right: 1px solid #dde3f0;
  padding: 14px 10px; display: grid; gap: 3px; align-content: start;
}
.win__side-label { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: #8a94b0; text-transform: uppercase; padding: 4px 10px 6px; }
.win__side-item {
  font-size: 12.5px; color: #44506e; font-weight: 600;
  padding: 7px 10px; border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
}
.win__side-item svg { width: 14px; height: 14px; color: #6b7690; flex: 0 0 auto; }
.win__side-item.on { background: rgba(79, 70, 229, .12); color: #4338ca; }
.win__side-item.on svg { color: #4f46e5; }
.win__side-item .pill { margin-left: auto; font-size: 10px; background: #4f46e5; color: #fff; border-radius: 999px; padding: 1px 7px; font-weight: 800; }
.win__main { padding: 16px 18px 18px; display: grid; gap: 10px; align-content: start; }
.win__date { display: flex; align-items: baseline; gap: 10px; }
.win__date h4 { font-size: 16px; color: #1a2340; margin: 0; }
.win__date span { font-size: 11.5px; color: #7d8bab; }
.win__toolbar { display: flex; gap: 8px; align-items: center; }
.win__chip {
  font-size: 10.5px; font-weight: 700; color: #4338ca;
  background: rgba(79, 70, 229, .1); border: 1px solid rgba(79, 70, 229, .22);
  padding: 3px 10px; border-radius: 999px;
}
.win__chip--ghost { color: #51608a; background: #fff; border-color: #dde3f0; }
.win__chip--accent { color: #b45309; background: rgba(255, 138, 80, .12); border-color: rgba(255, 138, 80, .3); }

/* 内购批量表格行 */
.iap-row {
  display: grid; grid-template-columns: 1.5fr .7fr .8fr .9fr .8fr;
  gap: 8px; align-items: center;
  background: #fff; border: 1px solid #e4e9f4; border-radius: 10px;
  padding: 9px 12px; box-shadow: 0 1px 2px rgba(15, 26, 48, .04);
  font-size: 11.5px;
}
.iap-row--head {
  background: transparent; border: 0; box-shadow: none;
  color: #8a94b0; font-weight: 800; font-size: 10px;
  letter-spacing: .06em; text-transform: uppercase; padding: 2px 12px;
}
.iap-row b { color: #1a2340; font-size: 12px; font-weight: 700; }
.iap-row small { display: block; color: #8a94b0; font-size: 9.5px; font-family: var(--mono); }
.iap-row .type { color: #4338ca; font-weight: 700; }
.iap-row .price { font-family: var(--mono); color: #1a2340; font-weight: 700; }
.state { font-size: 9.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; text-align: center; }
.state--ok { color: #047857; background: #d1fae5; }
.state--wait { color: #b45309; background: #fef3c7; }
.state--new { color: #4338ca; background: #e0e7ff; }

/* ---- 截图工坊画布（聚焦区） ---- */
.studio {
  background: linear-gradient(150deg, #6156f5 0%, #0088ff 100%);
  padding: 26px 22px; display: grid; gap: 14px;
  min-height: 380px; align-content: center;
}
.studio__frame {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  border-radius: 16px; padding: 12px; backdrop-filter: blur(6px);
}
.studio__screen {
  background: #fff; border-radius: 22px; padding: 18px 16px;
  display: grid; gap: 10px; box-shadow: 0 18px 40px -14px rgba(6, 20, 60, .5);
}
.studio__screen h5 { margin: 0; font-size: 15px; color: #1a2340; line-height: 1.35; }
.studio__screen h5 em { font-style: normal; background: linear-gradient(100deg, #6156f5, #0088ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.studio__screen p { margin: 0; font-size: 10.5px; color: #7d8bab; }
.studio__mock {
  background: linear-gradient(160deg, #eef2ff, #e0f2fe);
  border-radius: 12px; height: 92px; position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.studio__mock i { font-style: normal; font-size: 9.5px; font-weight: 800; color: #4f46e5; background: rgba(79,70,229,.12); border-radius: 999px; padding: 3px 10px; }
.studio__mock::after {
  content: ""; position: absolute; right: -20px; bottom: -30px; width: 90px; height: 90px;
  border-radius: 50%; background: rgba(0, 136, 255, .18);
}
.studio__langs { display: flex; flex-wrap: wrap; gap: 6px; }
.studio__langs i {
  font-style: normal; font-size: 9px; font-weight: 800; letter-spacing: .04em;
  color: #fff; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 2px 9px;
}
.studio__langs i.on { background: #fff; color: #4338ca; }

/* ---------- 滚动显现动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot-float, .hero-badge { animation: none; }
  .feature:hover, .plan:hover, .btn:hover { transform: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 12px auto 0; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .spotlight { grid-template-columns: 1fr; }
  .demo-banner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(11, 18, 32, .98); border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px; display: none;
    backdrop-filter: blur(14px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1rem; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .lang-switch { display: none; }
  .nav-actions .btn-sm { padding: 7px 12px; font-size: .82rem; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .shot-float { right: -8px; bottom: -20px; width: 132px; }
  .hero-badge { left: -6px; }
  .footer-bottom .spacer { margin-left: 0; width: 100%; }
  .win__body { grid-template-columns: 1fr; }
  .win__side { display: none; }
}
@media (max-width: 360px) {
  .nav-actions .btn-sm { display: none; }
}

/* ============================================================
   前端特效：粒子画布 / 视差 / 卡片光效 / 进度条 / 徽章脉冲
   ============================================================ */

/* 粒子画布：铺满视口，位于内容之下、氛围背景之上 */
#fx-particles {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1; pointer-events: none;
}

/* 顶部滚动进度条 */
.fx-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 130;
  background: var(--grad-cta);
  box-shadow: 0 0 12px rgba(110, 102, 255, .6);
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

/* 卡片跟随光标的 Spotlight 光效 */
.feature, .cta-banner { position: relative; isolation: isolate; }
.feature::before, .cta-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(110, 102, 255, .16), transparent 65%);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.feature:hover::before, .cta-banner:hover::before { opacity: 1; }
.step { position: relative; isolation: isolate; }
.step::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 136, 255, .14), transparent 65%);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.step:hover::after { opacity: 1; }

/* Hero 视觉：3D 倾斜容器（JS 写入 transform，此处只留过渡与子元素层次） */
[data-tilt] { transition: box-shadow .3s; transform-style: preserve-3d; }
[data-tilt] .shot,
[data-tilt] .shot-float,
[data-tilt] .hero-badge { transform-style: preserve-3d; }

/* 视差元素：GPU 合成提示 */
[data-parallax] { will-change: transform; }

/* Hero 徽标脉冲光晕 */
.hero-badge { box-shadow: var(--shadow-pop), 0 0 0 0 rgba(255, 138, 80, .35); animation: floaty 8s ease-in-out .8s infinite, glowPulse 3.2s ease-out infinite 1.2s; }
@keyframes glowPulse {
  0%   { box-shadow: var(--shadow-pop), 0 0 0 0 rgba(255, 138, 80, .30); }
  70%  { box-shadow: var(--shadow-pop), 0 0 0 16px rgba(255, 138, 80, 0); }
  100% { box-shadow: var(--shadow-pop), 0 0 0 0 rgba(255, 138, 80, 0); }
}

/* 章节标题下划线微光（reveal 后） */
.section-head.center .kicker::after {
  content: ""; display: block; width: 44px; height: 3px; margin: 10px auto 0;
  border-radius: 2px; background: var(--grad-cta);
  box-shadow: 0 0 14px rgba(110, 102, 255, .7);
}

/* 减弱动态：隐藏粒子与进度光，禁用视差位移（JS 亦已短路） */
@media (prefers-reduced-motion: reduce) {
  #fx-particles { display: none; }
  .fx-progress { display: none; }
  .hero-badge { animation: none; }
  [data-parallax], [data-tilt] { transform: none !important; }
}

/* 小屏：关闭 hover 光效与倾斜，避免抖动 */
@media (max-width: 680px), (pointer: coarse) {
  .feature::before, .cta-banner::before, .step::after { display: none; }
}

/* 浅色模式：移动端展开菜单底色（需位于上方深色规则之后） */
@media (prefers-color-scheme: light) and (max-width: 680px) {
  .nav-links { background: rgba(244, 247, 254, 0.98); }
}

/* ============================================================
   浅色模式选择器覆盖（置于文件末尾，确保覆盖上方同名规则）
   ============================================================ */
@media (prefers-color-scheme: light) {

  .nav { background: rgba(244, 247, 254, 0.8); }
  .nav.scrolled { background: rgba(244, 247, 254, 0.92); }
  .ambient::after { background-image: radial-gradient(rgba(16, 26, 48, 0.07) 1px, transparent 1px); }
  .section-alt { background: linear-gradient(180deg, transparent, rgba(16, 26, 48, 0.022) 12%, rgba(16, 26, 48, 0.022) 88%, transparent); }
  .footer { background: rgba(232, 238, 251, 0.6); }
  .hero-badge { background: rgba(255, 255, 255, 0.92); }
  .doc-toc { background: rgba(16, 26, 48, 0.025); }
  .doc-body code { background: rgba(16, 26, 48, 0.05); }
  .doc-body th { background: rgba(16, 26, 48, 0.03); }
  .hero h1 .grad {
    background: linear-gradient(100deg, #4f46e5 0%, #4338ca 45%, #0077e6 100%);
    -webkit-background-clip: text; background-clip: text;
  }
  .eyebrow { border-color: rgba(79, 70, 229, 0.32); background: rgba(79, 70, 229, 0.07); }
}
