/* 黑色系风格 */
:root {
  --primary-color: #0a0a0a; /* 页头/页脚背景 - 非常深的灰色 */
  --secondary-color: #1c1c1c; /* 次要深灰，如伙伴logo背景 */
  --accent-color: #00a9ff; /* 强调色 - 亮科技蓝 */
  --text-color-light: #e0e0e0; /* 主要浅色文字 */
  --text-color-medium: #a0a0a0; /* 次要浅色文字 */
  --background-light: #121212; /* 内容容器背景 - 深灰 */
  --background-medium: #f8f9fa; /* (此变量在深色主题下较少使用，保留备用) */
  --background-dark: #000000; /* 页面主体背景 - 纯黑 */
  --card-background: #1e1e1e; /* 卡片背景 - 略浅的深灰 */
  --border-color: #2c2c2c; /* 边框颜色 - 微妙的深灰 */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Noto Sans SC", sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: var(--background-dark);
  color: var(--text-color-light);
  font-weight: 300;
}

header {
  background: var(--primary-color);
  color: var(--text-color-light);
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); /* 阴影在深色背景上可以更明显些 */
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color); /* 页头底部加一条细线 */
}

.header-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  max-height: 45px;
  vertical-align: middle;
}

.logo-text {
  font-size: 1.5em;
  font-weight: 500;
  margin-left: 12px;
  color: var(--text-color-light);
}

nav ul {
  padding: 0;
  list-style: none;
  text-align: center;
  margin: 0;
}

nav ul li {
  display: inline-block;
  margin: 0 18px;
}

nav ul li a {
  display: block;                /* 关键：块级元素才能扩展点击区域 */
  padding: 10px 16px;            /* 增加可点范围 */
  color: var(--text-color-medium);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95em;
  transition: color 0.3s ease, background-color 0.3s ease;
  border-radius: 6px;            /* 可选：让点击区域更像按钮 */
}


nav a:hover {
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.05);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  padding: 30px;
  background: var(--background-light);
  color: var(--text-color-light); /* 容器内文字也是浅色 */
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0, 169, 255, 0.05); /* 轻微的强调色辉光 */
}

.section {
  margin-bottom: 50px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}
.section:last-child {
  border-bottom: none;
}

.section h2 {
  color: var(--accent-color); /* 章节标题使用强调色 */
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.4em;
  font-weight: 500;
}

.section h3 {
  color: var(--text-color-light);
  opacity: 0.9; /* 副标题稍微降低不透明度 */
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.7em;
  font-weight: 500;
  border-left: 5px solid var(--accent-color);
  padding-left: 15px;
}

.hero {
  /* background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)),
    url("image17.jpg") no-repeat center center/cover; */
  color: var(--text-color-light);
  padding: 100px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}
.hero h1 {
  margin-bottom: 20px;
  font-size: 3.5em;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 169, 255, 0.3); /* 标题阴影带一点强调色 */
}
.hero p {
  font-size: 1.5em;
  max-width: 700px;
  margin-bottom: 30px;
  font-weight: 300;
  color: var(--text-color-medium); /* Hero段落使用中灰色 */
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.flex-item {
  flex: 1;
  min-width: 320px;
  background: var(--card-background);
  color: var(--text-color-light); /* 卡片内文字也是浅色 */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}
.flex-item:hover {
  cursor: default;
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 169, 255, 0.1); /* 悬停时辉光增强 */
}
.flex-item img {
  width: auto;
  /*max-width: 330px;*/
  height: 150px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); (在深色背景下，图片阴影可以省略或调得非常微妙) */
}

.flex-item ul {
  padding-left: 20px;
}
.flex-item ul li {
  margin-bottom: 8px;
  color: var(--text-color-medium);
}
.flex-item ul li strong {
  color: var(--text-color-light);
} /* 列表中的strong用亮色 */
.flex-item p {
  color: var(--text-color-medium);
  cursor: text;
} /* 卡片内段落默认中灰色 */
.flex-item p strong {
  color: var(--accent-color);
} /* 段落中的strong用强调色 */
.flex-item h3 {
  cursor: text;
}

footer {
  text-align: center;
  padding: 30px 20px;
  background: var(--primary-color);
  color: var(--text-color-medium); /* 页脚文字使用中灰色 */
  margin-top: 40px;
  font-size: 0.9em;
  border-top: 1px solid var(--border-color); /* 页脚顶部加一条细线 */
}
footer p {
  margin: 5px 0;
}
footer p:first-child {
  color: var(--text-color-light); /* 版权信息用亮一点的颜色 */
}

