
  /* 
    全局样式设置
    -------------------
    这个样式表旨在创建一个融合未来感与高级质感的网页，采用响应式设计，确保在各种设备上都有良好的展示效果。
  */

  /* 设置所有元素的盒模型和基础字体 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Open Sans', sans-serif; /* 使用易读的字体 */
    background: linear-gradient(135deg, #0A1F44 70%, #00C6FF 25%, #FF6B35 5%);
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden; /* 防止水平滚动条 */
  }

  /* 头部样式 */
  .header {
    background: linear-gradient(90deg, #00C6FF, #0072FF);
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  .header h1 {
    font-size: 24px;
    color: #FFFFFF;
  }

  /* 导航栏样式 */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(10, 31, 68, 0.9);
    position: fixed;
    top: 70px;
    width: 100%;
    z-index: 999;
  }

  .navbar a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
    transition: color 0.3s;
  }

  .navbar a:hover {
    color: #FF6B35;
  }

  /* 主要内容区域 */
  .main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 120px 40px 40px 40px; /* 顶部留出头部和导航栏空间 */
  }

  /* 信息区块样式 */
  .info-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
  }

  .info-block:hover {
    transform: translateY(-10px);
  }

  .info-block h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #00C6FF;
  }

  .info-block p {
    font-size: 16px;
    color: #FFFFFF;
  }

  /* 图片样式 */
  .info-block img {
    width: 100%;
    max-width: 650px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .info-block img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
  }

  /* 提示文字样式 */
  .reference-note {
    text-align: center;
    font-size: 18px;
    margin: 40px 0;
    color: #FF6B35;
  }

  /* 代码块样式 */
  pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
  }

  code {
    color: #00FFAA;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
  }

  /* 响应式设计 */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: flex-start;
    }

    .navbar a {
      margin: 5px 0;
    }

    .main-content {
      padding: 120px 20px 20px 20px;
    }
  }

  @media (max-width: 500px) {
    .header h1 {
      font-size: 20px;
    }

    .info-block h2 {
      font-size: 18px;
    }

    .info-block p {
      font-size: 14px;
    }

    .reference-note {
      font-size: 16px;
    }
  }

  /* 动画效果 */
  .fade-in {
    animation: fadeIn 2s ease-in-out;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  /* 按钮样式 */
  .btn {
    background-color: #FF6B35;
    color: #FFFFFF;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-size: 16px;
  }

  .btn:hover {
    background-color: #FF5722;
    transform: scale(1.05);
  }

  .btn:active {
    transform: scale(0.95);
  }

  /* 折叠区域样式 */
  .collapsible {
    background-color: rgba(255, 107, 53, 0.2);
    color: #FFFFFF;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
  }

  .collapsible:hover {
    background-color: #FF6B35;
  }

  .content {
    padding: 0 15px;
    display: none;
    background-color: rgba(10, 31, 68, 0.8);
    overflow: hidden;
    border-radius: 5px;
    margin-top: 5px;
  }

  /* 虚拟实验室3D模型样式 */
  .virtual-lab {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
  }

  .model {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateModel 10s infinite linear;
  }

  @keyframes rotateModel {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
  }

  .model div {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 107, 53, 0.8);
    border: 2px solid #FFFFFF;
  }

  /* 示例：立方体的各个面 */
  .front { transform: translateZ(50px); }
  .back { transform: rotateY(180deg) translateZ(50px); }
  .right { transform: rotateY(90deg) translateZ(50px); }
  .left { transform: rotateY(-90deg) translateZ(50px); }
  .top { transform: rotateX(90deg) translateZ(50px); }
  .bottom { transform: rotateX(-90deg) translateZ(50px); }

  /* 仪表盘样式 */
  .chart {
    width: 100%;
    height: 300px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0A1F44;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
  }

  .bar {
    width: 50px;
    background-color: #00C6FF;
    position: absolute;
    bottom: 0;
    animation: grow 2s ease-in-out infinite;
    border-radius: 5px 5px 0 0;
  }

  @keyframes grow {
    0% { height: 20%; }
    50% { height: 80%; }
    100% { height: 20%; }
  }

  /* 推荐系统样式 */
  .recommendation {
    display: flex;
    overflow-x: scroll;
    gap: 20px;
    padding: 20px;
    transition: transform 0.5s ease-in-out;
  }

  .recommendation:hover {
    transform: scale(1.05);
  }

  .recommendation-item {
    flex: 0 0 auto;
    background-color: #0072FF;
    color: #FFFFFF;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    max-width: 300px;
  }

  .recommendation-item:hover {
    background-color: #005BB5;
  }

  /* 虚拟实验室的动画效果 */
  .virtual-lab {
    perspective: 1000px;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    position: relative;
  }

  .model {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotateModel 10s infinite linear;
  }

  /* 背景网络和星空 */
  .background-network {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 31, 68, 0.8) url('network.png') repeat;
    animation: fadeIn 3s ease-in-out;
    z-index: -1;
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .background-stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent url('stars.png') repeat;
    animation: twinkle 5s infinite;
    z-index: -2;
  }

  @keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
  }

  /* 内容模块样式 */
  .content-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .module {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    align-items: center;
  }

  .module img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .module-text {
    font-size: 18px;
    line-height: 1.6;
    color: #FFFFFF;
  }

  /* 知识库和论坛 */
  .forum {
    background-color: rgba(0, 198, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }

  .forum h3 {
    color: #FF6B35;
    margin-bottom: 10px;
  }

  .forum p {
    color: #FFFFFF;
  }


