/* =============================================================
   翌行数字 / 问小卷 · 共享设计系统（A 晨翌蓝）
   纯静态站点，无外部依赖、无构建步骤。
   ============================================================= */

:root {
  /* 品牌色板 */
  --brand: #1B5CFF;
  --brand-strong: #1246D8;
  --brand-soft: #E7EFFF;
  --brand-tint: #F2F6FF;
  --brand-line: #D6E2FF;

  --ink: #0E1B33;
  --ink-2: #33415C;
  --muted: #5B6B85;

  /* 强调色与品牌蓝同系：引用主蓝变量，全站零暖色 */
  --accent: var(--brand);
  --accent-strong: var(--brand-strong);
  --accent-soft: var(--brand-soft);

  --bg: #F7F9FC;
  --card: #FFFFFF;
  --line: #E4EAF3;
  --line-soft: #EDF1F7;

  /* 刻度：圆角 / 阴影 / 间距 */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(14, 27, 51, .05);
  --shadow-md: 0 14px 34px rgba(14, 27, 51, .08);
  --shadow-lg: 0 26px 60px rgba(14, 27, 51, .12);

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

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

h1, h2, h3, p, ul, ol, figure { margin-top: 0; }
h1, h2, h3 { color: var(--ink); }
ul, ol { padding-left: 0; list-style: none; }
button { font: inherit; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--brand-soft); color: var(--ink); }

/* 键盘焦点：明显且不干扰鼠标操作 */
:focus { outline: 3px solid var(--brand); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
[tabindex="-1"]:focus { outline: none; }

.container {
  width: calc(100% - 48px);
  max-width: 1200px;
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 18px; height: 18px; }

/* ---------- 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus {
  top: 12px;
  color: #FFFFFF;
}

/* 返回顶部锚点：位于文档 y=0、零尺寸且不参与布局；吸顶 header 不能作为滚动目标，
   这样禁用 JS 时原生 href="#top" 也能回到页面最顶端。 */
.top-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(14, 27, 51, .07);
  border-color: var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.nav-links { margin-left: auto; }
.nav-links ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-links a:hover { color: var(--brand); background: var(--brand-tint); }
.nav-links a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 700;
}
/* 「商务合作」不再有常态突出样式：与其它导航项共用上面的基础样式与 hover 反馈。 */

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle:hover { border-color: var(--brand); background: var(--brand-tint); }
.hamburger { display: block; }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              background-color .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(27, 92, 255, .22);
}
.btn-primary:hover {
  background: var(--accent-strong);
  color: #FFFFFF;
  box-shadow: 0 12px 26px rgba(27, 92, 255, .30);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: #CFD9E8;
}
.btn-secondary:hover {
  background: var(--card);
  color: var(--brand);
  border-color: var(--brand);
}
.btn .icon-sm { transition: transform .22s var(--ease); }
.btn:hover .icon-sm { transform: translateX(3px); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(27, 92, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 92, 255, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 82%);
  mask-image: linear-gradient(115deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 82%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 92, 255, .10) 0%, rgba(27, 92, 255, 0) 70%);
  pointer-events: none;
}
.hero--product::after { background: radial-gradient(circle, rgba(27, 92, 255, .10) 0%, rgba(27, 92, 255, 0) 70%); }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center;
  gap: var(--sp-6);
  padding-block: var(--sp-7) calc(var(--sp-7) + 8px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(34px, 4.1vw, 54px);
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -.025em;
}
.hero-slogan {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: .06em;
}
.hero-lede {
  max-width: 34em;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 17px;
}
.hero-note {
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--brand-line);
  color: var(--muted);
  font-size: 14px;
}

.hero-visual { position: relative; }
/* 插画中的线条路径统一只描边，避免浏览器默认填充 */
.hero-art path, .feature-art path { fill: none; }
.hero-art {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 22px 42px rgba(14, 27, 51, .10));
  animation: float-y 8s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 通用章节 ---------- */
.section { padding-block: var(--sp-7); }
.section--white {
  background: var(--card);
  border-block: 1px solid var(--line-soft);
}
.section-head { max-width: 740px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
}
.section h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.015em;
}
.section-intro { margin: 0; color: var(--muted); font-size: 16px; }
h3 { font-size: 19px; line-height: 1.45; margin: 0 0 10px; }

.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #C9D9F5;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}
.icon-box--accent { background: var(--accent-soft); color: var(--accent-strong); }

.card-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--brand-tint);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- 公司页：产品矩阵 ---------- */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-5);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background: linear-gradient(118deg, #FFFFFF 0%, var(--brand-tint) 100%);
  box-shadow: var(--shadow-md);
}
.pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.product-title {
  margin: 18px 0 4px;
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.product-slogan {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .05em;
}
.product-feature .section-intro { max-width: 36em; margin-bottom: 20px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tag-row span {
  padding: 6px 14px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .75);
  color: var(--ink-2);
  font-size: 13px;
}
.feature-art {
  display: block;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 14px 30px rgba(14, 27, 51, .09));
}

