:root {
  --text-primary: #6b4ef4;
  --text-dark: #000;
  --text-light: #fff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
  font-size: 0.2rem;
}
.wow {
  visibility: hidden;
}
.animated {
  animation-duration: 0.8s;
  animation-fill-mode: both;
  visibility: visible;
}
.fadeIn {
  animation-name: fadeIn;
}
.fadeInUp {
  animation-name: fadeInUp;
}
.zoomIn {
  animation-name: zoomIn;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 0.3rem, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.92, 0.92, 0.92);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
.c-flex {
  display: flex;
}
.c-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-flex-col {
  flex-direction: column;
}
.c-items-center {
  align-items: center;
}
.m-text {
  font-weight: bold;
  font-size: 0.5rem;
  color: #200e32;
}
.s-text {
  font-weight: bold;
  font-size: 0.42rem;
  color: #200e32;
}
.l-text {
  font-weight: 400;
  font-size: 0.23rem;
  color: #200e32;
}
.li-text {
  font-weight: 400;
  font-size: 0.2rem;
  color: #200e32;
}
.text-center {
  text-align: center;
}
.primary-text{
  color: var(--text-primary);
}
.custom-btn {
  width: 1.75rem;
  height: 0.64rem;
  background: linear-gradient(
    90deg,
    #4f28f9 0%,
    #8648ff 30.44%,
    #c220b9 58.41%,
    #fe4e39 100%
  );
  box-shadow:
    0rem 0.08rem 0.22rem 0rem rgba(90, 128, 255, 0.32),
    0rem 0.1rem 0.27rem 0rem rgba(90, 128, 255, 0.32);
  border-radius: 0.24rem;
  font-weight: 400;
  font-size: 0.23rem;
  color: #ffffff;
}
.comm_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
}
.banner {
  width: 100%;
  height: 8.67rem;
  background: url(../img/banner.png) no-repeat center;
  background-size: cover;
}
.ai_models {
  margin-top: 0.67rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.14rem;
  padding: 0 0.2rem;
}
.ai_models .model_item {
  min-width: 0.96rem;
  min-height: 0.43rem;
  padding: 0.13rem 0.16rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0rem 0.12rem 0.32rem 0rem rgba(90, 128, 255, 0.2);
  border-radius: 0.87rem;
  border: 0.01rem solid #6b4ef4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.09rem;
}
.ai_models .model_item .model_icon {
  width: 0.22rem;
  height: 0.22rem;
}
.ai_models .model_item .model_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ai_models .model_item .model_name {
  font-weight: 400;
  font-size: 0.17rem;
  color: #000000;
}
.ai_percents {
  margin-top: 0.7rem;
  gap: 0.1rem;
}
.ai_percents_item {
  width: 1.41rem;
  height: 0.98rem;
  background: url(../img/p_bg.png) no-repeat center;
  background-size: cover;
  border-radius: 0.19rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.percent_name{
  font-weight: 400;
  font-size: 0.18rem;
  color: #1D1A21;
}
.percent_number {
  margin-top: 0.1rem;
  font-weight: 600;
  font-size: 0.28rem;
  color: #6B4EF4;
}
.ai_search_entry {
  background: var(--text-light);
}

.ai_searchs {
  margin-top: 0.47rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.1rem;
}
.ai_searchs .search_model {
  width: 1.92rem;
  height: 1.67rem;
  background:
    linear-gradient(314deg, #ffffff 0%, #ede8ff 100%) padding-box,
    linear-gradient(180deg, #f8f6ff 0%, #ddd6ff 100%) border-box;
  border-radius: 0.15rem;
  border: 0.01rem solid;
  border-image: linear-gradient(
      180deg,
      rgba(248, 246, 255, 1),
      rgba(221, 214, 255, 1)
    )
    0.01 0.01;
  box-shadow:
    inset 0 0.01rem 0 0 #f8f6ff,
    inset 0 0.01rem 0 0 #ddd6ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}
.ai_searchs .search_model .search_icon {
  width: 0.63rem;
  height: 0.63rem;
}
.ai_searchs .search_model .search_icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ai_searchs .search_model .search_name {
  font-weight: bold;
  font-size: 0.25rem;
  color: #1D1A21;
}

.ai_advantage {
  background: #f4f3ff;
  padding: 0.5rem 0.13rem;
}

.adv_tabs {
  width: 100%;
  margin-top: 0.4rem;
  display: flex;
  gap: 0.12rem;
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: #fff;
  border-radius: 0.27rem;
}

.adv_tabs::-webkit-scrollbar {
  display: none;
}

.adv_tab_item {
  flex: 0 0 auto;
  min-width: max-content;
  height: 0.54rem;
  padding: 0 0.26rem;
  border: 0;
  border-radius: 0.27rem;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.22rem;
  line-height: 0.54rem;
  color: #2c2d5b;
  white-space: nowrap;
  /* box-shadow: 0 0.04rem 0.16rem rgba(107, 78, 244, 0.08); */
}

.adv_tab_item.is-active {
  background: linear-gradient(90deg, #6b4ef4 0%, #7e67ff 100%);
  color: #ffffff;
  box-shadow: 0 0.08rem 0.2rem rgba(107, 78, 244, 0.22);
}

.adv_contents {
  width: 100%;
  margin-top: 0.24rem;
}

.adv_content_item {
  display: none;
  width: 100%;
  height: 8.75rem;
  padding: 0.47rem 0.37rem;
  border-radius: 0.24rem;
  background: #ffffff;
  box-shadow: 0 0.12rem 0.32rem rgba(90, 128, 255, 0.12);
  font-weight: 500;
  font-size: 0.26rem;
  color: #2c2d5b;
}

.adv_content_item.is-active {
  display: block;
}
.adv_title {
  font-weight: bold;
  font-size: 0.32rem;
  color: #000000;
}
.adv_des {
  margin-top: 0.2rem;
  font-weight: 400;
  font-size: 0.2rem;
  color: #808080;
  line-height: 0.39rem;
}
.adv_list_item {
  margin-top: 0.3rem;
  font-weight: 600;
  font-size: 0.23rem;
  color: #111111;
  position: relative;
  padding-left: 0.4rem;
}
.adv_list_item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 0.26rem;
  height: 0.26rem;
  background: url(../img/icon_dui.png) no-repeat center;
  background-size: contain;
}
.adv_btn {
  margin-top: 0.5rem;
  width: 1.93rem;
  height: 0.53rem;
  background: linear-gradient(
    90deg,
    #4f28f9 0%,
    #8648ff 30.44%,
    #c220b9 58.41%,
    #fe4e39 100%
  );
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.21rem;
  color: #ffffff;
  gap: 0.1rem;
}
.adv_btn img {
  width: 0.24rem;
  height: 0.24rem;
  object-fit: contain;
}
.adv_img {
  margin-top: 0.5rem;
  width: 100%;
  text-align: center;
}
.adv_img img {
  width: 100%;
  height: auto;
  border-radius: 0.24rem;
  object-fit: contain;
}

.who_list {
  margin-top: 0.36rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.12rem;
}
.who_list .who_item {
  width: 2.78rem;
  height: 2.14rem;
  position: relative;
}
.who_list .who_item img {
  width: 100%;
  height: 100%;
  border-radius: 0.12rem;
  background: linear-gradient(135deg, #ffffff 0%, #ede8ff 100%);
  box-shadow: inset 0 0.02rem 0.04rem rgba(122, 105, 255, 0.15);
}
.who_list .who_item .who_name {
  position: absolute;
  bottom: 0.42rem;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.25rem;
  color: #ffffff;
}

.why_choose {
  width: 100%;
  background: url(../img/choose_bg.png) no-repeat center;
  background-size: 109% auto;
  background-position: center center;
  overflow: hidden;
}

.why_swiper {
  width: 100%;
  margin-top: 0.36rem;
  padding: 0 0.13rem 0.56rem;
  overflow: hidden;
}

.why_swiper .swiper-wrapper {
  align-items: stretch;
}

.why_swiper .swiper-slide {
  height: auto;
}

.why_card {
  min-height: 4.1rem;
  padding: 0.58rem 0.2rem 0.36rem;
  border-radius: 0.16rem;
  background: linear-gradient(135deg, #7a69ff 0%, #5535ff 100%);
  box-shadow: 0 0.18rem 0.36rem rgba(74, 69, 255, 0.2);
  color: #ffffff;
  position: relative;
}
.why_card_img {
  width: 1.38rem;
  height: 1.38rem;
  position: absolute;
  top: 0;
  right: 0;
}
.why_card_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.why_card_title {
  font-weight: bold;
  font-size: 0.33rem;
  color: #ffffff;
  padding-left: 0.1rem;
}

.why_card_subtitle {
  margin-top: 0.08rem;
  font-weight: bold;
  font-size: 0.33rem;
  color: #ffffff;
  padding-left: 0.1rem;
}

.why_card_desc {
  margin-top: 0.1rem;
  font-weight: 500;
  font-size: 0.2rem;
  color: #ffffff;
  line-height: 0.28rem;
  padding-left: 0.1rem;
}

.why_card_points {
  margin-top: 0.46rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.1rem;
}

.why_point {
  position: relative;
  font-weight: 500;
  font-size: 0.2rem;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.why_point_icon {
  width: 0.7rem;
  height: 0.7rem;
  margin-left: 0.12rem;
}
.why_point_icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why_swiper .swiper-pagination {
  bottom: 0;
}

.why_swiper .swiper-pagination-bullet {
  width: 0.16rem;
  height: 0.08rem;
  border-radius: 0.04rem;
  background: rgba(96, 108, 130, 0.35);
  opacity: 1;
}

.why_swiper .swiper-pagination-bullet-active {
  width: 0.4rem;
  background: #5d54f7;
}
.form_wrap{
  background: #F3F4FE;
}
.demo_form {
  margin-top: 0.68rem;
  padding: 0.48rem 0.53rem;
  width: 5.42rem;
  min-height: 5.69rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background-color: #fff;
  border-radius: 0.27rem;
  position: relative;
}
.demo_form::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  right: 0.3rem;
  width: 1.52rem;
  height:1.44rem;
  background: url(../img/form_img.png) no-repeat center;
  background-size: contain;
}
.form_title{
  font-weight: 600;
  font-size: 0.3rem;
  color: #200E32;
  line-height: 0.42rem;
}
.demo_form input, .demo_form textarea {
  width: 4.36rem;
  height: 0.68rem;
  background: #f6f6ff;
  border-radius: 0.12rem;
  border: none;
  padding: 0 0.2rem;
}
.demo_form textarea {
  padding: 0.2rem;
  height: 1.36rem;
  resize: vertical;
}
.demo_form input::placeholder, .demo_form textarea::placeholder {
  font-weight: 400;
  font-size: 0.2rem;
  color: #8D98C6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.add_btn {
  width: 4.36rem;
  height: 0.68rem;
  background: linear-gradient(302deg, #b239ff 0%, rgba(253, 97, 44, 0.94) 100%);
  border-radius: 0.12rem;
  font-weight: 600;
  font-size: 0.23rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast 提示样式 */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 0.1rem;
  font-size: 0.24rem;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
}
