/* ==========================================================================
   千手大师 Qianshou Master — 产品落地页样式
   明亮 · 温暖 · 克制（Anthropic 式留白 + 社区温度）
   ========================================================================== */

:root {
  /* 品牌橙 */
  --orange-700: #9a4208;
  --orange-600: #b45309;
  --orange-500: #d97706;
  --orange-400: #f59e0b;
  --orange-200: #fbe0ba;
  --orange-100: #fdf0dc;
  --orange-050: #fff8ee;

  /* 暖中性 */
  --ink-900: #231a12;
  --ink-800: #33261b;
  --ink-700: #4a3b2e;
  --ink-500: #7a6a5b;
  --ink-400: #97887a;
  --ink-300: #b3a597;

  --bg: #fffcf8;
  --bg-tint: #fdf6ee;
  --surface: #ffffff;
  --line: #f0e2d2;
  --line-soft: #f6ece0;

  --blue: #5769f7;
  --green: #4eba65;
  --violet: #8b5cf6;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(120, 72, 20, 0.06), 0 2px 8px rgba(120, 72, 20, 0.04);
  --shadow: 0 4px 14px rgba(120, 72, 20, 0.07), 0 16px 40px -18px rgba(120, 72, 20, 0.16);
  --shadow-lg: 0 10px 30px rgba(120, 72, 20, 0.09), 0 40px 80px -40px rgba(120, 72, 20, 0.28);

  --wrap: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas,
    "Cascadia Code", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
h3 {
  color: var(--ink-900);
  line-height: 1.18;
  margin: 0;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap--narrow {
  max-width: 760px;
}

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, color 0.16s ease;
}

.btn--lg {
  height: 50px;
  padding: 0 26px;
  font-size: 16px;
}

.btn--primary {
  background: var(--orange-500);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(217, 119, 6, 0.6);
}

.btn--primary:hover {
  background: var(--orange-600);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -8px rgba(217, 119, 6, 0.7);
}

.btn--ghost {
  background: var(--surface);
  color: var(--ink-700);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  border-color: var(--orange-200);
  color: var(--orange-700);
  transform: translateY(-1px);
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 252, 248, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -20px rgba(120, 72, 20, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  display: inline-flex;
  filter: drop-shadow(0 4px 10px rgba(217, 119, 6, 0.28));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 16px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.brand__text em {
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-400);
  font-weight: 600;
}

.nav__links {
  display: flex;
  gap: 6px;
  margin-left: 10px;
}

.nav__links a {
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink-500);
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav__links a:hover {
  color: var(--orange-700);
  background: var(--orange-050);
}

.nav__cta {
  display: flex;
  gap: 10px;
  margin-left: auto;
}

.nav__burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav__burger span {
  display: block;
  width: 17px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--ink-700);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 74px 0 40px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  inset: -30% 0 auto 0;
  height: 720px;
  background:
    radial-gradient(600px 320px at 22% 18%, rgba(245, 158, 11, 0.16), transparent 70%),
    radial-gradient(560px 320px at 82% 6%, rgba(87, 105, 247, 0.1), transparent 72%),
    radial-gradient(700px 400px at 50% -10%, rgba(217, 119, 6, 0.1), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--orange-100);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
  margin-bottom: 26px;
}

.chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(78, 186, 101, 0.16);
}

.hero h1 {
  font-size: clamp(42px, 5.6vw, 68px);
  letter-spacing: -0.035em;
  margin-bottom: 22px;
}

.ink-accent {
  color: var(--orange-500);
  position: relative;
}

.hero__lead {
  font-size: 17.5px;
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--ink-400);
  font-weight: 500;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange-400);
}