/* ---------- 公司页：方法与价值观 ---------- */
.principle {
  padding: 30px 28px;
  border-top: 3px solid var(--brand);
  border-radius: var(--r-md);
  background: var(--bg);
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.principle:hover { background: var(--brand-tint); transform: translateY(-3px); }
.principle-num {
  display: block;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.02em;
}
.principle p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 公司页：关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}
.about-copy p { margin-bottom: 16px; color: var(--muted); }
.about-list__label {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}
.coop-row {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.coop-row:last-child { border-bottom: 0; }
.coop-num {
  flex: 0 0 auto;
  padding-top: 3px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.coop-row h3 { margin-bottom: 4px; font-size: 17px; }
.coop-row p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 公司页：商务合作 ---------- */
.contact { padding-bottom: var(--sp-6); }
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: var(--sp-5);
  align-items: center;
  padding: var(--sp-5);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(27, 92, 255, .10) 0%, rgba(27, 92, 255, 0) 46%),
    linear-gradient(120deg, #FFFFFF 0%, var(--brand-tint) 100%);
  box-shadow: var(--shadow-sm);
}
.contact-panel p { max-width: 40em; color: var(--muted); }
.contact-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .7);
  border: 1px dashed var(--brand-line);
  font-size: 13px;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .82);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.contact-list .icon {
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
}

/* ---------- 产品页：痛点 → 解法 ---------- */
.pain-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
}
.pain-q { margin-bottom: 8px; font-size: 19px; }
.pain-text { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.pain-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}
.pain-arrow .icon { width: 18px; height: 18px; }
.pain-answer {
  margin: auto 0 0;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--brand-tint);
  color: var(--ink-2);
  font-size: 14px;
}
.pain-answer strong { color: var(--brand-strong); }

/* ---------- 产品页：功能 / 部署 ---------- */
.feature-note {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--brand-line);
  color: var(--muted);
  font-size: 14px;
}
.deploy-panel {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  margin-top: 32px;
  padding: 30px;
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background: linear-gradient(118deg, #FFFFFF 0%, var(--brand-tint) 100%);
  box-shadow: var(--shadow-sm);
}
.deploy-panel .icon-box { margin-bottom: 0; }
.deploy-panel h3 { margin-bottom: 8px; }
.deploy-panel p { margin: 0; max-width: 58em; color: var(--muted); font-size: 15px; }

/* ---------- 产品页：流程 / 场景 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 14px;
  font-weight: 700;
}
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

.scenario {
  display: flex;
  gap: 16px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.scenario:hover { transform: translateY(-3px); border-color: var(--brand-line); }
.scenario .icon-box {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
  border-radius: 12px;
}
.scenario .icon { width: 22px; height: 22px; }
.scenario h3 { font-size: 17px; margin-bottom: 6px; }
.scenario p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- 产品页：FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-heading { margin: 0; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.faq-q:hover { background: var(--brand-tint); }
.faq-q[aria-expanded="true"] { color: var(--brand-strong); }
.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--brand);
  transition: transform .25s var(--ease);
}
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 14px 24px 22px; border-top: 1px solid var(--line-soft); }
.faq-a p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- 产品页：CTA ---------- */
.cta-section { padding-bottom: var(--sp-6); }
.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: var(--sp-4);
  align-items: center;
  padding: var(--sp-5);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(27, 92, 255, .10) 0%, rgba(27, 92, 255, 0) 48%),
    linear-gradient(120deg, #FFFFFF 0%, var(--brand-tint) 100%);
  box-shadow: var(--shadow-sm);
}
.cta-panel p { margin: 0; max-width: 42em; color: var(--muted); }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding-block: var(--sp-5) var(--sp-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-4);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-slogan {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .04em;
}
.footer-desc { margin: 0; color: var(--muted); font-size: 14px; }
.footer-oss {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.site-footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
}
.footer-nav ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-nav a, .footer-meta a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s var(--ease);
}
.footer-nav a:hover, .footer-meta a:hover { color: var(--brand); }
.footer-meta p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.footer-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: var(--sp-4);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom a:hover { color: var(--brand); }

/* ---------- 滚动淡入（渐进增强，无 JS 时始终可见） ---------- */
.reveal-pending {
  opacity: 0;
  transition: opacity .65s var(--ease) var(--reveal-delay, 0ms);
}
.reveal-pending.is-visible { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid,
  .product-feature,
  .about-grid,
  .contact-panel,
  .cta-panel { grid-template-columns: minmax(0, 1fr); }

  .hero-grid { padding-block: var(--sp-6); gap: var(--sp-5); }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-art { animation: none; }
  .product-feature { gap: var(--sp-4); }
  .feature-art { max-width: 360px; }
  .grid--4, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { width: auto; }
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 12px 24px 20px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav-links.is-open { display: block; }
  .nav-links ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 11px 14px; border-radius: var(--r-sm); }
}

@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .section { padding-block: var(--sp-6); }
  .section-head { margin-bottom: 30px; }
  .hero-grid { padding-block: var(--sp-5) var(--sp-6); }
  .hero h1 { font-size: clamp(30px, 8vw, 38px); }
  .hero-lede { font-size: 16px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 180px; }
  .grid--4, .grid--3, .grid--2, .steps,
  .footer-grid, .contact-list { grid-template-columns: minmax(0, 1fr); }
  .product-feature, .contact-panel, .cta-panel, .deploy-panel { padding: var(--sp-3); }
  .deploy-panel { flex-direction: column; gap: 16px; }
  .product-title { font-size: 32px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .faq-q { padding: 16px 18px; }
  .faq-a { padding: 12px 18px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 降低动态效果偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-art { animation: none; }
  .reveal-pending { opacity: 1 !important; }
  .btn:hover, .card:hover, .pain-card:hover, .step:hover,
  .scenario:hover, .principle:hover { transform: none; }
}
