/* ==========================================================================
   源厂增长实验室（Factory AI Growth Studio）样式表
   设计方向：高精度工业暗炭 + 暖石白纸张质感 + 信号橙/验真青双主色
   ========================================================================== */

:root {
  --bg-stone: #f5f4f0;
  --bg-light: #ffffff;
  --bg-soft: #faf9f6;
  --bg-dark: #0b1117;
  --bg-dark-elev: #111922;
  --bg-dark-card: #16202b;

  --border-light: #d7d5ce;
  --border-dark: #263342;

  --ink-primary: #111922;
  --ink-secondary: #43505e;
  --ink-muted: #667585;
  --ink-on-dark: #f5f4f0;
  --ink-on-dark-muted: #9eb0bd;

  --accent: #d95d24;
  --accent-hover: #bf4e1a;
  --accent-soft: #fff1e8;
  --teal: #2ca58d;
  --teal-soft: rgba(44, 165, 141, 0.14);
  --danger: #b9382c;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

@property --split {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-stone);
  -webkit-font-smoothing: antialiased;
}

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

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(17, 25, 34, 0.07);
  color: #9e3d10;
}

.section-dark code,
.hero-card code {
  background: rgba(255, 255, 255, 0.1);
  color: #8ce5d2;
}

.mock-before-body code {
  background: rgba(17, 25, 34, 0.08);
  color: #a6261b;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.is-hidden {
  display: none !important;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--bg-dark);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

/* --------------------------------------------------------------------------
   通用按钮与标签
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn-outline {
  background-color: transparent;
  border-color: #bab7ad;
  color: var(--ink-primary);
}

.btn-outline:hover {
  background-color: #eceae2;
  border-color: var(--ink-primary);
}

.btn-outline-light {
  background-color: transparent;
  border-color: #3f5266;
  color: var(--ink-on-dark);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #7c93aa;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.chip-link:hover {
  border-color: var(--ink-primary);
  background: var(--bg-soft);
}

.chip-btn {
  border-color: var(--accent);
  color: #a94010;
  background: var(--accent-soft);
}

.chip-btn:hover {
  background: #ffe4d4;
  border-color: var(--accent-hover);
}

/* --------------------------------------------------------------------------
   顶部通知条与粘性导航
   -------------------------------------------------------------------------- */
.top-banner {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark);
  border-bottom: 1px solid var(--border-dark);
  font-size: 13px;
}

.top-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
}

.top-banner__text {
  position: relative;
  margin: 0;
  padding-left: 18px;
  line-height: 1.5;
  color: #dbe3ea;
}

.badge-dot {
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(44, 165, 141, 0.24);
}

.top-banner__link {
  color: #ff9460;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.top-banner__link:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink-primary);
}

.brand-mark svg {
  border-radius: 8px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hero 首屏与右侧交付指标卡
   -------------------------------------------------------------------------- */
.hero {
  background-color: var(--bg-stone);
  background-image:
    radial-gradient(circle at 82% 18%, rgba(217, 93, 36, 0.09), transparent 42%),
    linear-gradient(to right, rgba(17, 25, 34, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 25, 34, 0.035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  padding: 54px 0 68px;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.96fr);
  gap: 40px;
  align-items: center;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #d1cec5;
  background: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(1.9rem, 3.1vw, 2.68rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-micro {
  margin: 0;
  font-size: 13px;
  color: var(--ink-muted);
}

.hero-card {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 22px 48px rgba(11, 17, 23, 0.14);
}

.hero-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-on-dark-muted);
}

.status-pill {
  font-size: 12px;
  font-weight: 600;
  color: #7ee3cd;
  background: var(--teal-soft);
  border: 1px solid rgba(44, 165, 141, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
}

.hero-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.38;
  color: #ffffff;
}

.spec-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.spec-list li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.spec-index {
  width: 34px;
  height: 28px;
  border-radius: 7px;
  background: rgba(217, 93, 36, 0.16);
  border: 1px solid rgba(217, 93, 36, 0.42);
  color: #ff9c6e;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.spec-list strong {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
  margin-bottom: 2px;
}

.spec-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #b7c3cd;
}

.hero-card__footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-on-dark-muted);
}

.hero-card__footer a {
  color: #ff9c6e;
  font-weight: 600;
  text-decoration: none;
}

.hero-card__footer a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   通用区块与标题
   -------------------------------------------------------------------------- */
