/* Cookie Policy Section */
.cookie-policy-section {
  padding: 2rem 0;
  /*background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);*/
}

.cookie-policy-container {
  /* max-width: 600px; */
  margin: 0 auto;
  padding-left: 3.6rem;
  padding-right: 3.49rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  margin-bottom: 0.7rem;
  font-size: 0.16rem;
  color: #2c60e2;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* Title */
.cookie-policy-container h1 {
  font-size: 0.48rem;
  font-weight: bold;
  color: #2c60e2;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

/* Content */
.cookie-content {
  margin-bottom: 1rem;
}

.cookie-content p {
  font-size: 0.3rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 0.7rem;
  text-align: justify;
}

.cookie-content .cookie-first-paragraph {
  color: #2c60e2;
  font-size: 0.24rem;
}

/* Required Cookies Section */
.required-cookies h2 {
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  margin-bottom: 0.2rem;
}

.required-cookies p {
  font-size: 0.3rem;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

.required-cookies .table-label {
  font-size: 0.24rem;
  color: #2c60e2;
  margin-bottom: 1rem;
}

/* Cookies Table */
.cookies-table {
  width: 100%;
}

.table-header {
  display: flex;
  padding: 0.5rem 0.1rem;
  padding-top: 0;
  font-weight: bold;
  font-size: 0.24rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.table-header span {
  flex: 1;
  text-align: center;
}

.table-row {
  display: flex;
  padding: 0.3rem 0.1rem;
  font-size: 0.24rem;
  color: #666;
  margin-bottom: 0.25rem;
  border-radius: 0.75rem;
}

.table-row span {
  flex: 1;
  text-align: center;
}

.table-row.highlighted {
  background-color: #f0f7ff;
}

.table-row a {
  color: #2c60e2;
  text-decoration: none;
}

.cookie-policy-container p span{
   text-wrap-mode: unset !important; 
}
/* .table-row:hover {
  background-color: #f8fafc;
} */

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-policy-section {
    padding: 1.8rem 0.5rem 0.5rem;
    box-sizing: border-box;
  }

  .cookie-policy-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .cookie-policy-container h1 {
    font-size: 0.48rem;
    margin-bottom: 0.2rem;
  }

  .breadcrumb {
    font-size: 0.16rem;
    display: flex;
    align-items: center;
    gap: 0.05rem;
    margin-bottom: 1rem;
    text-align: left;
    padding-left: 0;
  }

  .cookie-content {
    width: 100%;
  }

  .cookie-content p {
    font-size: 0.3rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    text-align: justify;
    word-wrap: break-word;
  }

  .required-cookies h2 {
    font-size: 0.36rem;
    margin-bottom: 0.2rem;
  }

  .required-cookies p {
    font-size: 0.3rem;
    line-height: 1.8;
    margin-bottom: 0.7rem;
    text-align: justify;
    word-wrap: break-word;
  }

  .table-header,
  .table-row {
    flex-wrap: wrap;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .table-header span,
  .table-row span {
    flex: 0 0 50%;
    /* margin-bottom: 0.25rem; */
    font-size: 0.24rem;
    word-break: break-all;
  }
}

/* Hero Banner */
.hero {
  height: 8.68rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* 优化：开启硬件加速 */
  will-change: transform;
  transform: translateZ(0);
}

.hero-carousel {
  position: absolute;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  /*opacity: 0;*/
  /* 只过渡 opacity，不过渡全部 */
  transition: opacity 0.5s ease;
  z-index: 0;
  will-change: opacity;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 12rem;
  padding: 2.4rem 0.4rem 0;
  margin: 0 auto;
}

.hero-sunto {
  font-family: "Arial Bold MT", "Arial Black", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02rem;
  color: transparent;
  -webkit-text-stroke: 0.02rem #cadce8;
  text-stroke: 0.02rem #cadce8;
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}

.hero-tagline {
  font-size: 0.3rem;
  line-height: 0.3rem;
  font-weight: normal;
  letter-spacing: normal;
  margin-bottom: 0.45rem;
  opacity: 0.95;
  text-transform: capitalize;
}

.hero-btn {
  display: inline-block;
  width: 1.6rem;
  height: 0.45rem;
  line-height: 0.45rem;
  text-align: center;
  background: transparent;
  border: 0.02rem solid #2c60e2;
  color: #2c60e2;
  text-decoration: none;
  border-radius: 0.225rem;
  font-weight: 600;
  font-size: 0.14rem;
  letter-spacing: 0.01rem;
  /* 只过渡需要的属性 */
  transition: background-color 0.2s ease, color 0.2s ease;
  will-change: background-color, color;
}

.hero-btn:hover {
  background: #2c60e2;
  color: #fff;
}

/* Products Section */
.products-section {
  position: relative;
  z-index: 2;
  padding: 0.4rem 0.8rem;
}

.products-title {
  font-size: 0.36rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0.8rem 0 0.5rem 0;
}

.products-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
}

.tabsbtn {
  width: 3rem;
  height: 1rem;
  background-color: transparent;
  border-radius: 0.5rem;
  border: 0.01rem solid #2C60E2;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  /* 优化 hover 性能 */
  transition: background-color 0.2s ease;
  will-change: background-color;
}

.tabsbtn .tabsbtn-title {
  font-size: 0.3rem;
  font-weight: bold;
  color: #2c60e2;
  transition: color 0.2s ease;
}

.tabsbtn .tabsbtn-sub {
  padding: 0.2rem;
  width: 100%;
  box-sizing: border-box;
  background: #FFFFFF;
  box-shadow: 0 0 0.1rem 0 rgba(0, 38, 108, 0.5);
  border-radius: 0.3rem;
  font-weight: normal;
  font-size: 0.16rem;
  color: #2C60E2;
  position: absolute;
  left: 50%;
  top: 1.6rem;
  z-index: 999;
  transform: translate(-50%, -50%);
  opacity: 0;
  text-align: center;
  /* 缩短时间 + 只过渡 opacity */
  transition: opacity 0.15s ease;
  will-change: opacity;
  /* 减少重绘 */
  pointer-events: none;
}

.tabsbtn.active {
  background: #2c60e2;
}

.tabsbtn.active .tabsbtn-title {
  color: #fff;
}

.tabsbtn.active::after {
  content: "";
  position: absolute;
  bottom: -0.12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.12rem solid transparent;
  border-right: 0.12rem solid transparent;
  border-top: 0.12rem solid #2c60e2;
}

.tabsbtn:hover {
  background: #2c60e2;
}

.tabsbtn:hover .tabsbtn-title {
  color: #fff;
}

.tabsbtn:hover::after {
  content: "";
  position: absolute;
  bottom: -0.12rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 0.12rem solid transparent;
  border-right: 0.12rem solid transparent;
  border-top: 0.12rem solid #2c60e2;
}

.tabsbtn:hover .tabsbtn-sub {
  opacity: 1;
}



.productsinfo {
  display: none;
}
.productstype .productsinfo:first-child {
  display: block;
}
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.category-title {
  grid-column: 1 / -1;
  font-size: 0.36rem;
  font-weight: bold;
  color: #2c60e2;
  margin: 0.2rem 0 0.1rem 0;
  padding: 0;
}

.product-card {
  position: relative;
  border-radius: 0.15rem;
  overflow: hidden;
  /* 优化 hover 性能 */
  will-change: transform;
  transform: translateZ(0);
}

.product-name {
  font-size: 0.3rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0 0 0.15rem 0;
}

.product-image-container {
  position: relative;
  width: 100%;
  border-radius: 0.15rem;
  overflow: hidden;
}

.product-bg {
  width: 100%;
  display: block;
}

.product-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  /* 只过渡 transform，性能最好 */
  transition: transform 0.25s ease;
  will-change: transform;
}

.product-image:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.product-more-btn {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #2c60e2;
  color: #fff;
  border: none;
  border-radius: 0.3rem;
  height: 0.6rem;
  width: 1.2rem;
  font-size: 0.18rem;
  justify-content: center;
  cursor: pointer;
  /* 只过渡不透明度 */
  transition: opacity 0.2s ease, visibility 0.2s ease;
  will-change: opacity;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.product-card:hover .product-more-btn {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.product-more-btn img {
  width: 0.19rem;
  height: 0.19rem;
}

.product-more-btn:hover {
  background: #1a4a9e;
}

.product-more-btn-icon {
  position: absolute;
  bottom: 0.2rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0.1rem 0 rgba(0,38,108,0.5);
  background: transparent;
  color: #2c60e2;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 50%;
  width: 0.6rem;
  height: 0.6rem;
  padding: 0;
  font-size: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease;
  will-change: opacity;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
}

.product-card:hover .product-more-btn-icon {
  opacity: 0;
  visibility: hidden;
}

.product-more-btn-icon img {
  width: 0.16rem;
  height: 0.16rem;
  transition: filter 0.2s ease;
}

.product-more-btn-icon:hover {
  background: #2c60e2;
}

.product-more-btn-icon:hover img {
  filter: brightness(0) invert(1);
}

/* Background Wrapper Section */
.bg-wrapper-section {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bg-wrapper-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

/* Sections inside background wrapper */
.bg-wrapper-section section {
  position: relative;
  z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0.2rem;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    padding: 0.3rem;
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    color: #fff;
  }

  header.scrolled .nav-links a {
    color: #fff;
  }

  .qa-btn {
    display: none;
  }

  .menu-toggle {
    display: block;
    color: #fff;
  }

  header.scrolled .menu-toggle {
    color: #262728;
  }

  .solution-footer-content {
    padding-right: 0.2rem;
    padding-left: 0.2rem;
  }

  /* Hero */
  .hero {
    height: 5.2rem;
    padding: 0 0.2rem;
  }

  .hero-sunto {
    font-size: 0.7rem;
    letter-spacing: 0.12rem;
  }

  .hero-tagline {
    font-size: 0.15rem;
    letter-spacing: 0.05rem;
  }

  .products-section {
    padding: 0.4rem 0.2rem;
  }

  .products-tabs {
    flex-wrap: wrap;
    gap: 0.1rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0 0.15rem;
  }

  .solution-footer-content {
    padding-right: 0.15rem;
    padding-left: 0.15rem;
  }
}