/* 安装命令条 */
.install {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 14.5px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.install:hover {
  border-color: var(--orange-200);
  box-shadow: var(--shadow);
}

.install--sm {
  font-size: 13.5px;
  padding: 7px 7px 7px 14px;
  margin-top: 12px;
}

.install--lg {
  font-size: 15px;
  padding: 12px 12px 12px 18px;
}

.install__prompt {
  color: var(--orange-500);
  font-family: var(--mono);
  font-weight: 700;
  user-select: none;
}

.install code {
  color: var(--ink-800);
  font-weight: 600;
  white-space: nowrap;
}

.install code .dim {
  color: var(--ink-300);
  font-weight: 400;
}

.install__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--orange-050);
  color: var(--orange-600);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.install__btn:hover {
  background: var(--orange-100);
}

.install__btn:active {
  transform: scale(0.92);
}

.install__btn.is-done {
  background: rgba(78, 186, 101, 0.14);
  color: #2f8f45;
}

.install__btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 终端窗口 */
.term {
  border-radius: var(--radius-lg);
  background: #211812;
  border: 1px solid #362318;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: #2b1f17;
  border-bottom: 1px solid #362318;
}

.term__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.term__dot--r { background: #ff6b80; }
.term__dot--y { background: #ffc107; }
.term__dot--g { background: #4eba65; }

.term__title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: #b39c89;
}

.term__body {
  margin: 0;
  padding: 20px 22px 24px;
  font-family: var(--mono);
  font-size: 13.3px;
  line-height: 1.85;
  color: #e9ddcf;
  overflow-x: auto;
}

.t-line { display: block; white-space: pre; }
.t-prompt { color: var(--orange-400); font-weight: 700; }
.t-cmd { color: #ffd9a8; font-weight: 600; }
.t-dim { color: #9c8a7a; }
.t-ok { color: #7fd892; }
.t-caret {
  color: var(--orange-400);
  animation: blink 1.15s step-end infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  justify-content: center;
}

.hero__badges span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 数据条 ---------- */
.stats {
  padding: 26px 0 8px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 30px 34px;
  background: linear-gradient(180deg, #fff, var(--orange-050));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--orange-500);
  line-height: 1.1;
}

.stat span {
  font-size: 13.5px;
  color: var(--ink-400);
  font-weight: 500;
}

/* ---------- 区块通用 ---------- */
.section {
  padding: 96px 0;
}

.section--tint {
  background: var(--bg-tint);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__head h2,
.showcase h2,
.cta h2 {
  font-size: clamp(30px, 3.8vw, 44px);
}

.section__lead {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--ink-500);
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}

/* ---------- 四大支柱 ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar {
  position: relative;
  padding: 32px 32px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--orange-200);
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  margin-bottom: 20px;
}

.pillar__icon svg {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar__icon--orange { background: var(--orange-100); }
.pillar__icon--orange svg { stroke: var(--orange-600); }
.pillar__icon--blue { background: rgba(87, 105, 247, 0.1); }
.pillar__icon--blue svg { stroke: var(--blue); }
.pillar__icon--green { background: rgba(78, 186, 101, 0.12); }
.pillar__icon--green svg { stroke: #2f8f45; }
.pillar__icon--violet { background: rgba(139, 92, 246, 0.1); }
.pillar__icon--violet svg { stroke: var(--violet); }

.pillar h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.pillar__desc {
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 18px;
}

.pillar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.pillar__list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.3px;
  color: var(--ink-700);
  line-height: 1.6;
}

.pillar__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-100);
  border: 2px solid var(--orange-400);
  box-sizing: border-box;
}

.pillar__list b {
  color: var(--ink-900);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.94em;
  background: var(--orange-050);
  padding: 1px 6px;
  border-radius: 6px;
}

/* ---------- 编排演示 ---------- */
.showcase {
  padding: 96px 0;
  background:
    radial-gradient(700px 400px at 88% 20%, rgba(87, 105, 247, 0.08), transparent 70%),
    radial-gradient(700px 400px at 10% 80%, rgba(217, 119, 6, 0.08), transparent 70%);
}

.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.showcase__copy p {
  color: var(--ink-500);
  font-size: 16px;
  margin-top: 16px;
}

.ticks {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  color: var(--ink-700);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(78, 186, 101, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8f45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}

.ticks code {
  background: var(--orange-050);
  color: var(--orange-700);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
}

.code-card {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.code-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  background: var(--orange-050);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-500);
}

.code-card__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 3px 9px;
  border-radius: 999px;
}

.code-card pre {
  margin: 0;
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-700);
  overflow-x: auto;
}

.code-card code { color: inherit; }
.c-key { color: var(--violet); font-weight: 600; }
.c-fn { color: var(--blue); font-weight: 600; }
.c-str { color: #2f8f45; }

.code-card__foot {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-400);
  background: #fff;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(78, 186, 101, 0.16);
}

/* ---------- 功能网格 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange-200);
}

.card__ico {
  font-size: 24px;
  margin-bottom: 14px;
  line-height: 1;
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 13.8px;
  color: var(--ink-500);
  line-height: 1.6;
}

.card code {
  background: var(--orange-050);
  color: var(--orange-700);
  padding: 1px 5px;
  border-radius: 5px;
  font-weight: 600;
}

/* ---------- 上手步骤 ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  position: relative;
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.step__no {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-500);
  background: var(--orange-050);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.step__body h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.step__body p {
  font-size: 14.3px;
  color: var(--ink-500);
}

.note {
  margin-top: 34px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--orange-050), #fff);
  border: 1px solid var(--orange-100);
  font-size: 15px;
  color: var(--ink-500);
}

.note strong {
  color: var(--ink-900);
}

.note code {
  background: #fff;
  border: 1px solid var(--orange-100);
  color: var(--orange-700);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 600;
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  gap: 14px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--orange-200);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--orange-500);
  border-bottom: 2px solid var(--orange-500);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.22s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-4px, -4px);
}

.faq details p {
  padding: 0 0 20px;
  color: var(--ink-500);
  font-size: 14.6px;
}

.faq code {
  background: var(--orange-050);
  color: var(--orange-700);
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 600;
}

/* ---------- 尾部 CTA ---------- */
.cta {
  padding: 96px 0 100px;
}

.cta__inner {
  position: relative;
  text-align: center;
  padding: 64px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(520px 260px at 50% -20%, rgba(245, 158, 11, 0.2), transparent 70%),
    linear-gradient(180deg, #fff, var(--orange-050));
  border: 1px solid var(--orange-100);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.cta__inner p {
  margin-top: 16px;
  color: var(--ink-500);
  font-size: 16.5px;
}

.cta__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-tint);
  padding: 46px 0 30px;
}

.foot__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.foot__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.foot__brand strong {
  display: block;
  font-size: 15px;
  color: var(--ink-900);
}

.foot__brand p {
  font-size: 13px;
  color: var(--ink-400);
}

.foot__links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.foot__links a {
  font-size: 14px;
  color: var(--ink-500);
  font-weight: 500;
  transition: color 0.15s ease;
}

.foot__links a:hover {
  color: var(--orange-700);
}

.foot__legal {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-400);
}

/* ---------- 入场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .t-caret { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .hero__inner,
  .showcase__inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero__copy { max-width: 640px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
}

@media (max-width: 820px) {
  .nav__links,
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 12px 20px 18px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .pillars { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .section, .showcase { padding: 68px 0; }
  .hero { padding: 48px 0 24px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid { grid-template-columns: 1fr; }
  .stats__grid { padding: 24px; grid-template-columns: repeat(2, 1fr); }
  .install code { font-size: 12.5px; }
  .cta__inner { padding: 44px 22px; }
  .term__body { font-size: 12px; padding: 16px; }
  .foot__inner { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   新增板块：工作流程 / Goal / 安装向导 / 定价
   ========================================================================== */

/* ---------- 分栏网格 ---------- */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- 代码块 token 与复制按钮 ---------- */
.c-cmt { color: var(--ink-300); }
.c-env { color: var(--violet); font-weight: 600; }
.c-cmd { color: var(--blue); font-weight: 600; }
.c-url { color: #2f8f45; }

.code-card__copy {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--orange-600);
  background: #fff;
  border: 1px solid var(--orange-100);
  border-radius: 999px;
  padding: 4px 13px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.code-card__copy:hover { background: var(--orange-050); }

.code-card__copy.is-done {
  color: #2f8f45;
  border-color: rgba(78, 186, 101, 0.35);
  background: rgba(78, 186, 101, 0.1);
}

/* ---------- 工作流程 5 步 ---------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.flow__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.flow__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange-200);
}

.flow__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px -6px rgba(217, 119, 6, 0.7);
}

.flow__item h3 { font-size: 16px; margin-bottom: 7px; }

.flow__item p {
  font-size: 13.4px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ---------- Goal 演示 ---------- */
.goal-demo { margin-top: 26px; }
.goal-demo .code-card pre { font-size: 13.2px; }

.principles {
  margin-top: 24px;
  padding: 30px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--orange-050));
  border: 1px solid var(--orange-100);
}

.principles h3 { font-size: 18px; margin-bottom: 20px; }

.principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 18px 18px 16px;
}

.principle strong {
  display: block;
  color: var(--orange-700);
  font-size: 14.5px;
  margin-bottom: 7px;
}

.principle p {
  font-size: 13.4px;
  color: var(--ink-500);
  line-height: 1.6;
}

/* ---------- 安装向导 ---------- */
.step-block { margin-bottom: 48px; }

.step-block__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  margin-bottom: 20px;
}