.section {
  padding: 72px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-stone {
  background: var(--bg-stone);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.section-sub {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-secondary);
}

.section-head--dark .section-sub {
  color: #b4c2cd;
}

.head-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.head-badge-row .section-kicker {
  margin-bottom: 0;
}

.honest-badge {
  font-size: 12px;
  font-weight: 600;
  color: #7ee3cd;
  background: var(--teal-soft);
  border: 1px solid rgba(44, 165, 141, 0.4);
  padding: 2px 10px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   3 大痛点诊断
   -------------------------------------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pain-card {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.pain-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.pain-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.pain-card p {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--ink-secondary);
}

.pain-fix {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
}

.pain-fix span {
  color: #1e7c69;
}

/* --------------------------------------------------------------------------
   Before / After 交互对比区
   -------------------------------------------------------------------------- */
.ba-controls-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.ba-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px;
  border-radius: var(--radius-md);
  background: var(--bg-dark-elev);
  border: 1px solid var(--border-dark);
}

.ba-tab {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #b4c2cd;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.ba-tab:hover {
  color: #ffffff;
}

.ba-tab.is-active {
  background: var(--accent);
  color: #ffffff;
}

.ba-presets {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 10px;
  background: var(--bg-dark-elev);
  border: 1px solid var(--border-dark);
}

.preset-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #a9b8c4;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 7px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.preset-btn:hover {
  color: #ffffff;
}

.preset-btn.is-active {
  background: #23303e;
  border-color: #3d5064;
  color: #ffffff;
}

.ba-stage {
  position: relative;
  display: grid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #2b3a4a;
  background: #0e161e;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-stage.is-animating {
  transition: --split 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ba-layer {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ba-layer--after {
  z-index: 1;
}

.ba-layer--before {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split, 50%)) 0 0);
}

.layer-tag {
  position: absolute;
  bottom: 14px;
  z-index: 4;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  max-width: calc(100% - 28px);
  pointer-events: none;
}

.layer-tag--before {
  left: 14px;
  background: rgba(185, 56, 44, 0.94);
  color: #ffffff;
}

.layer-tag--after {
  right: 14px;
  background: rgba(11, 17, 23, 0.92);
  border: 1px solid rgba(44, 165, 141, 0.65);
  color: #82e6d1;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(22px, var(--split, 50%), calc(100% - 22px));
  transform: translateX(-50%);
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(11, 17, 23, 0.45), 0 0 18px rgba(0, 0, 0, 0.55);
  z-index: 5;
  cursor: ew-resize;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.48);
}

.ba-divider:focus-visible .ba-handle {
  box-shadow: 0 0 0 4px rgba(217, 93, 36, 0.45), 0 6px 20px rgba(0, 0, 0, 0.48);
}

/* Mock Browser: After vs Before */
.mock-browser {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mock-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  background: #17222d;
  border-bottom: 1px solid #293848;
  font-size: 12px;
}

.mock-bar--old {
  background: #dce1e7;
  border-bottom-color: #bcc3cc;
}

.mock-dots {
  display: inline-flex;
  gap: 5px;
}

.mock-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #445668;
}

.mock-bar--old .mock-dots i {
  background: #9ca5b0;
}

.mock-url {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #b7c4cf;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-bar--old .mock-url {
  color: #3a424c;
}

.mock-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.mock-badge--good {
  background: rgba(44, 165, 141, 0.18);
  color: #7ee3cd;
  border: 1px solid rgba(44, 165, 141, 0.45);
}

.mock-badge--bad {
  background: #fde8e6;
  color: #a6261b;
  border: 1px solid #e6a9a3;
}

.mock-after-body {
  flex: 1;
  background: linear-gradient(155deg, #101922 0%, #172430 100%);
  color: #f5f4f0;
  padding: 20px 26px 58px;
}

.mock-after-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1px solid #263544;
  font-size: 12px;
}

.mock-after-nav strong {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: #ffffff;
}

.mock-after-nav span {
  color: #9eb0bd;
}

.mock-after-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: center;
}

.mock-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #82e6d1;
  background: rgba(44, 165, 141, 0.14);
  border: 1px solid rgba(44, 165, 141, 0.35);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.mock-after-copy h4 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.25;
  color: #ffffff;
}

.mock-after-copy p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #c3ced7;
}

.mock-after-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.mock-cta-primary,
.mock-cta-sec {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.mock-cta-primary {
  background: var(--accent);
  color: #ffffff;
}

.mock-cta-sec {
  border: 1px solid #44576b;
  color: #e2e8ed;
}

.mock-cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mock-cert-row span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #b4c2cd;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2b3b4c;
  padding: 3px 8px;
  border-radius: 5px;
}

.mock-after-spec-card {
  background: #0b1117;
  border: 1px solid #2b3c4d;
  border-radius: 12px;
  overflow: hidden;
}

.spec-card-head {
  padding: 9px 14px;
  background: #17232f;
  border-bottom: 1px solid #2b3c4d;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: #82e6d1;
}

.mock-after-spec-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.mock-after-spec-card th,
.mock-after-spec-card td {
  padding: 9px 14px;
  text-align: left;
  border-bottom: 1px solid #1d2935;
}

.mock-after-spec-card tr:last-child th,
.mock-after-spec-card tr:last-child td {
  border-bottom: none;
}

.mock-after-spec-card th {
  color: #9eb0bd;
  font-weight: 500;
}

.mock-after-spec-card td {
  color: #ffffff;
  font-weight: 600;
}

.mock-before-body {
  flex: 1;
  background: #eef1f5;
  color: #2c3540;
  padding: 18px 24px 58px;
}

.mock-before-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #23476f;
  color: #ffffff;
  padding: 10px 14px;
  font-size: 12px;
  margin-bottom: 16px;
}

.mock-before-banner {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #cfd6df;
  padding: 14px;
  margin-bottom: 14px;
}

.mock-factory-gate svg {
  width: 100%;
  height: auto;
  border: 1px solid #b5bec9;
}

.mock-before-overlay h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #1f3d5e;
}

.mock-before-overlay p {
  margin: 0 0 12px;
  font-size: 12.5px;
  color: #5c6773;
}

.mock-old-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #3a6ea5;
  color: #ffffff;
  font-size: 12px;
}

.mock-before-footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.old-box {
  background: #dfe4eb;
  border: 1px dashed #9da8b5;
  padding: 11px 12px;
  font-size: 12px;
  color: #4a5460;
}

/* Mock Visual Stage */
.mock-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mock-visual--after {
  background: #232b33;
  padding-bottom: 48px;
}

.mock-visual--before {
  background: #d5d8dc;
  padding-bottom: 48px;
}

.visual-scene-canvas {
  width: 100%;
}

.visual-svg {
  width: 100%;
  height: auto;
}

.ba-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.ba-metrics-strip > div {
  background: var(--bg-dark-elev);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.ba-metrics-strip strong {
  display: block;
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 4px;
}

.ba-metrics-strip span {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
  color: #a9b8c4;
}

/* --------------------------------------------------------------------------
   4 档透明报价与破冰横幅
   -------------------------------------------------------------------------- */
.free-hook-banner {
  background: linear-gradient(135deg, #fff6f0 0%, #f5f4f0 100%);
  border: 1.5px solid #e7b59a;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.hook-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #a43b0c;
  background: #ffe1d0;
  border: 1px solid #f2b494;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.free-hook-banner__copy h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.free-hook-banner__copy p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.free-hook-banner__action {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.hook-price {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border: 2px solid var(--accent);
  background: #fffdfb;
  box-shadow: 0 18px 40px rgba(217, 93, 36, 0.12);
}

.featured-ribbon {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.tier-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}

.price-card--featured .tier-label {
  color: var(--accent);
}

.price-card__top h3 {
  margin: 0 0 12px;
  font-size: 17.5px;
  line-height: 1.32;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.price-num {
  font-family: var(--font-mono);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink-primary);
}

.price-num small {
  font-size: 13px;
  font-weight: 600;
}

.price-meta {
  font-size: 12px;
  color: var(--ink-muted);
}

.early-bird-pill {
  background: var(--accent-soft);
  border: 1px solid #f2bea4;
  color: #9d3a0d;
  font-size: 12px;
  line-height: 1.45;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.delivery-tag {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e7c69;
}

.price-desc {
  margin: 0 0 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ebe9e2;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.deliverables {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 9px;
  flex-grow: 1;
}

.deliverables li {
  position: relative;
  padding-left: 19px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-primary);
}

.deliverables li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   合作流程、FAQ 与 GEO 自证区
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
}

.step-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 36px;
  align-items: start;
}

.faq-intro h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  line-height: 1.25;
}

.faq-intro p {
  margin: 0;
  color: var(--ink-secondary);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #e6e4dc;
}

.faq-body p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

.proof-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.proof-box__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.proof-box__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
}

.proof-box__head p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
}

.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jsonld-code {
  margin: 20px 0 0;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: #bceee2;
  border: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.55;
  overflow-x: auto;
  max-height: 420px;
}

/* --------------------------------------------------------------------------
   底部 CTA 与表单
   -------------------------------------------------------------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.cta-info h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.25;
}

.cta-lead {
  margin: 0 0 20px;
  color: #c3ced7;
  font-size: 15.5px;
}

.cta-bullets {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cta-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: #dbe3ea;
}

.cta-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.direct-wechat-box {
  background: var(--bg-dark-elev);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.direct-label {
  display: block;
  font-size: 12px;
  color: var(--ink-on-dark-muted);
  margin-bottom: 3px;
}

.wechat-id-display {
  font-family: var(--font-mono);
  font-size: 15px;
  color: #ffffff;
}

.intake-form {
  background: var(--bg-light);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.25s ease;
}

.intake-form.is-highlighted {
  box-shadow: 0 0 0 3px var(--accent), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.intake-form h3 {
  margin: 0 0 18px;
  font-size: 19px;
}

.field {
  margin-bottom: 15px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1.5px solid #cfd3d8;
  background: #ffffff;
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 93, 36, 0.15);
}

.field input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(185, 56, 44, 0.14);
}

.form-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--ink-muted);
}

.form-note.is-error {
  color: var(--danger);
  font-weight: 600;
}

.form-note.is-success {
  color: #1b7865;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   页脚与微信联系弹窗
   -------------------------------------------------------------------------- */
