/* ===== 归能晶 · 主样式 ===== */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-card: rgba(20, 20, 50, 0.8);
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0c0;
  --accent-purple: #8b5cf6;
  --accent-cyan: #06d6a0;
  --accent-pink: #f472b6;
  --accent-gold: #fbbf24;
  --gradient-main: linear-gradient(135deg, #8b5cf6, #06d6a0);
  --gradient-glow: linear-gradient(135deg, rgba(139,92,246,0.3), rgba(6,214,160,0.3));
  --border-subtle: rgba(139, 92, 246, 0.2);
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== 导航栏 ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(139, 92, 246, 0.15);
}

.nav-link.active {
  background: rgba(139, 92, 246, 0.25);
}

/* ===== 通用 ===== */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 60px;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

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

.btn-outline:hover {
  background: rgba(6, 214, 160, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50px;
}

/* ===== 首屏 ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 64px;
}

.hero-content {
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  background: var(--gradient-glow);
  border: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--accent-cyan);
  margin-bottom: 32px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
}

.hero-line {
  display: block;
}

.hero-line.accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.8;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
  font-size: 1.5rem;
  margin-top: 8px;
}

/* ===== 关于 ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.2);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--accent-cyan);
}

.about-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* ===== 产品时间线 ===== */
.products-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.products-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-main);
}

.product-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-purple);
  z-index: 1;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.step-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--gradient-glow);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ===== AI回响 ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}

.quote-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 4px 30px rgba(6, 214, 160, 0.15);
}

.quote-mark {
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: -10px;
}

.quote-text {
  font-size: 1.05rem;
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.8;
}

/* ===== 数字人 ===== */
.digital-human-preview {
  text-align: center;
}

.light-orb-container {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 48px;
}

.light-orb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.8), rgba(6,214,160,0.4), transparent);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 3s ease-in-out infinite;
  box-shadow: 0 0 60px rgba(139,92,246,0.5), 0 0 120px rgba(6,214,160,0.3);
}

.light-halo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.3);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: haloRotate 10s linear infinite;
}

.light-halo::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.dh-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: left;
}

.dh-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.dh-icon {
  font-size: 1.5rem;
}

.dh-feature strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-cyan);
}

.dh-feature p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== 报告 ===== */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.report-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
}

.report-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-purple);
}

.report-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.report-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.report-audience {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.report-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ===== 保险柜 ===== */
.vault-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
  margin: 0 auto 48px;
}

.vault-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.vault-check {
  color: var(--accent-cyan);
  font-weight: 700;
}

.vault-feature p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.vault-actions {
  text-align: center;
}

/* ===== 页脚 ===== */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== 弹窗 ===== */
.popup {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup.hidden { display: none; }

.popup-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}

.popup-content {
  position: relative;
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.popup-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open { display: flex; }
  
  .hero-title { font-size: 2.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  
  .about-grid,
  .quotes-grid,
  .reports-grid { grid-template-columns: 1fr; }
  
  .dh-features { grid-template-columns: 1fr; }
  .vault-features { grid-template-columns: 1fr; }
  
  .products-timeline::before { left: 20px; }
  .step-number { width: 40px; height: 40px; min-width: 40px; font-size: 0.9rem; }
  .product-step { gap: 16px; }
  
  .section-title { font-size: 1.8rem; }
  .section { padding: 60px 0; }
  
  .footer-content { flex-direction: column; gap: 24px; }
  .footer-links { flex-wrap: wrap; }
}
