/*公共样式*/
:root {
  --color-bg: #0c0f14;
  --color-bg-fill: #0c0f1499;
  --color-bg-cart: radial-gradient(
      circle at top center,
      #0c0f14,
      rgba(12, 15, 20, 0)
    ),
    linear-gradient(180deg, #232833, rgba(35, 40, 51, 0));
  --color-bg-shaow: rgba(255, 255, 255, 0.1);
  --color-bg-img: #181c24;
  --color-base: #ffffff;
  --color-desc: #ffffff99;
  --color-base-hover: #18f470;
  --color-btn: rgba(0, 0, 0, 0.9);
  --color-primary: #232833;
  --color-text-gray: rgba(255, 255, 255, 0.4);
  --color-linear: linear-gradient(225deg, #18f4de, #18f470);

  --font-size-mini: 12px;
  --font-size-small: 14px;
  --font-size-base: 16px;
  --font-size-bm: 18px;
  --font-size-middle: 20px;
  --font-size-mb: 24px;
  --font-size-big: 40px;
  --font-size-large: 64px;
  --font-size: 10px;

  --shadow: 0px -1px 0px 0px rgba(255, 255, 255, 0.1) inset;
  --shadow-hover: 0 0 30px 10px rgba(0, 0, 0, 0.3);
  --shadow-active: 0px -2px 0px 0px #18f470 inset;
}

/* j */
body,
header,
footer,
section,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: none;
}

@font-face {
  font-family: 'Alimama';
  src: url('/font/Alimama_ShuHeiTi_Bold.ttf');

  font-family: 'ALIBABA Font Bold';
  src: url('/font/TG-TYPE-Bold.otf');
}

html {
  font-size: 10px;
  font-family: var(--font-family);
  background-color: var(--color-bg);
}

body {
  --paddInline: calc((100% - 120rem) / 2);
  font-size: var(--font-size-small);
  color: var(--color-base);
  font-family: PingFang SC, PingFang SC-Regular;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--color-base);
}

section {
  padding: 8rem var(--paddInline);
  position: relative;
}

.letter-spac {
  letter-spacing: 1.5px;
}

.btn {
  background: var(--color-linear);
  color: var(--color-btn);
  display: inline-block;
  border-radius: 0.4rem;
  padding: 0.4rem 1.6rem;
  width: fit-content;
  transition: 200ms;
  user-select: none;
}

