/*
 * 定制 Skill 营销页样式
 * 按页面模块分组；响应式规则集中在各模块末尾，便于定位与调整。
 */

/* ===== 全局基础与设计变量 ===== */
:root {
  --ink: #141414;
  --body: #434343;
  --muted: #8c8c8c;
  --faint: #bfbfbf;
  --gray: #f5f5f5;
  --gray-2: #fafafa;
  --line: #ececec;
  --black: #141414;
  --blue: #1677ff;
  --green: #52c41a;
  --radius: 20px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部轻提示 Toast ===== */
.toast-message {
  position: fixed;
  top: 24px;
  left: 50%;
  z-index: 300;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  border-radius: 8px;
  background: rgba(20, 20, 20, 0.7);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.toast-message.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== 通用按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-dark {
  background: var(--black);
  color: #fff;
}
.btn-dark:hover {
  background: #000;
  transform: translateY(-1px);
}
.btn-line {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d9d9d9;
}
.btn-line:hover {
  border-color: var(--ink);
}
.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}

/* ===== 顶部导航 ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.nav-in {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
}
.brand-star {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #ffc53d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta {
  font-size: 14px;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #141414;
  background: #141414;
  cursor: pointer;
  font-weight: 400;
}
.nav-cta:hover {
  background: #000;
}

/* ===== 首屏与标准 / 定制对比 ===== */
.hero {
  padding: 80px 0 40px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto;
}
.vs {
  margin: 56px auto 0;
  position: relative;
  max-width: 1180px;
  height: 300px;
}
.vs-left-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vs-right-shape {
  position: absolute;
  top: 0;
  left: 46.4%;
  width: 53.6%;
  height: 300px;
  overflow: hidden;
  border-radius: 0 12px 12px 0;
}
.vs-right-shape > svg.base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vs-side {
  position: absolute;
  top: 48px;
  width: 34%;
  text-align: left;
}
.vs-left {
  left: 7.2%;
}
.vs-right {
  left: calc(46.4% + 12.4%);
  color: #fff;
}
.vs-tag {
  display: inline-flex;
  height: 24px;
  align-items: center;
  border-radius: 30px;
  padding: 0 12px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 400;
}
.vs-left .vs-tag {
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.45);
}
.vs-right .vs-tag {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
}
.vs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.vs-row h3 {
  font-size: 22px;
  line-height: 30px;
  font-weight: 500;
  color: #141414;
  white-space: nowrap;
}
.vs-right h3 {
  color: #fff;
}
.up-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  border-radius: 999px;
  padding: 0 10px 0 12px;
  background: linear-gradient(180deg, #5355ff 0%, #769bff 100%);
  font-size: 10px;
  line-height: 18px;
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.vs-desc {
  font-size: 14px;
  line-height: 22px;
  margin-top: 8px;
}
.vs-left .vs-desc {
  color: rgba(0, 0, 0, 0.3);
}
.vs-right .vs-desc {
  color: rgba(255, 255, 255, 0.3);
}
.vs-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vs-list p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
.vs-left .vs-list p {
  color: rgba(0, 0, 0, 0.5);
}
.vs-right .vs-list p {
  color: rgba(255, 255, 255, 0.8);
}
.vs-dot {
  width: 16px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.vs-deco {
  position: absolute;
  pointer-events: none;
  top: -38%;
  right: -24.51%;
  bottom: -13.44%;
  left: 66.42%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-deco-inner {
  transform: scaleX(-1) rotate(-33.82deg) skewX(7.02deg);
}
.vs-arrow {
  position: absolute;
  left: 47%;
  top: 38.3%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 14px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.12);
  font-size: 14px;
  font-weight: 700;
  color: #141414;
  letter-spacing: 0.5px;
}
.hero-cta {
  margin-top: 44px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 通用内容区块 ===== */
.section {
  padding: 90px 0;
}
.section--features {
  padding-top: 60px;
}
.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.sec-head p {
  font-size: 16px;
  color: var(--muted);
}
.sec-head .link {
  color: var(--blue);
  font-size: 15px;
  margin-left: 6px;
}

/* ===== 一站式服务卡片 ===== */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feat-card {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  transition: transform 0.25s;
}
.feat-card:hover {
  transform: translateY(-3px);
}
.feat-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.feat-card .desc {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 20px;
  line-height: 1.7;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.feat-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--body);
}
.feat-list .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feat-visual {
  background: #fff;
  border-radius: 14px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px solid #f0f0f0;
  flex-direction: column;
  gap: 10px;
}
.feat-visual--image {
  padding: 0;
  overflow: hidden;
}
.feat-visual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.card-cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  padding: 8px 16px;
}
.card-cta:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.band-cta {
  margin: 44px auto 0;
  max-width: 1180px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.band-cta h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 5px;
}
.band-cta p {
  font-size: 14px;
  color: var(--muted);
}

/* ===== 客户案例横向滚动 ===== */
.client-scroll {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.client-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 8px;
  padding-left: calc((100vw - 1180px) / 2 + 24px);
  padding-right: 24px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.client-track::-webkit-scrollbar {
  display: none;
}
.client-card {
  background: #f5f5f5;
  border-radius: 16px;
  flex: 0 0 580px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 28px;
  align-items: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.client-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.client-tag {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}
.client-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
}
.client-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}
.client-visual {
  border-radius: 10px;
  height: 170px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}
.client-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.client-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.client-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
  transition: all 0.2s;
  cursor: pointer;
}
.client-nav button:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.client-action {
  text-align: center;
  margin-top: 26px;
}

