
  /* 基本样式设置 */
  body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* 使用现代无衬线字体 */
    color: #333333; /* 主文本颜色 */
    background: linear-gradient(135deg, #1E3C72 70%, #2A5298 25%, #FF8C00 5%); /* 渐变背景，遵循黄金比例配色 */
    line-height: 1.6;
  }

  /* 导航栏样式 */
  .navbar {
    position: fixed; /* 固定在顶部 */
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.3); /* 半透明背景 */
    backdrop-filter: blur(10px); /* 磨砂玻璃效果 */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* 确保导航栏在最上层 */
  }

  .navbar a {
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
  }

  .navbar a:hover {
    color: #FFA500; /* 点缀色用于悬停效果 */
    transform: scale(1.05);
  }

  /* 主视觉区样式 */
  .hero {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    color: #ffffff;
    background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 144, 255, 0.5); /* 半透明覆盖层 */
    backdrop-filter: blur(5px);
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.2); /* 半透明背景 */
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-out forwards;
    opacity: 0;
  }

  /* 渐显动画 */
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }

  .hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .hero-content p {
    font-size: 18px;
    line-height: 1.8;
  }

  /* 文章内容区样式 */
  article {
    max-width: 1200px;
    margin: 80px auto 40px auto; /* 顶部留出导航栏空间 */
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* 每个板块至少500px宽 */
    gap: 30px;
  }

  article h2, article h3, article h4 {
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }

  article h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  article h3 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  article h4 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  article p {
    background: rgba(255, 255, 255, 0.1); /* 半透明背景 */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #f0f0f0;
    line-height: 1.8;
  }

  /* 代码块样式 */
  pre {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    overflow: auto;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  pre code {
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    display: block;
  }

  pre code::before {
    content: "代码示例";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #FFA500;
  }

  /* 图片样式 */
  .decorative-image {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .decorative-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  }

  /* 交互效果 */
  .card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
  }

  /* 响应式布局 */
  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      padding: 10px 0;
    }

    .hero {
      height: 400px;
    }

    .hero-content h1 {
      font-size: 32px;
    }

    article {
      grid-template-columns: 1fr;
      margin: 60px auto 20px auto;
    }
  }

  /* 按钮样式 */
  .button {
    background: #FFA500;
    color: #ffffff;
    padding: 10px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
  }

  .button:hover {
    background: #32CD32;
    transform: scale(1.05);
  }

  /* 底部信息区样式 */
  .footer {
    background: rgba(44, 62, 80, 0.9);
    color: #ecf0f1;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.2);
  }

  .footer-section {
    flex: 1 1 200px;
    margin: 20px;
  }

  .footer-section h4 {
    margin-bottom: 15px;
    color: #ffffff;
  }

  .footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
  }

  .footer-section a:hover {
    color: #32CD32;
  }

  .social-buttons a {
    display: inline-block;
    margin-right: 10px;
    background: #34495e;
    padding: 10px;
    border-radius: 50%;
    transition: background 0.3s;
  }

  .social-buttons a:hover {
    background: #FFA500;
  }

  /* 提示信息样式 */
  .alert {
    background: #f1c40f;
    color: #333333;
    padding: 15px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }

