/* 99客服 官网 — 与 Bootstrap 5 配合的局部样式 */

:root {
  --hero-bg: #c3deff;
}

html {
  /* 图2 类无衬线中文：Mac 用苹方，Windows 用微软雅黑，均为系统自带，可替代 MiSans */
  font-family:
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: inherit;
  background: var(--hero-bg);
  color: #1a2233;
}

/* 通用块标题：24px（1.5rem）/ 字重 500，可与组件类组合使用 */
.u-title-24 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
}

/* 与 u-title-24 同规格，用于指定设计稿类名场景 */
.title_24 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.35;
}

/* 全站 Bootstrap 内容区最大宽度（index.php 各区块均使用 .container） */
@media (min-width: 1200px) {
  .container {
    max-width: 1110px;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.brand-logo__img {
  display: block;
  height: 36px;
  width: auto;
}

.brand-logo:hover .brand-logo__img {
  opacity: 0.88;
}

.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(13, 110, 253, 0.08);
  color: inherit;
}

/* 横向顶栏从 xl(1200px) 起展开，避免 iPad(1024) 等宽度菜单挤叠换行 */
@media (min-width: 1200px) {
  .navbar .container {
    position: relative;
  }

  #navMain {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .navbar-nav--center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .navbar-nav--center .nav-link,
  .navbar-nav--center .nav-dropdown__toggle {
    white-space: nowrap;
  }
}

.navbar .nav-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: inherit;
  font-weight: 400;
}

.navbar .navbar-nav.ms-xl-auto .btn {
  height: 2.0625rem; /* 33px */
  font-size: 1rem; /* 16px */
  line-height: 1.3;
  padding-top: 0;
  padding-bottom: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown__toggle::after {
  display: none;
}

.nav-dropdown__caret {
  flex-shrink: 0;
  margin-top: 1px;
  transition: transform 0.18s ease;
}

.nav-dropdown__menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  color: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.nav-dropdown__item img,
.nav-dropdown__item svg {
  flex-shrink: 0;
  display: block;
  opacity: 0.85;
}

.nav-dropdown__item:hover {
  background: rgba(13, 110, 253, 0.06);
}

@media (min-width: 1200px) {
  .nav-dropdown:hover .nav-dropdown__caret,
  .nav-dropdown:focus-within .nav-dropdown__caret {
    transform: rotate(180deg);
  }

  .nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    min-width: 11.5rem;
    padding: 0.4rem 0;
    border: 1px solid rgba(26, 34, 51, 0.08);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(26, 34, 51, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
    z-index: 1050;
  }

  .nav-dropdown__menu::before {
    content: "";
    position: absolute;
    top: -0.5rem;
    left: 0;
    width: 100%;
    height: 0.5rem;
  }

  .nav-dropdown:hover .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}

@media (max-width: 1199.98px) {
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__toggle {
    width: 100%;
    justify-content: space-between;
    padding-right: 0.5rem;
  }

  .nav-dropdown__menu {
    padding: 0 0 0.35rem 0.75rem;
  }

  .nav-dropdown__item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 8px;
  }
}

.hero-section {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.hero-title {
  font-size: clamp(1.65rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.35;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.38rem 0.95rem 0.38rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: #198754;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(25, 135, 84, 0.32);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(25, 135, 84, 0.1);
}

.hero-badge__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  background-color: #198754;
  mask: url("/img/wf-medal.svg") no-repeat center / contain;
  -webkit-mask: url("/img/wf-medal.svg") no-repeat center / contain;
}

.hero-badge__sep {
  font-weight: 400;
  opacity: 0.55;
}

.hero-lead {
  font-size: 1.13rem;
  line-height: 1.8;
}

.hero-section__col--copy .hero-lead {
  color: #3a4659;
}

.hero-section__col--copy .btn {
  font-size: 1rem;
}

/* 首页 hero：大屏 60% / 40%；小于 992px 与平板竖屏为上下堆叠，阅读与触控更稳 */
@media (min-width: 992px) {
  .hero-section {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }

  .hero-section .hero-section__col--copy {
    flex: 0 0 60%;
    max-width: 60%;
    min-width: 0;
  }

  .hero-section .hero-section__col--visual {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
  }
}

/* 首页 hero 下方：五图叠放 — 中央最大、向内递减、垂直居中 */
.hero-showcase {
  --showcase-h-outer: clamp(220px, 24vw, 300px);
  --showcase-h-inner: clamp(288px, 32vw, 420px);
  --showcase-w-center: clamp(340px, 54vw, 680px);
  --showcase-t-center: 0.1s;
  --showcase-t-gap: 0.2s;
  --showcase-t-inner: 0.1s;
  --showcase-t-outer: 0.1s;
  --showcase-delay-inner: calc(var(--showcase-t-center) + var(--showcase-t-gap));
  --showcase-delay-outer: calc(var(--showcase-delay-inner) + var(--showcase-t-inner));
  --showcase-slide-offset: clamp(1rem, 3vw, 1.75rem);
  padding: 0.5rem 0 3rem;
  overflow-x: visible;
}

@media (min-width: 992px) {
  .hero-showcase {
    padding-bottom: 3.75rem;
  }
}

.hero-showcase .container {
  max-width: 1320px;
  overflow: visible;
}

.hero-showcase__fan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 0.25rem 0;
}