/* ===== 定制流程步骤 ===== */
.process-section {
  background: #fff;
}
.steps-grid--offset {
  margin-top: 20px;
}
.step-mock--image {
  padding: 0;
  overflow: hidden;
}
.step-mock__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.process-action {
  text-align: center;
  margin-top: 44px;
}
.tab-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.tab {
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  border: 1px solid #d9d9d9;
  background: #fff;
  color: var(--body);
  transition: all 0.2s;
}
.tab.active {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 32px;
  transition: box-shadow 0.25s;
}
.step-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}
.step-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--muted);
  background: var(--gray);
  padding: 3px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.step-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
}
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.step-list li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: var(--body);
  align-items: flex-start;
}
.step-list li .n {
  flex-shrink: 0;
  color: var(--faint);
  font-size: 13px;
  font-weight: 500;
}
.step-list a {
  color: var(--blue);
}
.step-mock {
  background: var(--gray-2);
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ===== FAQ 常见问题 ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #f0f0f0;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  text-align: left;
}
.faq-no {
  font-size: 14px;
  color: var(--faint);
  font-weight: 500;
  flex-shrink: 0;
  width: 24px;
}
.faq-q .txt {
  flex: 1;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.faq-item.open .faq-q .txt {
  color: var(--ink);
}
.faq-q .arrow {
  color: var(--faint);
  transition: transform 0.25s;
}
.faq-item.open .arrow {
  transform: rotate(180deg);
  color: var(--ink);
}
.faq-a {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  opacity: 0;
  color: var(--body);
  transition: grid-template-rows 0.32s ease, opacity 0.22s ease;
}
.faq-a-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  font-size: 14.5px;
  line-height: 1.8;
  transition: padding 0.32s ease;
}
.faq-item.open .faq-a {
  grid-template-rows: minmax(0, 1fr);
  opacity: 1;
}
.faq-item.open .faq-a-inner {
  padding: 0 4px 24px 46px;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a,
  .faq-a-inner,
  .faq-q .arrow {
    transition: none;
  }
}
.faq-more {
  text-align: center;
  margin-top: 36px;
}

/* ===== 页尾转化区域 ===== */
.final-cta {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 72px 24px;
  text-align: center;
  max-width: 1180px;
  margin: 0 auto;
}
.final-cta-section {
  padding-top: 0;
  padding-bottom: 120px;
}
.final-cta h2 {
  font-size: 34px;
  font-weight: 900;
  margin-bottom: 12px;
}
.final-cta p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

