
/* 
整体页面布局使用现代化的Flexbox和Grid布局，确保响应式设计适配各种屏幕尺寸。主色调采用深蓝和银灰色，辅以霓虹蓝和紫色点缀，点缀色使用橙色来强调重要元素。通过线性和径向渐变增加视觉层次，使用box-shadow和text-shadow增强立体感。页面中的图片采用圆角和阴影效果，并在悬停时添加放大动画，增加互动性。导航栏固定在顶部，使用透明背景并在滚动时变为不透明，提升用户体验。

body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #ffffff;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(32, 58, 67, 0.9);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(32, 58, 67, 1);
}

.navbar a {
  color: #ffffff;
  margin: 0 15px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #00c6ff;
}

.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center center/cover;
  position: relative;
  animation: floatBackground 10s ease infinite;
}

@keyframes floatBackground {
  0% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0); }
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
  background: rgba(32, 58, 67, 0.8);
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
  font-size: 3em;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  animation: floatText 3s ease infinite;
}

@keyframes floatText {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

.hero-content p {
  font-size: 1.2em;
  line-height: 1.6;
  color: #dcdcdc;
}

.section {
  padding: 60px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.section:nth-child(even) {
  background: rgba(32, 58, 67, 0.7);
}

.section img {
  width: 100%;
  max-width: 650px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-content h2 {
  font-size: 2em;
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.section-content p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #dcdcdc;
}

.code-sample {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 20px 0;
  font-family: 'Courier New', Courier, monospace;
}

.code-sample code {
  color: #00c6ff;
}

.footer {
  background: rgba(32, 58, 67, 0.9);
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

.footer a {
  color: #00c6ff;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
  }

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

  .hero-content h1 {
    font-size: 2.5em;
  }
}

