/* ============================================================
   Tovois 官网设计系统 — Zapier 风格
   暖白底 / 暖黑墨色 / 天蓝色主强调 / 衬线标题 / 大圆角媒体卡
   ============================================================ */
:root {
  --cream: #fffefb;
  --sand: #f8f4f0;
  --beige: #eceae3;
  --ink: #201515;
  --ink-72: rgba(32, 21, 21, 0.72);
  --ink-55: rgba(32, 21, 21, 0.55);
  --accent: #0ea5e9;        /* 天蓝主强调（装饰/文字/描边） */
  --accent-deep: #0284c7;   /* 深天蓝：实心按钮底、hover，保证白字可读 */
  --blue: #3860be;
  --green: #1f7a53;
  --teal: #0f766e;
  --border: rgba(32, 21, 21, 0.14);
  --border-soft: rgba(32, 21, 21, 0.09);
  --radius-card: 16px;
  --radius-btn: 10px;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: ui-serif, Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --shadow-card: 0 1px 2px rgba(32, 21, 21, 0.05), 0 8px 28px rgba(32, 21, 21, 0.07);
  --shadow-pop: 0 16px 48px rgba(32, 21, 21, 0.16);
  --wrap: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
section { scroll-margin-top: 92px; }

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

/* ---------- 排版 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-72);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 12px;
  background: var(--accent);
  border-radius: 2px;
  flex: none;
}
.eyebrow.no-mark::before { display: none; }

h1, h2, h3 { font-weight: 500; line-height: 1.18; letter-spacing: -0.01em; }

.display-sans {
  font-family: var(--sans);
  font-size: clamp(40px, 5.6vw, 62px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.display-serif {
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  text-wrap: balance;
}
/* 需要桌面端保持单行的标题：适当缩字号 + 不折行（移动端仍允许平衡折行）
   单行只对中文生效：英文句子更长，强制 nowrap 会撑出横向溢出 */
.h-single { font-size: clamp(26px, 2.9vw, 38px); }
@media (min-width: 1024px) {
  html[lang="zh-CN"] .h-single { white-space: nowrap; }
  /* 需要整行显示的说明文字：解除 .lead 的 560px 限制 */
  html[lang="zh-CN"] .p-single { white-space: nowrap; max-width: none; }
}
html[lang="en"] .h-single { font-size: clamp(25px, 2.6vw, 34px); }
html[lang="en"] .p-single { max-width: 720px; }
.lead { font-size: 17.5px; color: var(--ink-72); max-width: 560px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: #0c9dd9; color: #fff; }
.btn-accent:hover { background: #0284c7; box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3); }
.btn-dark { background: var(--ink); color: #fffefb; }
.btn-dark:hover { background: #3a2a2a; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: rgba(32, 21, 21, 0.05); }
.btn-outline-light { background: transparent; color: #fffefb; border-color: rgba(255, 254, 251, 0.55); }
.btn-outline-light:hover { background: rgba(255, 254, 251, 0.1); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 74px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; color: #17205b; }
.logo .mark { width: 44px; height: 44px; flex: none; object-fit: contain; }
/* 深色页脚上原图白底 → 白色圆角徽章底，显得刻意而干净 */
.logo .mark-badge { background: #fff; border-radius: 9px; padding: 3px; }
.logo .sub { font-size: 9.5px; font-weight: 500; letter-spacing: 0.2em; display: block; line-height: 1; margin-top: 3px; opacity: 0.5; white-space: nowrap; position: relative; top: -6px; }
.nav-links { display: flex; align-items: center; gap: 28px; flex: 1; }
.nav-links a { font-size: 15px; color: var(--ink-72); font-weight: 500; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; align-items: center; gap: 2px; padding: 2px; border: 1.5px solid var(--border-soft); border-radius: 999px; }
.lang-switch button {
  border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  color: var(--ink-55); padding: 3px 10px; border-radius: 999px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active { background: var(--ink); color: var(--cream); }
.lang-switch-menu { display: none; }
.nav-cta .login { font-size: 15px; font-weight: 500; color: var(--ink-72); line-height: 1.35; }
.nav-cta .btn-sm { padding: 7px 18px; }
.nav-cta .login:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 40px; text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero .lead { margin: 22px auto 34px; max-width: 620px; }
.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--ink-55); display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.hero-note span::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 7px; }

/* ---------- 媒体大卡（Hero 下方） ---------- */
.media-band {
  max-width: 1240px;
  margin: 44px auto 0;
  padding: 0 24px;
}
.media-frame {
  border-radius: 24px;
  padding: clamp(24px, 5vw, 72px) clamp(18px, 4vw, 64px);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(120% 140% at 15% 10%, rgba(31, 122, 83, 0.55), transparent 55%),
    radial-gradient(110% 130% at 85% 85%, rgba(255, 138, 76, 0.5), transparent 60%),
    linear-gradient(160deg, #dfe8dd, #f2e4d3 55%, #e3d3c4);
}
.media-frame.warm-dark {
  background:
    radial-gradient(120% 140% at 20% 0%, rgba(15, 118, 110, 0.45), transparent 55%),
    radial-gradient(110% 130% at 85% 90%, rgba(255, 122, 61, 0.35), transparent 55%),
    linear-gradient(155deg, #35403a, #57604f 55%, #6d5a48);
}

/* 画布窗口卡 */
.canvas-card {
  background: #fffdf9;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  max-width: 660px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(32, 21, 21, 0.08);
}
.canvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px;
  font-weight: 600;
}
.canvas-dots { display: flex; gap: 6px; }
.canvas-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--beige); }
.canvas-dots i:first-child { background: #ff5f57; }
.canvas-dots i:nth-child(2) { background: #febc2e; }
.canvas-dots i:last-child { background: #28c840; }
.canvas-badge { font-size: 11.5px; font-weight: 600; color: #0f7a3d; background: #e2f4e8; padding: 3px 10px; border-radius: 999px; }
.canvas-body { padding: 18px 20px 20px; }

.node-chain { display: flex; align-items: stretch; gap: 0; flex-wrap: nowrap; }
.node {
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px 11px;
  background: #fff;
  position: relative;
}
.node + .node::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--accent);
}
.node .icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  margin-bottom: 7px;
  color: #fff;
  font-weight: 700;
}
.node .name { font-size: 12px; font-weight: 700; line-height: 1.25; }
.node .desc { font-size: 10.5px; color: var(--ink-55); margin-top: 2px; line-height: 1.3; }
.node.ok { border-color: rgba(31, 122, 83, 0.45); }
.node.ok::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -8px;
  width: 17px;
  height: 17px;
  background: #0f7a3d;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.run-log {
  margin-top: 16px;
  background: #26191a;
  color: #f4ded2;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 11.5px;
  line-height: 1.85;
}
.run-log .ok { color: #7ee2a8; }
.run-log .hl { color: #ffb38a; }
.run-log .dim { color: rgba(244, 222, 210, 0.55); }

.float-stat {
  position: absolute;
  background: #fffdf9;
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 16px 22px;
  border: 1px solid rgba(32, 21, 21, 0.07);
}
.float-stat .num { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.float-stat .cap { font-size: 12px; color: var(--ink-72); margin-top: 2px; }
.float-stat .delta { font-size: 12px; color: #0f7a3d; font-weight: 600; margin-top: 6px; }
.float-stat.fs-left { left: clamp(8px, 6vw, 96px); bottom: 46px; }
.float-stat.fs-right { right: clamp(8px, 5vw, 80px); top: 48px; }

/* ---------- 指标条 ---------- */
.metrics { padding: 72px 0 26px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.metric .num { font-family: var(--serif); font-size: 52px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.metric .num em { font-style: normal; color: var(--accent); }
.metric .cap { font-size: 14px; color: var(--ink-72); margin-top: 8px; }

/* ---------- 分屏区块 ---------- */
.split { padding: 92px 0; }
.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}
.split-grid.flip .split-text { order: 2; }
.split-grid.flip .split-media { order: 1; }
.split-text h2 { margin-bottom: 18px; }
.split-text .lead { margin-bottom: 26px; }

.accordion { border-top: 1px solid var(--border); margin-bottom: 30px; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.acc-head .plus { font-size: 19px; font-weight: 400; color: var(--ink-72); transition: transform 0.25s; flex: none; }
.acc-item.open .plus { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.acc-body p { padding: 0 2px 16px; font-size: 14.5px; color: var(--ink-72); }
.stack-btns { display: flex; flex-direction: column; gap: 12px; max-width: 300px; }

/* 代码卡 */
.code-card {
  background: #201515;
  color: #f4ded2;
  border-radius: var(--radius-card);
  padding: 22px 24px;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.9;
  box-shadow: var(--shadow-pop);
  overflow-x: auto;
}
.code-card .cm { color: rgba(244, 222, 210, 0.45); }
.code-card .k { color: #ffb38a; }
.code-card .s { color: #9fd8b4; }
.code-card .ok-line { color: #7ee2a8; }
.code-caption { margin-top: 14px; font-size: 13.5px; color: var(--ink-72); text-align: center; }

/* AI 卡 */
.ai-card {
  background: #fffdf9;
  border: 1px solid rgba(32, 21, 21, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  max-width: 620px;
  margin: 0 auto;
  overflow: hidden;
}
.ai-card .card-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--border-soft); font-size: 13px; font-weight: 700; }
.ai-card .card-head .spark { color: var(--accent); font-size: 15px; }
.ai-block { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); }
.ai-block:last-child { border-bottom: none; }
.ai-block .b-title { font-size: 13.5px; font-weight: 700; }
.ai-block ul { margin: 8px 0 0 16px; font-size: 13px; color: var(--ink-72); display: grid; gap: 5px; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 20px; }
.chip { font-size: 12px; font-weight: 600; padding: 5px 13px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--sand); }
.chip.hot { background: rgba(14, 165, 233, 0.09); border-color: rgba(14, 165, 233, 0.4); color: var(--accent-deep); }

/* ---------- 深色色带 ---------- */
.band-dark { background: var(--ink); color: var(--cream); padding: 96px 0; }
.band-dark .eyebrow { color: rgba(255, 254, 251, 0.75); }
.band-dark .lead { color: rgba(255, 254, 251, 0.72); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.observer-card {
  background: rgba(255, 254, 251, 0.06);
  border: 1px solid rgba(255, 254, 251, 0.16);
  border-radius: var(--radius-card);
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.observer-card .oc-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(255, 254, 251, 0.12);
  font-size: 12.5px; font-weight: 600; color: rgba(255, 254, 251, 0.85);
}
.oc-rows { padding: 8px 0; }
.oc-row {
  display: grid;
  grid-template-columns: 84px 1fr 92px;
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255, 254, 251, 0.06);
}
.oc-row:last-child { border-bottom: none; }
.oc-row .t { color: rgba(255, 254, 251, 0.5); font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.oc-row .m { color: rgba(255, 254, 251, 0.88); }
.oc-row .st { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; text-align: center; }
.oc-row .st.ok { background: rgba(126, 226, 168, 0.15); color: #7ee2a8; }
.oc-row .st.warn { background: rgba(255, 179, 138, 0.15); color: #ffb38a; }
.oc-row .st.retry { background: rgba(120, 160, 255, 0.16); color: #a9c3ff; }
.band-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.band-stat { border-left: 2px solid var(--accent); padding-left: 14px; }
.band-stat .num { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--cream); }
.band-stat .cap { font-size: 12.5px; color: rgba(255, 254, 251, 0.6); margin-top: 3px; }

/* ---------- 模板库 ---------- */
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head .lead { font-size: 16px; }
.tpl-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.tpl-chip {
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink-72);
  transition: 0.15s;
}
.tpl-chip:hover { border-color: var(--ink); color: var(--ink); }
.tpl-chip.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tpl-card {
  background: var(--sand);
  border: 1.5px solid transparent;
  border-radius: var(--radius-card);
  padding: 26px 26px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tpl-card:hover { transform: translateY(-3px); border-color: rgba(32, 21, 21, 0.2); box-shadow: var(--shadow-card); }
.tpl-icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  margin-bottom: 4px;
}
.tpl-card h3 { font-size: 18px; font-weight: 600; }
.tpl-card p { font-size: 14px; color: var(--ink-72); flex: 1; }
.tpl-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.tpl-tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(32, 21, 21, 0.06); color: var(--ink-72); }
.tpl-link { font-size: 13.5px; font-weight: 700; color: var(--accent); margin-top: 10px; display: inline-flex; align-items: center; gap: 5px; }
.tpl-link:hover { text-decoration: underline; }

/* ---------- 行业 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ind-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px;
  background: #fff;
  transition: 0.2s;
}
.ind-card:hover { border-color: rgba(32, 21, 21, 0.35); transform: translateY(-2px); }
.ind-card .emoji { font-size: 26px; margin-bottom: 12px; }
.ind-card .emoji svg { width: 27px; height: 27px; display: block; }
.ind-card h3 { font-size: 16.5px; font-weight: 700; }
.ind-card p { font-size: 13px; color: var(--ink-72); margin-top: 5px; }
.ind-card.highlight {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.ind-card.highlight p { color: rgba(255, 254, 251, 0.68); }
.ind-card.highlight .go { color: var(--accent); font-size: 13px; font-weight: 700; margin-top: 10px; display: inline-block; }

/* ---------- 定价 ---------- */
.billing-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--sand);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  margin: 0 auto 44px;
}
.billing-toggle button {
  border: none;
  background: transparent;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-72);
  border-radius: 999px;
  transition: 0.15s;
}
.billing-toggle button.active { background: var(--ink); color: var(--cream); }
.billing-toggle .save {
  font-size: 11px; font-weight: 700; color: #0f7a3d;
  background: #e2f4e8; padding: 2px 8px; border-radius: 999px; margin-left: 8px;
}
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.pop { border-color: var(--accent); box-shadow: 0 10px 34px rgba(14, 165, 233, 0.12); }
.pop-tag {
  position: absolute; top: -13px; left: 24px;
  background: var(--accent-deep); color: #fff;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.price-card .plan { font-size: 15px; font-weight: 700; }
.price-card .for { font-size: 12.5px; color: var(--ink-55); margin-top: 3px; }
.price-line { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price-line .cur { font-size: 15px; font-weight: 600; color: var(--ink-72); }
.price-line .amount { font-family: var(--serif); font-size: 44px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.price-line .per { font-size: 13px; color: var(--ink-55); }
.price-sub { font-size: 12.5px; color: var(--ink-55); margin-bottom: 18px; }
.price-feats { list-style: none; display: grid; gap: 9px; margin: 14px 0 24px; flex: 1; }
.price-feats li { font-size: 13.5px; color: var(--ink-72); display: flex; gap: 9px; }
.price-feats li::before { content: "✓"; color: var(--green); font-weight: 700; flex: none; }
.price-note { text-align: center; font-size: 13px; color: var(--ink-55); margin-top: 26px; }

/* ---------- 评价 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card { background: var(--sand); border-radius: var(--radius-card); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.quote-card .mark { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 0.6; margin-top: 10px; }
.quote-card blockquote { font-size: 15.5px; line-height: 1.7; color: var(--ink); flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .who .avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #fff; }
.quote-card .who .nm { font-size: 14px; font-weight: 700; }
.quote-card .who .rl { font-size: 12.5px; color: var(--ink-55); }

/* ---------- CTA ---------- */
.cta-band { background: var(--ink); color: var(--cream); text-align: center; padding: 104px 0; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; margin-bottom: 16px; }
.cta-band p { color: rgba(255, 254, 251, 0.68); margin-bottom: 36px; font-size: 17px; }
.cta-band .hero-ctas { margin-bottom: 0; }

/* ---------- 页脚 ---------- */
footer { background: var(--ink); color: rgba(255, 254, 251, 0.68); padding: 72px 0 36px; border-top: 1px solid rgba(255, 254, 251, 0.08); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 52px; }
.foot-brand .logo { color: var(--cream); margin-bottom: 14px; }
.foot-brand p { font-size: 13.5px; max-width: 300px; }
.foot-col h4 { color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; padding: 4px 0; transition: color 0.15s; }
.foot-col a:hover { color: var(--cream); }
.foot-bottom { border-top: 1px solid rgba(255, 254, 251, 0.1); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; flex-wrap: wrap; }

/* ---------- 方案页专属 ---------- */
.arch-card {
  background: #fffdf9;
  border: 1px solid rgba(32, 21, 21, 0.08);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-pop);
  padding: 26px 26px 22px;
  max-width: 640px;
  margin: 0 auto;
}
.arch-layer {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--sand);
}
.arch-layer .t { font-size: 14px; font-weight: 700; }
.arch-layer .d { font-size: 12px; color: var(--ink-55); }
.arch-layer.core { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.arch-layer.core .d { color: rgba(255, 254, 251, 0.6); }
.arch-link { display: flex; justify-content: center; padding: 5px 0; }
.arch-link .arrow { color: var(--accent); font-size: 20px; font-weight: 700; }
.warn-band {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(14, 165, 233, 0.07);
  border: 1.5px solid rgba(14, 165, 233, 0.35);
  border-radius: var(--radius-card);
  padding: 22px 26px;
  margin-top: 44px;
}
.warn-band .icon { font-size: 22px; flex: none; margin-top: 2px; }
.warn-band .t { font-weight: 700; margin-bottom: 4px; }
.warn-band p { font-size: 14px; color: var(--ink-72); }
.scene-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.scene-table th, .scene-table td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--border-soft); font-size: 14px; vertical-align: top; }
.scene-table th { background: var(--sand); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-72); font-weight: 700; }
.scene-table tr:last-child td { border-bottom: none; }
.scene-table td .sc { font-weight: 700; }
.scene-table td .chain { font-size: 12.5px; color: var(--ink-55); margin-top: 3px; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { background: var(--sand); border-radius: var(--radius-card); padding: 26px; }
.pain-card .emoji { font-size: 24px; margin-bottom: 12px; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 7px; }
.pain-card p { font-size: 14px; color: var(--ink-72); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  /* 导航项较多，1024 以下直接折叠为汉堡菜单，避免语言控件挤爆顶栏 */
  .nav-links { display: none; }
  .nav-cta .login { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 26px;
    gap: 16px;
    align-items: flex-start;
  }
  .lang-switch button { padding: 3px 8px; font-size: 12px; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1200px) and (min-width: 1025px) {
  .nav-inner { gap: 14px; }
  .nav-links { gap: 12px; }
  .nav-cta { gap: 10px; }
  .lang-switch button { padding: 3px 7px; font-size: 12px; }
}
@media (max-width: 360px) {
  /* 超窄屏：代码块允许内部横向滚动，避免撑破页面 */
  .split-grid > * { min-width: 0; }
  .code-card { overflow-x: auto; }
}
@media (max-width: 400px) {
  .nav-inner { gap: 12px; padding: 0 16px; }
  .nav-cta .btn-sm { padding: 7px 14px; font-size: 13px; }
}
@media (max-width: 480px) {
  /* 超窄屏：语言切换移入汉堡菜单，顶栏只留注册与菜单按钮 */
  .nav-cta .lang-switch { display: none; }
  .nav.open .lang-switch-menu { display: inline-flex; margin-top: 6px; }
}
@media (max-width: 820px) {
  .split-grid, .band-grid { grid-template-columns: 1fr; }
  .split-grid.flip .split-text { order: 1; }
  .split-grid.flip .split-media { order: 2; }
  .split { padding: 64px 0; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .metric .num { font-size: 40px; }
  .float-stat { display: none; }
  .node-chain { flex-wrap: wrap; gap: 8px; }
  .node { flex: 1 1 44%; }
  .node + .node::before { display: none; }
  .quote-grid, .pain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .logo { font-size: 23px; gap: 10px; }
  .logo .mark { width: 36px; height: 36px; }
  .logo .sub { display: none; }
  .hero { padding-top: 56px; }
  .tpl-grid, .price-grid, .ind-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .stack-btns { max-width: none; }
  .band-stats { grid-template-columns: 1fr; }
  .code-card { font-size: 11px; }
  .scene-table { display: block; overflow-x: auto; }
}
