/* ==========================================================================
   悟空GEO 官网样式（hand-written，零依赖、零外链字体/图标库）
   规范：docs/策划-官网-老站一键升级AI网站-20261026.md §8 视觉方案 A（科技蓝紫）
   断点：≥1200 桌面 / 768–1199 平板 / <768 手机
   ========================================================================== */

:root {
  --ink: #15182b;
  --ink-soft: #37405c;
  --muted: #6b7280;
  --brand-900: #1b2a8f;
  --brand-700: #2438c8;
  --brand-600: #3355f5;
  --violet: #6b4eff;
  --brand-grad: linear-gradient(135deg, #1b2a8f 0%, #2438c8 48%, #6b4eff 100%);
  --surface: #f6f8ff;
  --surface-2: #eef2ff;
  --line: #e2e7f7;
  --white: #ffffff;
  --success: #0e9f6e;
  --warn: #b45309;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(20, 26, 64, 0.05), 0 10px 30px rgba(20, 26, 64, 0.06);
  --shadow-lg: 0 2px 4px rgba(20, 26, 64, 0.06), 0 24px 60px rgba(20, 26, 64, 0.1);
  --container: 1200px;
  --header-h: 64px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--brand-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 36px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 5px;
}

/* ── 布局骨架 ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--surface {
  background: var(--surface);
}

.section--line {
  border-top: 1px solid var(--line);
}

.section__head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section__head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-900);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
  top: 8px;
}

/* ── 按钮 ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--primary {
  background: var(--brand-grad);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(36, 56, 200, 0.24);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(36, 56, 200, 0.3);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--brand-600);
  color: var(--brand-700);
}

.btn--light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ── 页头 ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 18px rgba(20, 26, 64, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  flex: none;
  border-radius: 9px;
}

.brand__text-strong {
  color: var(--brand-700);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav__link {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.nav__link:hover {
  background: var(--surface);
  color: var(--brand-700);
  text-decoration: none;
}

.nav__link.is-active {
  color: var(--brand-700);
  font-weight: 600;
  background: var(--surface-2);
}

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

.header__login {
  font-size: 15px;
  color: var(--ink-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* ── 首屏 ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 80px;
  background: radial-gradient(1200px 520px at 78% -8%, rgba(107, 78, 255, 0.14), transparent 60%),
    radial-gradient(820px 420px at 6% 8%, rgba(36, 56, 200, 0.1), transparent 62%), var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero__title {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero__title em {
  font-style: normal;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  max-width: 34em;
}

.hero__form {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.hero__form .input {
  flex: 1 1 auto;
  border: 0;
  padding: 0 12px;
  min-width: 0;
  font-size: 16px;
}

.hero__form .input:focus {
  outline: none;
}

.hero__note {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.hero__cta {
  margin-top: 22px;
}

.hero__visual {
  position: relative;
}

/* 浏览器窗口示意（纯 CSS，不用截图/图片） */
.browser {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.browser__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cdd5ea;
}

.browser__url {
  flex: 1;
  margin-left: 8px;
  height: 20px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 18px;
  color: var(--muted);
  padding: 0 8px;
  overflow: hidden;
  white-space: nowrap;
}

.browser__body {
  padding: 18px;
}

.run-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.run-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}

.run-list li:last-child {
  border-bottom: 0;
}

.run-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.run-list .dot--wait {
  background: #cbd2e6;
}

.run-list .dot--live {
  background: var(--brand-600);
  box-shadow: 0 0 0 4px rgba(51, 85, 245, 0.16);
}

.run-list .run-meta {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.progress {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 14px 0 6px;
}

.progress__bar {
  height: 100%;
  width: 68%;
  border-radius: 999px;
  background: var(--brand-grad);
}

/* ── 信任条 ───────────────────────────────────────────────── */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.kpi {
  background: #fff;
  padding: 24px 22px;
}

.kpi__num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: -0.01em;
}

.kpi__label {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}

/* ── 卡片 / 特性 ──────────────────────────────────────────── */
.card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card--flat {
  box-shadow: none;
}

.card--soft {
  background: var(--surface);
  box-shadow: none;
}

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--brand-700);
  font-weight: 700;
  font-size: 16px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-2);
  color: var(--brand-700);
  vertical-align: middle;
}

.tag--beta {
  background: #fff7ed;
  color: var(--warn);
}

.tag--ok {
  background: #ecfdf5;
  color: var(--success);
}

.list-check,
.list-plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li,
.list-plain li {
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--success);
  border-bottom: 2px solid var(--success);
  transform: rotate(-45deg);
}

.list-plain li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-600);
}

/* ── 痛点对照 ─────────────────────────────────────────────── */
.pain {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pain__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
}

.pain__old {
  color: var(--muted);
  text-decoration: line-through;
}

.pain__arrow {
  text-align: center;
  color: var(--brand-600);
  font-weight: 700;
}

.pain__new {
  color: var(--ink);
  font-weight: 600;
}

