body {
  margin: 0; padding: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}
.strong-underline {
  border-bottom: 4px solid #88bad5;
  padding-bottom: 1px;
}
.content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.navbar {
  width: 100%;
  height: 90px;
  top: 0;
  left: 0;
  display: flex;  
  align-items: center;  
  background: #fff;
  overflow: visible;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  transform: translateY(-100%);
  animation: slideDown 0.8s ease forwards;
  position: fixed;
  z-index: 99999;
}
@keyframes slideDown {
  to {
    transform: translateY(0);
  }
}

.navbar .logo {  
  height: 110px;         /* 可根据需求调整大小 */  
  margin-left: 32px;    /* 左边距 */  
  margin-right: 38px;   /* 与菜单的间距 */  
  display: block;
}

.navbar ul {
  display: flex;
  position: relative;
  flex-wrap: nowrap;
  overflow: visible;  /* 禁止纵向滚动条 */
  white-space: nowrap;
  list-style: none;
  margin: 0; padding: 0;
  align-items: center;
  gap: 20px;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.lang-switch {
  position: relative;
  list-style: none;
}

/* 触发区域 */
.lang-trigger {
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  cursor: pointer;
  font-size: 18px;
}

.cursor {    
  display: inline-block;    
  width: 1ch;    
  animation: blink 1s steps(1) infinite;  
}  
@keyframes blink {    0%, 50% { opacity: 1; }    51%, 100% { opacity: 0; }  }

/* 下拉框 */
.lang-dropdown {
  position: absolute;
  top: 100%;          /* ✅ 关键 */
  right: 0;
  margin-top: 0;  /* 控制间距 */
  width: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
}

/* 显示动画 */
.lang-switch:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 9999;
}

/* 选项 */
.lang-dropdown a {
  display: block;
  padding: 6px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  line-height: 2.8;
  z-index: 9999;
}

.lang-dropdown a:hover {
  background: #f5f5f5;
  z-index: 9999;
}
.lang-icon {
  width: 20px;
  height: 20px;
}
.google-icon {
  width: 15px;
  height: 15px;
}
.navbar ul li.nav-item {
  position: relative;
  transition: color 0.3s ease;
}

.navbar ul li.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 100%;
  height: 3px;
  background: #0d315a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.navbar ul li.nav-item:hover::after,
.navbar ul li.nav-item:hover {
  color: #0d315a;
}
.navbar ul li.nav-item:hover::after {
  transform: scaleX(1);
}
.navbar ul li.nav-item.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar ul li.nav-item a,
.navbar ul li.nav-item a:visited,
.navbar ul li.nav-item a:active,
.navbar ul li.nav-item a:focus {
  color: #222; /* 或你想要的色值 */
  text-decoration: none;
}

.navbar li  {
  font-size: 18px;
  font-weight: bold;
  color: #222;
  cursor: pointer;
  padding: 0 10px;
  line-height: 76px;
}
.navbar .search, .navbar .lang {
  font-weight: normal;
  font-size: 16px;
  color: #666;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  height: 70px;
}

/* 全屏分区 */
.fullpage {
  width: 100%;
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}


.subtitle strong {color:#fff; background:#178ffea1; border-radius:4px; padding:0 8px;}

.product-showcase{
  width:100%;
  min-height:100vh;
  background:#fff;
  display:flex;
  flex-direction:column;   /* ✅ 关键 */
  align-items:center;
}

.showcase-left{
  width:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  position:relative;
  }
  
.showcase-left img{
  width:70%;
  max-width:450px;
  transition:0.4s;
  }
  
  .product-desc{
    margin-top:10px;
    font-size:16px;
    color:#666;
    height:28px;          /* ✅ 固定高度 */
    line-height:28px;
    overflow:hidden;
  }
  
.showcase-right{
  width:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  }
  
.product-list{
  list-style:none;
  padding:0;
  }
  
.product-list li{
  font-size:24px;
  position:relative;
  padding:18px 0 18px 24px;
  cursor:pointer;
  color:#888;
  transition:0.3s;
  }
  
.product-list li:hover{
  color:#000;
  transform:translateX(10px);
  }

.product-list li {
    display: flex;           /* ✅ 横向排列 */
    align-items: center;     /* ✅ 垂直居中 */
    gap: 16px;               /* ✅ 图片和文字间距 */
    font-size: 22px;
    padding: 18px 0;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
  }
.product-list li::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:3px;
    height:24px;
    background:#000;
    transform:translateY(-50%) scaleY(0);
    transition:0.3s;
  }
.product-list li:hover::before{
    transform:translateY(-50%) scaleY(1);
  }
.type-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: 0.3s;
  }
.product-list li:hover {
    color: #000;
    transform: translateX(10px);
  }
.product-list li:hover .type-icon {
    transform: scale(1.1);
  }

.product-list li.active {
    color: #000;
    font-weight: 600;
  }
  
.product-header{
    text-align:center;
    margin-bottom:60px;
    opacity:0;
    transform:translateY(40px);
    animation:fadeUp 1s ease forwards;
  }
.product-main-title{
    font-size:42px;
    letter-spacing:4px;
  }
#product-image,
.product-title,
.product-desc{
    transition:0.3s ease;
  }
