/* ===================帝王云 ==================== */
/* ============= www.diwangyun.com ================ */
/* ============= www.diwangyun.cn ================= */
/* ============== 代码有价，版权无价 ================= */
/* =======帝王云模板为帝王云自行开发，已办理源码著作权 ========== */
/* =======未经允许 仿站或扒站 发现必究，请尊重开发者心血 ========== */
/* ==========="愿你走完山水万城 仍与理想重逢" ============ */
/* ============模板作者：江遇:QQ 1481234828=========== */


/* 帮助中心页样式 - 帝王尊贵版 */

.help-page {
  padding-top: 70px;
}

/* 帮助中心卡片样式 - 覆盖全局深色样式 */
.help-page .card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.help-page .card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
  transform: translateY(-6px);
}

/* 帮助头部 */
.help-header {
  background: linear-gradient(135deg, #4a1a6b 0%, #7c3aed 30%, #5b21b6 70%, #3b0764 100%);
  padding: 100px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

/* 金色光效背景 */
.help-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* 金色光带动画 */
.help-header::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    transparent 40%,
    rgba(212, 175, 55, 0.05) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: goldShimmer 15s linear infinite;
  pointer-events: none;
}

@keyframes goldShimmer {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

.header-content {
  position: relative;
  z-index: 1;
}

.help-header h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldGlow 3s ease-in-out infinite alternate;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

@keyframes goldGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
  }
}

.help-subtitle {
  font-size: 24px;
  opacity: 0.95;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 1px;
  margin-bottom: 32px;
  font-weight: 500;
}

/* 搜索框 */
.search-container {
  max-width: 700px;
  margin: 0 auto 24px;
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.help-search-input {
  flex: 1;
  padding: 16px 24px;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.help-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.help-search-input:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.6);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.help-search-btn {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  border: none;
  border-radius: 30px;
  color: #4a1a6b;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.help-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.5);
}

.help-search-btn svg {
  width: 20px;
  height: 20px;
}

/* 热门搜索 */
.hot-searches {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hot-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
}

.hot-search-tag {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hot-search-tag:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-2px);
}

/* 帮助统计 */
.help-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 48px auto 0;
  position: relative;
  z-index: 2;
}

.help-stats .stat-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.help-stats .stat-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-4px);
}

.help-stats .stat-number {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 50%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.help-stats .stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

/* 快速导航 - 普通定位 */
.help-nav {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.nav-item {
  background: white;
  border: 2px solid rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
  transform: translateY(-6px);
}

.nav-item:hover::before {
  opacity: 1;
}

.nav-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.nav-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-item p {
  font-size: 14px;
  color: var(--text-gray);
  margin: 0;
}

/* 快速入门 */
.quick-start {
  padding: 80px 0;
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.quick-start-card {
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quick-start-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.start-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.quick-start-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quick-start-card > p {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 14px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: left;
}

.feature-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  font-size: 14px;
  color: var(--text-gray);
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d4af37;
  font-weight: bold;
}

.link-arrow {
  display: inline-block;
  color: #7c3aed;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link-arrow:hover {
  color: #d4af37;
  transform: translateX(4px);
}

/* 产品帮助 */
.product-help {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.03) 0%, rgba(212, 175, 55, 0.03) 100%);
}

.product-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-help-card {
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.product-help-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
  transform: translateY(-6px);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-help-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.help-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.help-links li {
  margin-bottom: 10px;
}

.help-links a {
  display: block;
  padding: 8px 0;
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
  padding-left: 12px;
}

.help-links a:hover {
  color: #7c3aed;
  border-left-color: #d4af37;
  transform: translateX(4px);
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 50%, #b8860b 100%);
  border: none;
  color: #4a1a6b;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

/* 常见问题 */
.faq-section {
  padding: 80px 0;
}

.faq-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.faq-tab-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  background: white;
  border: 2px solid rgba(124, 58, 237, 0.2);
  border-radius: 30px;
  color: #7c3aed;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-tab-btn::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.5s ease;
}

.faq-tab-btn:hover::before {
  left: 100%;
}

.faq-tab-btn:hover {
  border-color: #d4af37;
  color: #7c3aed;
  background: rgba(212, 175, 55, 0.05);
}

.faq-tab-btn.active {
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  border-color: #7c3aed;
  color: white;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.faq-list {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.faq-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.faq-item {
  border-bottom: 2px solid rgba(124, 58, 237, 0.08);
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.02) 0%, rgba(212, 175, 55, 0.02) 100%);
}

.faq-question {
  padding: 28px 0;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
}

.faq-badge {
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.badge-hot {
  background: linear-gradient(135deg, #ff6b35 0%, #ff4757 100%);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  padding-bottom: 28px;
}

.faq-answer p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 15px;
}

.faq-answer ol,
.faq-answer ul {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-answer li {
  margin-bottom: 8px;
  font-size: 15px;
}

.faq-answer strong {
  color: #7c3aed;
}

.faq-arrow {
  margin-left: auto;
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: #7c3aed;
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* 联系支持 */
.contact-support {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.support-card {
  padding: 40px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 50%, #d4af37 100%);
}

.support-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
  transform: translateY(-6px);
}

.support-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.support-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-card > p {
  color: var(--text-gray);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 15px;
}

.support-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.support-features li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-gray);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .quick-start-grid,
  .product-help-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .help-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .help-stats .stat-number {
    font-size: 28px;
  }

  .help-stats .stat-label {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .help-header h1 {
    font-size: 42px;
  }

  .help-subtitle {
    font-size: 20px;
  }

  .search-container {
    flex-direction: column;
  }

  .help-search-input,
  .help-search-btn {
    width: 100%;
  }

  .help-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 10px;
  }

  .help-stats .stat-item {
    padding: 16px;
  }

  .quick-start-grid,
  .product-help-grid,
  .support-grid,
  .nav-grid {
    grid-template-columns: 1fr;
  }

  .faq-list {
    padding: 24px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .help-header h1 {
    font-size: 32px;
  }

  .help-subtitle {
    font-size: 18px;
  }

  .help-stats {
    grid-template-columns: 1fr 1fr;
  }

  .help-stats .stat-number {
    font-size: 24px;
  }

  .quick-start-card,
  .product-help-card,
  .support-card {
    padding: 24px 16px;
  }

  .start-icon,
  .product-icon,
  .support-icon {
    font-size: 40px;
  }

  .faq-tabs {
    gap: 8px;
  }

  .faq-tab-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* 搜索结果提示 */
.search-alert {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  padding: 16px 24px;
  margin-bottom: 24px;
  font-size: 16px;
  color: #7c3aed;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ筛选动画 */
.faq-item.hidden {
  display: none;
}

.faq-item.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
