/* 容器整体布局 - 现代科技感设计 */
.side-tabs-navbox {
  display: none;
  height: 6.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 90%;
  max-width: 16rem;

  margin: 30px auto;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8faff 0%, #f0f9ff 100%);
  overflow: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: absolute;
  top:0.6rem;
  left: 10%;
}

/* 右侧内容区 - 玻璃拟态效果增强 */
.side-tabs-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px;
  min-height: 500px;
  overflow-x: auto;
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

/* 动态光效增强 */
.dynamic-glow::before {
  content: "";
  position: absolute;
  left: 30%;
  top: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 60% 40%, rgba(127, 127, 255, 0.2) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  animation: glowMove 15s infinite alternate;
}

.dynamic-glow::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 5%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 40% 60%, rgba(255, 184, 108, 0.2) 0%, transparent 70%);
  filter: blur(30px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
  animation: glowMove2 12s infinite alternate;
}

@keyframes glowMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 30px); }
}

@keyframes glowMove2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-40px, -20px); }
}

/* 左侧tab导航 - 现代化设计 */
.side-tabs-menu {
  width: 200px;
  background: rgba(247, 248, 250, 0.95);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 0;
  backdrop-filter: blur(5px);
  z-index: 2;
  border-right: 1px solid rgba(230, 232, 235, 0.5);
}

.side-tab-btn {
  height: 50px;
  line-height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 25px;
  font-size: 0.16rem;
  color: #555;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  font-weight: 500;
  margin: 5px 10px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
  overflow: hidden;
}

.side-tab-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(127, 127, 255, 0.1) 0%, rgba(25, 212, 125, 0.1) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.side-tab-btn:hover {
  color: #7f7fff;
  transform: translateX(5px);
}

.side-tab-btn:hover::before {
  transform: scaleX(1);
}

.side-tab-btn.active {
  color: white;
  background: linear-gradient(90deg, #7f7fff 0%, #19d47d 100%);
  box-shadow: 0 4px 15px rgba(127, 127, 255, 0.3);
  transform: translateX(0);
}

.side-tab-btn.active::before {
  display: none;
}

/* 产品宫格区 - 现代化卡片设计 */
.side-tabs-panel {
  display: none;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: flex-start;
  animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.side-tabs-panel.active {
  display: flex;
}

/* 产品卡片 - 现代化设计 */
.side-product-card {
  width: 2.5rem;
  height: 2.8rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.side-product-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(127, 127, 255, 0.2);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(127, 127, 255, 0.3);
}

.side-product-img {
  width: 2.5rem;
  height: 2rem;
  margin: 0 0 15px;
  border-radius: 8px;
  background: #f8faff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.side-product-card:hover .side-product-img {
  transform: scale(1.05);
}

.side-product-img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.side-product-card:hover .side-product-img img {
  transform: scale(1.1);
  filter: drop-shadow(0 5px 10px rgba(127, 127, 255, 0.3));
}

.side-product-name {
  font-size: 0.16rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.side-product-card:hover .side-product-name {
  color: #7f7fff;
}

.side-product-hover {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(90deg, #7f7fff 0%, #19d47d 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.14rem;
  transition: all 0.3s ease;
  opacity: 0;
}

.side-product-card:hover .side-product-hover {
  bottom: 0;
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .side-tabs-navbox {
    flex-direction: column;
    max-width: 100%;
  }
  
  .side-tabs-menu {
    width: 100%;
    flex-direction: row;
    padding: 10px;
    border-right: none;
    border-bottom: 1px solid rgba(230, 232, 235, 0.5);
  }
  
  .side-tab-btn {
    flex: 1;
    justify-content: center;
    padding-left: 0;
    margin: 0 5px;
    height: 40px;
    line-height: 40px;
  }
  
  .side-tabs-content {
    padding: 20px;
  }
  
  .side-product-card {
    width: calc(50% - 10px);
  }
}

@media (max-width: 576px) {
  .side-product-card {
    width: 100%;
  }
}

/* 滚动条美化 */
.side-tabs-content::-webkit-scrollbar {
  height: 6px;
  background: transparent;
}

.side-tabs-content::-webkit-scrollbar-thumb {
  background: rgba(127, 127, 255, 0.5);
  border-radius: 3px;
}

.side-tabs-content::-webkit-scrollbar-thumb:hover {
  background: rgba(127, 127, 255, 0.7);
}
/* 场景案例二级导航 - 优化版 */
.side-tabs-cases {
  width: 90%;
  max-width: 1200px;
  height: auto;
  min-height: 120px;
  background: #fff;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 12px;
}

.side-tabs-casesitem {
  width: 160px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 15px;
}

.side-tabs-casesitem:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.8);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.side-tabs-casesitemimg {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.side-tabs-casesitem:hover .side-tabs-casesitemimg {
  transform: scale(1.1);
}

.side-tabs-casesitemtitle {
  font-size: 0.18rem;
  padding-top: 10px;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  text-align: center;
}

.side-tabs-casesitem:hover .side-tabs-casesitemtitle {

  transform: scale(1.05);
}

.side-tabs-casesitemline {
  width: 1px;
  height: 60px;
  border-right: 1px dashed rgba(0,0,0,0.2);
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.side-tabs-casesitem:hover .side-tabs-casesitemline {
  height: 70px;
  border-right-color: rgba(0,102,255,0.5);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .side-tabs-cases {
    flex-wrap: wrap;
    padding: 15px;
  }
  .side-tabs-casesitem {
    width: 45%;
    margin-bottom: 20px;
  }
  .side-tabs-casesitemline {
    display: none;
  }
}
/*新闻二级导航*/

.luxury-mini-nav {
  width: 2rem;
  height: 0; /* 初始高度为0 */
    position: relative; /* 确保层级正确 */
  z-index: 1000;     /* 保证浮在其他元素上方 */

  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 0.08rem;
  box-shadow: 
    0 0.03rem 0.15rem rgba(0, 0, 0, 0.08),
    inset 0 0 0 0.01rem rgba(255, 255, 255, 0.5);
  overflow: hidden;
  font-family: "Helvetica Neue", Arial, sans-serif;
  backdrop-filter: blur(0.04rem);
  position: absolute;
  right: 4.3rem;
}
.newshover {
  position: relative; /* 建立定位上下文 */
}
.luxury-nav-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.18rem;
  color: #444;
  text-decoration: none;
  position: relative;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  border-bottom: 0.01rem solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  z-index: 1;
}

/* 移除最后一个项目的下边框 */
.luxury-nav-item:last-child {
  border-bottom: none;
}

/* 悬停渐变特效 */
.luxury-nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(127, 127, 255), rgb(25, 212, 125));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.luxury-nav-item:hover::before {
  opacity: 0.15;
}

/* 文字悬停效果 */
.luxury-nav-item:hover {
  color: #000;
  transform: translateX(0.02rem);
}

/* 激活状态 */
.luxury-nav-item.active {
  color: #000;
  font-weight: 500;
  background: rgba(245, 245, 245, 0.9);
}

.luxury-nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.03rem;
  height: 0.3rem;
  background: linear-gradient(to bottom, #7f7fff, #19d47d);
  border-radius: 0 0.02rem 0.02rem 0;
}

/* 精致光效增强 */
.luxury-nav-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.4) 0%,
    transparent 60%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.luxury-nav-item:hover::after {
  opacity: 1;
}