.page-product {
  min-width: 0;
}

.page-product .primary-nav__link.is-active {
  padding-inline: 2px;
  color: #49515e;
  background: transparent;
}

.page-product .primary-nav__link:nth-child(2) {
  padding-inline: 14px;
  color: var(--color-primary);
  background: #f0f6ff;
}

.page-product .wechat-float {
  display: none;
}

.product-hero {
  height: 484px;
  background: url("../images/product/hero-bg.png") center / cover no-repeat;
}

.product-hero__layout {
  display: grid;
  height: 100%;
  grid-template-columns: 1fr 626px;
  align-items: center;
  gap: 72px;
}

.product-hero__copy {
  padding-bottom: 2px;
}

.product-hero__copy h1 {
  margin-bottom: 22px;
  color: #2b2f35;
  font-size: 52px;
  letter-spacing: -1.2px;
}

.product-hero__copy p {
  max-width: 560px;
  margin-bottom: 30px;
  color: #59616d;
  font-size: 16px;
  line-height: 1.65;
}

.product-hero__copy .button {
  min-width: 180px;
}

.product-hero__copy .button span {
  line-height: 18px;
}

.product-hero__video {
  display: block;
  width: 626px;
  height: 352px;
  background: #050c14;
  object-fit: cover;
  border-radius: 18px;
}

.product-section {
  background: #fff;
}

.product-section__title {
  margin: 0 0 40px;
  color: #2d3035;
  font-size: 30px;
  letter-spacing: -0.5px;
  text-align: center;
}

.product-core {
  height: 465px;
  padding-top: 66px;
}

.core-feature-grid {
  display: flex;
  height: 265px;
  gap: 20px;
}

.core-feature-card {
  position: relative;
  flex: 0 0 100px;
  min-width: 0;
  overflow: hidden;
  background: #f3f8ff url("../images/product/feature-tab-bg-1.png") center / cover no-repeat;
  border-radius: 12px;
  transition: flex-basis 220ms ease, flex-grow 220ms ease;
}

.core-feature-card.is-active {
  display: grid;
  grid-template-columns: 476px 1fr;
  flex: 1 1 auto;
  gap: 18px;
  padding: 22px 22px 22px 20px;
  background-image: url("../images/product/advantage-wide-bg.png");
}

.core-feature-card:nth-child(3) {
  background-image: url("../images/product/feature-tab-bg-2.png");
}

.core-feature-card:nth-child(4) {
  background-image: linear-gradient(145deg, #dff1ff, #b6d9ff);
}

.core-feature-card__tab {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px 33px;
  color: #24282f;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
  writing-mode: vertical-rl;
}

.core-feature-card__tab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: -4px;
}

.core-feature-card.is-active .core-feature-card__tab {
  z-index: 1;
  width: auto;
  height: auto;
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  justify-self: start;
  padding: 8px 0 0;
  font-size: 21px;
  line-height: 1.35;
  writing-mode: initial;
}

.core-feature-card__panel[hidden] {
  display: none;
}

.core-feature-card.is-active .core-feature-card__panel {
  display: contents;
}

.core-feature-card__media {
  width: 476px;
  height: 221px;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  object-fit: cover;
  border-radius: 10px;
}

.core-feature-card__body {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
  padding-top: 50px;
}

.core-feature-card p {
  margin: 0;
  color: #5d6671;
  font-size: 14px;
  line-height: 1.65;
}

