:root {
  --primary: #7B68EE;
  --secondary: #4CAF50;
  --accent: #FFD700;
  --dark: #0a0f1a;
  --darker: #05070c;
  --light: #F8F9FA;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
}

.header-scrolled {
  background: rgba(10, 15, 26, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.page-hero-guide {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: linear-gradient(135deg, #0a0f1a 0%, #1a103c 60%, #0a0f1a 100%);
  overflow: hidden;
}

.page-hero-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://file.3xiangyx.com/main/img/20260618/6a33ccc4853e1.jpg') center/cover no-repeat;
  opacity: 0.25;
}

.page-hero-guide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 15, 26, 0.4) 0%, rgba(10, 15, 26, 0.9) 80%, var(--dark) 100%);
}

.hero-guide-content {
  position: relative;
  z-index: 10;
  width: 100%;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.hero-guide-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: white;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.hero-guide-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 700px;
  line-height: 1.7;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  margin-top: 1.25rem;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.guide-tab {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.guide-tab:hover,
.guide-tab.active {
  background: rgba(123, 104, 238, 0.25);
  border-color: rgba(123, 104, 238, 0.5);
  color: var(--accent);
}

.guide-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  border-color: rgba(123, 104, 238, 0.3);
}

.guide-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), rgba(123, 104, 238, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.guide-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.guide-card p {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
  font-size: 0.95rem;
}

.faq-section {
  background: linear-gradient(180deg, var(--dark) 0%, #0f1420 100%);
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(123, 104, 238, 0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  color: white;
  font-weight: 700;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem;
}

.download-section {
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.15) 0%, rgba(76, 175, 80, 0.1) 100%);
  position: relative;
  overflow: hidden;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ffaa00 100%);
  color: #1a1200;
  font-size: 1.25rem;
  font-weight: 800;
  border: 2px solid rgba(255, 215, 0, 0.5);
  box-shadow: 0 8px 0 #b8860b, 0 15px 35px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.download-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 0 #b8860b, 0 25px 50px rgba(255, 215, 0, 0.4);
}

.download-btn:active {
  transform: translateY(4px);
  box-shadow: 0 4px 0 #b8860b, 0 8px 20px rgba(255, 215, 0, 0.3);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .page-hero-guide {
    min-height: 45vh;
    padding-top: 90px;
  }

  .guide-tab {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }
}
