
/* 基础样式与全局设置 */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #0a2e4f, #1c4b79);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Futura', sans-serif;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}
.section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
/* 头部设计 */
.header {
  position: relative;
  background: url('https://images.gptkong.com/demo/sample1.png') no-repeat center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 46, 79, 0.7);
}
.header h1 {
  position: relative;
  z-index: 1;
  font-size: 48px;
  letter-spacing: 2px;
  animation: fadeIn 1.5s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
/* 选项卡布局 */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: -30px;
  position: relative;
  z-index: 2;
}
.tab {
  background: #fff;
  color: #0a2e4f;
  padding: 15px 30px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.tab.active {
  background: #ff9800;
  color: #fff;
  transform: scale(1.1);
}
.tab:hover {
  transform: scale(1.05);
}
.tab-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  padding: 20px 0;
}
.tab-content.active {
  opacity: 1;
  transform: translateY(0);
}
/* 示例数据展示区域 */
.data-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}
.data-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.data-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
}
/* 动态效果与交互 */
.button {
  background: #ff9800;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button:hover {
  background: #e68a00;
  transform: scale(1.05);
}
/* 响应式设计 */
@media (max-width: 768px) {
  .header h1 {
    font-size: 36px;
  }
  .tabs {
    flex-direction: column;
    align-items: center;
  }
  .tab {
    padding: 10px 20px;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  .header {
    height: 300px;
  }
  .header h1 {
    font-size: 28px;
  }
}