.core-feature-card__tags {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.core-feature-card__tags span {
  padding: 3px 12px;
  color: var(--color-primary);
  border: 1px solid #8ebff0;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.5;
}

.product-environment {
  height: 380px;
  padding-top: 43px;
}

.product-environment .product-section__title {
  margin-bottom: 40px;
}

.environment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.environment-card {
  height: 240px;
  padding: 32px 24px 22px;
  text-align: center;
  background: #f6f9fd;
  border-radius: 10px;
}

.environment-card img {
  width: 56px;
  height: 56px;
  margin: 0 auto 17px;
  object-fit: contain;
}

.environment-card h3 {
  margin-bottom: 14px;
  font-size: 18px;
}

.environment-card p {
  margin: 0;
  color: #707883;
  font-size: 13px;
  line-height: 1.65;
}

.product-scenes {
  height: 498px;
  padding-top: 44px;
}

.product-scenes .product-section__title {
  margin-bottom: 40px;
}

.product-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-image-card {
  overflow: hidden;
  background: #f6f9fd;
  border-radius: 9px;
}

.product-image-card > img {
  width: 100%;
  height: 216px;
  object-fit: cover;
}

.product-image-card > div {
  min-height: 112px;
  padding: 17px 20px 16px;
}

.product-image-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.product-image-card p {
  margin: 0;
  color: #6d7580;
  font-size: 13px;
  line-height: 1.65;
}

.product-advantages {
  height: 450px;
  padding-top: 44px;
}

.product-advantages .product-section__title {
  margin-bottom: 40px;
}

.advantage-grid {
  display: grid;
  height: 290px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.advantage-card {
  padding: 22px 22px 18px;
  background: #f3f7fd url("../images/product/advantage-card-bg.png") right center / auto 100% no-repeat;
  border-radius: 10px;
}

.advantage-card:first-child {
  grid-row: 1 / 3;
  background-image: url("../images/product/advantage-tall-bg.png");
  background-position: center;
  background-size: cover;
}

.advantage-card:nth-child(2) {
  background-image: url("../images/product/advantage-wide-bg.png");
}

.advantage-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.advantage-card p {
  margin: 0;
  color: #65707c;
  font-size: 13px;
  line-height: 1.65;
}

.product-cases {
  height: 477px;
  padding-top: 49px;
}

.product-cases .product-section__title {
  margin-bottom: 40px;
}

.product-cases .product-image-card > div {
  min-height: 118px;
}

@media (max-width: 1100px) {
  .product-hero__layout {
    grid-template-columns: 1fr 52%;
    gap: 36px;
  }

  .product-hero__video {
    width: 100%;
    height: auto;
    aspect-ratio: 626 / 352;
  }

  .core-feature-grid {
    gap: 16px;
  }

  .core-feature-card {
    flex-basis: 84px;
  }

  .core-feature-card.is-active {
    grid-template-columns: minmax(360px, 1.45fr) minmax(220px, 1fr);
  }

  .core-feature-card__media {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .page-product .primary-nav__link:nth-child(2) {
    padding-inline: 12px;
  }

  .product-hero,
  .product-core,
  .product-environment,
  .product-scenes,
  .product-advantages,
  .product-cases,
  .product-hero {
    padding: 52px 0 60px;
  }

  .product-hero__layout {
    grid-template-columns: 1fr;
  }

  .product-hero__copy h1 {
    font-size: 42px;
  }

  .product-hero__video {
    max-width: 626px;
  }

  .product-section {
    padding: 64px 0;
  }

  .core-feature-grid {
    height: auto;
    flex-direction: column;
  }

  .core-feature-card {
    flex: none;
    min-height: 60px;
  }

  .core-feature-card.is-active {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) 1fr;
    gap: 20px;
    min-height: 220px;
    padding: 22px;
  }

  .core-feature-card__tab,
  .core-feature-card.is-active .core-feature-card__tab {
    width: 100%;
    height: 60px;
    align-self: start;
    justify-content: flex-start;
    padding: 0 22px;
    font-size: 19px;
    line-height: 1.35;
    writing-mode: initial;
  }

  .core-feature-card.is-active .core-feature-card__tab {
    width: auto;
    height: auto;
    grid-column: 2;
    padding: 0;
    font-size: 21px;
  }

  .core-feature-card__media {
    width: 100%;
    height: 176px;
  }

  .core-feature-card__body {
    padding-top: 42px;
  }

  .environment-grid,
  .product-card-grid,
  .advantage-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .advantage-card:first-child {
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .product-hero__copy h1 {
    font-size: 36px;
  }

  .product-hero__copy p {
    font-size: 14px;
  }

  .product-section {
    padding: 52px 0;
  }

  .product-section__title {
    margin-bottom: 32px;
    font-size: 26px;
  }

  .core-feature-card.is-active {
    grid-template-columns: 1fr;
  }

  .core-feature-card.is-active .core-feature-card__tab,
  .core-feature-card__media,
  .core-feature-card__body {
    grid-column: 1;
  }

  .core-feature-card.is-active .core-feature-card__tab {
    grid-row: 1;
  }

  .core-feature-card__media {
    grid-row: 2;
  }

  .core-feature-card__body {
    grid-row: 3;
    padding-top: 0;
  }

  .environment-grid,
  .product-card-grid,
  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .environment-card {
    height: auto;
    min-height: 220px;
  }

  .product-image-card > img {
    height: auto;
    aspect-ratio: 392 / 216;
  }
}