.showcase-container{
    width:80%;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
.showcase-left{
    transform:translateX(-80px);
    opacity:0;
    animation:slideLeft 1s ease 0.3s forwards;
  }
.showcase-right{
    transform:translateX(80px);
    opacity:0;
    animation:slideRight 1s ease 0.3s forwards;
  }
.more-link{
    display:inline-block;
    margin-top:20px;
    color:#000;
    text-decoration:none;
    transition:0.3s;
  }
.more-link:hover{
    transform:translateX(6px);
  }

  @keyframes fadeUp{
    to{opacity:1;transform:translateY(0);}
  }
  @keyframes slideLeft{
    to{opacity:1;transform:translateX(0);}
  }
  @keyframes slideRight{
    to{opacity:1;transform:translateX(0);}
  }

.img3 {
  background-image:url("assets/tr2.png");
  background-size:cover;
  position: relative;
}

.menu-toggle {
  display: none;
}

section.fullpage.about-section {
  position: relative; /* 必须有：让伪元素绝对定位参考 */
  z-index: 1;         /* 确保自己的内容在伪元素上面 */
  background-image: url("assets/bg1.png");
}
section.fullpage.about-section::before {
  content: "";
  position: absolute;
  inset: 0;                       /* 顶底左右全覆盖父元素 */
  background: rgba(255,255,255,0.40);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 0;                     /* 在内容下方 */
  pointer-events: none;           /* 防止影响点击 */
  border-radius: 18px;            /* 可选，与内容对齐弧度 */
}

.about-container {
  width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: transparent;
  position: relative;
  z-index: 1;
  gap: 80px;
  background: rgba(255, 255, 255, 0.80);  /* 85% 白色半透明 */
  border-radius: 24px;
  padding: 80px 80px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* 左侧图片 */
.about-image {
  flex: 0 0 45%;
  position: relative;
  display: inline-block; 
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18),
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.18)
  );
  border-radius: 16px;
  pointer-events: none;
}

.about-image img {
  width: 100%;
  border-radius: 16px;
  filter: brightness(0.85);
}

/* 右侧内容 */
.about-content {
  padding-right: 20px;
}

.about-title {
  font-size: 44px;
  font-weight: 700;
  color: #1f3a60;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.about-sub {
  font-size: 18px;
  color: #2d5fa6;
  margin-bottom: 40px;
}

.about-content p {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

.en-text {
  font-size: 15px;
  color: #666;
}

/* 底部口号 */
.about-slogan {
  margin-top: 20px;
}

.about-slogan .cn {
  font-size: 22px;
  font-weight: 700;
  color: #1f4fa3;
  margin-bottom: 8px;
}

.about-slogan .en {
  font-size: 14px;
  color: #666;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 80px 0 30px;
  font-family: Arial, sans-serif;
}

.footer-top {
  width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  justify-content: space-between;
}

.footer-col h4 {
  font-size: 16px;
  color: #111;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  text-decoration: none;
}

.footer-col a:hover {
  color: #1f4fa3;
}

/* 中部 */
.footer-middle {
  width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  color: #666;
}

.footer-contact {
  text-align: right;
}

.footer-mail {
  display: inline-block;
  margin-bottom: 16px;
  color: #1f4fa3;
  font-size: 14px;
  text-decoration: none;
}

.footer-social a {
  margin-left: 12px;
}

.footer-social img {
  width: 22px;
  opacity: .6;
  transition: .3s;
}

.footer-social img:hover {
  opacity: 1;
}

/* 底部 */
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.kw {
  color: #0d315a;             /* 深蓝色 */
  text-decoration: underline;
  text-underline-offset: 3px; /* 下划线与文字间距 */
  font-weight: 600;
}

.main-content, body > *:not(.bg-img) {
  position: relative;
  z-index: 1;
}

/* ===========================
   📱 Mobile Navbar (with fade)
=========================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 28px;
    cursor: pointer;
    color: #000;
    position: relative;
    z-index: 2000;
    margin-left: 0;
  }


  .navbar .logo {
    height: 500px;       
    margin-left: 12px;
    margin-right: 12px;
  }

  .navbar ul {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;

    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;

    /* ✅ 关键：淡入淡出 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition: opacity 0.3s ease,
                transform 0.3s ease,
                visibility 0.3s;

    z-index: 1000;
  }

  .navbar ul.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(30px);
  }

  .navbar ul li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .hero {
    height: 100dvh;   /* ✅ 新版浏览器支持 */
  }

  .navbar ul li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
    color: #fff;
  }

  .lang-switch {
    display: block;
    position: absolute;
    right: 56px;     /* 在汉堡按钮左边 */
    top: 50%;
    transform: translateY(-50%);
  }

    .banner-title {
      max-width: 92%;
      min-height: 48px;
      max-height: 140px;
      font-size: 34px;
    }

    .banner-sub {
      font-size: 18px;
      letter-spacing: 4px;
    }

  #typewriter {
    line-height: 1.5;
  }
    .banner-buttons {
      display: flex;
      flex-direction: column;   /* ✅ 竖排 */
      gap: 14px;
      align-items: center;
    }
    .glass-btn {
      width: 150%;
      max-width: 400px;
    }
      /* ✅ 所有固定宽度容器归零 */
      .about-container,
      .footer-top,
      .footer-middle,
      .showcase-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
      }
      /* ✅ 横排 → 竖排 */
      .about-container,
      .showcase-container {
        flex-direction: column;
      }
      .showcase-left,
      .showcase-right {
        width: 100%;
      }
      .fullpage {
        height: auto !important;
        min-height: auto !important;
        padding: 240px 20px;
      }
      .about-section,
  .product-showcase {
    position: relative;
    z-index: auto;
  }
  .product-main-title {
    font-size: 28px;
    line-height: 1.3;
    padding: 0 10px;
  }
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .navbar .logo {
    height: 50px;
    margin-left: 12px;
    margin-right: 0;
  }
  .about-container {
    width: 2800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    z-index: 1;
    gap: 80px;
    background: rgba(255, 255, 255, 0.80);  /* 85% 白色半透明 */
    border-radius: 24px;
    padding: 80px 80px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  }
}
html {
  scroll-behavior: smooth;
}