
  :root {
    --primary: #C1E1C1;
    --secondary: #0D47A1;
    --accent: #964B00;
    --neutral: #B0C4DE;
    --text: #333333;
    --light: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Roboto', 'Helvetica', Arial, sans-serif;
    line-height: 1.8;
    color: var(--text);
    background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
    background-attachment: fixed;
    overflow-x: hidden;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .header {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.9);
    box-shadow: var(--shadow);
    z-index: 1000;
  }

  .header::after {
    content: '这是一个网页样式设计参考';
    position: absolute;
    right: 40px;
    color: var(--accent);
    font-size: 14px;
    font-weight: bold;
  }

  .nav {
    display: flex;
    gap: 30px;
  }

  .nav a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: all 0.3s ease;
  }

  .nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
  }

  .nav a:hover::after {
    width: 100%;
  }

  .hero {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
  }

  .hero-content {
    text-align: center;
    color: var(--light);
    z-index: 2;
    padding: 0 20px;
    max-width: 800px;
  }

  .hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(13,71,161,0.7), rgba(193,225,193,0.5));
    z-index: 1;
  }

  .hero-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 20s infinite alternate;
  }

  @keyframes zoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
  }

  .content-section {
    background: var(--light);
    border-radius: 15px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
  }

  .content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
  }

  h2, h3, h4 {
    color: var(--secondary);
    margin-bottom: 20px;
    position: relative;
  }

  h2 {
    font-size: 2.2rem;
    padding-bottom: 15px;
  }

  h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent);
  }

  h3 {
    font-size: 1.8rem;
    margin-top: 40px;
  }

  p {
    margin-bottom: 20px;
    font-size: 1.1rem;
  }

  .img-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
  }

  .img-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .img-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }

  .img-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  pre {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    overflow: auto;
    border-left: 4px solid var(--secondary);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  code {
    color: var(--secondary);
    background: rgba(13,71,161,0.1);
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
  }

  th, td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  th {
    background-color: var(--secondary);
    color: white;
  }

  tr:nth-child(even) {
    background-color: #f2f2f2;
  }

  tr:hover {
    background-color: rgba(193,225,193,0.3);
  }

  .btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    background: linear-gradient(45deg, var(--secondary), var(--primary));
  }

  .footer {
    text-align: center;
    padding: 40px 0;
    color: var(--light);
    background: rgba(0,0,0,0.2);
    margin-top: 60px;
  }

  @media (max-width: 768px) {
    .header {
      padding: 0 20px;
      flex-direction: column;
      height: auto;
      padding: 20px;
    }

    .header::after {
      position: static;
      margin-top: 10px;
    }

    .nav {
      flex-direction: column;
      gap: 15px;
      margin-top: 20px;
    }

    .hero {
      height: 400px;
    }

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

    .content-section {
      padding: 40px 20px;
    }

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