/* WPK电脑版 — 深色 PC 科技风 */
:root {
  --bg: #020617;
  --panel: #0f172a;
  --line: rgba(148, 163, 184, 0.16);
  --indigo: #6366f1;
  --indigo-strong: #4f46e5;
  --text: #e2e8f0;
  --muted: #94a3b8;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
section[id], div[id] { scroll-margin-top: 88px; }

/* 渐变文字 */
.gradient-text {
  background-image: linear-gradient(120deg, #94a3b8, #6366f1 55%, #818cf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 网格背景 */
.bg-grid {
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.09) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* 滚动毛玻璃导航 */
.nav-blur {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

/* 卡片悬浮 */
.card-hover {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 20px 50px -18px rgba(99, 102, 241, 0.5);
}

/* 发光按钮 */
.btn-glow {
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.35), 0 12px 34px -8px rgba(99, 102, 241, 0.7);
  transition: transform .3s ease, box-shadow .3s ease;
}
.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.55), 0 20px 48px -10px rgba(99, 102, 241, 0.9);
}

/* 入场动画 */
.fade-in {
  animation: fadeInUp .7s ease both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 霓虹边框 */
.neon-ring {
  position: relative;
}
.neon-ring::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(129,140,248,.7), transparent 40%, rgba(99,102,241,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* FAQ 手风琴 */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.active {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 16px 40px -20px rgba(99, 102, 241, 0.55);
}
.faq-question {
  cursor: pointer;
  user-select: none;
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: #e2e8f0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  color: #94a3b8;
  line-height: 1.8;
  padding: 0 1.3rem;
}
.faq-item.active .faq-answer {
  max-height: 240px;
  padding: 0 1.3rem 1.2rem;
}
.faq-icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.16);
  color: #a5b4fc;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(135deg);
  background: #6366f1;
  color: #fff;
}
