/* 聚拢动效区域 */
.fusion-section {
  background: #f0efea;
  padding: 120px 0 80px;
}

.fusion-section__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.fusion-stage {
  position: relative;
  height: 520px; /* 画布高度 */
  overflow: hidden;
  border-radius: 24px;
}

.fusion-squares {
  position: absolute;
  inset: 0;
}

.icon {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  opacity: 0.9;
  object-fit: contain;
  /* background: rgba(255, 255, 255, 0.9); */
  padding: 6px;
  transition: transform 0.2s ease;
}

.icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

.fusion-mascot {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70%; /* 相对舞台宽度 */
  max-width: 700px;
  height: 400px;
  transform: translateX(-50%);
  background: #bea9f5;
  clip-path: ellipse(50% 100% at 50% 100%); /* 下半圆 */
  opacity: 0;
  will-change: opacity;
}

@media (max-width: 768px) {
  .fusion-section {
    padding: 60px 0 40px;
  }
  .fusion-section__container {
    padding: 0 40px;
  }
  .fusion-stage {
    height: 420px;
  }
  .fusion-mascot {
    max-width: 320px;
    height: 180px;
  }
  .square {
    width: 40px;
    height: 40px;
  }
}
.mascot-face {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translateX(-50%);
  display: flex;
  gap: 80px;
}
.eye {
  width: 84px;
  height: 108px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eye::after {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000;
}

@media (max-width: 768px) {
  .fusion-stage {
    height: 420px;
  }
  .fusion-mascot {
    width: 320px;
    height: 180px;
  }
  .eye {
    width: 64px;
    height: 86px;
  }
  .eye::after {
    width: 28px;
    height: 28px;
  }
}
/* 重置和基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #171412;
  background-color: #f5f4ef;
}

/* 导航栏样式 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #f5f4ef;
  border-bottom: 1px solid #eceae9;
  z-index: 1000;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1920px;
  padding: 0 80px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}

.navbar__logo-img {
  width: 80px;
  height: 44px;
}

.navbar__logo-text {
  font-family: "DM Sans", sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #bea9f5;
}

/* 主要内容样式 */
.main-content {
  margin-top: 84px;
}

/* 英雄区域样式 */
.hero-section {
  padding: 80px 0;
  text-align: center;
  background-color: #f5f4ef;
}

.hero-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

.hero-section__badge {
  margin-bottom: 40px;
}

.product-hunt-badge {
  display: inline-block;
}

.product-hunt-badge__img {
  height: 44px;
  width: auto;
}

.hero-section__title {
  font-size: 108px;
  font-weight: 500;
  line-height: 108px;
  margin: 80px 0 60px 0;
  color: #171412;
}

.hero-section__title-text {
  font-family: "Fraunces", serif;
}

.hero-section__subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  color: #57534e;
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-section__buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 60px;
}

/* 按钮样式 */
.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn--primary {
  background-color: #bea9f5;
  color: white;
  border: 1px solid #bea9f5;
}

.btn--primary:hover {
  background-color: #b09be6;
  transform: translateY(-2px);
}

.btn--secondary {
  background-color: white;
  color: #57534e;
  border: 1px solid #d7d3d0;
}

.btn--secondary:hover {
  background-color: #f5f4ef;
  transform: translateY(-2px);
}

.btn--outline {
  background-color: transparent;
  color: #b09be6;
  border: 1px solid #bea9f5;
}

.btn--outline:hover {
  background-color: #bea9f5;
  color: white;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  background-color: inherit;
}

.btn__text {
  font-family: "DM Sans", sans-serif;
}

.btn__icon {
  width: 16px;
  height: 16px;
}

/* Pine动画展示 */
.hero-section__animation {
  margin-top: 100px;
}

