
/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(to right, #87CEEB, #4B0082);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  color: darkblue;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar .logo {
  font-size: 24px;
  font-weight: bold;
}
.navbar .nav-links a {
  text-decoration: none;
  color: darkblue;
  margin: 0 15px;
  font-size: 16px;
  transition: color 0.3s ease;
}
.navbar .nav-links a:hover {
  color: orange;
}
.cta-button {
  background-color: orange;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.cta-button:hover {
  transform: scale(1.1);
}
.hero-section {
  margin-top: 80px;
  text-align: center;
  padding: 50px 20px;
}
.hero-section h1 {
  font-size: 48px;
  color: darkblue;
  margin-bottom: 20px;
}
.hero-section p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
}
.card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.card-content {
  padding: 20px;
  text-align: center;
}
.card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.card-content p {
  font-size: 14px;
  color: #777;
}
.footer {
  background: #111;
  color: white;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample1.png') repeat,
              url('https://images.gptkong.com/demo/sample2.png') repeat;
  opacity: 0.2;
  z-index: -1;
}
.footer h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
.footer-links a {
  color: orange;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #FFD700;
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-section h1 {
    font-size: 36px;
  }
  .cards-container {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 28px;
  }
  .hero-section p {
    font-size: 16px;
  }
}

