/* Dial product introduction V2 extension. Builds on cloud-product-intro.css. */

.page-dial-intro-v2 #section .banner .carousel .banner-item-1::before {
  background:
    linear-gradient(90deg, rgba(3, 12, 34, 0.97), rgba(5, 31, 72, 0.85) 43%, rgba(5, 29, 66, 0.22) 76%),
    radial-gradient(circle at 72% 10%, rgba(64, 224, 255, 0.2), transparent 38%);
}

.page-dial-intro-v2 #section .product-advantages .advantages ul li:nth-child(2n) .icon i {
  color: #0b94c9;
  background: linear-gradient(145deg, #edfbff, #e9f3ff);
}

/* Product capability comparison. */
.page-dial-intro-v2 #section .product-features .features.battle {
  display: block;
  overflow: hidden;
  border: 1px solid var(--ui-color-border);
  border-radius: var(--ui-radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ui-shadow-sm);
}

.page-dial-intro-v2 #section .product-features .features.battle .item,
.page-dial-intro-v2 #section .product-features .features.battle .item.tline {
  min-width: 0;
  display: grid;
  grid-template-columns: 190px repeat(2, minmax(0, 1fr));
  border: 0;
  border-bottom: 1px solid var(--ui-color-border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background var(--ui-duration-fast);
}

.page-dial-intro-v2 #section .product-features .features.battle .item:last-child {
  border-bottom: 0;
}

.page-dial-intro-v2 #section .product-features .features.battle .item:hover {
  transform: none;
  border-color: transparent;
  background: rgba(239, 247, 255, 0.58);
  box-shadow: none;
}

.page-dial-intro-v2 #section .product-features .features.battle .item > .item-title,
.page-dial-intro-v2 #section .product-features .features.battle .item > .item-info {
  width: auto;
  min-width: 0;
  min-height: 90px;
  padding: 22px 24px;
  border: 0;
  border-right: 1px solid var(--ui-color-border);
}

.page-dial-intro-v2 #section .product-features .features.battle .item > :last-child {
  border-right: 0;
}

.page-dial-intro-v2 #section .product-features .features.battle .item:first-child > .item-title {
  min-height: 74px;
  padding-block: 18px;
  align-items: center;
  justify-content: center;
  color: var(--ui-color-text-secondary);
  background: #edf3fa;
}

.page-dial-intro-v2 #section .product-features .features.battle .item:first-child > .item-title:nth-child(2) {
  padding: 18px 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-color-primary-600), #0a9bc9);
}

.page-dial-intro-v2 #section .product-features .features.battle .item:first-child > .item-title:nth-child(2)::before {
  display: none;
}

.page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-title {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  color: var(--ui-color-text);
  background: linear-gradient(145deg, #f1f7ff, #edfaff);
}

.page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-title i {
  margin: 0 16px 0 0;
  flex: 0 0 auto;
  color: var(--ui-color-primary-500);
  font-size: 34px;
}

.page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-info:nth-child(2) {
  position: relative;
  background: rgba(237, 248, 255, 0.76);
}

.page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-info:nth-child(2)::before,
.page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-info:nth-child(2)::after {
  display: none;
}

.page-dial-intro-v2 #section .product-features .features.battle .item .item-info ul li {
  height: 100%;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.page-dial-intro-v2 #section .product-features .features.battle .item .item-info ul li p {
  width: 100%;
  margin: 0;
  color: var(--ui-color-text-secondary);
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.page-dial-intro-v2 #section .product-features .features.battle .item .item-info:nth-child(2) ul li p {
  color: var(--ui-color-primary-700);
  font-weight: 650;
}

@media (max-width: 680px) {
  .page-dial-intro-v2 #section .banner .carousel .product-content .btn {
    display: flex;
    gap: 8px;
    padding-bottom: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-dial-intro-v2 #section .banner .carousel .product-content .btn::-webkit-scrollbar,
  .page-dial-intro-v2 #section .qg-nav-bar nav::-webkit-scrollbar {
    display: none;
  }

  .page-dial-intro-v2 #section .banner .carousel .product-content .btn a {
    width: auto;
    min-width: 94px;
    margin: 0 !important;
    padding-inline: 16px;
    flex: 0 0 auto;
  }

  .page-dial-intro-v2 #section .qg-nav-bar nav {
    scrollbar-width: none;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item,
  .page-dial-intro-v2 #section .product-features .features.battle .item.tline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item:first-child > .item-title:first-child {
    display: none;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item:not(:first-child) > .item-title {
    grid-column: 1 / -1;
    min-height: 70px;
    padding: 16px 18px;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item > .item-info {
    min-height: 132px;
    padding: 18px 14px;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item > .item-info:nth-child(2) {
    border-left: 0;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item:first-child > .item-title {
    min-height: 64px;
    padding: 14px 10px;
    font-size: 14px;
  }

  .page-dial-intro-v2 #section .product-features .features.battle .item .item-info ul li p {
    font-size: 13px;
    line-height: 1.65;
  }
}
