/* ============ WPK 全局样式 ============ */
:root {
  --indigo: #4f46e5;
  --amber: #f59e0b;
  --gold: #d97706;
  --ink: #1e1b4b;
  --muted: #6b7280;
  --line: #f1f0fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #4b5563;
  background: #ffffff;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 渐变文字 */
.gradient-text {
  background-image: linear-gradient(90deg, #4f46e5, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 网格背景 */
.bg-grid {
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* 导航毛玻璃 */
.nav-blur {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.10);
}

/* 卡片 hover */
.card-hover {
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -18px rgba(245, 158, 11, 0.40);
  border-color: rgba(245, 158, 11, 0.45);
}

/* 按钮发光 */
.btn-glow {
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px rgba(245, 158, 11, 0.55);
}

/* 入场动画 */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* FAQ 手风琴 */
.faq-item {
  border: 1px solid #f1f0fb;
  border-radius: 16px;
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.faq-item.active {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 32px -16px rgba(79, 70, 229, 0.25);
}
.faq-question {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: #6b7280;
  line-height: 1.8;
}
.faq-answer p { padding: 0 22px 20px; margin: 0; }
.faq-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
  transition: transform .35s ease, background .3s ease, color .3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: linear-gradient(90deg, #4f46e5, #f59e0b);
  color: #fff;
}

/* 金色奖杯统计 */
.trophy-stat {
  position: relative;
  background: linear-gradient(180deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.trophy-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(217, 119, 6, 0.45);
}
.trophy-stat .trophy-ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #92400e;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 10px 22px -8px rgba(245, 158, 11, 0.6);
}
.trophy-stat .trophy-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: #92400e;
}
.trophy-stat .trophy-label {
  margin-top: 4px;
  font-size: .85rem;
  color: #a16207;
  font-weight: 500;
}

/* 版本徽章 */
.version-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4f46e5, #f59e0b);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px -8px rgba(245, 158, 11, 0.5);
}

/* 评分星 */
.star-row { color: #f59e0b; letter-spacing: 2px; }

/* 子页头部 */
.page-hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(245, 158, 11, 0.10), transparent),
    radial-gradient(50% 80% at 10% 10%, rgba(79, 70, 229, 0.10), transparent);
}