.hero-showcase__card {
  display: block;
  flex-shrink: 0;
  width: auto;
  height: auto;
  position: relative;
  border-radius: 16px;
}

/* 最外侧：最小 */
.hero-showcase__card--outer {
  height: var(--showcase-h-outer);
  z-index: 1;
}

/* 靠中央两侧：中等 */
.hero-showcase__card--inner {
  height: var(--showcase-h-inner);
  z-index: 2;
}

/* 中央：最大 */
.hero-showcase__card--center {
  width: var(--showcase-w-center);
  z-index: 5;
  border-radius: 14px;
  box-shadow:
    0 16px 40px rgba(26, 34, 51, 0.16),
    0 4px 14px rgba(26, 34, 51, 0.08);
}

/* 叠压减轻，两侧四图尽量完整露出 */
.hero-showcase__card--pos-2 {
  margin-left: clamp(-1.5rem, -3vw, -1rem);
}

.hero-showcase__card--pos-3 {
  margin-left: clamp(-3.25rem, -5.5vw, -2.5rem);
}

.hero-showcase__card--pos-4 {
  margin-left: clamp(-3.25rem, -5.5vw, -2.5rem);
}

.hero-showcase__card--pos-5 {
  margin-left: clamp(-1.5rem, -3vw, -1rem);
}