.step-block__no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.step-block__hint {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-500);
}

.step-block__hint code {
  background: var(--orange-050);
  color: var(--orange-700);
  padding: 1px 6px;
  border-radius: 5px;
  font-weight: 600;
}

.step-block__hint b { color: var(--ink-900); }

/* Tabs */
.tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 14px;
  background: var(--orange-050);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 4px;
}

.tab {
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-500);
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tab.is-active {
  background: #fff;
  color: var(--orange-700);
  box-shadow: var(--shadow-sm);
}

.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

/* 系统要求 */
.req {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.req p { font-size: 14.5px; color: var(--ink-500); }

.req a {
  color: var(--orange-600);
  font-weight: 600;
}

.req a:hover { text-decoration: underline; }

.req__ext { margin-top: 8px; font-size: 14px; }

/* ---------- 定价 ---------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.price--pop {
  border-color: var(--orange-400);
  background: linear-gradient(180deg, var(--orange-050), #fff 34%);
  box-shadow: 0 10px 30px -12px rgba(217, 119, 6, 0.35);
}

.price__tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
  color: #fff;
  padding: 5px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 16px -8px rgba(217, 119, 6, 0.9);
}

.price h3 { font-size: 20px; margin-bottom: 8px; }

.price__amount { margin: 18px 0 22px; }

.price__value {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--orange-500);
}

.price__unit {
  font-size: 15px;
  color: var(--ink-400);
  font-weight: 500;
}

.price__list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}

.price__list li {
  position: relative;
  padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.8px;
  color: var(--ink-500);
}

.price__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D97706' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 13px no-repeat;
}

.price__list li:last-child { border-bottom: none; }

.price__note {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 12.6px;
  line-height: 1.55;
  text-align: left;
  margin-bottom: 20px;
}

.price .btn { width: 100%; }

/* ---------- 新增板块响应式 ---------- */
@media (max-width: 1020px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .principles__grid { grid-template-columns: 1fr; }
  .grid--2,
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .step-block { margin-bottom: 36px; }
}

@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }
  .price__value { font-size: 36px; }
  .principles { padding: 22px 18px; }
}

/* ---------- 功能文档索引 ---------- */
.doc-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.doc-link {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.doc-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange-200);
}

.doc-link strong {
  display: block;
  color: var(--ink-900);
  font-size: 15px;
  margin-bottom: 6px;
}

.doc-link span {
  display: block;
  color: var(--ink-500);
  font-size: 13.5px;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .doc-index { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .doc-index { grid-template-columns: 1fr; }
}
