:root {
  --primary-color: #2468f2;
  --text-color: #333;
  --border-radius: 8px;
  --max-width: 1200px;
}

/* 容器居中布局 */
.container-wrap {
  background-image: url("../images/price/banner.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
}

/* 服务卡片样式 */
.service-cards {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 20px;
  width: 1200px;
}

/* 联系按钮 */
.call-our {
  padding: 8px 24px;
  height: 48px;
  background: #1d2129;
  border-radius: 28px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 64px;
  width: 184px;
}

/* 我们的服务部分 */
.our-services {
  max-width: var(--max-width);
  margin: 60px auto 0;
  padding: 0 20px;
  background: #fff;
}

.our-services h2 {
  font-size: 28px;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-color);
}

.price-service {
  max-width: 1200px;
  margin: 0 auto;
  padding: 89px 20px 60px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #1d2129;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: #86909c;
  text-align: center;
  margin-bottom: 48px;
}

.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 1200px;
}

/* 价格卡片基础样式 */
.price-card {
  background: #fff;
  border-radius: 32px;
  padding: 48px 24px 28px;
  border: 1px solid #f3eded;
  /* box-shadow: 0px 8px 32px 2px rgba(0, 0, 0, 0.1); */
  /* transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1); */
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  top: 0;
}

/* 价格卡片hover效果 */
.price-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  top: -10px;
}

.card-icon {
  width: 52px;
  margin: 0 auto 21px;
}

.card-icon img {
  width: 100%;
}

.price-card h3 {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
  font-size: 24px;
  color: #000000;
  line-height: 28px;
}

.card-desc {
  height: 40px;
  text-align: center;
  margin-bottom: 0;
  font-size: 14px;
  color: #7c7c7c;
  line-height: 16px;
}

.price {
  font-weight: 500;
  font-size: 18px;
  color: #5f5f5f;
  height: 25px;
  line-height: 21px;
  text-align: center;
  margin-bottom: 24px;
}

.price.super-price {
  color: #000;
}

.price-unit {
  font-size: 13px;
  line-height: 15px;
  vertical-align: bottom;
}

.popover-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  gap: 32px;
}

.popover-content h4 {
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  line-height: 23px;
}

.popover-content p {
  margin-top: 12px;
  font-size: 14px;
  color: #5f5f5f;
  line-height: 16px;
}

.popover-content .qrcode-img {
  width: 88px;
  height: 88px;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #e7e7e7;
}