/* ===== 响应式：主内容 ===== */
@media (max-width: 900px) {
  .hero {
    padding: 48px 0 24px;
  }
  .vs {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .vs-left-shape,
  .vs-right-shape {
    display: none;
  }
  .vs-side {
    position: static;
    width: 100%;
    padding: 30px 24px;
  }
  .vs-left {
    background: #f9f9f9;
    border-radius: 12px 12px 0 0;
  }
  .vs-right {
    left: 0;
    background: #171717;
    border-radius: 0 0 12px 12px;
  }
  .vs-deco,
  .vs-arrow {
    display: none;
  }
  .vs-list p {
    white-space: normal;
  }
  .feat-grid {
    grid-template-columns: 1fr;
  }
  .feat-card {
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .client-card {
    flex: 0 0 85%;
    grid-template-columns: 1fr;
    padding: 28px;
  }
  .client-track {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding: 64px 0;
  }
  .final-cta h2 {
    font-size: 26px;
  }
}

/* ===== 定制向导弹窗及浮动入口 ===== */
.float-stack {
  position: fixed;
  right: 20px;
  top: 68%;
  transform: translateY(-50%);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.float-cta {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #141414;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s, background 0.15s;
}
.float-cta:hover {
  background: #000;
  transform: scale(1.06);
}
.back-top {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: #141414;
  border: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
}
.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-top:hover {
  background: #fafafa;
}
@media (max-width: 900px) {
  .float-stack {
    right: 12px;
  }
  .float-cta,
  .back-top {
    width: 46px;
    height: 46px;
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show {
  display: flex;
}
.modal {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 580px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* position: relative; */
}
.modal-head,
.modal-foot {
  flex-shrink: 0;
}
.modal-head {
  padding: 26px 30px 18px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 22px;
  color: #bfbfbf;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--gray);
  color: var(--ink);
}
.modal-head h3 {
  font-size: 19px;
  font-weight: 700;
}
.modal-head p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.steps-bar {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}
.steps-bar i {
  height: 3px;
  flex: 1;
  border-radius: 3px;
  background: #f0f0f0;
}
.steps-bar i.done {
  background: var(--black);
}
.modal-body {
  padding: 26px 30px;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  flex: 1;
}
.wiz-step {
  display: none;
}
.wiz-step.active {
  display: block;
}
.q-title {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
}
.q-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
}
.opt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: all 0.18s;
  background: #fff;
}
.opt:hover {
  border-color: var(--ink);
}
.opt.sel {
  border-color: var(--ink);
  background: var(--gray-2);
}
.opt b {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
}
.opt small {
  font-size: 12.5px;
  color: var(--muted);
}
.opt-radio {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #d9d9d9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.opt.sel .opt-radio {
  border-color: var(--ink);
}
.opt.sel .opt-radio::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.rec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.rec-card {
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.rec-card h4 {
  font-size: 14.5px;
  margin-bottom: 4px;
}
.rec-card p {
  font-size: 12.5px;
  color: var(--muted);
}
.rec-price {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.rec-btns {
  display: flex;
  gap: 10px;
}
.rec-btns .btn {
  flex: 1;
}
.estimate {
  background: var(--gray);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.estimate h4 {
  font-size: 13.5px;
  margin-bottom: 10px;
}
.est-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  padding: 5px 0;
}
.est-row span:first-child {
  color: var(--muted);
}
.est-row b {
  font-weight: 700;
}
.estimate .tip {
  font-size: 12px;
  color: var(--faint);
  margin-top: 8px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 6px;
}
.form-group em {
  color: #ff4d4f;
  font-style: normal;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14px;
  font-family: inherit;
  transition: border 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.form-group .err {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 4px;
  display: none;
}
.form-group.invalid input,
.form-group.invalid textarea {
  border-color: #ff4d4f;
}
.form-group.invalid .err {
  display: block;
}
.manual-contact {
  background: var(--gray);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  margin-bottom: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--body);
}
.manual-contact .mc-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.manual-contact-hint {
  color: var(--muted);
  font-size: 12px;
}
.manual-contact img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  flex-shrink: 0;
}
.modal-foot {
  padding: 16px 30px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.modal-prev.is-hidden {
  visibility: hidden;
}
.modal-foot .btn {
  padding: 10px 22px;
  font-size: 14px;
}
.link-btn {
  font-size: 13px;
  color: var(--muted);
}
.link-btn:hover {
  color: var(--ink);
}
.success {
  text-align: center;
  padding: 28px 0 16px;
}
.success-ic {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #f6ffed;
  border: 1px solid #b7eb8f;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .modal-overlay {
    padding: max(8px, env(safe-area-inset-top, 0px)) 10px
      max(8px, env(safe-area-inset-bottom, 0px));
  }
  .modal {
    max-height: calc(100vh - 16px);
    max-height: calc(
      100dvh - 16px - env(safe-area-inset-top, 0px) -
        env(safe-area-inset-bottom, 0px)
    );
    border-radius: 16px;
  }
  .modal-head {
    padding: 18px 20px 14px;
  }
  .modal-body {
    padding: 18px 20px;
    -webkit-overflow-scrolling: touch;
  }
  .modal-foot {
    padding: 12px 20px;
  }
  .manual-contact .mc-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .exit-card {
    width: calc(100% - 24px);
    max-height: calc(100% - 24px);
    margin: 12px;
    padding: 24px 18px;
    overflow-y: auto;
  }
  .exit-btns {
    flex-direction: column;
  }
}

/* ===== 营销增强：信任信息、统计与留资 CTA ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #f0e0b0;
  color: #8a6d1a;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(255, 197, 61, 0.18);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #faad14;
  flex-shrink: 0;
  animation: pulseDot 1.5s infinite;
}
@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}
.hero-badge b {
  color: #d48806;
  font-weight: 700;
}
.hero-trust {
  margin-top: 16px;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust svg {
  flex-shrink: 0;
}
.stats-bar {
  margin: 48px auto 0;
  max-width: 1000px;
  background: #141414;
  border-radius: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.stat-cell {
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-cell:last-child {
  border-right: none;
}
.stat-num {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}
.stat-num #hoursSaved {
  display: inline-flex;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.hours-digit-slot {
  display: inline-block;
  position: relative;
  width: 0.58em;
  height: 1em;
  overflow: hidden;
  vertical-align: bottom;
}
.hours-digit-reel {
  display: block;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.22, 0.75, 0.25, 1);
}
.hours-digit-reel > span {
  display: block;
  height: 1em;
  line-height: 1em;
  text-align: center;
}
.hours-digit-separator {
  display: inline-block;
  width: 0.3em;
  text-align: center;
}
@media (prefers-reduced-motion: reduce) {
  .hours-digit-reel {
    transition-duration: 0.01ms;
  }
}
.stat-num em {
  font-style: normal;
  color: #ffc53d;
}
.stat-num .unit {
  font-size: 0.5em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 2px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
}
.bottom-dock {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 140;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #2960f1;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  padding: 20px 58px;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(20, 20, 20, 0.18);
  position: relative;
  transform-origin: center;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  animation: dock-btn-pop 5s ease-in-out infinite;
}
.dock-btn::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 3px solid rgba(41, 96, 241, 0.78);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.98);
  box-shadow: 0 0 22px rgba(41, 96, 241, 0.32);
  animation: dock-btn-ring 5s ease-out infinite;
}
@keyframes dock-btn-pop {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(41, 96, 241, 0));
  }
  3% {
    transform: scale(1.055);
    filter: drop-shadow(0 0 12px rgba(41, 96, 241, 0.58));
  }
  6% {
    transform: scale(1);
  }
  9% {
    transform: scale(1.035);
    filter: drop-shadow(0 0 8px rgba(41, 96, 241, 0.42));
  }
  12% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(41, 96, 241, 0));
  }
}
@keyframes dock-btn-ring {
  0% {
    opacity: 0.8;
    transform: scale(0.98);
  }
  16% {
    opacity: 0;
    transform: scale(1.18);
  }
  16.01%,
  100% {
    opacity: 0;
    transform: scale(1.18);
  }
}
.dock-btn:hover {
  animation: none;
  background: #1f4fdd;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(41, 96, 241, 0.35);
}
.dock-btn .ar {
  transition: transform 0.2s;
}
.dock-btn:hover .ar {
  transform: translateX(3px);
}
.dock-hint {
  font-size: 12px;
  color: #fff;
  background: rgba(41, 96, 241, 0.78);
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
body {
  padding-bottom: 8px;
}
@media (prefers-reduced-motion: reduce) {
  .dock-btn,
  .dock-btn::after {
    animation: none;
  }
}

/* ===== 关闭弹窗时的挽留层 ===== */
.exit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  /* border-radius: 20px; */
  backdrop-filter: blur(2px);
}
.exit-overlay.show {
  display: flex;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.exit-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 28px;
  margin: 24px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  animation: popIn 0.25s;
}
@keyframes popIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.exit-ic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fffbe6;
  border: 1px solid #ffe58f;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-card h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
}
.exit-card > p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 18px;
  line-height: 1.7;
}
.exit-perks {
  text-align: left;
  background: var(--gray-2);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.exit-perks p {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--body);
  align-items: flex-start;
}
.exit-perks svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.exit-btns {
  display: flex;
  gap: 10px;
}
.exit-btns .btn {
  flex: 1;
  padding: 11px 14px;
  font-size: 14px;
}

/* ===== 移动端营销组件布局 ===== */
@media (max-width: 900px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-cell:nth-child(2) {
    border-right: none;
  }
  .stat-cell:nth-child(1),
  .stat-cell:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-cell {
    padding: 22px 14px;
  }
  .band-cta {
    flex-direction: column;
    text-align: center;
    padding: 26px 22px;
  }
  .dock-btn {
    max-width: 100%;
    padding: 14px clamp(20px, 5vw, 36px);
    gap: 8px;
    font-size: clamp(15px, 2.4vw, 17px);
    white-space: nowrap;
  }
  .dock-btn .ar {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }
  .bottom-dock {
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 24px);
    gap: 6px;
  }
  .dock-hint {
    max-width: 100%;
    padding: 4px 10px;
    font-size: clamp(10px, 1.8vw, 12px);
    white-space: nowrap;
  }
  .modal-close{
    top:10px;
  }
}

