
  /* 全局样式设置 */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif; /* 使用无衬线字体 */
    background: linear-gradient(135deg, #0D2F6C 70%, #5A4EBD 25%, #FF8C00 5%);
    color: #333333;
    font-size: 16px; /* 正文字号 */
    line-height: 1.6;
  }
  
  /* 导航栏样式 */
  .navbar {
    background-color: #0D2F6C; /* 主色 */
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .navbar a {
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
  }
  
  .navbar a:hover {
    color: #FF8C00; /* 点缀色 */
  }
  
  .navbar .nav-links {
    display: flex;
  }
  
  /* 主要内容区 */
  .hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #0D2F6C, #5A4EBD);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    padding: 50px 20px;
  }
  
  .hero-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
  }
  
  .hero-section .cta-button {
    background-color: #FF8C00; /* 点缀色 */
    color: #FFFFFF;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }
  
  .hero-section .cta-button:hover {
    background-color: #e07b00;
    transform: scale(1.05);
  }
  
  /* 多模块区块 */
  .section {
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F5F7FA;
  }
  
  .section:nth-child(even) {
    background-color: #FFFFFF;
  }
  
  .section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #0D2F6C;
  }
  
  .section p {
    max-width: 800px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1em;
  }
  
  /* 图片样式 */
  .image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .image-gallery img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  /* 代码块样式 */
  .code-sample {
    background-color: #2D2D2D;
    color: #CCCCCC;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    margin: 40px 0;
  }
  
  .code-sample code {
    display: block;
    white-space: pre;
  }
  
  /* 提示信息样式 */
  .notice {
    background-color: #34C759; /* 辅色 */
    color: #FFFFFF;
    padding: 10px 20px;
    text-align: center;
    font-size: 1.2em;
    position: fixed;
    bottom: 0;
    width: 100%;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      padding: 15px 20px;
    }
    
    .navbar a {
      margin: 10px 0;
    }
    
    .hero-section h1 {
      font-size: 2em;
    }
    
    .hero-section p {
      font-size: 1em;
    }
    
    .hero-section .cta-button {
      padding: 10px 20px;
      font-size: 1em;
    }
    
    .section {
      padding: 60px 20px;
    }
    
    .section h2 {
      font-size: 1.5em;
    }
    
    .section p {
      font-size: 0.9em;
    }
    
    .image-gallery img {
      width: 100%;
      height: auto;
    }
  }
  
  /* 交互效果 */
  .feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  }
  
  /* 分隔线样式 */
  .divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #0D2F6C, #5A4EBD);
    margin: 40px 0;
  }
  
  /* 代码示例区块 */
  .css-example {
    background-color: #F5F7FA;
    padding: 40px 20px;
    border-radius: 10px;
  }
  
  .css-example pre {
    background-color: #2D2D2D;
    color: #CCCCCC;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
  }
  
  /* 高亮字体 */
  .highlight {
    color: #FF8C00;
    font-weight: bold;
  }