.partner-logos {
  margin-top: 20px;
}
.partner-logos span {
  display: inline-block;
  margin: 5px 10px;
  padding: 5px 10px;
  background-color: var(--secondary-color);
  color: var(--text-color-medium);
  border-radius: 4px;
  font-size: 0.9em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.partner-logos span:hover {
  background-color: var(--accent-color);
  color: var(--background-dark); /* 悬停时文字变深，与亮背景对比 */
}

address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-color-medium);
}
address strong {
  color: var(--text-color-light);
}

/* Responsive Design Adjustments */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8em;
  }
  .hero p {
    font-size: 1.3em;
  }
  .section h2 {
    font-size: 2em;
  }
  .section h3 {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    padding-bottom: 10px;
  }
  .logo-container {
    margin-bottom: 10px;
  }
  nav ul li {
    display: block;
    /* margin: 10px 0; */
  }
  .hero {
    padding: 60px 15px;
    min-height: 50vh;
  }
  .hero h1 {
    font-size: 2.2em;
  }
  .hero p {
    font-size: 1.1em;
  }
  .flex-item {
    min-width: calc(100% - 40px); /* Account for padding */
  }
  .container {
    width: 95%;
    padding: 20px;
  }
}


/* 点击元素自动放大到屏幕中间 */
.box_center.active, .box_left.active, .box_right.active {
  transform: translateY(200px) translateZ(20px) scale(1.9);
  box-shadow: 0 8px 25px rgba(0, 169, 255, 0.1);
  transition: transform 0.3s ease;
  cursor: default;
}
.box_center.active { z-index: 100; }
.box_left.active {
  transform: translateY(200px) translateX(99%) translateZ(20px) scale(1.9);
  z-index: 100;
  cursor: default;
}
.box_right.active {
  transform: translateY(200px) translateX(-99%) translateZ(20px) scale(1.9);
  z-index: 100;
  cursor: default;
}
.zoom-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: #1e1e1e;
  color: #889da8;
  border: 2px solid #1e1e1e;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  z-index: 101;
}

.zoom-btn i {
  font-size: 18px;
}

/* 一键返回顶部按钮 */
#backToTop {
      position: fixed;
      bottom: 40px;
      right: 40px;
      display: none; /* 默认隐藏 */
      padding: 10px 15px;
      font-size: 14px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      transition: opacity 0.3s ease;
      z-index: 1000;
    }



/* 
.mp4Video{
  16:9
  width: 100px;
  height: 100%;
  position: absolute;
  object-fit: fill;
  z-index: -99;
  padding-left: 0px;
  padding-top: -10px;
} */



/* 视频容器样式 - 控制视频的显示比例和布局 */
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  margin: 0 auto;
  background-color: #000;
  overflow: hidden;
  /* z-index: -10; */
}

.video-16x9 {
  padding-bottom: 56.25%; /* 9/16*100% */
}

/* 视频元素样式 - 适应容器大小 */
video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持视频比例，覆盖容器 */
}

 .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background-color: rgba(0, 0, 0, 0.3); /* 灰黑色半透明遮罩 */
      pointer-events: auto; /* 不允许点击穿透到视频 */
    }

    .overlay-text {
      color: white;
     
      font-weight: bold;
      text-align: center;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
      background: rgba(0, 0, 0, 0);
      padding: 1rem 2rem;
      border-radius: 0.5rem;
      max-width: 80%;
    }


    /* 另一种格式 */
.flex-container-nom {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.flex-item-nom {
  flex: 1;
  min-width: 320px;
  background: var(--card-background);
  color: var(--text-color-light); /* 卡片内文字也是浅色 */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color);
}
.flex-item-nom:hover {
  cursor: default;
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 169, 255, 0.1); /* 悬停时辉光增强 */
}
.flex-item-nom img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.05); (在深色背景下，图片阴影可以省略或调得非常微妙) */
}

.flex-item-nom ul {
  padding-left: 20px;
}
.flex-item-nom ul li {
  margin-bottom: 8px;
  color: var(--text-color-medium);
}
.flex-item-nom ul li strong {
  color: var(--text-color-light);
} /* 列表中的strong用亮色 */
.flex-item-nom p {
  color: var(--text-color-medium);
  cursor: text;
} /* 卡片内段落默认中灰色 */
.flex-item-nom p strong {
  color: var(--accent-color);
} /* 段落中的strong用强调色 */
.flex-item-nom h3 {
  cursor: text;
}


