
.vs-page {
  --vs-blue: #0659d5;
  --vs-blue-deep: #1c4ede;
  --vs-blue-bright: #20a3ff;
  --vs-title: #333;
  --vs-text: #333;
  --vs-line: #d9ecff;

  color: var(--vs-text);
  background: #fff;
  font-family: var(--font-normal);
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
}

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

.vs-page :where(h1, h2, h3) {
  margin-top: 0;
  color: var(--vs-title);
  font-family: var(--font-bold);
  font-weight: 700;
}

.vs-page :where(p) {
  margin-top: 0;
}
.vs-page img {
  display: block;
  max-width: 100%;
}
.vs-page :where(ul, ol) {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.vs-title {
  margin: 0 0 40px;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: 2px;
  text-align: center;
}


/* 首屏 banner：宽度始终 100vw，锁定 1920 × 652 设计比例，整段等比缩放 */
.vs-hero {
  position: relative;
  overflow: hidden;
  background: #eef6ff;
  width: 100%;
  container-type: inline-size;
  min-height: calc(100vw * 652 / 1920);
  height: auto;
}

.vs-hero > * {
  --cqw-length: 100cqw; /* 先按容器宽度解析成 px 再进 atan2，避免部分浏览器跨单位返回 0 */
  --hero-scale: tan(atan2(var(--cqw-length), 1920px)); /* hero 实际宽度 / 1920 */
  zoom: var(--hero-scale);
}

.vs-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.vs-hero-inner {
  position: relative;
  width: 1076px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 118px;
}

.vs-hero h1 {
  margin: 0;
  color: #000;
  font-size: 62px;
  line-height: 74px;
  letter-spacing: -0.5px;
}

.vs-page .vs-hero-desc {
  margin: 39px 0 0;
  color: #333;
  font-size: 26px;
  line-height: 37px;
}

.vs-page .vs-hero-tags {
  display: flex;
  margin-top: 25px;
  gap: 8px;
}

.vs-hero-tags li {
  display: inline-flex;
  height: 51px;
  align-items: center;
  padding: 0 26px;
  color: #333;
  font-size: 25px;
  letter-spacing: 1px;
  line-height: 1;
  border: 1px solid #527ba8;
  border-radius: 10px;
}

.vs-hero-btn {
  display: inline-flex;
  width: 214px;
  height: 55px;
  align-items: center;
  justify-content: center;
  margin-top: 62px;
  color: #fff;
  font-family: var(--font-medium);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(
    90deg,
    var(--vs-blue-deep) 0%,
    var(--vs-blue-bright) 100%
  );
  border-radius: 8px;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.vs-hero-btn:hover {
  box-shadow: 0 10px 24px rgba(28, 78, 222, 0.28);
  transform: translateY(-1px);
}


.vs-intro {
  padding: 47px 0 83px;
}

.vs-intro .vs-title {
  margin-bottom: 21px;
}

.vs-split {
  display: grid;
  grid-template-columns: 494px minmax(0, 1fr);
  align-items: start;
}

.vs-split-media {
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding-right: 110px;
}

.vs-split-media img {
  width: 256px;
  height: 256px;
}

.vs-split-copy {
  max-width: 600px;
  padding-top: 36px;
  margin: 0;
  font-size: 20px;
  line-height: 32px;
}


.vs-consult {
  display: flex;
  width: max-content;
  max-width: 100%;
  height: 52px;
  align-items: center;
  margin: 45px auto 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #94bbf7;
  border-radius: 13px;
}

.vs-consult-label {
  padding: 0 0 0 27px;
  color: #333;
  font-family: var(--font-regular);
  font-size: 20px;
  line-height: 1;
  white-space: nowrap;
}

.vs-consult-phone {
  padding-right: 31px;
  color: #111827;
  font-family: var(--font-bold);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  text-decoration: none;
  white-space: nowrap;
}

.vs-consult-ask {
  padding: 0 30px 0 25px;
  color: #333;
  font-family: var(--font-regular);
  font-size: 20px;
  letter-spacing: 4px;
  line-height: 1;
  white-space: nowrap;
}

.vs-consult-btn {
  display: flex;
  width: 205px;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-medium);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  background: linear-gradient(
    90deg,
    var(--vs-blue-deep) 0%,
    var(--vs-blue-bright) 100%
  );
  transition: filter 0.2s ease;
}

.vs-consult-btn:hover {
  filter: brightness(1.06);
}

.vs-intro .vs-consult {
  margin-top: 27px;
}


.vs-content {
  padding-bottom: 46px;
}

.vs-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 1022px;
  max-width: 100%;
  margin: 0 auto;
  gap: 37px;
}

