
  /* 全局样式重置 */
  *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  /* 引入字体 */
  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@700&family=Roboto&display=swap');

  /* 根元素字体 */
  body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0F2044, #3DDC84);
    color: #FFFFFF;
    line-height: 1.6;
    padding: 20px;
    overflow-x: hidden;
  }

  /* 头部英雄图 */
  .hero {
    position: relative;
    height: 60vh;
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    color: #FFFFFF;
    padding: 0 20px;
  }

  .hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #3DDC84, #0F2044);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInDown 1s ease-out forwards;
  }

  .hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
  }

  /* 卡片区域 */
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px 0;
  }

  .card {
    background: #FFFFFF;
    color: #0F2044;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
    object-fit: cover;
  }

  .card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .card button {
    background-color: #3DDC84;
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
  }

  .card button:hover {
    transform: scale(1.05);
    background-color: #2FBF6D;
  }

  /* 示例数据展示的文章 */
  .article {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
    color: #FFFFFF;
    animation: fadeIn 1s ease-out forwards;
  }

  .article h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .article h3 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .article p {
    font-size: 1rem;
    margin-bottom: 15px;
  }

  .article ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
  }

  .article pre {
    background: #0F2044;
    color: #3DDC84;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  /* 提示信息 */
  .prompt {
    text-align: center;
    font-size: 1.2rem;
    margin: 40px 0;
    color: #FFFFFF;
    animation: fadeIn 1.5s ease-out forwards;
  }

  /* 动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* 响应式设计 */
  @media (max-width: 1440px) {
    .hero h1 {
      font-size: 2.8rem;
    }

    .hero p {
      font-size: 1.4rem;
    }

    .article h2 {
      font-size: 1.8rem;
    }

    .article h3 {
      font-size: 1.3rem;
    }
  }

  @media (max-width: 1200px) {
    .cards {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .hero h1 {
      font-size: 2.5rem;
    }

    .hero p {
      font-size: 1.3rem;
    }
  }

  @media (max-width: 1024px) {
    .cards {
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .article h2 {
      font-size: 1.6rem;
    }

    .article h3 {
      font-size: 1.2rem;
    }
  }

  @media (max-width: 768px) {
    .hero h1 {
      font-size: 2.2rem;
    }

    .hero p {
      font-size: 1.2rem;
    }

    .cards {
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .article h2 {
      font-size: 1.4rem;
    }

    .article h3 {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 480px) {
    .hero h1 {
      font-size: 1.8rem;
    }

    .hero p {
      font-size: 1rem;
    }

    .cards {
      grid-template-columns: 1fr;
    }

    .article {
      padding: 20px;
    }

    .article h2 {
      font-size: 1.2rem;
    }

    .article h3 {
      font-size: 1rem;
    }

    .card h3 {
      font-size: 1.3rem;
    }

    .card p {
      font-size: 0.9rem;
    }

    .card button {
      padding: 8px 16px;
      font-size: 0.9rem;
    }
  }