footer {
  width: 100%;
  min-width: 1200px;
  border-top: 1px solid #dddddd;
}

footer .footer {
  min-width: 1200px;
  margin: 0 auto;
  padding: 0 140px 22px;
}

footer .footer .logo {
  display: flex;
  align-items: center;
  margin: 35px 0 20px;
}

footer .footer .logo img {
  width: 36px;
  height: 32px;
}

footer .footer .logo span {
  font-weight: bold;
  font-size: 24px;
  color: #1e1e1e;
  margin: 0 20px 0 10px;
}

footer .footer .logo p {
  font-weight: 400;
  font-size: 19px;
  color: #666666;
}

footer .footer ul {
  display: flex;
  margin-bottom: 40px;
}

footer .footer ul li {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
}

footer .footer ul li label,
footer .footer ul li a {
  font-size: inherit;
}

footer .footer ul li i {
  font-style: normal;
  margin: 0 20px;
}

footer .footer .copyright {
  display: flex;
  font-weight: 400;
  font-size: 12px;
  color: #999999;
}

footer .footer .copyright p {
  display: flex;
  margin-left: 20px;
  font-size: inherit;
}

footer .footer .copyright i,
footer .footer .copyright a {
  font-style: normal;
  font-size: inherit;
}

@media (max-width: 1199px) {
  footer,
  footer .footer {
    min-width: 0;
  }
  footer .footer {
    padding: 0 clamp(16px, calc(13.33vw - 20px), 140px) 20px;
  }
  footer .footer .logo {
    flex-wrap: wrap;
  }
  footer .footer .copyright {
    flex-wrap: wrap;
    gap: 4px 8px;
    line-height: 1.6;
  }
  footer .footer .copyright p {
    flex-wrap: wrap;
    margin-left: 0;
  }
}