.chat-demo {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.chat-demo__viewport {
  width: 100%;
  max-width: 980px;
  height: 320px;
  background: linear-gradient(180deg, #eef0ff 0%, #ffffff 60%);
  border: 1px solid #eceae9;
  border-radius: 20px;
  overflow: hidden; /* 不允许滚动 */
  position: relative;
  pointer-events: none; /* 屏蔽交互 */
}

.chat-demo__messages {
  list-style: none;
  padding: 50px 32px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 60px;
  height: 100%;
  overflow: visible;
  /* 关键：添加平滑过渡效果 */
  /* transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
  will-change: transform;
}

/* 聊天项基础样式 */
.chat-item {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 初始隐藏状态 */
.chat-item--hidden {
  opacity: 0;
  transform: translateY(30px);
}

/* 进入动画 */
.chat-item--enter {
  animation: smoothSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 退出动画 */
.chat-item--exit {
  animation: smoothFadeOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

/* 循环结束时的淡出 */
.chat-item--fade-out {
  animation: fadeOut 0.4s ease-out forwards;
}

.chat-bubble {
  display: inline-flex;
  max-width: 72%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 24px;
  color: #171412;
  background: #ffffff;
  border: 1px solid #eceae9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  align-self: flex-end;
  /* 添加过渡效果 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chat-bubble--user {
  background: #ffffff;
}

.chat-bubble--ai {
  background: #f5f4ef;
  border-color: #e7e4df;
}

.chat-row {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  min-height: 44px;
  flex-shrink: 0; /* 防止压缩 */
}

.chat-row--user {
  justify-content: flex-start;
}
.chat-row--ai {
  justify-content: flex-end;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #bea9f5;
  flex: 0 0 36px;
  /* 添加微动画 */
  transition: transform 0.3s ease;
}

.chat-avatar--user {
  background: #a3e1c4;
}
.chat-avatar--ai {
  background: #bea9f5;
}

/* 动画定义 */
@keyframes smoothSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes smoothFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* 名称标签 */
.chat-name {
  font-size: 12px;
  color: #79716b;
  margin-bottom: 6px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.chat-name--user {
  text-align: left;
}
.chat-name--ai {
  text-align: right;
}

/* 名称与头像纵向容器 */
.chat-side {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.chat-side--user {
  order: 0;
}
.chat-side--ai {
  order: 2;
}

/* 小屏优化 */
@media (max-width: 768px) {
  .chat-demo__viewport {
    height: 280px;
  }
  .chat-bubble {
    max-width: 86%;
    font-size: 15px;
  }
}

/* 商品浏览记录卡片 */
.product-card {
  width: 70%;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #eceae9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 14px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f5f4ef;
  border: 1px solid #eceae9;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bea9f5;
}

.product-card__title {
  flex: 1 1 auto;
  text-align: left;
  color: #171412;
  font-size: 14px;
  line-height: 20px;
}

.product-card__price {
  color: #7d68a0;
  font-weight: 600;
}

/* 信任品牌区域 */
.trust-section {
  background-color: #f0efea;
  padding: 72px 0;
}

.trust-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 160px;
  text-align: center;
}

.trust-section__title {
  font-family: "Fraunces", serif;
  font-size: 52px;
  font-weight: 400;
  color: #bea9f5;
  line-height: 56px;
}

/* 全流程展示区域 */
.workflow-section {
  background-color: #f0efea;
  padding: 80px 0;
}

.workflow-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

.workflow-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.workflow-section__title {
  font-size: 48px;
  font-weight: 400;
  color: #171412;
  margin-bottom: 20px;
  line-height: 56px;
}

.workflow-section__subtitle {
  font-size: 20px;
  font-weight: 300;
  color: #57534e;
  line-height: 28px;
}

.workflow-section__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 60px;
}

.workflow-card {
  background-color: #fbfbfb;
  border-radius: 24px;
  border: 1px solid #eceae9;
  padding: 41px 33px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.workflow-card-header {
  display: flex;
  gap: 28px;
  align-items: center;
}

.workflow-card__image {
  margin-bottom: 16px;
}

.workflow-card__image-content {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background: #f5f4ef;
}

.workflow-card__title {
  font-size: 24px;
  font-weight: 400;
  color: #171412;
  margin-bottom: 12px;
}

.workflow-card__description {
  font-size: 16px;
  font-weight: 300;
  color: #79716b;
  line-height: 24px;
}

/* 功能特性区域 */
.features-section {
  padding: 80px 0;
  background-color: #f5f4ef;
}

.features-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}

.features-section__title {
  font-size: 48px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 40px;
  line-height: 56px;
  color: #171412;
}

/* 标签页样式 */
.features-section__tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.tab {
  padding: 9px 17px;
  border-radius: 24px;
  border: 1px solid #bea9f5;
  background-color: #f5f4ef;
  color: #57534e;
  font-size: 14px;
  transition: all 0.3s ease;
}

.tab:hover {
  background-color: #f5f4ef;
}

/* 功能卡片样式 */
.features-section__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: #fbfbfb;
  border-radius: 16px;
  border: 1px solid #eceae9;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-card__content h3 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #171412;
}

.feature-card__content p {
  font-size: 16px;
  font-weight: 300;
  color: #79716b;
  line-height: 24px;
}

.feature-card__image {
  margin-top: 20px;
}

.feature-card__image-content {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: #f5f4ef;
  display: block;
  margin: 0 auto;
}

/* 价值主张区域 */
.value-section {
  padding: 80px 0;
  background-color: #f5f4ef;
}

.value-section__container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.value-section__title {
  font-family: "Fraunces", serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 88px;
  margin-bottom: 40px;
  color: #171412;
}

.value-section__description-wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.value-section__description {
  font-family: Fraunces, Arial, Helvetica, sans-serif;
  font-style: italic;
  font-size: 21px;
  font-weight: 300;
  line-height: 32px;
  color: #bea9f5;
  margin-bottom: 60px;
  padding: 10px;
}

.value-section__stats {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.stat-item {
  border-top: 1px solid #eceae9;
  padding-top: 25px;
}

.stat-item__number {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 82px;
  color: #bea9f5;
  line-height: 120px;
  margin-bottom: 25px;
}

.stat-item__title {
  font-size: 24px;
  font-weight: 400;
  color: #171412;
  margin-bottom: 20px;
  line-height: 37px;
}

.stat-item__description {
  font-size: 21px;
  font-weight: 300;
  color: #57534e;
  line-height: 32px;
}

/* 联系我们区域 */
.contact-section {
  padding: 80px 0;
  background-color: #f5f4ef;
  text-align: center;
}

.contact-section__container {
  /* max-width: 800px; */
  margin: 0 auto;
  padding: 0 80px;
}

.contact-section__title {
  font-family: "Fraunces", serif;
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 80px;
  line-height: 64px;
  color: #171412;
}

.contact-section__highlight {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 48px;
  color: #bea9f5;
  margin-bottom: 60px;
  line-height: 56px;
}

.contact-section__description {
  font-size: 16px;
  font-weight: 300;
  color: #57534e;
  line-height: 24px;
  margin-bottom: 40px;
}

.contact-section__button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}

/* 二维码弹窗样式 */
.qr-code-popup {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 10px;
  border: 1px solid #eceae9;
}

.qr-code-popup::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.qr-code-popup__content {
  text-align: center;
}

.qr-code-popup__images {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.qr-code-popup__image {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.qr-code-popup__text {
  font-size: 14px;
  color: #57534e;
  margin: 0;
  font-weight: 400;
}

/* 显示二维码弹窗 */
.qr-code-popup.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 页脚样式 */
.footer {
  background-color: #f0efea;
  padding: 96px 80px 40px;
  border-radius: 24px;
  margin: 0 24px 24px;
}

.footer__container {
  max-width: 1920px;
  margin: 0 auto;
}

.footer__main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 140px;
  margin-bottom: 33px;
  padding-bottom: 33px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: inherit;
}

.footer__logo-img {
  width: 70px;
  height: 44px;
}

.footer__logo-text {
  font-family: "DM Sans", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #bea9f5;
}

.footer__description {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-size: 16px;
  font-weight: 300;
  color: #79716b;
  line-height: 24px;
}

.footer__slogan {
  font-family: Fraunces, Arial, Helvetica, sans-serif;
  font-style: italic;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
}

.footer__column-title {
  font-size: 18px;
  font-weight: 400;
  color: #171412;
  margin-bottom: 20px;
}

.footer__link {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: #57534e;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: #bea9f5;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  display: flex;
  font-size: 16px;
  font-weight: 300;
  color: #a49d98;
}

.footer__copyright a {
  display: block;
  text-decoration: none;
  color: #a49d98;
}

.footer__copyright a:hover {
  color: #bea9f5;
}

.footer__back {
  display: block;
  font-size: 16px;
  font-weight: 300;
  color: #57534e;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__back:hover {
  transform: scale(1.1);
  color: #bea9f5;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .hero-section__container,
  .trust-section__container,
  .workflow-section__container,
  .features-section__container,
  .value-section__container,
  .contact-section__container {
    padding: 0 40px;
  }

  .navbar__container {
    padding: 0 40px;
  }

  .hero-section__title {
    font-size: 56px;
    line-height: 64px;
  }

  .value-section__container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .workflow-section__cards {
    grid-template-columns: 1fr;
  }

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

  .footer__main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* 中等屏幕：一行三个tab，共两行 */
@media (max-width: 900px) {
  .features-section__tabs {
    grid-template-columns: repeat(3, 1fr);
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .hero-section__container,
  .trust-section__container,
  .workflow-section__container,
  .features-section__container,
  .value-section__container,
  .contact-section__container {
    padding: 0 20px;
  }

  .navbar__container {
    padding: 0 20px;
  }

  .hero-section__title {
    font-size: 40px;
    line-height: 48px;
  }

  .hero-section__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

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

  .features-section__cards {
    grid-template-columns: 1fr;
  }

  .value-section__title {
    font-size: 40px;
    line-height: 48px;
  }

  .stat-item__number {
    font-size: 64px;
    line-height: 80px;
  }

  .contact-section__title {
    font-size: 36px;
    line-height: 44px;
  }

  .contact-section__highlight {
    font-size: 36px;
    line-height: 44px;
  }

  /* 移动端二维码弹窗样式 */
  .qr-code-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    z-index: 2000;
  }

  .qr-code-popup__images {
    flex-direction: column;
    gap: 16px;
  }

  .qr-code-popup__image {
    width: 200px;
    height: 200px;
  }

  .qr-code-popup__text {
    font-size: 16px;
  }

  .footer {
    padding: 60px 20px 30px;
    margin: 0 12px 12px;
  }

  .footer__links {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-section__title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-section__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .product-card {
    width: 90%;
  }

  .workflow-section__title {
    font-size: 32px;
    line-height: 40px;
  }

  .value-section__title {
    font-size: 32px;
    line-height: 40px;
  }

  .stat-item__number {
    font-size: 48px;
    line-height: 64px;
  }

  .contact-section__title {
    font-size: 28px;
    line-height: 36px;
  }

  .contact-section__highlight {
    font-size: 28px;
    line-height: 36px;
  }

  .pine-graphic {
    font-size: 120px;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-section,
.trust-section,
.workflow-section,
.features-section,
.value-section,
.contact-section {
  animation: fadeInUp 0.8s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f4ef;
}

::-webkit-scrollbar-thumb {
  background: #bea9f5;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b09be6;
}

/* 焦点样式 */
.btn:focus {
  outline: 2px solid #bea9f5;
  outline-offset: 2px;
}

/* 预约弹框样式 */
.appointment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
}

.appointment-modal.show {
  display: flex;
}

.appointment-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.appointment-modal__content {
  position: relative;
  background-color: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease-out;
}

.appointment-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #57534e;
  transition: all 0.3s ease;
}

.appointment-modal__close:hover {
  background-color: #f5f4ef;
  color: #171412;
}

.appointment-modal__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.appointment-modal__qr {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  border: 1px solid #eceae9;
}

.appointment-modal__text {
  font-size: 18px;
  font-weight: 500;
  color: #171412;
  margin: 0;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 加载动画 */
.loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.loading.loaded {
  opacity: 1;
  transform: translateY(0);
}