.site-footer {
  background: #070b0f;
  color: #9eb0bd;
  border-top: 1px solid #1b2632;
  padding: 28px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer strong {
  display: block;
  color: #f5f4f0;
  margin-bottom: 4px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #b4c2cd;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(7, 11, 15, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: var(--bg-light);
  color: var(--ink-primary);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-soft);
  color: var(--ink-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #eae8e0;
}

.modal-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
  padding-right: 32px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.qr-box {
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
}

.qr-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.qr-tip {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
}

.wechat-copy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 9px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

.wechat-copy-row strong {
  color: var(--ink-primary);
  margin-right: auto;
}

.generated-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

#generated-brief {
  width: 100%;
  padding: 11px 12px;
  border-radius: 9px;
  border: 1.5px solid #cfd3d8;
  background: #fbfbfa;
  color: var(--ink-primary);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  resize: vertical;
}

.modal-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.copy-status {
  font-size: 12.5px;
  font-weight: 600;
  color: #1b7865;
}

/* --------------------------------------------------------------------------
   响应式断点
   -------------------------------------------------------------------------- */
@media (max-width: 1060px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .cta-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

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

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

  .mock-after-hero,
  .mock-before-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .site-nav {
    display: none;
  }

  .top-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 52px 0;
  }

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

  .pricing-grid,
  .steps-grid,
  .ba-metrics-strip,
  .mock-before-footer-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .free-hook-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .free-hook-banner__action {
    align-items: flex-start;
    text-align: left;
  }

  .intake-form,
  .modal-card {
    padding: 20px;
  }

  .ba-handle {
    width: 34px;
    height: 34px;
    font-size: 9px;
  }

  .mock-visual--after,
  .mock-visual--before {
    padding-bottom: 54px;
  }

  .mock-after-body,
  .mock-before-body {
    padding-bottom: 62px;
  }

  .layer-tag {
    font-size: 10.5px;
    line-height: 1.3;
    padding: 4px 8px;
    bottom: 8px;
    max-width: calc(100% - 20px);
  }

  .layer-tag--before {
    left: 10px;
  }

  .layer-tag--after {
    right: 10px;
  }
}

/* --------------------------------------------------------------------------
   真实外贸工厂实测对比案例卡片与案例详情页样式
   -------------------------------------------------------------------------- */
.real-cases-block {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.real-cases-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.real-cases-head h3 {
  margin: 0 0 4px;
  font-size: 19px;
  color: #ffffff;
}

.real-cases-head p {
  margin: 0;
  font-size: 13.5px;
  color: #9eb0bd;
}

.real-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.real-case-card {
  background: var(--bg-dark-elev);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.real-case-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.score-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.score-pill--bad {
  background: rgba(185, 56, 44, 0.18);
  border: 1px solid rgba(226, 94, 82, 0.55);
  color: #ff9c93;
}

.score-pill--warn {
  background: rgba(217, 93, 36, 0.18);
  border: 1px solid rgba(217, 93, 36, 0.55);
  color: #ffb18b;
}

.real-case-card h4 {
  margin: 0;
  font-size: 17px;
  color: #ffffff;
}

.real-case-card p {
  margin: 0;
  font-size: 13.5px;
  color: #b7c4cf;
}

.case-defect-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.case-defect-tags span {
  font-size: 12px;
  color: #dbe3ea;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid #2b3b4c;
  padding: 3px 9px;
  border-radius: 6px;
}

.real-case-card__foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #22303e;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.case-hero {
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-light);
  padding: 40px 0 48px;
}

.case-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.case-breadcrumb a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

.case-breadcrumb a:hover {
  color: var(--accent);
}

.case-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.24;
}

.case-audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  margin-top: 26px;
}

.audit-score-card {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.audit-big-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 6px;
}

.audit-big-score strong {
  font-family: var(--font-mono);
  font-size: 42px;
  line-height: 1;
  color: #ff8f85;
}

.audit-big-score span {
  font-family: var(--font-mono);
  color: #9eb0bd;
}

.audit-issue-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
}

.audit-issue-box h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.audit-issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.audit-issue-list li {
  font-size: 13.5px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
}

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

.case-compare-col {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.case-compare-col--after {
  border: 2px solid var(--teal);
}

@media (max-width: 900px) {
  .real-cases-grid,
  .case-audit-grid,
  .case-compare-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ba-stage.is-animating {
    transition: none;
  }
}