/* ===== 页面滚动渐入动效 ===== */
.scroll-reveal-enabled .scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  filter: blur(4px);
  transition: opacity 0.68s cubic-bezier(0.22, 0.75, 0.25, 1),
    transform 0.68s cubic-bezier(0.22, 0.75, 0.25, 1),
    filter 0.68s cubic-bezier(0.22, 0.75, 0.25, 1);
  will-change: opacity, transform, filter;
}
.scroll-reveal-enabled .scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

/* 首屏元素与成组卡片错峰出现，减少整屏同时进入的感觉。 */
.scroll-reveal-enabled .hero .hero-badge {
  transition-delay: 0s;
}
.scroll-reveal-enabled .hero h1 {
  transition-delay: 0.06s;
}
.scroll-reveal-enabled .hero .hero-sub {
  transition-delay: 0.12s;
}
.scroll-reveal-enabled .hero .hero-trust {
  transition-delay: 0.18s;
}
.scroll-reveal-enabled .hero .stats-bar {
  transition-delay: 0.12s;
}
.scroll-reveal-enabled .hero .vs {
  transition-delay: 0.18s;
}
.scroll-reveal-enabled .hero .hero-cta {
  transition-delay: 0.12s;
}
.scroll-reveal-enabled .feat-grid .feat-card:nth-child(2),
.scroll-reveal-enabled .steps-grid > .step-card:nth-child(2),
.scroll-reveal-enabled .faq-list > .faq-item:nth-child(2) {
  transition-delay: 0.08s;
}
.scroll-reveal-enabled .feat-grid .feat-card:nth-child(3),
.scroll-reveal-enabled .steps-grid > .step-card:nth-child(3),
.scroll-reveal-enabled .faq-list > .faq-item:nth-child(3) {
  transition-delay: 0.16s;
}
.scroll-reveal-enabled .feat-grid .feat-card:nth-child(4),
.scroll-reveal-enabled .faq-list > .faq-item:nth-child(4) {
  transition-delay: 0.24s;
}
.scroll-reveal-enabled .faq-list > .faq-item:nth-child(5) {
  transition-delay: 0.32s;
}
.scroll-reveal-enabled .client-track .client-card:nth-child(2) {
  transition-delay: 0.06s;
}
.scroll-reveal-enabled .client-track .client-card:nth-child(3) {
  transition-delay: 0.12s;
}

/* 保留已显示卡片原有的悬停抬升效果。 */
.scroll-reveal-enabled .feat-card.scroll-reveal.is-visible:hover {
  transform: translateY(-3px);
}
.scroll-reveal-enabled .client-card.scroll-reveal.is-visible:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-enabled .scroll-reveal,
  .scroll-reveal-enabled .scroll-reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
    will-change: auto;
  }
}
