/* 添加CSS变量定义 */
:root {
  --primary-color: #0486fe;
  --tab-color: var(--primary-color);
  --text-primary: #333;
  --text-secondary: #666;
}

/* 通用动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
/* 首页主区域样式 */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #e6f7ff 0%, #f0f9ff 100%);
  padding: 10rem 0;
  overflow: hidden;
}
.hero-content {
  max-width: 600px;
  z-index: 1;
}
.hero-title {
  font-size: 4.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: #1f2937;
}
.hero-subtitle {
  font-size: 1.8rem;
  color: #6b7280;
  margin-bottom: 3rem;
  line-height: 1.6;
}
.hero-btn {
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 0.8rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}
.hero-btn:hover {
  background-color: #0958d9;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem rgba(22, 119, 255, 0.3);
}
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2rem);
  }
  100% {
    transform: translateY(0);
  }
}
.hero-bg-shape {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .hero-subtitle {
    font-size: 1.6rem;
  }
  .hero-section {
    padding: 6rem 0;
  }
}

/* 首页Swiper区域 */
.home-swiper-section {
  position: relative;
}
.home-swiper {
  width: 100%;
  height: 48rem; /* 按需求固定高度 */
}
.home-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center; /* 垂直居中容器 */
}
.slide-content {
  max-width: 640px;
}
.slide-title {
  font-size: 4rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.6rem;
}
.slide-subtitle {
  font-size: 1.6rem;
  color: #6b7280;
  margin-bottom: 2.4rem;
}
.slide-btn {
  padding: 1rem 2.4rem;
  font-size: 1.4rem;
  border-radius: 0.6rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
}
.slide-btn:hover {
  background-color: #0958d9;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .home-swiper {
    height: 38rem;
  }
  .slide-title {
    font-size: 2.8rem;
  }
}


/* 精细化管理用户模块样式 */
.user-management-section {
  padding: 8rem 0;
  background-color: white;
}

.management-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8rem;
  margin-bottom: 50px;
}

.management-card {
  background-color: #f8faff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e6f0ff;
}

.management-card:hover {
  box-shadow: 0 8px 30px rgba(22, 119, 255, 0.1);
  transform: translateY(-2px);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.card-desc {
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.6;
}

.card-image {
  margin-bottom: 25px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #f0f2f5;
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.section-actions-center {
  text-align: center;
  margin-top: 50px;
}

.cta-button.primary-btn {
  background-color: var(--primary-color);
  color: white;
  padding: 14px 40px;
  border-radius: 8px;
  border: none;
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(22, 119, 255, 0.3);
}

.cta-button.primary-btn:hover {
  background-color: #0958d9;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.4);
}

/* 精细化管理用户模块响应式 */
@media (max-width: 768px) {
  .management-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-title {
    font-size: 1.6rem;
  }
}

/* Swiper分页器样式 - 长款 */
.swiper-pagination {
  bottom: 3rem !important;
}

.swiper-pagination-bullet {
  width: 6rem !important;
  height: 0.6rem !important;
  border-radius: 0.3rem !important;
  background-color: rgba(255, 255, 255, 0.6) !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
  width: 8rem !important;
}

/* 服务对象切换区域样式 */

.services-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  padding: 4rem 2rem 6.2rem 2rem;
  box-sizing: border-box;
  min-height: 80rem;
}

.services-section .container {
  position: relative;
  z-index: 1;
  min-height: 600px;
  transition: background-image 0.5s ease-in-out;
}

.section-title {
  text-align: center;
  margin-bottom: 8rem;
}

.section-title h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.6rem;
}

.section-title p {
  font-size: 1.6rem;
  color: #6b7280;
  max-width: 800px;
  margin: 0 auto;
}

/* 主标签样式 */
.main-tabs {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 4rem;
  gap: 3.2rem;
  min-height: 9.6rem;
}

.main-tab {
  flex: 0 0 34.6rem;
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  color: #333;
  background-color: #fff;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.main-tab::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.4rem;
  background-color: transparent;
  transition: all 0.3s ease;
}

