
/* 全局样式定义 */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #121E3F, #7C3AED);
  color: #E5E7EB;
  overflow-x: hidden;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
}
a {
  color: #7C3AED;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
a:hover {
  color: #ffffff;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(18, 30, 63, 0.9);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  color: #E5E7EB;
}
.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 4px;
}
.nav-links a:hover {
  background: #7C3AED;
}
.hero-section {
  height: 100vh;
  background: url('https://images.gptkong.com/demo/sample1.png'), 
              url('https://images.gptkong.com/demo/sample2.png'),
              linear-gradient(135deg, #121E3F, #7C3AED);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 30, 63, 0.7);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 20px;
  margin-bottom: 40px;
}
.cta-button {
  background: #7C3AED;
  color: #E5E7EB;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 18px;
  transition: transform 0.3s ease-in-out;
}
.cta-button:hover {
  transform: scale(1.1);
}
.features-section {
  padding: 80px 20px;
  background: #121E3F;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}
.feature-item {
  background: #1c2b51;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: url('https://images.gptkong.com/demo/sample3.png') no-repeat center/cover;
}
.feature-title {
  font-size: 24px;
  margin-bottom: 15px;
}
.feature-description {
  font-size: 16px;
  line-height: 1.6;
}
.data-visualization {
  background: #121E3F;
  padding: 60px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.visualization-chart {
  background: url('https://images.gptkong.com/demo/sample4.png') no-repeat center/cover;
  height: 400px;
  border-radius: 15px;
  position: relative;
}
.chart-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(124, 58, 237, 0.8);
  color: #E5E7EB;
  padding: 15px;
  border-radius: 5px;
}
.documentation-sidebar {
  position: fixed;
  right: -300px;
  top: 0;
  width: 300px;
  height: 100%;
  background: #121E3F;
  transition: right 0.3s ease-in-out;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}
.sidebar-toggle {
  position: fixed;
  right: 20px;
  top: 20px;
  background: #7C3AED;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1000;
}
.sidebar-open .documentation-sidebar {
  right: 0;
}
@media (max-width: 768px) {
  .features-section {
    grid-template-columns: 1fr;
  }
  .data-visualization {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 36px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

