/* 德扑之星 · 双端同步 全局样式 */
:root {
  --brand-a: #2563eb;
  --brand-b: #7c3aed;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1e293b;
  background: #ffffff;
}

.gradient-text {
  background-image: linear-gradient(90deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-grid {
  background-image: linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.nav-blur {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px -18px rgba(15, 23, 42, 0.28);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.card-hover {
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px -24px rgba(37, 99, 235, 0.4);
  border-color: rgba(124, 58, 237, 0.35);
}

.btn-glow {
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.55);
  transition: box-shadow .3s ease, transform .3s ease;
}
.btn-glow:hover {
  box-shadow: 0 12px 32px -8px rgba(124, 58, 237, 0.8);
  transform: translateY(-2px);
}

.fade-in {
  animation: fadeIn 1s ease both;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  background: #ffffff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.faq-item.active {
  border-color: #c4b5fd;
  box-shadow: 0 12px 32px -20px rgba(124, 58, 237, 0.35);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  text-align: left;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 1.4rem;
  color: #475569;
  line-height: 1.7;
}
.faq-item.active .faq-answer {
  max-height: 320px;
  padding-bottom: 1.4rem;
}
.faq-icon {
  color: #7c3aed;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
