:root {
  /* 算命易经风格暗色调配色 */
  --bg: #0f1419;
  --bg-alt: #0c0e12;
  --text: #e6d9b5;
  --muted: #b3a380;
  --primary: #e6a032;
  --primary-600: #cc8a2a;
  --border: #1a1a1d;
  --card: #0a0c0f;
  --accent: #cc4a33;
  --shadow: rgba(230, 160, 50, 0.1);
  --shadow-hover: rgba(230, 160, 50, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  /* 八卦色彩 - 古金色系 */
  --bagua-gold: #e6a032;
  --bagua-red: #cc4a33;
  --bagua-blue: #2a3a6a;
  --bagua-green: #4a7c59;
  /* 文字色彩层次 */
  --text-primary: #f5f2e6;
  --text-secondary: #d4c5a0;
  --text-tertiary: #b3a380;
  --text-quaternary: #8b7d5a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--text);
  background: var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.5px;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 50; 
  background: rgba(12, 14, 18, 0.3); 
  backdrop-filter: blur(20px); 
  border-bottom: 1px solid rgba(230, 160, 50, 0.05); 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.nav {
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  min-height: 80px;
  padding: 0 20px;
}
.logo { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 700; 
  font-size: 26px;
  letter-spacing: -0.5px; 
  position: relative;
  padding-left: 40px;
}
.logo::before {
  content: '☰';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--bagua-gold);
  font-weight: normal;
}
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-link {
  color: var(--text-secondary); 
  text-decoration: none; 
  padding: 12px 20px; 
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav-link:hover { 
  color: var(--text); 
  background: rgba(255, 255, 255, 0.01); 
  backdrop-filter: blur(10px); 
}
.nav-link.active { 
  color: var(--primary); 
  background: rgba(230, 160, 50, 0.01); 
  backdrop-filter: blur(10px); 
  font-weight: 600;
}

.nav-toggle {
  display: none; appearance: none; border: 1px solid var(--border);
  background: var(--card); color: var(--text); border-radius: 8px; padding: 8px 10px;
}

.hero {
  background: linear-gradient(135deg, #0a0c0f 0%, #1a1d23 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(230, 160, 50, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, rgba(204, 74, 51, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(42, 58, 106, 0.08) 0%, transparent 50%);
  z-index: 1;
}
.hero-inner { 
  padding: 80px 0; 
  text-align: center;
  position: relative;
  z-index: 2;
}
.hero-title { 
  font-weight: 700; 
  font-size: 88px; 
  margin: 0 0 24px; 
  letter-spacing: -1px;
  line-height: 1.1;
  color: white;
  position: relative;
}
.hero-title::after {
  content: '☯';
  position: absolute;
  top: -20px;
  right: -60px;
  font-size: 48px;
  opacity: 0.4;
  -webkit-text-fill-color: var(--bagua-gold);
  background: none;
  animation: baguaRotate 20s linear infinite, yinyangGlow 3s ease-in-out infinite;
}
.hero-subtitle { 
  color: var(--text-secondary); 
  margin: 0 auto 32px; 
  max-width: 600px; 
  font-size: 20px;
  line-height: 1.8;
  font-weight: 400;
}
.hero-cta { 
  display: inline-flex; 
  gap: 16px; 
  justify-content: center;
}

.section { padding: 80px 0; }
.section.alt {
  background: var(--bg-alt);
}
.section-title { 
  margin: 0 0 32px; 
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
}

.grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(1, 1fr);
}
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid-pricing { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 960px) { .grid-pricing { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.2s ease;
  backdrop-filter: none;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: none; /* 移除光效伪元素 */
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px var(--shadow-hover);
  border-color: var(--muted);
}
.card h3 { 
  margin: 0 0 16px; 
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.card p { 
  margin: 0 0 12px; 
  color: var(--text-secondary); 
  line-height: 1.8;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: 16px 32px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-primary { 
  background: linear-gradient(135deg, var(--primary) 0%, var(--bagua-red) 100%); 
  border-color: var(--primary); 
  color: #1a1d23; 
  font-weight: 600; 
  box-shadow: 0 4px 12px rgba(230, 160, 50, 0.3);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: none; /* 移除按钮光效伪元素 */
}
.btn-primary:hover { 
  background: var(--primary-600); 
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.4);
}
.btn-outline { 
  background: rgba(255, 255, 255, 0.01); /* 添加半透明背景 */
  color: var(--text); 
  border-color: var(--border);
  backdrop-filter: blur(6px); /* 添加毛玻璃效果 */
}
.btn-outline:hover { 
  background: rgba(230, 160, 50, 0.2); /* 悬停时添加金色半透明背景 */
  border-color: var(--accent); /* 边框变为金色 */
  color: var(--accent); /* 文字也变为金色 */
  transform: translateY(-2px);
}

.badge {
  display: inline-block; padding: 4px 8px; border-radius: 999px;
  background: rgba(0, 200, 150, 0.01); color: var(--accent);
  font-size: 12px; margin-bottom: 8px;
}

.price { font-size: 28px; margin: 6px 0 12px; }
.currency { font-weight: 700; }

.pricing-card { position: relative; }
.pricing-card.featured { outline: none; /* 移除特色卡片的轮廓 */ }
.features { list-style: none; padding: 0; margin: 0 0 16px; }
.features li { padding-left: 12px; position: relative; margin-bottom: 6px; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }

.notes h2 { margin: 24px 0 12px; }
.notes ul { margin: 0; padding-left: 20px; color: var(--muted); }

.site-footer {
  background: linear-gradient(135deg, #0c0e12 0%, #1a1d23 100%);
  border-top: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e6a032 0%, #cc4a33 25%, #2a3a6a 50%, #4a7c59 75%, #e6a032 100%);
}
.footer-inner { padding: 24px 0; }
.muted { color: var(--text-tertiary); }

.cta-center { text-align: center; margin-top: 24px; }

.form-group { display: grid; gap: 8px; margin-bottom: 12px; }
input, textarea {
  width: 100%; background: var(--bg-alt); color: var(--text);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px;
}
input::placeholder, textarea::placeholder { color: var(--muted); }

@media (max-width: 840px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; background: var(--bg-alt); padding: 10px; border-radius: 12px; }
}

.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}

/* 微妙的动画效果 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes baguaRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes yinyangGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(230, 160, 50, 0.3); }
  50% { text-shadow: 0 0 30px rgba(230, 160, 50, 0.6), 0 0 40px rgba(204, 74, 51, 0.3); }
}

/* 宇宙星空背景效果 */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
  opacity: 1.0; /* 增加透明度 */
  animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* 添加宇宙背景渐变 */
.hero {
  background: radial-gradient(ellipse at center, #0a0c0f 0%, #0f1419 50%, #1a1d23 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(230, 160, 50, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(204, 74, 51, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(42, 58, 106, 0.05) 0%, transparent 50%);
  z-index: 1;
  animation: universePulse 8s ease-in-out infinite;
}

@keyframes universePulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.card {
  animation: fadeIn 0.6s ease-out;
}

/* 添加微妙的渐变背景动画 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.03) 0%, rgba(0, 200, 150, 0.03) 100%);
  z-index: 1;
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

/* 时间流逝特效 */
@keyframes lifePulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.02); }
}

@keyframes fateGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(230, 160, 50, 0.5); }
  50% { text-shadow: 0 0 40px rgba(230, 160, 50, 0.8), 0 0 60px rgba(204, 74, 51, 0.6); }
}

@keyframes timeFlow {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.life-glow {
  animation: lifePulse 4s ease-in-out infinite;
}

.fate-glow {
  animation: fateGlow 3s ease-in-out infinite;
}

.time-flow {
  position: relative;
  overflow: hidden;
}

.time-flow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: timeFlow 8s linear infinite;
}

/* 生命轨迹背景 */
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(42, 58, 106, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(230, 160, 50, 0.2) 0%, transparent 50%),
              radial-gradient(circle at 40% 40%, rgba(204, 74, 51, 0.2) 0%, transparent 50%);
  animation: universePulse 12s ease-in-out infinite;
  pointer-events: none;
}

.changelog article.card {
  margin-bottom: 18px;
}