body {
  background: #101114;
}

* {
  line-height: 1.5;
}

/* 主视觉页面 */
#page-visual {
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  z-index: -999;
}

/* slogan */
#slogan-container {
  margin: 10vw;
  position: relative;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  color: #fff;
}

#slogan-text {
  font-weight: 200;
  font-size: 4rem;
  letter-spacing: 0.4rem;
  text-shadow: 0 0 10px rgba(217, 220, 228, 0.3);
}

#slogan-btn {
  cursor: pointer;
  /* layout */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 3rem;
  margin: 1.5rem 0;
  /* font */
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  /* style */
  border: 2px solid #fff;
  color: #fff;
  background: none;
  transition: 0.4s;
}

#slogan-btn:hover {
  /* background: linear-gradient(101.66deg, #0f6ace -6.8%, #00b7ff 106.47%); */
  color: #000;
  background: #fff;
  transition: 0.4s;
}

/* 产品展示 */
#page-product {
  width: 100vw;
  max-width: 100%;
  height: 70vh;
  display: flex;
  justify-content: center;
}

#product-card {
  position: relative;
  width: 40%;
  height: 100%;
  color: #fff;
  /* Background-Blur */
  background: rgba(55, 55, 56, 0.1);
  backdrop-filter: blur(15px);
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 17% 0 8%;
}

#product-title {
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 4rem;
}

#product-intro {
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.8rem;
  margin: 1rem 0 0 0;
}

#discover-more-btn {
  cursor: pointer;
  /* Layout */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 3rem;
  margin: 1.5rem 0;
  /* font */
  font-weight: 400;
  font-size: 1rem;
  /* style */
  border: 1px solid #fff;
  color: #fff;
  background: none;
  transition: 0.4s;
}

#discover-more-btn:hover {
  /* background: linear-gradient(101.66deg, #0f6ace -6.8%, #00b7ff 106.47%); */
  color: #000;
  background: #fff;
  transition: 0.4s;
}

#product-image-wrapper {
  position: relative;
  width: 40%;
  height: 100%;
}

#product-image-feature {
  position: relative;
  width: 110%;
  height: 100%;
  left: -10%;
  top: 10%;
}

#product-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* 合作伙伴 */
#page-about {
  width: 100vw;
  max-width: 100%;
  color: #fff;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 25vh;
  /* Scroll Snap */
  scroll-snap-align: start;
}

#about-us-header {
  width: 80%;
  padding: 0 10%;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Inside Auto Layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

#about-us-des {
  font-style: normal;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 2rem;
  color: #bbb;
  /* Inside Auto Layout */
  flex: none;
  order: 1;
  flex-grow: 0;
  margin: 1.5rem 0;
}

#cards-container {
  padding: 5vh 10% 0;
  width: 80%;
  /* Grid */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  /* Let the longest card determine a shared height, including wrapped rows. */
  grid-auto-rows: 1fr;
  grid-column-gap: 2rem;
  grid-row-gap: 2rem;
}

@media screen and (min-width: 768px) and (max-width: 1160px) {
  #cards-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 768px) {
  #cards-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.about-us-card {
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
  transition: 0.4s;
  cursor: pointer;
}

.about-us-card:hover {
  transform: translateY(-1rem);
  transition: 0.4s;
}

.card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 15px;
  /* 思瑞斯蓝 */
  /* background: #0f6ace; */
  background: linear-gradient(101.66deg, #0f6ace -6.8%, #00b7ff 106.47%);
  border-radius: 0.5rem;
  z-index: 2;
}

.card-des {
  position: relative;
  top: -35px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  flex: 1;
  color: #ddd;
  /* Background-Blur */
  background: rgba(245, 250, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 10px;
  transition: 0.4s;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem 2rem;
}

.card-des:hover {
  background: rgba(245, 250, 255, 0.1);
  transition: 0.4s;
}

.card-title {
  font-weight: 400;
}

.card-text {
  font-weight: 200;
  font-size: 1rem;
  line-height: 1.8rem;
  color: #aaa;
  margin: 0.8rem 0;
}

/* 新闻展示 */
#page-news {
  width: 100vw;
  max-width: 100%;
  color: #fff;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 15vh;
  /* Scroll Snap */
  scroll-snap-align: start;
}

#page-news>.subtitle {
  padding: 0 10%;
}

/* news card */
.news-container {
  width: 80%;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 5%;
}

.news-card {
  width: 100%;
  cursor: pointer;
}

.news-card>.img-wrapper {
  width: 100%;
  height: 25vh;
  margin-bottom: -10%;
  overflow: hidden;
}

.news-card>.img-wrapper>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
  transition: 0.5s;
}

.news-card>.img-wrapper>img:hover {
  filter: opacity(1);
  transform: scale(1.2);
  transition: 0.5s;
}

.news-card>.text-wrapper {
  position: relative;
  width: 75%;
  /* height: 50%; */
  padding: 1.5rem 2rem 0 0;
  background: #101114;
}

.news-card>.text-wrapper>h1 {
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 2.25rem;
  letter-spacing: 0.1rem;
}

.news-card>.text-wrapper>p {
  padding-top: 1rem;
  color: #bbb;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .news-container {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    grid-gap: 5vh;
  }
}

/* 合作伙伴 */
#page-brand {
  width: 100vw;
  max-width: 100%;
  color: #fff;
  /* Auto Layout */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15vh 0;
  /* Scroll Snap */
  scroll-snap-align: start;
}

#page-brand>.subtitle {
  padding: 0 10%;
}

#drag-container {
  width: 100%;
  overflow: hidden;
}

#brands-container {
  /* Auto Layout */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  /* padding: 6rem 0px 0px 9%; */
}

.brand-card {
  margin: 0 20px;
  width: 30vh;
  height: 10vh;
  /* Background-Blur */
  background: rgba(245, 250, 255, 0.1);
  transition: 0.4s;
  backdrop-filter: blur(4px);
  /* Auto Layout */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0.8rem;
  /* Inside Flex */
  flex-shrink: 0;
}

.brand-card:hover {
  background: rgba(245, 250, 255, 0.2);
  transition: 0.4s;
}

.brand-img {
  height: 8vh;
  max-width: 95%;
  filter: none;
}

/* 自适应 */
@media screen and (max-width: 900px) {

  /* 主视觉 */
  #slogan-btn {
    padding: 8px 50px;
  }

  /* 产品展示 */
  #page-product {
    display: block;
    background-color: #0d1623;
  }

  #product-card {
    width: 80%;
    height: 50vh;
    padding: 0 10%;
  }

  #discover-more-btn {
    margin: 4vh 0;
    padding: 1vh 10vw;
  }

  #product-image-wrapper {
    width: 100%;
    height: 40vh;
  }

  #product-image-feature {
    width: 90%;
    left: 10%;
    top: -10%;
  }

  /* 关于我们 */
  #page-about {
    padding-top: 40vh;
  }

  .card-icon {
    width: 30px;
    height: 30px;
    padding: 10px;
  }

  .card-des {
    width: 100%;
    padding: 50px 20px 10px 20px;
  }

  #drag-container {
    width: 100%;
    overflow-x: auto;
  }

  #drag-container::-webkit-scrollbar {
    display: none;
  }
}
