/* 华夏龙文化与深黑色虚拟融合风格 */
:root {
  --primary-bg: #0a0a0a; /* 深黑色背景 */
  --secondary-bg: #121212; /* 次深色背景 */
  --accent-gold: #d4af37; /* 金色，代表龙文化 */
  --accent-blue: #00f0ff; /* 霓虹蓝，代表科技感 */
  --text-primary: #ffffff; /* 主要文本色 */
  --text-secondary: #a0aec0; /* 次要文本色 */
  --glow-effect: 0 0 10px var(--accent-gold), 0 0 20px rgba(212, 175, 55, 0.5);
  --glass-bg: rgba(18, 18, 18, 0.7);
  --border-gradient: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--primary-bg);
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
  overflow-x: hidden;
}

/* 龙纹背景图案 */
.dragon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,50 Q25,30 50,50 T90,50" stroke="rgba(212, 175, 55, 0.05)" fill="none" stroke-width="1"/></svg>');
  background-size: 200px 200px;
  z-index: -1;
  opacity: 0.5;
}

/* 容器样式 */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
  box-shadow: var(--glow-effect);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--glow-effect), 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 头部导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
}

.logo-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: var(--glow-effect);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 35px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--border-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
  box-shadow: 0 0 5px var(--accent-gold);
}

/* 英雄区域 */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--secondary-bg), var(--primary-bg));
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
  font-size: 22px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* 特色区块 */
.features {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--border-gradient);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 龙形分隔符 */
.dragon-divider {
  height: 40px;
  margin: 60px 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="40" viewBox="0 0 200 40"><path d="M0,20 Q50,0 100,20 T200,20" stroke="url(%23gold-blue)" fill="none" stroke-width="2"/><defs><linearGradient id="gold-blue" x1="0%" y1="0%" x2="100%" y2="0%"><stop offset="0%" stop-color="%23d4af37"/><stop offset="100%" stop-color="%2300f0ff"/></linearGradient></defs></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 卡片样式 */
.card {
  background: var(--glass-bg);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--border-gradient);
}

/* 动画效果 */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-animation {
  animation: pulse 3s infinite;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .container {
    width: 900px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 700px;
  }

  .hero-title {
    font-size: 42px;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}