.btn:not(.btn-black):hover {
  background: linear-gradient(225deg, #05cfc1, #04cf5f);
}

.btn:hover img {
  transform: translateX(8px);
}

.btn img {
  transition: 200ms;
  margin-left: 0.8rem;
  width: 1.6rem;
}

.btn.font-base {
  line-height: 24px;
}

.btn-black {
  background: var(--color-primary);
  color: var(--color-base-hover);
}

.desc {
  color: var(--color-desc);
  line-height: 22px;
}

.border-base {
  border: 1px solid var(--color-primary);
}

.dropitem-hover:hover {
  background-color: #ffffff13;
  box-shadow: var(--shadow-hover);
}

.active {
  color: var(--color-base-hover);
}

.img-base {
  width: 4.8rem;
  height: 4.8rem;
}

.font-mini {
  font-size: var(--font-size-mini);
}

.font-small {
  font-size: var(--font-size-small);
}

.font-base {
  font-size: var(--font-size-base);
}

.font-middle {
  font-size: var(--font-size-middle);
}

.font-bm {
  font-size: var(--font-size-bm);
}

h1 {
  font-size: var(--font-size-large);
  line-height: 8rem;
}

h2 {
  font-size: var(--font-size-big);
  /* white-space: nowrap; */
  font-weight: 600;
  line-height: 4.8rem;
  margin-block: 0.4rem 4rem;
}

h3 {
  font-size: var(--font-size-mb);
  line-height: 3.2rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.linear-text {
  background: var(--color-linear);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cart {
  background: var(--color-bg-cart);
  border: 1px solid var(--color-primary);
  border-radius: 1.6rem;
}

.grid-db-lines {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.8rem;
}

.grid-db-lines .first {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

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

.flex-between {
  display: flex;
  justify-content: space-between;
}

.flex-arround {
  display: flex;
  justify-content: space-around;
}

.flex-v-center {
  display: flex;
  align-items: center !important;
}

.flex-h-center {
  display: flex;
  justify-content: center;
}

.scrollbar-hidden::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.pointer {
  cursor: pointer;
}

.truncate {
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-all;
  white-space: nowrap;
}

/* @keyframes scrollR {
  from {
    right: var(--start);
  }

  to {
    right: var(--end);
  }
} */
/* ipad */
@media screen and (max-width: 1024px) {
  html {
    font-size: 7px;
  }

  :root {
    --font-size-base: 14px;
    --font-size-middle: 18px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 5px;
  }

  :root {
    --font-size-mini: 10px;
    --font-size-small: 12px;
    --font-size-base: 12px;
    --font-size-bm: 16px;
    --font-size-middle: 16px;
    --font-size-mb: 20px;
    --font-size-big: 32px;
    --font-size-large: 40px;
  }
}

/* iphone6 7 8 plus */
@media screen and (max-width: 430px) {
  .banner {
    height: 40rem;
  }

  :root {
    --font-size-mini: 8px;
    --font-size-small: 10px;
    --font-size-base: 10px;
    --font-size-bm: 14px;
    --font-size-middle: 16px;
    --font-size-mb: 16px;
    --font-size-big: 24px;
    --font-size-large: 28px;
  }
}

/* banner */
.banner {
  background-size: auto 784px;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  overflow: hidden;
}

.banner h1 {
  font-family: Alimama;
}

.banner .desc {
  line-height: 28px;
  margin-block: 16px 4.8rem;
}

.banner .btn {
  padding: 1.4rem 2.4rem;
  border-radius: 0.8rem;
}

/* 介绍 */
.introduce .cart {
  padding: 5.6rem 4rem;
  line-height: 32px;
  background: #181c24;
}

/* 产品 */
.product {
  align-items: center;
}

.product > img {
  width: 79.4rem;
  height: 44.8rem;
}

.product .info {
  flex-direction: column;
}

.product .info .desc {
  width: 32.8rem;
  line-height: 24px;
}

.cancelMb {
  margin-bottom: 0 !important;
}

.product .info h2 {
  margin-bottom: 1.6rem;
}

.product .info .desc,
.product .info > img {
  margin-bottom: 4rem;
}

/* 合作伙伴 */
.partners,
.honor {
  padding-inline: 0;
}

.partners {
  background: no-repeat center 100% / contain url('/img/partners/bg.png');
}

.partners h2,
.honor h2 {
  margin-left: var(--paddInline);
}

.partners .partners-content,
.honor .honor-content {
  user-select: none;
  overflow: hidden;
}

.partners .partner-list {
  display: flex;
}

.partners .partner-list img {
  width: var(--imgW);
  height: 9rem;
  margin: 1.2rem;
}

.partners .mask {
  width: 24rem;
  height: 100%;
  position: absolute;
  top: 0;
}

.partners .mask:nth-child(5) {
  background: linear-gradient(90deg, #0c0f14 13%, rgba(12, 15, 20, 0));
  left: 0;
}

.partners .mask:last-child {
  background: linear-gradient(-90deg, #0c0f14 13%, rgba(12, 15, 20, 0));
  right: 0;
}

.partners {
  /*图片的宽度*/
  --imgW: 180px;
  /*实现无限滚动动画重复的图片数量*/
  --margin: 24px;
}
.partners .partners-content {
  min-height: 472px;
  position: relative;
}
.partners .partner-list {
  --duration: calc(var(--realNum) * 4s);
  --start: 0px;
  --end: calc((var(--imgW) + var(--margin)) * var(--realNum) * -1);
  position: absolute;
  top: 0;
}

.scrollLTR {
  left: 0;
  /*动画速度一致，这里就要保证动画时间与实际图片数据量的比值一致即可*/
  animation: ltr var(--duration) linear infinite;
}
.scrollRTL {
  right: 0;
  /*动画速度一致，这里就要保证动画时间与实际图片数据量的比值一致即可*/
  animation: rtl var(--duration) linear infinite;
}
@keyframes ltr {
  from {
    left: var(--start);
  }

  to {
    left: var(--end);
  }
}
@keyframes rtl {
  from {
    right: var(--start);
  }

  to {
    right: var(--end);
  }
}

/* 切换 */
.tabs {
  background: var(--color-primary);
  border-radius: 0.8rem;
  height: 4rem;
  user-select: none;
  padding-inline: 0.4rem;
  font-weight: 400;
}

.tabs li {
  position: relative;
  padding: 5px 16px;
  z-index: 0;
  flex-shrink: 0;
  border-radius: 4px;
  margin-inline: 2px;
}

.tabs li:hover {
  background: #323947;
}

.tabs li.active {
  background: var(--color-linear) !important;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 600;
}

.tabs-special li {
  margin-right: 3.2rem;
  line-height: 32px;
  position: relative;
  user-select: none;
}

.tabs-special li.active::before {
  content: '';
  display: block;
  position: absolute;
  background: var(--color-linear);
  border-radius: 2px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
}

/* 开始 */
.start .start-content {
  height: 42rem;
  background: no-repeat center / 100% url('/img/startBg.png');
  flex-direction: column;
}

.start .start-content h2 {
  margin-bottom: 1.6rem;
}

.start .start-content .desc {
  margin-bottom: 3.6rem;
}

.start .btn {
  padding-block: 0.8rem;
}

.start .btn img {
  width: 12px;
}
/* iphone6 7 8 plus */
@media screen and (max-width: 430px) {
  .banner {
    height: 100rem;
  }
}
.menu > a:hover,
footer a:hover {
  color: var(--color-base-hover);
}

.dropdown {
  position: relative;
  cursor: pointer;
  height: 100%;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content {
  position: absolute;
  top: calc(var(--header-height) * 0.85);
  border: 1px solid #323947;
  border-radius: 0.8rem;
  background-color: var(--color-bg-fill);
  backdrop-filter: blur(16px);
  display: none;
}

.dropdown-content .grid-db-lines {
  grid-template-columns: 4.8rem 1fr;
  align-items: center;
}

/* 导航栏 */
header {
  --header-height: 6.4rem;
  width: 100vw;
  height: var(--header-height);
  padding-inline: 4rem;
  position: fixed;
  top: 0;
  left: 0;
  background: var(--color-bg-fill);
  box-shadow: var(--shadow);
  z-index: 10;
}

header:before {
  content: '';
  width: 100%;
  height: calc(100% - 1px);
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-bg-fill);
  z-index: -1;
  backdrop-filter: blur(16px);
}

header > a.logo img {
  height: 40px;
  width: auto;
}

/* 导航区 */
.menu {
  flex-grow: 1;
  height: 100%;
  margin-left: 6.4rem;
}

.menu .menu-item {
  margin-right: 4rem;
}

.menu .menu-item svg {
  fill: var(--color-base);
  margin-left: 0.8rem;
  transition: 200ms;
}

.menu .menu-item.dropdown:hover span {
  color: var(--color-base-hover);
}

.menu .menu-item.dropdown:hover svg {
  transform: rotate(180deg);
  fill: var(--color-base-hover);
}

/* 下拉 */
.menu .menu-item.dropdown .dropdown-content {
  width: 31.2rem;
  padding: 1.6rem;
}

.menu .menu-item.dropdown .dropdown-content .dropdown-item {
  padding: 1.6rem;
  border-radius: 0.4rem;
}

/* 电话样式 */
.menu > p:last-child {
  margin-left: 0.8rem;
}

header .btn {
  padding-block: 0.8rem;
}

header .mine {
  display: none;
}

header .mine .avatar-box {
  height: 3.2rem;
  width: 3.2rem;
  border-radius: 50%;
  overflow: hidden;
}
header .mine .avatar-box img {
  height: 3.2rem;
  width: auto;
}
/* 个人信息 */
header .mine .dropdown-content {
  right: 0;
  width: 24rem;
  padding: 0.8rem;
  background: rgba(12, 15, 20, 0.6)
    radial-gradient(
      80px 80px at left top,
      rgba(24, 244, 112, 0.2),
      rgba(24, 244, 112, 0)
    );
}
header .mine .dropdown-content .avatar-box-big {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  overflow: hidden;
}
header .mine .dropdown-content .avatar-box-big img {
  width: auto;
  height: 100%;
}
header .mine .dropdown-item:not(:first-child) {
  border-radius: 0.4rem;
  padding: 0.8rem;
}

header .mine .dropdown-item:not(:first-child) img {
  width: 1.6rem;
  height: 1.6rem;
  margin-right: 1rem;
}

header .mine .dropdown-item:first-child {
  padding: 2.2rem 0 2.2rem 0.8rem;
}

/* 轮播图 */
.banner {
  padding: 0;
  position: relative;
}

.banner .img-box {
  display: flex;
}

.banner .img-box li {
  height: 100vh;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.banner .img-box li:nth-child(2) {
  background: var(--color-bg);
}
.banner .img-box li > img {
  height: 784px;
  width: auto;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.banner .banner-tags {
  position: absolute;
  bottom: 4.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: 15.6rem;
  display: flex;
  justify-content: space-between;
}
.banner .banner-tags li {
  height: 10px;
  width: 3.6rem;
}
.banner .banner-tags li::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.banner .banner-tags li.active::before {
  background: var(--color-base);
}

.banner .info {
  position: absolute;
  top: 50%;
  left: var(--paddInline);
  transform: translateY(-50%);
}

/* 产品展示 */
.product {
  width: 120rem;
  height: 61.6rem;
  position: relative;
  padding-inline: 4rem;
}
.product > img {
  width: 71.4rem;
  height: 40.2rem;
}
.product .info .btn:last-child {
  margin-left: 1.2rem;
}
.tabs {
  padding-block: 0.8rem;
  flex-direction: column;
  width: 4.8rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
}
.tabs li {
  padding: 8px;
  width: 32px;
  height: 32px;
}

.tabs li:not(:last-child) {
  margin-bottom: 8px;
}

.tabs li:hover {
  background: #323947;
}

.tabs li.active {
  background: linear-gradient(
    225deg,
    rgba(24, 244, 222, 0.1),
    rgba(24, 244, 112, 0.1)
  ) !important;
}

.view-container .tabs,
.twoD-container .tabs {
  left: -6.4rem;
}

.threeD-container .tabs {
  right: -6.4rem;
}

/* 解决方案 */
.solution .cart {
  width: 28.2rem;
  height: 28.2rem;
  /* transition: 100ms ease-in-out; */
  overflow: hidden;
  padding: 3.2rem;
  position: relative;
}

.solution .cart:first-child {
  margin-bottom: 2.4rem;
}

.solution .cart .desc {
  display: none;
}

.solution .cart > img {
  height: 12.8rem;
  width: auto;
  position: absolute;
  right: 16px;
  bottom: 16px;
  /* transition: 250ms; */
}

.solution .cart a span {
  display: none;
  color: var(--color-base-hover);
}
.solution .cart a:hover img {
  transform: translateX(8px);
  transition: 200ms;
}

.solution .cart.unfold {
  height: 100%;
  border: 1px solid rgba(24, 244, 112, 0.3);
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution .unfold .desc {
  display: block;
}

.solution .unfold > img {
  object-fit: contain;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%) scale(1.3);
}
.solution .unfold a {
  width: fit-content;
}
.solution .unfold a span {
  display: flex;
}

.solution .cart.fold {
  height: 0;
  padding: 0;
  border: none;
  margin-bottom: 0;
}
/* 页脚 */
footer {
  padding: 6.4rem var(--paddInline) 30px var(--paddInline);
  flex-wrap: wrap;
}

footer a {
  color: var(--color-desc);
}

footer ul li:first-child {
  margin-bottom: 2.4rem;
}

footer ul li:not(:first-child) {
  margin-bottom: 1.6rem;
  font-size: var(--font-size-mini);
  color: var(--color-desc);
}

footer ul li:not(:first-child) .phone {
  color: var(--color-base);
}

footer li .connect {
  margin-left: 0.8rem;
}

footer .img-area {
  margin-left: 15rem;
}

footer .img-area li:first-child {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 1.6rem;
  justify-items: center;
}

footer .img-area li:first-child img {
  width: 12rem;
  height: 12rem;
  border-radius: 0.5rem;
  transition: 200ms;
}

footer .img-area li:last-child {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 3.2rem;
  position: relative;
}

footer .img-area li:last-child div,
footer .img-area li:last-child a:not(:last-child) {
  position: relative;
  margin-right: 1.6rem;
}

footer .img-area li:last-child a > img,
footer .img-area .official-icon {
  height: 2.4rem;
}

footer .img-area .official-account {
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  transition: 200ms;
}

footer .img-area .official-icon:hover + .official-account {
  opacity: 1;
}
.record {
  padding-bottom: 32px;
  text-align: center;
  font-size: 12px;
  color: var(--color-desc);
}
.record a {
  color: var(--color-desc);
}
.record a:hover {
  color: var(--color-base-hover);
  text-decoration: underline;
}
.record span:first-child {
  margin-right: 40px;
}
