:root {
      --primary-color: #e42426;
      --secondary-color: #f35945de;
      --active-color: #ff691e;
      --light-color: #f9c5ab;
      --text-color: #333;
      --font-family: 'Helvetica Neue', Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* 页眉 */
    body {
      font-family: var(--font-family);
      color: var(--text-color);
      background-color: #fff;
      line-height: 1.6;
    }

    .container {
      width: 90%;
      max-width: 1300px;
      margin: 0 auto;
      padding: 20px 0px;
    }

    header {
      background-color: #fff;
      /* background-color: var(--primary-color); */
      padding: 0;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 100;
      font-size: 20px;
    }

    .header-logo {
      /* padding: 10px 0; */
      display: flex;
      justify-content: start;
      align-items: center;
      font-size: 24px;
      font-weight: bold;
      color: var(--primary-color);
      text-decoration: none;
      flex-wrap: wrap;
    }

    .header-logo img {
      height: 50px;
      margin-right: 15px;
      vertical-align: middle;
    }

    .header-content {
      padding: 15px 0;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    .header-right {
      font-size: 20px;
      /* padding: 15px 0; */
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
    }

    /* 
    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #fff;
      text-decoration: none;
    }

    .logo img {
      height: 40px;
      margin-right: 10px;
      vertical-align: middle;
    } */

    nav ul {
      display: flex;
      list-style: none;
    }

    nav ul li {
      margin-left: 20px;
    }

    nav ul li a {
      padding: 5px;
      /* border-radius: 4px; */
      color: var(--primary-color);
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    nav ul li a:hover {
      /* color: #fff; */
      /* background-color: var(--light-color); */
      border-bottom: 2px solid var(--primary-color);
    }

    .language-switcher {
      background: none;
      border: none;
      color: var(--primary-color);
      font-size: 14px;
      cursor: pointer;
      padding: 5px 10px;
      border-radius: 4px;
      margin-left: 15px;
      transition: background-color 0.3s ease;
    }

    .language-switcher:hover {
      background-color: var(--light-color);
      /* background-color: rgba(255, 255, 255, 0.2); */
    }

    footer {
      background-color: #333;
      color: white;
      padding: 40px 0 20px;
    }

    .footer-content {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-bottom: 30px;
      gap: 40px;
    }

    .footer-section {
      flex: 2;
      min-width: 250px;
      /* margin-bottom: 20px; */
    }

    .footer-content h3 {
      font-size: 1.3rem;
      margin-bottom: 20px;
      position: relative;
      padding-bottom: 10px;
    }

    .footer-content h3::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: 0;
      width: 40px;
      height: 2px;
      background: var(--primary-color);
    }

    .footer-content p,
    .footer-content a {
      color: #f1f1f1;
      text-decoration: none;
      line-height: 1.8;
    }

    .footer-content a:hover {
      color: var(--primary-color);
    }


    .footer-icon {
      width: 16px;
      height: 16px;
    }

    .footer-QRCode {
      width: 120px;
      height: 120px;
    }

    .footer-bottom {
      border-top: 1px solid #444;
      padding-top: 20px;
      text-align: center;
      font-size: 0.9rem;
      color: #aaa;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    @keyframes slideInUp {
      from {
        transform: translate3d(0, 100%, 0);
        visibility: visible;
      }

      to {
        transform: translate3d(0, 0, 0);
      }
    }

    @keyframes zoomIn {
      from {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3);
      }

      50% {
        opacity: 1;
      }
    }

    @media (max-width: 768px) {
      .header-logo {
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .header-content {
        flex-direction: column;
        justify-content: start;
        text-align: center;
      }

      /* .header-right {
        flex-direction: column;
        justify-content: start;
        text-align: center;
      } */

      nav ul {
        margin-top: 15px;
        /* justify-content: center; */
        flex-direction: column;
        justify-content: start;
        text-align: start;
      }

      nav ul li {
        margin: 0 10px;
      }

      .hero h1 {
        font-size: 2rem;
      }

      .about-content {
        flex-direction: column;
      }

      .section-title h2 {
        font-size: 2rem;
      }
    }