.vs-content-card {
  height: 254px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 8px;
  box-shadow: var(--common-box-shadow);
}

.vs-card-head {
  display: flex;
  height: 57px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  margin: 0;
  color: #fff;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1;
  text-align: center;
  background: var(--vs-blue);
}

.vs-content-body {
  position: relative;
  padding: 15px 0 0 30px;
}

.vs-content-body p {
  max-width: 320px;
  margin: 0;
  font-size: 20px;
  line-height: 24px;
}

.vs-content-body img {
  position: absolute;
  top: 33px;
  right: 0;
  width: 118px;
  height: 118px;
}

.vs-content .vs-consult {
  margin-top: 45px;
}


.vs-scene {
  padding: 65px 0 61px;
  background: #f2f8ff url("../images/scene-bg.png") center top / cover no-repeat;
}

.vs-scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.vs-card {
  height: 340px;
  width: 387px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--vs-line);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(77, 143, 203, 0.09);
  box-shadow: var(--common-box-shadow);
}

.vs-card-body {
  padding: 20px 20px 0;
}

.vs-card-body p {
  margin: 0;
  font-size: 20px;
  line-height: 32px;
}

.vs-scene .vs-title {
  margin-bottom: 64px;
}

.vs-scene .vs-consult {
  margin-top: 59px;
}


.vs-flow {
  padding: 60px 0 113px;
}

.vs-flow .vs-title {
  margin-bottom: 50px;
}

.vs-flow-list {
  position: relative;
  width: 1114px;
  max-width: 100%;
  height: 328px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff url("../images/flow-panel.png") center bottom / 100% 100%
    no-repeat;
  border: 1px solid #e2eefb;
  border-radius: 10px;
  box-shadow: 0 24px 56px -46px rgba(31, 102, 229, 0.55);
}

.vs-flow-step {
  position: absolute;
  top: 47px;
  width: 220px;
  text-align: center;
  transform: translateX(-50%);
}

.vs-flow-step:nth-child(1) {
  left: 194px;
}
.vs-flow-step:nth-child(2) {
  left: 432px;
}
.vs-flow-step:nth-child(3) {
  left: 670px;
}
.vs-flow-step:nth-child(4) {
  left: 908px;
}

.vs-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 57px;
  left: calc(50% + 70px);
  width: calc(100% - 140px);
  height: 22px;
  margin-top: -11px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='22' viewBox='0 0 160 22' preserveAspectRatio='none'%3E%3Cpath d='M0 11h126' stroke='%232f6fef' stroke-width='7'/%3E%3Cpath d='M124 1l28 10-28 10z' fill='%232f6fef'/%3E%3C/svg%3E")
    center / 100% 22px no-repeat;
  pointer-events: none;
}

.vs-flow-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 115px;
  height: 115px;
  border: 4px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(205deg, #1a5ed2 10%, #d6e6fb 92%) border-box;
  font-family: var(--font-bold);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 1px;
  color: #1a56c4;
  margin: 0 auto;
}

.vs-flow-name {
  margin: 13px 0 0;
  font-size: 32px;
  line-height: 42px;
}

.vs-flow-desc {
  margin: 15px 0 0;
  font-size: 18px;
  line-height: 24px;
}


.vs-advantage {
  padding: 59px 0 46px;
  background: #fff url("../images/advantage-bg.png") center top / 100% 284px
    no-repeat;
}

.vs-advantage-title {
  margin: 0 0 31px;
  color: #fff;
  font-size: 36px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  text-align: center;
}

.vs-advantage-panel {
  position: relative;
  padding: 63px 75px 49px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(28, 78, 222, 0.12);
}

.vs-advantage-badge {
  position: absolute;
  top: -41px;
  right: 25px;
  width: 109px;
  height: 123px;
  z-index: 3;
}

.vs-advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px 63px;
}