/* ── 四步流程 ─────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

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

.step__you {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--brand-700);
  font-weight: 600;
}

/* 竖向时间轴（一键升级页用） */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  margin: 0 0 28px;
  padding-left: 60px;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline__item h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.timeline__you {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 600;
}

/* ── 前后对照 ─────────────────────────────────────────────── */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.compare__label {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── 模板卡 ───────────────────────────────────────────────── */
.theme-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.theme-card__head {
  height: 132px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.theme-card__head--blue {
  background: linear-gradient(135deg, #0b3d91, #1e6fff);
}

.theme-card__head--orange {
  background: linear-gradient(135deg, #b45309, #f59e0b);
}

.theme-card__head--green {
  background: linear-gradient(135deg, #1f3d2b, #2f7d54);
}

.theme-card__head--sand {
  background: linear-gradient(135deg, #a16207, #e0c088);
}

.theme-card__name {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.theme-card__body {
  padding: 18px;
}

.theme-card__body p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--ink-soft);
}

.swatches {
  display: flex;
  gap: 6px;
  margin: 10px 0 0;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ── 表格 ─────────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 640px;
}

caption {
  caption-side: top;
  text-align: left;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--muted);
}

th,
td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--surface);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

/* ── 价格 ─────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan--featured {
  border-color: var(--brand-600);
  box-shadow: 0 18px 40px rgba(36, 56, 200, 0.14);
}

.plan__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan__for {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--brand-900);
  margin-bottom: 4px;
}

.plan__unit {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}

.plan ul {
  margin: 0 0 22px;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 0;
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq summary::after {
  content: "＋";
  color: var(--brand-700);
  font-weight: 700;
  flex: none;
}

.faq details[open] summary::after {
  content: "－";
}

.faq__a {
  padding: 0 22px 20px;
  color: var(--ink-soft);
}

.faq__a p:last-child {
  margin-bottom: 0;
}

/* ── 表单 ─────────────────────────────────────────────────── */
.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field .hint {
  font-size: 13px;
  color: var(--muted);
}

.input,
.textarea,
.select {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px rgba(51, 85, 245, 0.14);
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

.form__note {
  font-size: 13px;
  color: var(--muted);
}

.form__status {
  padding: 12px 14px;
  border-radius: var(--radius);
  background: var(--surface-2);
  color: var(--brand-900);
  font-size: 14px;
}

/* ── CTA 条 ───────────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 56px 40px;
  border-radius: 16px;
  background: var(--brand-grad);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  font-size: 30px;
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
  max-width: 46em;
  margin: 0 auto 24px;
}

.cta-band .btn-row {
  justify-content: center;
}

/* ── 页脚 ─────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 56px 0 28px;
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.footer__claim {
  margin: 14px 0;
  color: var(--ink-soft);
}

.footer__mail a,
.footer__hours {
  font-size: 14px;
  color: var(--muted);
}

.footer__hours {
  margin: 4px 0 0;
}

.footer__title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 4px 0 12px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin: 8px 0;
}

.footer__list a {
  color: var(--ink-soft);
  font-size: 15px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.footer__bottom p {
  margin: 0;
}

.footer__icp {
  color: var(--muted);
}

/* ── 404 ──────────────────────────────────────────────────── */
.notfound {
  padding: 96px 0 104px;
  text-align: center;
}

.notfound__code {
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.notfound__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
}

/* ── 平板：768–1199 ───────────────────────────────────────── */
@media (max-width: 1199px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__title {
    font-size: 40px;
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 56px 0;
  }

  .steps,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 导航折叠成抽屉 */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 12px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav__link {
    padding: 14px 12px;
    font-size: 16px;
    border-radius: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .header__inner {
    gap: 12px;
  }
}

/* ── 手机：< 768 ──────────────────────────────────────────── */
@media (max-width: 767px) {
  html {
    font-size: 15px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 26px;
  }

  h3 {
    font-size: 20px;
  }

  h4 {
    font-size: 17px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  .section--tight {
    padding: 44px 0;
  }

  .section__head {
    margin-bottom: 32px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__form {
    flex-wrap: wrap;
    padding: 10px;
  }

  .hero__form .input {
    height: 44px;
    flex-basis: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .hero__cta {
    margin-top: 16px;
  }

  .btn {
    height: 44px;
    padding: 0 18px;
    font-size: 15px;
  }

  .btn--sm {
    height: 40px;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .steps,
  .compare,
  .kpis,
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 18px;
  }

  .pain__arrow {
    text-align: left;
  }

  .card {
    padding: 22px;
  }

  .cta-band {
    padding: 36px 20px;
    border-radius: 12px;
  }

  .cta-band h2 {
    font-size: 24px;
  }

  .site-footer {
    padding-top: 40px;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .notfound {
    padding: 64px 0 72px;
  }

  .notfound__code {
    font-size: 64px;
  }

  .header__login {
    display: none;
  }

  .hero__visual .browser {
    box-shadow: var(--shadow);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