.main-tab.active {
  color: var(--tab-color);
  background: linear-gradient(
    90deg,
    #e9f2ff 0%,
    #f7fbff 38.77%,
    #f4f9ff 72.51%,
    #e7f1ff 100%
  );
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem
    color-mix(in srgb, var(--tab-color, var(--primary-color)) 30%, transparent);
}

.main-tab.active .tab-subtitle {
  color: #333;
}

.main-tab .tab-subtitle {
  color: #666;
  font-size: 1.4rem;
  margin-top: 0.4rem;
}

.main-tab.active::before {
  background-color: var(--tab-color, var(--primary-color));
}

.main-tab.transitioning {
  transform: scale(0.95);
  opacity: 0.8;
}

/* 内容区域 */
.tab-content-container {
  max-width: 80rem;
  border-radius: 1.2rem;
  padding: 0 4rem 0 0;
  min-height: 40rem;
}

/* 子标签样式 */
.sub-tabs {
  display: flex;
  margin-bottom: 1.4rem;
  gap: 1rem;
}
.main-tab {
  position: relative;
  padding: 2rem;
  cursor: pointer;
  border-bottom: 0.3rem solid transparent;
  transition: all 0.3s ease;
  background: white;
  border-radius: 0.8rem 0.8rem 0 0;
  min-width: 20rem;
  text-align: center;
}
.main-tab.active {
  border-bottom-color: var(--tab-color);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
}
.tab-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: #333;
}
.tab-subtitle {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.5;
}
/* 服务和支持部分样式 */
.services-support-section {
  padding: 80px 0;
  position: relative;
  background-image: url("https://res.yzfz.net/website/fz_video_bg.png");
  background-size: cover;
  background-position: center;
}

.services-support-section .container {
  position: relative;
  z-index: 1;
}

.services-support-section .section-title {
  margin-bottom: 60px;
}

