/* ==========================================================================
   算数·脚手架租赁 —— 官网样式
   ========================================================================== */

:root {
  --ink: #0a1b2e;
  --ink-2: #14334f;
  --steel: #1e5c96;
  --steel-2: #2e82c4;
  --sky: #6fb3e8;
  --accent: #e27d14;
  --accent-2: #f0a33f;
  --paper: #ffffff;
  --mist: #f4f8fb;
  --mist-2: #eef4fa;
  --line: #d9e5f0;
  --muted: #55708d;
  --muted-2: #869db4;
  --green: #127a6e;
  --shadow-sm: 0 2px 8px -4px rgba(10, 27, 46, 0.18);
  --shadow-md: 0 18px 40px -28px rgba(10, 27, 46, 0.42), 0 3px 10px -6px rgba(10, 27, 46, 0.12);
  --shadow-lg: 0 28px 64px -28px rgba(10, 27, 46, 0.4), 0 4px 14px -8px rgba(10, 27, 46, 0.16);
  --header-h: 68px;
  --gutter: clamp(1.1rem, 3.4vw, 3.2rem);
  --radius: 14px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0 0 0.9rem; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1220px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: var(--ink);
  color: #b9cee2;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.42rem 0;
}
.topbar__links { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.topbar a { color: #dce8f4; }
.topbar a:hover { color: #fff; }
.topbar__dot { color: #3d6386; }
@media (max-width: 720px) {
  .topbar__inner { justify-content: center; }
  .topbar__links { display: none; }
}

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0 var(--gutter);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 229, 240, 0.9);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -20px rgba(10, 27, 46, 0.5); }

.logo { display: inline-flex; align-items: center; gap: 0.65rem; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo-copy { display: flex; flex-direction: column; gap: 0.1rem; }
.logo-text { font-size: 1.03rem; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; }
.logo-slogan { font-size: 0.64rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 1024px) { .logo-slogan { display: none; } }

.nav--site { display: flex; gap: clamp(0.3rem, 1vw, 0.8rem); flex-wrap: wrap; row-gap: 0.3rem; }
.nav--site > .nav-item > a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.55rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  white-space: nowrap;
}
.nav--site > .nav-item > a:hover { background: var(--mist-2); color: var(--steel); }

.nav-item { position: relative; display: inline-flex; align-items: center; }
.nav-item__caret {
  display: inline-block;
  width: 0.3rem;
  height: 0.3rem;
  margin-left: 0.32rem;
  vertical-align: 0.16em;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* 二级大面板：挂在页头上定位，恒居中，不溢出视口 */
.nav-item--panel { position: static; }
.nav-item--panel:hover .nav-item__caret,
.nav-item--panel:focus-within .nav-item__caret,
.nav-item--panel.is-open .nav-item__caret {
  opacity: 0.9;
  transform: rotate(225deg);
}
.nav-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  width: min(46rem, calc(100vw - 2 * var(--gutter)));
  padding-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-0.35rem);
  transition: opacity 0.16s ease, transform 0.18s ease, visibility 0.16s ease;
}
.nav-item--panel:hover > .nav-panel,
.nav-item--panel:focus-within > .nav-panel,
.nav-item--panel.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-panel__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 1.2rem;
  padding: 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}
.nav-panel a, .nav-panel strong, .nav-panel em { white-space: normal; }
.nav-panel__links { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 0.05rem; align-content: start; }
.nav-panel__links--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 0.8rem; }
.nav-panel__links > a { display: grid; gap: 0.08rem; padding: 0.46rem 0.6rem; border-radius: 9px; }
.nav-panel__links strong { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.nav-panel__links em { font-style: normal; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }
.nav-panel__links > a:hover { background: rgba(30, 92, 150, 0.06); }
.nav-panel__feature {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 0.5rem 0.5rem 0.65rem;
  background: var(--mist);
  border-radius: 12px;
}
.nav-panel__feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 9px; }
.nav-panel__feature strong,
.nav-panel__feature em,
.nav-panel__cta { padding: 0 0.4rem; }
.nav-panel__feature strong { font-size: 0.84rem; color: var(--ink); }
.nav-panel__feature em { font-style: normal; font-size: 0.74rem; line-height: 1.45; color: var(--muted); }
.nav-panel__cta { font-size: 0.74rem; font-weight: 600; color: var(--steel); }