.vs-advantage-card {
  position: relative;
  height: 175px;
  width: 310px;
  overflow: hidden;
  border-radius: 11px;
  background: #0659d5;
  box-shadow: var(--common-box-shadow);

}
.vs-advantage-card-content {
  padding: 12px 24px 0;
  background: #fff;
  height: 169px;
  border-radius: 11px;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

.vs-advantage-icon {
  width: 38px;
  height: 38px;
}

.vs-advantage-card h3 {
  margin: 6px 0 0;
  font-size: 32px;
  letter-spacing: 1.25px;
  line-height: 34px;
}

.vs-advantage-card p {
  margin: 8px 0 0;
  font-size: 20px;
  line-height: 24px;
}

.vs-advantage .vs-consult {
  margin-top: 30px;
}


@media (max-width: 1240px) {
  .vs-flow-list {
    display: flex;
    height: auto;
    flex-wrap: wrap;
    padding: 40px 0 44px;
    background-size: cover;
    justify-content: space-around;
  }
  .vs-flow-step {
    position: static;
    width: 25%;
    transform: none;
  }
  .vs-flow-step::after {
    content: none;
  }

  .vs-advantage-grid {
    gap: 20px 24px;
  }
  .vs-advantage-panel {
    padding: 40px 32px 36px;
  }
}

@media (max-width: 1180px) {
  .vs-page {
    font-size: 18px;
    line-height: 30px;
  }

  .vs-title {
    font-size: 32px;
  }

  .vs-split {
    grid-template-columns: 340px minmax(0, 1fr);
  }

  .vs-split-media {
    padding-right: 52px;
  }

  .vs-split-media img {
    width: 210px;
    height: 210px;
  }

  .vs-split-copy {
    padding-top: 20px;
    font-size: 18px;
    line-height: 30px;
  }

  .vs-card-head {
    font-size: 25px;
  }

  .vs-content-body p,
  .vs-card-body p {
    font-size: 18px;
    line-height: 28px;
  }

  .vs-content-card,
  .vs-card {
    height: auto;
  }

  .vs-content-body {
    padding-bottom: 24px;
  }
  .vs-content-body img {
    position: static;
    margin: 18px 0 0 auto;
  }

  .vs-flow-num {
    width: 96px;
    height: 96px;
    font-size: 34px;
  }
  .vs-flow-name {
    font-size: 26px;
  }
  .vs-flow-desc {
    font-size: 16px;
  }

  .vs-advantage-title {
    font-size: 32px;
  }
}

@media (max-width: 980px) {
  .vs-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vs-split-media {
    justify-content: flex-start;
    padding-right: 0;
  }

  .vs-split-copy {
    padding-top: 0;
    max-width: none;
  }

  .vs-intro,
  .vs-scene,
  .vs-flow,
  .vs-advantage {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .vs-content {
    padding-bottom: 56px;
  }

  .vs-content-grid {
    grid-template-columns: 1fr;
  }

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

  .vs-advantage {
    background-size: 100% 220px;
  }

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

  .vs-flow-list {
    padding: 32px 0 36px;
  }
  .vs-flow-step {
    width: 50%;
    margin-bottom: 24px;
  }
}

@media (max-width: 760px) {
  .vs-title {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .vs-split-copy {
    font-size: 16px;
    line-height: 28px;
  }

  .vs-card-head {
    height: 52px;
    font-size: 20px;
  }

  .vs-scene-grid,
  .vs-advantage-grid {
    grid-template-columns: 1fr;
  }

  .vs-consult {
    height: auto;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 12px 0;
  }

  .vs-consult-ask {
    padding: 0 16px 6px;
    font-size: 16px;
    letter-spacing: normal;
  }

  .vs-consult-btn {
    width: 100%;
    height: 46px;
    font-size: 18px;
  }

  .vs-flow-num {
    width: 84px;
    height: 84px;
    font-size: 28px;
  }
  .vs-flow-name {
    font-size: 22px;
  }
  .vs-flow-step {
    width: 100%;
  }
  .vs-flow-list {
    gap: 0;
  }

  .vs-advantage-panel {
    padding: 32px 20px 28px;
  }

  .vs-advantage-badge {
    width: 76px;
    height: 86px;
    top: -42px;
    right: 6px;
  }

  .vs-advantage-card {
    height: auto;
    padding-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .vs-container {
    max-width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .vs-hero-btn {
    transition: none;
  }
}

/* 桌面/平板：首屏文案比例系数 = max(--hero-typo 断点档位, 首屏缩放比)。
   视口 ≤ 1920 时取断点档位（小屏字号比设计值略大，避免字太小）；
   > 1920（宽屏 / 浏览器缩小页面）时跟着首屏等比放大，滚轮缩放时比例保持不变。 */
@media (min-width: 1024px) {
    .vs-hero h1 {
        font-size: calc(62px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(74px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .vs-page .vs-hero-desc {
        font-size: calc(26px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
        line-height: calc(37px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .vs-hero-tags li {
        font-size: calc(25px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }

    .vs-hero-btn {
        font-size: calc(22px * max(var(--hero-typo), var(--hero-scale)) / var(--hero-scale));
    }
}