/* 五图入场：中央 → 停 0.5s → 内侧左右滑入 → 外侧左右滑入 */
@keyframes hero-showcase-center-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes hero-showcase-slide-from-right {
  from {
    opacity: 0;
    transform: translateX(var(--showcase-slide-offset));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-showcase-slide-from-left {
  from {
    opacity: 0;
    transform: translateX(calc(-1 * var(--showcase-slide-offset)));
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-showcase__card--center {
  opacity: 0;
  animation: hero-showcase-center-in var(--showcase-t-center) ease-out forwards;
}

.hero-showcase__card--pos-1,
.hero-showcase__card--pos-2,
.hero-showcase__card--pos-4,
.hero-showcase__card--pos-5 {
  opacity: 0;
  box-shadow: none;
  transition: box-shadow 0.5s ease;
}

.hero-showcase__card--pos-2 {
  animation: hero-showcase-slide-from-right var(--showcase-t-inner) ease-out var(--showcase-delay-inner) forwards;
}

.hero-showcase__card--pos-4 {
  animation: hero-showcase-slide-from-left var(--showcase-t-inner) ease-out var(--showcase-delay-inner) forwards;
}

.hero-showcase__card--pos-1 {
  animation: hero-showcase-slide-from-right var(--showcase-t-outer) ease-out var(--showcase-delay-outer) forwards;
}

.hero-showcase__card--pos-5 {
  animation: hero-showcase-slide-from-left var(--showcase-t-outer) ease-out var(--showcase-delay-outer) forwards;
}

.hero-showcase--sides-shadow .hero-showcase__card--pos-1,
.hero-showcase--sides-shadow .hero-showcase__card--pos-2,
.hero-showcase--sides-shadow .hero-showcase__card--pos-4,
.hero-showcase--sides-shadow .hero-showcase__card--pos-5 {
  box-shadow:
    0 10px 28px rgba(26, 34, 51, 0.12),
    0 2px 8px rgba(26, 34, 51, 0.06);
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase__card--center {
    opacity: 1;
    animation: none;
  }

  .hero-showcase__card--pos-1,
  .hero-showcase__card--pos-2,
  .hero-showcase__card--pos-4,
  .hero-showcase__card--pos-5 {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-showcase--sides-shadow .hero-showcase__card--pos-1,
  .hero-showcase--sides-shadow .hero-showcase__card--pos-2,
  .hero-showcase--sides-shadow .hero-showcase__card--pos-4,
  .hero-showcase--sides-shadow .hero-showcase__card--pos-5 {
    transition: box-shadow 0.35s ease;
  }
}

@media (max-width: 991.98px) {
  .hero-showcase {
    --showcase-h-outer: clamp(160px, 26vw, 216px);
    --showcase-h-inner: clamp(208px, 34vw, 288px);
    --showcase-w-center: clamp(252px, 60vw, 400px);
    padding-bottom: 2.25rem;
    overflow-x: clip;
  }

  .hero-showcase__fan {
    padding: 0 0.75rem;
  }

  .hero-showcase__card--pos-2 {
    margin-left: -0.875rem;
  }

  .hero-showcase__card--pos-3 {
    margin-left: -2rem;
  }

  .hero-showcase__card--pos-4 {
    margin-left: -2rem;
  }

  .hero-showcase__card--pos-5 {
    margin-left: -0.875rem;
  }
}

@media (max-width: 575.98px) {
  .hero-showcase {
    --showcase-h-outer: 148px;
    --showcase-h-inner: 188px;
    --showcase-w-center: min(74vw, 288px);
  }

  .hero-showcase__fan {
    transform: scale(0.96);
    transform-origin: center center;
  }

  .hero-showcase__card--pos-2,
  .hero-showcase__card--pos-5 {
    margin-left: -0.625rem;
  }

  .hero-showcase__card--pos-3,
  .hero-showcase__card--pos-4 {
    margin-left: -1.375rem;
  }
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

/* 第二屏：三列 — 插图无包裹、按比例缩放 */
.block-reasons {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .block-reasons {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1200px) {
  .block-reasons {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

.block-reasons__row {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.block-advantage__title,
.block-reasons__title,
.block-features__page-title {
  font-size: clamp(1.375rem, 3.6vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  max-width: 46rem;
  letter-spacing: -0.01em;
}

.block-reasons__title,
.block-features__page-title {
  margin: 0 auto 80px;
}

.block-advantage__title {
  margin: 0 auto 1.75rem;
}

/* 首页：移动端展示分区大标题，收紧各 section 上下间距 */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: clamp(2.125rem, 9vw, 2.5rem);
    line-height: 1.25;
  }

  .block-advantage {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .block-advantage__title,
  .block-reasons__title,
  .block-features__page-title {
    display: block;
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 8vw, 2.375rem);
    line-height: 1.2;
  }

  .block-reasons {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }

  .block-features-group {
    padding-top: 2.25rem;
  }

  .block-features {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .block-features-group > section.block-features + section.block-features {
    padding-top: 1.5rem;
  }

  .block-more {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .block-tutorials {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .list-item-left-title {
    font-size: 1.375rem;
    margin-bottom: 1rem;
  }
}

.block-reasons__item {
  height: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.125rem 1.125rem 1.25rem;
  border: 1px solid rgba(26, 34, 51, 0.12);
  border-radius: 12px;
}

.block-reasons__row > .col-lg-4:nth-child(1) .block-reasons__item {
  background-color: #e3f9f9;
}

.block-reasons__row > .col-lg-4:nth-child(2) .block-reasons__item {
  background-color: #dbedfc;
}

.block-reasons__row > .col-lg-4:nth-child(3) .block-reasons__item {
  background-color: #fef1d9;
}

@media (min-width: 992px) {
  .block-reasons__item {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.block-reasons__item > img {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 0;
  border-radius: 10px;
}

.block-reasons__item-title {
  margin: 0 0 10px;
  text-align: center;
}

.block-reasons__body {
  margin: 0;
}

.block-reasons__line {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  text-align: left;
}

.block-reasons__line::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.42em;
  border-radius: 50%;
}

.block-reasons__row > .col-lg-4:nth-child(1) .block-reasons__line::before {
  background-color: #1fc8ad;
}

.block-reasons__row > .col-lg-4:nth-child(2) .block-reasons__line::before {
  background-color: #50a6fc;
}

.block-reasons__row > .col-lg-4:nth-child(3) .block-reasons__line::before {
  background-color: #fecf49;
}

.block-reasons__line + .block-reasons__line {
  margin-top: 0.55rem;
}

/* 核心优势（首页 hero 下方；定价页不再包含该区块） */
.block-advantage {
  background: #ffffff;
  padding-top: 4rem;
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .block-advantage {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

.block-advantage__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2rem;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .block-advantage__inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 2.5rem;
  }
}

.block-advantage__visual {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 650px;
  height: auto;
  flex: none;
  align-self: center;
  border-radius: 12px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .block-advantage__visual {
    width: 650px;
    flex: 0 1 650px;
  }
}

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

@media (min-width: 992px) {
  .block-advantage__inner .advantage-list {
    flex: 1 1 0;
    min-width: 0;
    max-width: min(720px, 52%);
  }
}

.advantage-list__item + .advantage-list__item {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(74, 126, 184, 0.18);
}

.advantage-list__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.advantage-list__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.advantage-list__icon svg {
  display: block;
}

.advantage-list__desc {
  margin: 0;
  padding-top: 0.5rem;
  padding-left: calc(44px + 0.65rem);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
}

/* 定价页 · 常见问题（无配图，同首页抽屉样式） */
.block-faq {
  background: #fff;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
  border-top: 1px solid rgba(26, 34, 51, 0.08);
}

@media (min-width: 992px) {
  .block-faq {
    padding-top: 3rem;
    padding-bottom: 3.75rem;
  }
}

.block-faq h2.block-features__page-title {
  margin-bottom: 1.75rem;
}

.block-faq__inner {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

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

.faq-static__item + .faq-static__item {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(26, 34, 51, 0.12);
}

.faq-static__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.faq-static__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d6efd;
  box-shadow: 0 0 0 4px #fff;
}

.faq-static__icon svg {
  display: block;
  flex-shrink: 0;
}

.faq-static__body {
  margin: 0;
  padding-top: 0.5rem;
  padding-left: calc(24px + 0.65rem);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
}

/* 「核心功能与亮点」：总标题与下方三个 block-features 同级成组 */
.block-features-group {
  background: #fff;
  padding-top: 3.25rem;
}

@media (min-width: 992px) {
  .block-features-group {
    padding-top: 4.5rem;
  }
}

.block-features-group > section.block-features:first-of-type {
  padding-top: 0;
}

/* 第三屏：核心功能 — 左折叠 + 右配图（hover / 点击切换） */
.block-features {
  background: #fff;
  padding-top: 3.25rem;
  padding-bottom: 3.75rem;
}

@media (min-width: 992px) {
  .block-features {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
  }
}

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

.feature-item {
  margin: 0;
  padding: 0;
}

.list-wrap {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 992px) {
  .list-wrap {
    grid-template-columns: minmax(0, 42%) minmax(0, 58%);
    gap: 2.5rem 3rem;
    align-items: start;
  }

  /* 左配图、右折叠（仅 #rag-knowledge 等使用） */
  .list-wrap--figure-first {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  }
}

.list-item-left {
  min-width: 0;
}

.list-item-left-title {
  margin: 0 0 1.6rem;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.vm-collapse-inner {
  margin: 0;
  padding: 0;
}

.vm-collapse-item {
  margin: 0;
  overflow: hidden;
}

.vm-collapse-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  background: #fff;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.vm-collapse-item__header:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.collapse-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.collapse-header-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.collapse-header-icon svg {
  display: block;
}

.vm-collapse-item__header__icon {
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  align-self: center;
  transform: rotate(-90deg);
  transition: transform 0.38s ease, opacity 0.38s ease;
  opacity: 0.35;
}

.vm-collapse-item.is-active .vm-collapse-item__header__icon {
  transform: rotate(0deg);
  opacity: 1;
}

.vm-collapse-item__wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
  overflow: hidden;
  min-height: 0;
}

@supports (overflow: clip) {
  .vm-collapse-item__wrap {
    overflow: clip;
  }
}

.vm-collapse-item.is-active .vm-collapse-item__wrap {
  grid-template-rows: 1fr;
}

.vm-collapse-item__wrap > .vm-collapse-item__content {
  min-height: 0;
  overflow: hidden;
}

.vm-collapse-item__content {
  padding-left: 3.25rem;
  padding-right: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.vm-collapse-item.is-active .vm-collapse-item__content {
  padding-bottom: 0.625rem;
}

.vm-collapse-item__content .desc {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.vm-collapse-item__content .desc + .desc {
  margin-top: 6px;
}

.line {
  display: block;
  width: 100%;
  height: 0;
  margin: 6px 0;
  border: 0;
  border-bottom: 1px solid rgba(26, 34, 51, 0.2);
  background: transparent;
}

.list-wrap > img {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  align-self: start;
  justify-self: center;
  border-radius: 12px;
}

/* 功能区块抽屉配图：固定展示宽度，切换 data-img 时保持一致 */
.list-wrap > img.feature-preview-img {
  width: 650px;
  max-width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity 0.36s ease-out;
}

.list-wrap > img.feature-preview-img.feature-preview-img--hold-hidden {
  opacity: 0;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .vm-collapse-item__wrap {
    transition: none;
  }

  .vm-collapse-item__header__icon {
    transition: none;
  }

  .list-wrap > img.feature-preview-img {
    transition: none;
  }

  .list-wrap > img.feature-preview-img.feature-preview-img--hold-hidden {
    opacity: 1;
  }
}

/* 更多功能：三列卡片（配图无额外套层，仅圆角与自适应） */
.block-more {
  background: #fff;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .block-more {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }
}

.block-more__row {
  max-width: 1110px;
  margin-left: auto;
  margin-right: auto;
}

.block-more__card {
  height: 100%;
  margin: 0;
  padding: 1.125rem 1.125rem 1.25rem;
  border: 1px solid rgba(26, 34, 51, 0.12);
  border-radius: 12px;
  background: #fff;
}

.block-more__img {
  display: block;
  min-width: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  margin: 0 0 1rem;
  border-radius: 10px;
}

.block-more__card-title {
  margin: 0 0 0.5rem;
}

.block-more__card-desc {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.55;
}

/* 首页：最新教程 */
.block-tutorials {
  background: #fff;
  padding-top: 2.25rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .block-tutorials {
    padding-top: 5rem;
    padding-bottom: 4rem;
  }
}

.block-tutorials__panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 0.25rem 0;
  border: 1px solid rgba(26, 34, 51, 0.12);
  border-radius: 12px;
  background: #fff;
}

.block-tutorials__item + .block-tutorials__item {
  border-top: 1px solid rgba(26, 34, 51, 0.08);
}

.block-tutorials__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 1rem 1.25rem;
  color: #1a2233;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.block-tutorials__link:hover {
  background-color: rgba(32, 199, 175, 0.06);
  color: var(--bs-primary);
}

.block-tutorials__title {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.block-tutorials__meta {
  flex-shrink: 0;
  font-size: 0.8125rem;
  color: #6c757d;
  white-space: nowrap;
}

.block-tutorials__link:hover .block-tutorials__meta {
  color: inherit;
  opacity: 0.85;
}

.block-tutorials__more {
  margin-top: 1.75rem;
}

@media (max-width: 575.98px) {
  .block-tutorials__link {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 页脚 */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
}

.site-footer__inner {
  padding-top: 2.75rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 575.98px) {
  .site-footer .site-footer__inner.container {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
  }

  /* 整块在屏内居中，列内标题与列表左对齐 */
  .site-footer__cols {
    justify-content: center;
  }

  .site-footer__cols > .col {
    flex: 0 1 auto;
    width: min(100%, 21rem);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .site-footer__brand {
    max-width: 100%;
  }

  .site-footer__qr {
    column-gap: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 992px) {
  .site-footer__inner {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__brand {
  max-width: 16rem;
}

.site-footer__logo {
  display: block;
  height: auto;
  max-width: 140px;
  width: auto;
}

.site-footer__heading {
  margin: 0 0 0.875rem;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.site-footer__list > li {
  font-size: 14px;
  font-weight: 400;
}

.site-footer__list li + li {
  margin-top: 0.5rem;
}

.site-footer__icon-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  vertical-align: top;
}

.site-footer__icon-link img {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.2em;
  object-fit: contain;
}

.site-footer__qr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  row-gap: 2rem;
  column-gap: 4rem;
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 576px) {
  .site-footer__qr {
    column-gap: 240px;
  }
}

.site-footer__qr-item {
  text-align: center;
  flex: 0 0 auto;
}

.site-footer__qr-img {
  display: block;
  width: 120px;
  height: 120px;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.site-footer__qr-caption {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__legal {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.site-footer__legal-line {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__legal-line a {
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__legal-line a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* 价格页：整页白底，首屏无蓝色 */
body.page-pricing {
  background: #fff;
}

body.page-pricing .hero-section {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 992px) {
  body.page-pricing .hero-section {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
}

body.page-pricing .hero-section .hero-lead {
  max-width: 36rem;
}

.block-pricing {
  background: #fff;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .block-pricing {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }
}

.block-pricing__row {
  --bs-gutter-x: 1.75rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .block-pricing__row {
    --bs-gutter-x: 2.5rem;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 34, 51, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(26, 34, 51, 0.06);
}

.pricing-card__media {
  flex-shrink: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #e6f4ff;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  line-height: 0;
}

.pricing-card__media img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.pricing-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 1.5rem 1.625rem;
}

@media (min-width: 992px) {
  .pricing-card__body {
    padding: 0 1.75rem 1.75rem;
  }
}

.pricing-card--primary {
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 12px 36px rgba(13, 110, 253, 0.12);
}

.pricing-card--featured {
  border-color: rgba(25, 135, 84, 0.28);
  box-shadow: 0 12px 36px rgba(25, 135, 84, 0.12);
}

.pricing-card__badge {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 1rem;
  margin: 0;
  padding: 0.28rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.35);
}

.pricing-card__head {
  margin-bottom: 1.25rem;
  padding-top: 1.75rem;
  padding-bottom: 1.125rem;
  border-bottom: 1px solid rgba(26, 34, 51, 0.08);
}

@media (min-width: 992px) {
  .pricing-card__head {
    padding-top: 2rem;
  }
}

.pricing-card__title {
  margin: 0;
}

.pricing-card__list {
  flex: 1 1 auto;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  padding-left: 0;
  font-size: 1.0625rem; /* 17px @ 16px root */
}

.pricing-card__list li:last-child {
  margin-bottom: 0;
}

.pricing-card__list li::before {
  content: "\2713";
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #0dbaa0;
}

.pricing-card__list-item--muted::before {
  opacity: 0.45;
}

.pricing-card__list-item--highlight {
  font-weight: 600;
  color: #0dbaa0;
}

.pricing-card__price {
  margin-bottom: 1.25rem;
  padding-top: 0.25rem;
}

.pricing-card__foot {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(26, 34, 51, 0.08);
}

.pricing-card__foot .btn {
  margin-top: 1rem;
}

.pricing-card__price-old {
  display: block;
  margin: 0;
  font-size: 1.0625rem;
  text-decoration: line-through;
}

.pricing-card__price-now {
  margin: 0.35rem 0 0;
  font-size: 1.125rem;
}

.pricing-card__price-now:last-child {
  margin-bottom: 0;
}

.pricing-card__price-now strong {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pricing-card__price-unit {
  font-size: 0.95rem;
  font-weight: 500;
}

/* 预览页 */
body.page-preview {
  background: #fff;
}

body.page-preview .hero-section {
  padding-top: 2.75rem;
  padding-bottom: 2rem;
}

@media (min-width: 992px) {
  body.page-preview .hero-section {
    padding-top: 3.25rem;
    padding-bottom: 2.5rem;
  }
}

body.page-preview .hero-section .hero-lead {
  max-width: 40rem;
}

.block-preview {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .block-preview {
    padding-bottom: 5rem;
  }
}

.preview-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.5rem;
  border: 1px solid rgba(26, 34, 51, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(26, 34, 51, 0.08);
}

@media (min-width: 576px) {
  .preview-card {
    padding: 2rem 2.25rem 2.25rem;
  }
}

.preview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem;
  background: rgba(195, 222, 255, 0.35);
  border-radius: 12px;
}

.preview-tab {
  flex: 1 1 auto;
  min-width: 4.5rem;
  padding: 0.55rem 0.75rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.preview-tab:hover {
  color: #1a2233;
  background: rgba(255, 255, 255, 0.55);
}

.preview-tab--active {
  color: #0d6efd;
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 110, 253, 0.12);
}

.preview-demo {
  margin-bottom: 1.5rem;
  padding: 1.125rem 1.25rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(195, 222, 255, 0.45) 0%, rgba(232, 242, 252, 0.65) 100%);
  border: 1px solid rgba(13, 110, 253, 0.1);
}

.preview-demo__title {
  margin: 0 0 0.875rem;
  font-size: 1.05rem;
}

.preview-demo__value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.preview-demo__copy {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.preview-demo__copy:hover {
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.1);
}

.preview-demo__copy-icon,
.preview-demo__copy-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.preview-demo__copy-done {
  display: none;
}

.preview-demo__copy--done .preview-demo__copy-icon {
  display: none;
}

.preview-demo__copy--done .preview-demo__copy-done {
  display: inline-flex;
}

.preview-demo__copy--done,
.preview-demo__copy--done:hover {
  color: #0d6efd;
  background: transparent;
}

.preview-demo__copy--done:hover {
  background: rgba(13, 110, 253, 0.08);
}

.preview-demo__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.25rem;
  margin: 0;
}

.preview-demo__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preview-demo__field dt {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
}

.preview-demo__field dd {
  margin: 0;
}

.preview-demo__field code {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0d6efd;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.preview-panels {
  position: relative;
  min-height: 18rem;
}

@media (min-width: 576px) {
  .preview-panels {
    min-height: 18rem;
  }
}

.preview-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.preview-panel--active {
  position: absolute;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.preview-panel__desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.preview-action {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.95rem 1.125rem;
  border: 1px solid rgba(26, 34, 51, 0.1);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.preview-action:hover {
  border-color: rgba(13, 110, 253, 0.28);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.1);
  color: inherit;
  transform: translateY(-1px);
}

.preview-action--primary {
  border-color: rgba(13, 110, 253, 0.22);
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.06) 0%, rgba(195, 222, 255, 0.25) 100%);
}

.preview-action__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: rgba(195, 222, 255, 0.5);
  color: #0d6efd;
}

.preview-action__icon--visitor {
  background: rgba(13, 148, 136, 0.12);
  color: #0d9488;
}

.preview-action__icon--kefu {
  background: rgba(13, 110, 253, 0.12);
}

.preview-action__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.preview-action__body strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1a2233;
}

.preview-action__body small {
  font-size: 0.8125rem;
}

.preview-action__arrow {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: #94a3b8;
  transition: transform 0.18s ease;
}

.preview-action:hover .preview-action__arrow {
  transform: translateX(2px);
  color: #0d6efd;
}

.preview-qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.preview-qr-grid--single {
  grid-template-columns: 1fr;
  max-width: 220px;
  margin: 0 auto;
}

.preview-qr {
  margin: 0;
  text-align: center;
}

.preview-qr img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  border: 1px solid rgba(26, 34, 51, 0.08);
  box-shadow: 0 4px 16px rgba(26, 34, 51, 0.06);
}

.preview-qr figcaption {
  margin-top: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
}

@media (max-width: 479px) {
  .preview-tabs {
    gap: 0.25rem;
  }

  .preview-tab {
    flex: 1 1 calc(33.333% - 0.25rem);
    min-width: 0;
    padding: 0.5rem 0.35rem;
    font-size: 0.8125rem;
  }

  .preview-demo__fields {
    grid-template-columns: 1fr;
  }

  .preview-qr-grid {
    gap: 1rem;
  }

  .preview-qr img {
    max-width: 140px;
  }
}

/* 最近更新页 */
body.page-changelog {
  background: #fff;
}

body.page-changelog .hero-section {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 992px) {
  body.page-changelog .hero-section {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
}

body.page-changelog .hero-section .hero-lead {
  max-width: 34rem;
}

.block-changelog {
  background: #fff;
  padding-top: 0.35rem;
  padding-bottom: 4rem;
}

@media (min-width: 992px) {
  .block-changelog {
    padding-bottom: 5rem;
  }
}

.changelog-timeline-shell {
  position: relative;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.changelog-timeline__update-art {
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(7.5rem, 26vw, 13.75rem);
  height: auto;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 575.98px) {
  .changelog-timeline__update-art {
    display: none;
  }
}

.changelog-timeline {
  position: relative;
}

.changelog-timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: calc(0.35rem + 10px);
  bottom: calc(0.35rem + 10px);
  width: 0;
  border-left: 1px dashed rgba(26, 34, 51, 0.2);
  pointer-events: none;
}

.changelog-timeline__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem 1rem;
  padding-bottom: 1.75rem;
}

.changelog-timeline__item:last-child {
  padding-bottom: 0;
}

.changelog-timeline__mark {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #0d6efd;
  box-shadow: 0 0 0 4px #fff;
}

.changelog-timeline__check {
  display: block;
  flex-shrink: 0;
}

.changelog-timeline__card {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.changelog-timeline__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.changelog-timeline__title {
  margin: 0;
}

.changelog-timeline__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.changelog-timeline__text {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* 机器人客服页（与价格/更新页一致的白底首屏 + 图文分块） */
body.page-robot {
  background: #fff;
}

body.page-robot .hero-section {
  padding-top: 2.75rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 992px) {
  body.page-robot .hero-section {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }
}

body.page-robot .hero-section .hero-lead {
  max-width: 46rem;
}

.block-robot-split {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

@media (min-width: 992px) {
  .block-robot-split {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
}

.block-robot-split--alt {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.04) 0%, rgba(248, 250, 252, 0.95) 48%, #fff 100%);
}

.block-robot-split--last {
  padding-bottom: 3rem;
}

@media (min-width: 992px) {
  .block-robot-split--last {
    padding-bottom: 3.75rem;
  }
}

.block-robot-split__img {
  box-shadow: 0 12px 40px rgba(26, 34, 51, 0.08);
  border: 1px solid rgba(26, 34, 51, 0.06);
}

body.page-robot .block-robot-split .h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a2233;
}

body.page-robot .robot-cta-btn {
  font-size: 1rem;
}

.block-robot-cta-bar {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 992px) {
  .block-robot-cta-bar {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
}

/* Kefu article / tutorial pages */
body.page-kefu {
  background: #fff;
}

body.page-kefu .hero-section {
  background-color: #f4f6f9;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

@media (min-width: 992px) {
  body.page-kefu .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 1.25rem;
  }
}

/* 列表页 hero 下方内容区：仅收紧与 hero 衔接的上内边距 */
body.page-kefu .hero-section + main > section {
  padding-top: 1rem;
}

@media (min-width: 992px) {
  body.page-kefu .hero-section + main > section {
    padding-top: 1.25rem;
  }
}

@media (min-width: 992px) {
  body.page-kefu .container {
    max-width: 1200px;
  }
}

body.page-kefu main {
  background-color: #f4f6f9;
}

@media (min-width: 992px) {
  body.page-kefu .kefu-panel {
    padding: 1.5rem 2rem;
  }
}

body.page-kefu .kefu-panel {
  background: #fff;
  border: 1px solid rgba(26, 34, 51, 0.06);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}

body.page-kefu .kefu-article-body {
  line-height: 1.85;
  font-size: 1rem;
  color: #1a2233;
}

body.page-kefu .kefu-article-body h1,
body.page-kefu .kefu-article-body h2,
body.page-kefu .kefu-article-body h3 {
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

body.page-kefu .kefu-article-body h1 { font-size: 1.35rem; }
body.page-kefu .kefu-article-body h2 { font-size: 1.2rem; }
body.page-kefu .kefu-article-body h3 { font-size: 1.05rem; }

body.page-kefu .kefu-article-body img {
  max-width: 100%;
  height: auto;
}

body.page-kefu .kefu-article-body pre {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #f7f7f7;
  font-size: 0.875rem;
  overflow-x: auto;
}

body.page-kefu .kefu-article-body table {
  width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
}

body.page-kefu .kefu-article-body table th,
body.page-kefu .kefu-article-body table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid #dee2e6;
}

body.page-kefu .kefu-article-body table tr:nth-child(2n) {
  background-color: #f8f9fa;
}

body.page-kefu .kefu-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-size: 0.875rem;
  color: #6c757d;
}

body.page-kefu .kefu-article-meta a {
  color: var(--bs-primary);
  text-decoration: none;
}

body.page-kefu .kefu-article-meta a:hover {
  text-decoration: underline;
}

body.page-kefu .kefu-article-meta .kefu-delete-link {
  color: #dc3545;
}

body.page-kefu .kefu-article-meta .kefu-delete-link.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

body.page-kefu .kefu-list-item + .kefu-list-item {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

body.page-kefu .kefu-list-item .kefu-article-meta {
  margin-top: 0.5rem;
  padding-top: 0;
  border-top: none;
}

body.page-kefu .kefu-list-item__title {
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

body.page-kefu .kefu-list-item__title a {
  color: #1a2233;
  text-decoration: none;
}

body.page-kefu .kefu-list-item__title a:hover {
  color: var(--bs-primary);
}

body.page-kefu .kefu-list-item__excerpt {
  color: #495057;
  margin-bottom: 0;
  line-height: 1.65;
}

body.page-kefu .kefu-list-toolbar {
  border-color: #eee !important;
}

body.page-kefu .kefu-sidebar__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

body.page-kefu .kefu-sidebar__link {
  display: block;
  color: #1a2233;
  text-decoration: none;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

body.page-kefu .kefu-sidebar__link:hover {
  color: var(--bs-primary);
}

body.page-kefu .kefu-publish-form .form-control {
  margin-bottom: 0.75rem;
}

body.page-kefu .kefu-publish-form .btn-submit {
  margin-top: 0.5rem;
}

body.page-kefu .kefu-captcha-img {
  flex-shrink: 0;
  cursor: pointer;
  border-radius: 0.375rem;
  border: 1px solid #dee2e6;
  background: #fff;
}

/* 右侧快捷联系浮层 */
.site-dock {
  --site-dock-bg: #fff;
  --site-dock-fg: #1a2233;
  --site-dock-icon: var(--bs-primary, #0d6efd);
  --site-dock-shadow: 0 2px 16px rgba(26, 34, 51, 0.1), 0 1px 4px rgba(26, 34, 51, 0.06);
  --site-dock-shadow-hover: 0 4px 20px rgba(26, 34, 51, 0.14), 0 2px 6px rgba(26, 34, 51, 0.08);
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
  pointer-events: none;
}

.site-dock__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-dock__item {
  position: relative;
  pointer-events: auto;
}

.site-dock__trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 4.25rem;
  min-height: 4.5rem;
  padding: 0.65rem 0.4rem 0.55rem;
  background: var(--site-dock-bg);
  color: var(--site-dock-fg);
  text-decoration: none;
  border: none;
  border-radius: 6px;
  box-shadow: var(--site-dock-shadow);
  cursor: pointer;
  transition: box-shadow 0.15s ease;
  box-sizing: border-box;
  font: inherit;
}

a.site-dock__trigger:hover,
.site-dock__trigger:hover,
.site-dock__trigger:focus-visible {
  box-shadow: var(--site-dock-shadow-hover);
  color: var(--site-dock-fg);
  outline: none;
}

.site-dock__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: var(--site-dock-icon);
}

.site-dock__icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.site-dock__icon--lg svg {
  width: 32px;
  height: 32px;
}

.site-dock__icon--xl svg {
  width: 36px;
  height: 36px;
}

.site-dock__label {
  font-size: 0.6875rem;
  line-height: 1.2;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.site-dock__panel {
  position: absolute;
  right: calc(100% + 0.5rem);
  top: 50%;
  min-width: 8.5rem;
  padding: 1rem 1.15rem;
  background: var(--site-dock-bg);
  color: var(--site-dock-fg);
  border-radius: 6px;
  box-shadow: var(--site-dock-shadow);
  transform: translate(0, -50%);
  z-index: 1;
}

.site-dock__panel::after {
  content: "";
  position: absolute;
  right: -0.45rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0.45rem solid transparent;
  border-left-color: var(--site-dock-bg);
}

.site-dock__panel--phone {
  text-align: center;
  padding: 1.1rem 1.35rem;
}

.site-dock__phone-num {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.site-dock__phone-caption {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.88;
}

.site-dock__panel--wechat {
  text-align: center;
  padding: 1rem 1.15rem 0.85rem;
}

.site-dock__qr {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0 auto 0.65rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.site-dock__qr-caption {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}

@media (max-width: 575.98px) {
  body:has(.site-dock) {
    padding-bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
  }

  .site-dock {
    right: 0;
    left: 0;
    top: auto;
    bottom: 0;
    transform: none;
    pointer-events: auto;
  }

  .site-dock__list {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    width: 100%;
    background: var(--site-dock-bg);
    box-shadow: 0 -2px 16px rgba(26, 34, 51, 0.1), 0 -1px 4px rgba(26, 34, 51, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .site-dock__item {
    flex: 1;
    min-width: 0;
    display: flex;
  }

  .site-dock__item--preview {
    display: none;
  }

  .site-dock__item--phone {
    order: 1;
  }

  .site-dock__item--wechat {
    order: 2;
    border-left: 1px solid rgba(26, 34, 51, 0.1);
  }

  .site-dock__item--kefu {
    order: 3;
    border-left: 1px solid rgba(26, 34, 51, 0.1);
  }

  .site-dock__trigger {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 3.25rem;
    padding: 0.55rem 0.35rem;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  a.site-dock__trigger:hover,
  .site-dock__trigger:hover,
  .site-dock__trigger:focus-visible {
    box-shadow: none;
    background: rgba(13, 110, 253, 0.06);
  }

  .site-dock__icon {
    flex-shrink: 0;
  }

  .site-dock__icon svg,
  .site-dock__icon--lg svg,
  .site-dock__icon--xl svg {
    width: 22px;
    height: 22px;
  }

  .site-dock__label {
    font-size: 0.8125rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-dock__panel {
    right: auto;
    left: 50%;
    top: auto;
    bottom: calc(100% + 0.5rem);
    transform: translate(-50%, 0);
  }

  .site-dock__panel::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -0.45rem;
    transform: translateX(-50%);
    border-color: transparent;
    border-top-color: var(--site-dock-bg);
  }

  .site-dock__phone-num {
    font-size: 1.05rem;
  }

  .site-dock__qr {
    width: 6.5rem;
    height: 6.5rem;
  }
}