.services-support-section .section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  justify-items: center;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-icon {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-icon-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-desc {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin: 0;
  margin-bottom: 10px;
}

.service-detail {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0;
  text-align: center;
  max-width: 200px;
}

.section-description {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  text-align: center;
  margin: 0 auto 60px;
  max-width: 800px;
}

/* 额外服务内容样式 */
.additional-services {
  margin-top: 80px;
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.service-info {
  flex: 1;
  min-width: 300px;
  padding: 0 40px;
}

.service-info h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.service-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-image {
  flex: 0 0 400px;
  height: 280px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .service-row {
    flex-direction: column;
    text-align: center;
  }

  .service-info {
    padding: 0;
    margin-bottom: 30px;
  }

  .service-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .service-row .service-image:nth-child(2) {
    order: -1;
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .services-grid {
    gap: 20px;
  }

  .service-icon {
    width: 90px;
    height: 90px;
  }

  .service-icon-img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* 体验域值方舟微商城样式 */
.experience-mall-section {
  background-color: #f0f9ff;
  padding: 80px 0;
  text-align: center;
}

.experience-mall-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.experience-mall-section h2 {
  font-size: 5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
}

.experience-mall-section p {
  font-size: 1.8rem;
  color: #6b7280;
  margin-bottom: 40px;
}

.experience-mall-section .cta-button.primary-btn {
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .experience-mall-section h2 {
    font-size: 2.8rem;
  }

  .experience-mall-section p {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .experience-mall-section {
    padding: 60px 0;
  }

  .experience-mall-section h2 {
    font-size: 2.4rem;
  }

  .experience-mall-section p {
    font-size: 1.4rem;
  }

  .experience-mall-section .cta-button.primary-btn {
    padding: 1rem 2.4rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 576px) {
  .services-support-section {
    padding: 60px 0;
  }

  .services-grid .section-title h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-icon {
    width: 80px;
    height: 80px;
  }

  .service-icon-img {
    width: 45px;
    height: 45px;
  }

  .service-desc {
    font-size: 14px;
  }
}

.sub-tab {
  padding: 0.8rem 2.4rem;
  font-size: 2rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.sub-tab:hover {
  color: var(--tab-color, var(--primary-color));
}

.sub-tab.active {
  color: var(--tab-color, var(--primary-color));
}

.sub-tab.active::after {
  content: "";
  position: absolute;
  bottom: 0.7rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 0.3rem;
  background-color: var(--tab-color, var(--primary-color));
  border-radius: 0.2rem;
}

/* 子标签内容 */
.sub-tab-content {
  min-height: 30rem;
  transition: opacity 0.3s ease;
}

.sub-tab-content.content-transition {
  opacity: 0.6;
}

.content-panel {
  padding-left: 5rem;
  transition: all 0.5s ease;
}

.content-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background-color: #f8fafc;
  border-radius: 0.8rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.content-item:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.08);
}

.item-icon {
  width: 6.4rem;
  height: 6.4rem;
  margin-left: -5.2rem;
}

/* 图片icon样式 */
.item-icon-image {
  width: 6.4rem;
  height: 6.4rem;
  object-fit: contain;
}

.item-content {
  flex: 1;
}

.item-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.item-desc {
  font-size: 1.4rem;
  color: #6b7280;
  line-height: 1.6;
}


.action-btn {
  padding: 1.2rem 3.2rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
  background-color: var(--tab-color, var(--primary-color));
  border: none;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0.4rem 1.2rem
    color-mix(in srgb, var(--tab-color, var(--primary-color)) 30%, transparent);
}

.action-btn:hover {
  background-color: color-mix(
    in srgb,
    var(--tab-color, var(--primary-color)) 90%,
    black
  );
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem
    color-mix(in srgb, var(--tab-color, var(--primary-color)) 40%, transparent);
}

/* 为不支持color-mix的浏览器提供回退方案 */
@supports not (background: color-mix(in srgb, #000 10%, transparent)) {
  .main-tab.active {
    box-shadow: 0 0.6rem 1.6rem rgba(22, 119, 255, 0.3);
  }

  .item-icon {
    background-color: rgba(4, 134, 254, 0.1);
  }

  .action-btn {
    box-shadow: 0 0.4rem 1.2rem rgba(22, 119, 255, 0.3);
  }

  .action-btn:hover {
    background-color: #0958d9;
    box-shadow: 0 0.6rem 1.6rem rgba(22, 119, 255, 0.4);
  }
}

/* Vue过渡动画 */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .services-section  {
    padding: 4rem 0;
  }

  .section-title h2 {
    font-size: 2.4rem;
  }

  .main-tabs {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .main-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
    flex: 0 0 10rem;

  }

  .tab-background-container {
    height: 20rem;
  }

  .tab-content-container {
    padding: 2rem;
  }

  .sub-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .sub-tab {
    padding: 0.6rem 1.6rem;
    font-size: 2rem;
  }

  .item-title{
    font-size: 2rem
  }


  .item-description{
    font-size: 1.6rem;
  }

  .content-panel{
    padding-left: 0;
  }

  .content-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .item-icon {
    margin-bottom: 1rem;
    margin-left: 0;
  }

  .section-actions{
    text-align: center;
  }

  .advantage-subtitle{
    font-size: 1.6rem!important;
  }
}

/* 商城搭建部分样式 */
.content-section {
  padding: 6rem 0;
}

.section-title {
  font-size: 3.6rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 2rem;
  color: #666;
  text-align: center;
  margin-bottom: 4rem;
}

/* 三个卡片网格布局 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}

/* 卡片样式 */
.advantage-card {
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* 第一个卡片 - 蓝色 */
.advantage-card:nth-child(1) {
  background-color: #e6f7ff;
}

/* 第二个卡片 - 紫色 */
.advantage-card:nth-child(2) {
  background-color: #f3e5ff;
}

/* 第三个卡片 - 橙色 */
.advantage-card:nth-child(3) {
  background-color: #fff2e6;
}

/* 卡片标题 */
.advantage-title {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  text-align: left;
}

/* 卡片副标题 */
.advantage-subtitle {
  font-size: 1.4rem;
  color: #666;
  margin-bottom: 30px;
  text-align: left;
  line-height: 1.6;
}

/* 图片容器 */
.feature-icon {
  margin: 30px 0;
  display: flex;
  justify-content: center;
}

.feature-icon img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

/* 按钮样式 */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
}

/* 第一个按钮 - 蓝色 */
.advantage-card:nth-child(1) .cta-button {
  background-color: #1890ff;
  color: white;
}

.advantage-card:nth-child(1) .cta-button:hover {
  background-color: #40a9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

/* 第二个按钮 - 紫色 */
.advantage-card:nth-child(2) .cta-button {
  background-color: #722ed1;
  color: white;
}

.advantage-card:nth-child(2) .cta-button:hover {
  background-color: #9254de;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(114, 45, 209, 0.3);
}

/* 第三个按钮 - 橙色 */
.advantage-card:nth-child(3) .cta-button {
  background-color: #fa8c16;
  color: white;
}

.advantage-card:nth-child(3) .cta-button:hover {
  background-color: #ffa940;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(250, 140, 22, 0.3);
}

.image-showcase-section {
  padding: 8rem 0;
  background-image: url("https://res.yzfz.net/website/fz_video_bg_1.png");
  background-size: cover;
  background-position: center;
  text-align: center;
}

.section-actions-center {
  margin-top: 3rem;
  text-align: center;
}

.primary-btn {
  background-color: var(--primary-color);
  color: white;
  font-size: 1.6rem;
  padding: 1.2rem 3.2rem;
  border-radius: 0.8rem;
  border: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary-btn:hover {
  background-color: #0958d9;
  transform: translateY(-0.2rem);
  box-shadow: 0 0.6rem 1.6rem rgba(22, 119, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .advantages-grid {
    gap: 20px;
  }

  .advantage-card {
    padding: 30px 20px;
  }
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 30px auto;
  }

  .advantage-card {
    padding: 40px 30px;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

/* 图片展示区域样式 */

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

.image-item {
  width: 100%;
  max-width: 280px;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.showcase-image {
  width: 100%;
  height: auto;
  display: block;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .image-item {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .image-showcase-section {
    padding: 40px 0;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 微信咨询固定在右下角 */
.wx-consult-container {
  position: fixed;
  bottom: 12.5rem;
  right: 40px;
  z-index: 9999;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}

.wx-consult-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #072038;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
}

.wx-consult-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.wx-pay-image {
  width: 4.5rem;
  height: 4.5rem;
}

.wx-pay-text {
  font-size: 14px;
  color: #fff;
}

/* 二维码面板样式 */
.wx-qrcode-panel {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  transform-origin: right center;
  opacity: 0;
  visibility: hidden;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  text-align: center;
  margin-right: 15px;
  transition: all 0.3s ease;
}

/* 显示二维码面板 */
.wx-consult-container:hover .wx-qrcode-panel,
.wx-consult-container.active .wx-qrcode-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.qrcode-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.qrcode-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.qrcode-image {
  width: 17.7rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.qrcode-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qrcode-text {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 箭头样式 */
.qrcode-arrow {
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 0 8px;
  border-color: transparent transparent transparent #eee;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
  }
}

@keyframes wxPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(22, 119, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0);
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .wx-consult-container {
    bottom: 30px;
    right: 30px;
  }

  .wx-pay-image {
    width: 70px;
    height: 70px;
    padding: 8px;
  }

  .wx-qrcode-panel {
    top: -26px;
    margin-right: 10px;
  }

  .qrcode-image {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .wx-consult-container {
    bottom: 20px;
    right: 20px;
  }

  .wx-pay-image {
    width: 60px;
    height: 60px;
    padding: 6px;
  }


  .qrcode-title {
    font-size: 16px;
  }

  .qrcode-image {
    width: 150px;
    height: 150px;
  }

  .qrcode-text {
    font-size: 12px;
  }
}