/* 页头右侧动作 */
.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.header-actions .tel { font-size: 0.82rem; color: var(--muted); white-space: nowrap; }
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.52rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 9px;
  box-shadow: 0 8px 18px -12px rgba(226, 125, 20, 0.9);
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-login:hover { background: #c96b09; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 1.15rem; height: 2px; margin: 0.3rem auto; background: var(--ink); }

@media (max-width: 1100px) { .header-actions .tel { display: none; } }
@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav-toggle { display: block; }
  .nav--site {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0.8rem var(--gutter) 1.4rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav--site.is-open { display: flex; }
  .nav--site > .nav-item { display: block; width: 100%; }
  .nav--site > .nav-item > a { display: flex; justify-content: space-between; padding: 0.75rem 0.2rem; font-size: 0.95rem; border-bottom: 1px solid var(--mist-2); border-radius: 0; }
  .nav-item--panel { position: relative; }
  .nav-panel {
    position: static;
    width: 100%;
    padding-top: 0.3rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav-item--panel.is-open > .nav-panel { display: block; }
  .nav-panel__card { grid-template-columns: 1fr; box-shadow: none; border-radius: 12px; padding: 0.7rem; }
  .nav-panel__feature { display: none; }
  .nav-panel__links--2 { grid-template-columns: 1fr; }
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 90% at 78% 20%, #1a4a74 0%, #0a1b2e 62%);
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 170, 210, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 170, 210, 0.055) 1px, transparent 1px);
  background-size: 66px 66px;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: center;
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2.4rem, 5vw, 4.2rem);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--sky);
  margin-bottom: 1rem;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
}
.hero h1 em { font-style: normal; color: #9fd8f5; }
.hero__lead {
  margin-top: 1.1rem;
  font-size: clamp(0.94rem, 1.4vw, 1.06rem);
  line-height: 1.85;
  color: #b7cee2;
  max-width: 34rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 14px 30px -18px rgba(226, 125, 20, 1); }
.btn--primary:hover { background: #c96b09; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(159, 216, 245, 0.42); color: #dff0fb; }
.btn--ghost:hover { background: rgba(159, 216, 245, 0.12); border-color: #9fd8f5; }
.hero__notes { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-top: 1.5rem; font-size: 0.8rem; color: #8fa9c1; }
.hero__notes li::before { content: "✓"; color: var(--accent-2); margin-right: 0.4rem; font-weight: 700; }

.hero__visual { position: relative; }
.hero__visual img {
  border-radius: 18px;
  border: 1px solid rgba(159, 216, 245, 0.22);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85);
}
.hero__badge {
  position: absolute;
  left: -0.6rem;
  bottom: -1.4rem;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0.9rem;
}
.hero__badge div { text-align: center; }
.hero__badge b { display: block; font-size: 1.05rem; color: var(--steel); line-height: 1.2; }
.hero__badge span { font-size: 0.66rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 1rem; }
}

/* ---------- 指标带 ---------- */
.metrics { background: var(--ink); border-top: 1px solid rgba(120, 170, 210, 0.16); }
.metrics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  text-align: center;
  color: #fff;
}
.metrics b { display: block; font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #9fd8f5; }
.metrics span { font-size: 0.78rem; color: #8fa9c1; }
@media (max-width: 720px) { .metrics__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: clamp(2.2rem, 4vw, 3.4rem) 0; }
.section__head { max-width: 46rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.kicker::before { content: ""; width: 20px; height: 2px; background: var(--accent); }
.section h2 { font-size: clamp(1.42rem, 2.7vw, 1.95rem); font-weight: 700; }
.section__sub { margin-top: 0.8rem; color: var(--muted); font-size: 0.95rem; }

/* 痛点 */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: #c3d8ea; }
.card__no {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--mist-2);
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.4rem; }
.card p { font-size: 0.86rem; color: var(--muted); margin: 0; line-height: 1.7; }
.card__tag {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.18rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: #fdf1e1;
  border-radius: 999px;
}

/* 闭环流程 */
.flow { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 0.5rem; }
.flow__step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.6rem;
  text-align: center;
}
.flow__step i {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}
.flow__step b { display: block; font-size: 0.86rem; margin: 0.2rem 0 0.1rem; }
.flow__step span { font-size: 0.68rem; color: var(--muted); line-height: 1.5; display: block; }
.flow__step::after {
  content: "›";
  position: absolute;
  right: -0.48rem;
  top: 50%;
  transform: translateY(-50%);
  color: #b9cee2;
  font-size: 1.1rem;
  line-height: 1;
}
.flow__step:last-child::after { display: none; }
.flow__step--accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.flow__step--accent span, .flow__step--accent i { color: #9fbcd6; }
@media (max-width: 1100px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; } .flow__step::after { display: none; } }
@media (max-width: 560px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 功能分组 */
.modgroup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.mod {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem;
}
.mod__icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--mist-2);
  font-size: 1.1rem;
}
.mod h3 { font-size: 0.98rem; margin-bottom: 0.35rem; }
.mod ul { display: flex; flex-wrap: wrap; gap: 0.28rem; }
.mod li {
  font-size: 0.76rem;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.1rem 0.45rem;
}
@media (max-width: 820px) { .modgroup { grid-template-columns: 1fr; } }

/* 系统截图 */
.shots { background: var(--ink); color: #fff; }
.shots .kicker { color: var(--sky); }
.shots .section__sub { color: #a9c4dc; }
.shot-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.2rem; }
.shot-tabs button {
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  color: #b7cee2;
  background: rgba(159, 216, 245, 0.08);
  border: 1px solid rgba(159, 216, 245, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.16s ease, color 0.16s ease;
}
.shot-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; font-weight: 600; }
.shot-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(159, 216, 245, 0.22);
  background: #0d2338;
  box-shadow: 0 40px 80px -46px rgba(0, 0, 0, 0.9);
}
.shot-frame img { width: 100%; height: auto; max-height: 760px; object-fit: contain; display: block; }
.shot-cap { margin-top: 0.8rem; font-size: 0.8rem; color: #8fa9c1; }

/* 场景 */
.scene { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.scene figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.scene img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.scene figcaption { padding: 0.8rem 0.9rem; font-size: 0.84rem; color: var(--muted); }
.scene figcaption b { display: block; color: var(--ink); font-size: 0.9rem; margin-bottom: 0.15rem; }
@media (max-width: 980px) { .scene { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .scene { grid-template-columns: 1fr; } }

/* 下载中心 */
.dl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.dl {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.dl:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dl__type {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--steel);
  background: var(--mist-2);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  align-self: flex-start;
}
.dl h3 { font-size: 0.98rem; margin: 0.7rem 0 0.35rem; line-height: 1.45; }
.dl p { font-size: 0.8rem; color: var(--muted); flex: 1; margin-bottom: 0.9rem; }
.dl__file { font-size: 0.7rem; color: var(--muted-2); margin-bottom: 0.9rem; word-break: break-all; }
.dl__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--steel);
  border: 1px solid #bcd5e8;
  border-radius: 9px;
  transition: background 0.16s ease, color 0.16s ease;
}
.dl__btn:hover { background: var(--steel); color: #fff; border-color: var(--steel); }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* 交付步骤 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; position: relative; }
.step::before {
  counter-increment: st;
  content: "0" counter(st);
  font-size: 1.4rem;
  font-weight: 700;
  color: #cfdff0;
  display: block;
  margin-bottom: 0.4rem;
}
.step b { display: block; font-size: 0.95rem; margin-bottom: 0.3rem; }
.step span { font-size: 0.8rem; color: var(--muted); }
.step em { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.72rem; font-weight: 600; color: var(--accent); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0.6rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--steel); font-weight: 700; font-size: 1.1rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.7rem 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.8; }

/* CTA */
.cta {
  background: linear-gradient(120deg, #0a1b2e 0%, #12395c 100%);
  color: #fff;
  border-radius: 20px;
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.6rem;
  align-items: center;
}
.cta h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.cta p { color: #a9c4dc; font-size: 0.9rem; margin: 0.6rem 0 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
@media (max-width: 820px) { .cta { grid-template-columns: 1fr; } }

/* ---------- 页脚（对齐 zhubao.zerocod.cn 结构） ---------- */
.site-footer {
  background: #071523;
  color: #9db4c9;
  font-size: 0.84rem;
  margin-top: 0;
}
.footer-top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #2e82c4 55%, #0a1b2e 100%);
}
.footer-shell { padding: 2.6rem 0 0.6rem; }
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.9fr) auto;
  gap: 2rem;
  padding-bottom: 1.8rem;
}
.footer-brand-col { max-width: 20rem; }
.footer-logo-link { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-logo {
  width: 2.2rem; height: 2.2rem;
  display: grid; place-items: center;
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}
.footer-brand-name { color: #fff; font-size: 1rem; font-weight: 700; letter-spacing: 0.02em; }
.footer-slogan { margin: 0.8rem 0 1rem; font-size: 0.8rem; line-height: 1.75; color: #8ba3ba; }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  border-radius: 8px;
}
.footer-cta:hover { background: #c96b09; }
.footer-nav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.footer-col-list { display: grid; gap: 0.45rem; }
.footer-col-list a { color: #9db4c9; font-size: 0.8rem; }
.footer-col-list a:hover { color: #fff; }
.footer-qr-col { display: grid; justify-items: center; }
.footer-wechat {
  margin: 0;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  max-width: 11rem;
}
.footer-wechat img { width: 96px; height: 96px; border-radius: 8px; background: #fff; padding: 4px; }
.footer-wechat figcaption strong { display: block; color: #fff; font-size: 0.78rem; }
.footer-wechat figcaption span { display: block; margin-top: 0.3rem; font-size: 0.7rem; line-height: 1.6; color: #7f97ad; }
.footer-trust-bar {
  border-top: 1px solid rgba(157, 180, 201, 0.16);
  padding: 1.1rem 0 0.6rem;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
}
.footer-trust-line { margin: 0; font-size: 0.78rem; color: #8ba3ba; }
.footer-trust-line strong { color: #fff; }
.footer-trust-sep { margin: 0 0.5rem; color: #3d5c78; }
.footer-trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0.2rem 0 0; }
.footer-trust-badges li {
  font-size: 0.72rem;
  color: #a9c4dc;
  border: 1px solid rgba(157, 180, 201, 0.24);
  border-radius: 999px;
  padding: 0.12rem 0.7rem;
}
.footer-trust-meta { margin: 0; font-size: 0.76rem; color: #8ba3ba; }
.footer-trust-meta a { color: #a9c4dc; }
.footer-trust-meta a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(157, 180, 201, 0.12);
  padding: 0.9rem 0 1.5rem;
  text-align: center;
}
.footer-copyright { margin: 0; font-size: 0.74rem; color: #6f889f; line-height: 1.8; }
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-qr-col { justify-items: start; }
  .footer-wechat { justify-items: start; text-align: left; }
}
@media (max-width: 520px) { .footer-nav-grid { grid-template-columns: 1fr; } }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 图片响应式：picture 仅作容器，不影响既有布局 */
picture { display: contents; }
img { max-width: 100%; height: auto; }