.try-btn {
  display: block;
  width: 200px;
  padding: 0 12px;
  height: 40px;
  line-height: 20px;
  background: linear-gradient(76deg, #ff6b01 0%, #fc0182 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 0 auto;
  margin-bottom: 24px;
}

.default-btn {
  background: #ffffff;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #e8eaec;
  color: #5f5f5f;
}

.features {
  margin-bottom: 12px;
}

/* 功能列表样式 */
.features h4 {
  padding-top: 24px;
  border-top: 1px solid #e5e6eb;
  font-weight: 600;
  font-size: 14px;
  color: #000000;
  line-height: 16px;
  margin-bottom: 12px;
}

.features ul {
  list-style: none;
}

.features li {
  font-size: 13px;
  color: #5f5f5f;
  line-height: 18px;
  margin-bottom: 12px;
  padding-left: 32px;
  position: relative;
  display: flex;
  align-items: center;
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("../images/price/icon_right.png") no-repeat center/contain;
}

.features li.feature-error::before {
  background: url("../images/price/icon_error.png") no-repeat center/contain;
}


.try-btn.consult {
  background: #1d2129;
}

/* 移动端tab样式 */
.price-tabs {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tab-btn {
  border: none;
  height: 32px;
  line-height: 16px;
  padding: 6px 20px;
  background: #fff;
  border-radius: 5px;
  color: #000000;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #fff;
  background: linear-gradient(272deg, #fc0182 0%, #0a61ff 100%);
  border-radius: 5px;
}

.function-benefits {
  width: 1200px;
  margin: 0 auto;
}

.function-benefits .section-title {
  margin-bottom: 48px;
}

.benefits-table {
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.benefits-table.hide {
  height: 500px;
}

.benefits-table table {
  width: 100%;
  border-collapse: collapse;
  border-color: #eeeeee;
  font-size: 14px;
  color: #1c1c1c;
  border-radius: 12px;
  overflow: hidden;
}

.benefits-table table thead {
  color: #000;
}

.benefits-table th,
.benefits-table td {
  padding: 24px;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
}

.benefits-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.benefits-table tr:hover {
  background-color: #f9f9f9;
}

.toggle-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}

.details {
  background-color: #f9f9f9;
  border-top: 1px solid #e0e0e0;
}

.benefits-table .overlay,
.benefits-table.hide .close-overlay {
  display: none;
}

.benefits-table.hide .overlay,
.benefits-table .close-overlay {
  display: flex;
}

.benefits-table .close-overlay {
  margin-top: 40px;
  justify-content: center;
}

.benefits-table .close-overlay .close-table {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #000000;
  line-height: 16px;
  cursor: pointer;
}

.benefits-table .close-overlay .close-table img {
  width: 16px;
  transform: rotate(180deg);
}

.overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 20px;
  z-index: 2;
  height: 279px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 25%,
    #ffffff 100%
  );
  border-radius: 0px 0px 12px 12px;
}

.toggle-table {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  color: #000000;
  line-height: 16px;
  cursor: pointer;
}

.toggle-table img {
  width: 16px;
}

.faq-section {
  width: 1200px;
  margin: 104px auto;
}

.faq-section .section-title {
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 16px;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #eeeeee;
}

.faq-item .expand-icon,
.faq-item.faq-active .faq-content,
.faq-item.faq-active .shrink-icon {
  display: block;
}

.faq-item .shrink-icon,
.faq-item .faq-content,
.faq-item.faq-active .expand-icon {
  display: none;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-header h3 {
  font-size: 18px;
  color: #333;
}

.shrink-icon,
.expand-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.faq-content {
  padding-top: 24px;
  font-size: 14px;
  color: #5f5f5f;
  line-height: 22px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 移动端样式 */
@media (max-width: 768px) {
  .price-service .section-title {
    font-size: 36px;
    color: #444444;
    line-height: 42px;
  }

  .service-cards {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
    width: 100%;
  }

  .call-our {
    margin: 16px 0;
    width: 100px;
    padding: 8px 16px;
    font-size: 14px;
  }

  /* 我们的服务部分的移动端样式 */
  .our-services {
    padding: 0;
    background: #f5f7fa;
  }

  .price {
    margin-bottom: 40px;
  }

  /* .price-card:hover {
    transform: none !important;
    box-shadow: none !important;
  } */

  .price-tabs {
    display: flex;
  }

  .price-cards {
    position: relative;
    overflow: hidden;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .price-card {
    transition: none !important;
    display: none;
    margin: 0;
    opacity: 1;
    transform: none;
    margin-bottom: 16px;
    animation: none;
    box-shadow: 0px 4px 12px 0px rgba(64, 52, 52, 0.1);
    border-radius: 12px 12px 12px 12px;
    border: 1px solid #f3eded;
  }

  .section-title {
    font-size: 20px;
    line-height: 24px;
    color: #474a51;
  }

  .try-btn {
    display: none;
  }

  .function-benefits {
    width: 100%;
    padding: 0 25px;
  }

  .benefits-table table {
    font-size: 11px;
  }

  .benefits-table th,
  .benefits-table td {
    padding: 12px;
  }

  .benefits-table,
  .benefits-table.hide {
    height: auto;
  }

  .benefits-table.hide .overlay,
  .benefits-table .close-overlay {
    display: none;
  }

  .faq-section {
    width: 100%;
    margin: 72px auto;
    padding: 0 25px;
  }

  .faq-section .section-title,
  .function-benefits .section-title {
    margin-bottom: 24px;
  }

  .faq-header h3 {
    font-size: 14px;
    color: #000000;
    line-height: 24px;
  }

  .faq-item {
    margin-bottom: 8px;
  }
}
