
/* 基础样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  width: 100%;
  height: 100%;
  font-family: 'Arial', sans-serif;
  color: #fff;
  background-color: #0f172a;
  overflow-x: hidden;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
header nav ul {
  list-style: none;
  display: flex;
}
header nav ul li {
  margin-left: 20px;
}
header nav ul li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s ease;
}
header nav ul li a:hover {
  color: #87ceeb;
}
header .search-box {
  position: relative;
}
header .search-box input[type="text"] {
  display: none;
  width: 200px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}
header .search-icon {
  cursor: pointer;
  font-size: 20px;
}
main {
  margin-top: 80px;
  padding-bottom: 50px;
}
.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.gptkong.com/demo/sample1.png'), url('https://images.gptkong.com/demo/sample2.png');
  background-size: 320px 320px;
  background-repeat: no-repeat;
  background-position: bottom left, top right;
  opacity: 0.2;
  animation: float 10s infinite alternate;
}
@keyframes float {
  from { transform: translateY(0); }
  to { transform: translateY(-20px); }
}
.hero-section h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  text-align: center;
  color: #fff;
}
.hero-section p {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  text-align: center;
  color: #d1d5db;
}
.section {
  margin: 50px 0;
}
.card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-10px);
}
.card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}
.two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.three-column {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .two-column, .three-column {
    grid-template-columns: 1fr;
  }
}
.footer {
  background: rgba(15, 23, 42, 0.9);
  padding: 20px;
  text-align: center;
  position: relative;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #87ceeb, transparent);
}
.chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(15, 23, 42, 0.8);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.chat-box p {
  margin-bottom: 10px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

