﻿/* ========================================
   FAQ - 高端黑金主题
   ======================================== */

.faq {
  position: relative;
  padding: 120px 0;
  background:
    radial-gradient(ellipse at center, #1a1202 0%, #000000 50%),
    linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1202 75%, #2d2409 100%);
  overflow: hidden;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(212, 175, 55, 0.04) 50%, transparent 50.5%),
    linear-gradient(0deg, transparent 49.5%, rgba(212, 175, 55, 0.04) 50%, transparent 50.5%);
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
  animation: faqGrid 25s linear infinite;
}

@keyframes faqGrid {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  100% {
    transform: translate(50px, 50px) rotate(1deg);
  }
}

.faq__content {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.faq__header {
  text-align: center;
  margin-bottom: 70px;
}

.faq__title {
  font-family: 'Orbitron', 'Space Grotesk', Inter, sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 25%, #ffed4e 50%, #d4af37 75%, #ffd700 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: goldShine 4s linear infinite;
  filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.4));
}

@keyframes goldShine {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

.faq__subtitle {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.faq__description {
  font-size: clamp(16px, 1.9vw, 19px);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.faq__list {
  max-width: 52rem;
  margin: 0 auto;
}

.faq__item {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(10, 10, 10, 0.5) 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.faq__item.fi-observe {
  opacity: 0;
  transform: translateY(30px);
}

.faq__item.fi-in {
  opacity: 1;
  transform: none;
}

.faq__item:nth-child(even) {
  transition-delay: 0.05s;
}

.faq__item:nth-child(3n) {
  transition-delay: 0.1s;
}

.faq__item.is-open {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow:
    0 8px 35px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(212, 175, 55, 0.25),
    inset 0 0 25px rgba(212, 175, 55, 0.05);
  background: linear-gradient(135deg, rgba(10, 8, 0, 0.8) 0%, rgba(20, 18, 10, 0.6) 100%);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.95);
  padding: 24px 28px;
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq__question::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.6s ease;
}

.faq__question:hover::before {
  left: 100%;
}

.faq__question:hover {
  color: #ffd700;
  padding-left: 32px;
}

.faq__item.is-open .faq__question {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
  padding-bottom: 20px;
}

.faq__question span {
  position: relative;
  z-index: 1;
}

.faq__icon {
  flex-shrink: 0;
  color: #d4af37;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.6));
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
  padding: 0 28px;
}

.faq__item.is-open .faq__answer {
  max-height: 800px;
  padding: 0 28px 24px;
}

.faq__answer p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: clamp(15px, 1.7vw, 17px);
  margin-bottom: 12px;
}

.faq__answer ul {
  padding-left: 24px;
  margin: 12px 0;
}

.faq__answer li {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 16px);
  margin-bottom: 8px;
  position: relative;
  padding-left: 8px;
}

.faq__answer li::marker {
  color: #d4af37;
}

/* 添加交互式高亮效果 */
.faq__item:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(212, 175, 55, 0.15);
  transform: translateX(4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }

  .faq__header {
    margin-bottom: 50px;
  }

  .faq__item {
    margin-bottom: 16px;
    border-radius: 16px;
  }

  .faq__question {
    padding: 20px 24px;
    font-size: 16px;
  }

  .faq__item.is-open .faq__question {
    padding-bottom: 16px;
  }

  .faq__answer {
    padding: 0 24px;
  }

  .faq__item.is-open .faq__answer {
    padding: 0 24px 20px;
  }
}

@media (max-width: 480px) {
  .faq {
    padding: 60px 0;
  }

  .faq__question {
    padding: 18px 20px;
    font-size: 15px;
  }

  .faq__answer {
    padding: 0 20px;
  }

  .faq__item.is-open .faq__answer {
    padding: 0 20px 18px;
  }

  .faq__icon {
    width: 20px;
    height: 20px;
  }
}