:root {
  --primary: #1482ff;
  --primary-dark: #1A6B8C;
  --primary-light: #4DB8E8;
  --bg-blue: #f0f5ff;
  --bg-gradient-start: #E0F7FF;
  --bg-gradient-end: #B3E5FC;
  --text-dark: #2d2d2d;
  --text-gray: #666;
  --text-light: #7AA3B5;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-gray);
}

.text-primary { color: var(--primary); }
.text-primary-dark { color: var(--primary-dark); }
.text-primary-light { color: var(--primary-light); }
.text-text-dark { color: var(--text-dark); }
.text-text-gray { color: var(--text-gray); }
.text-text-light { color: var(--text-light); }
.bg-primary { background-color: var(--primary); }
.bg-blue-soft { background-color: var(--bg-blue); }
.bg-gradient-blue { background: linear-gradient(180deg, var(--bg-gradient-start), var(--bg-gradient-end)); }

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s;
  display: inline-block;
  border: none;
  text-align: center;
  text-decoration: none;
}
.btn-primary:hover { transform: scale(1.05); filter: brightness(1.1); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 16px;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { background-color: var(--primary); color: #fff; }

.card-hover { transition: all .3s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(20, 130, 255, 0.15); }

.nav-scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.nav-link {
  color: #2d3748;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: color .3s;
}
.nav-link:hover {
  color: var(--primary);
}

.mobile-menu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mobile-menu.open { max-height: 400px; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  max-width: 420px; width: 90%; text-align: center; position: relative;
  transform: translateY(20px); transition: transform .3s;
}
.modal-content-qr {
  padding: 36px 32px 32px;
}
.modal-content-text {
  max-width: 640px;
  padding: 36px 32px 32px;
  text-align: left;
}
.guardian-content {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 8px;
}
.guardian-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 18px;
  margin-bottom: 8px;
}
.guardian-content h4:first-child {
  margin-top: 0;
}
.guardian-content p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 6px;
}
.guardian-content::-webkit-scrollbar {
  width: 4px;
}
.guardian-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 2px;
}
.qr-code-wrapper {
  display: inline-block;
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.qr-code-img {
  width: 200px;
  height: 200px;
  display: block;
  border-radius: 8px;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 24px; color: #999; cursor: pointer;
}

.scene-card {
  background: var(--bg-blue); border-radius: 12px; padding: 20px 16px; text-align: center;
  transition: all .3s;
}
.scene-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(20,130,255,0.1); }

.icon-badge,
.list-check-icon,
.player-cover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}
.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(222, 241, 255, 0.95));
  border: 1px solid rgba(20, 130, 255, 0.12);
  box-shadow: 0 10px 24px rgba(20, 130, 255, 0.12), inset 0 1px 0 rgba(255,255,255,0.88);
}
.icon-badge-sm {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}
.icon-badge-lg {
  width: 72px;
  height: 72px;
  border-radius: 22px;
}
.icon-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.icon-badge-lg .icon-svg {
  width: 32px;
  height: 32px;
}

.ai-feature-card,
.feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(77, 184, 232, 0.18);
  box-shadow: 0 18px 50px rgba(20, 130, 255, 0.1);
}
.ai-feature-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(224, 247, 255, 0.7), rgba(224, 247, 255, 0));
  pointer-events: none;
}
.ai-feature-card > *,
.feature-card > * {
  position: relative;
  z-index: 1;
}
.ai-feature-card .scene-card {
  background: rgba(240, 245, 255, 0.88);
  border: 1px solid rgba(20, 130, 255, 0.08);
  padding: 16px 12px;
}

/* 简介卡片 */
.intro-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(77, 184, 232, 0.15);
  border-radius: 20px;
  padding: 32px 36px;
  box-shadow: 0 18px 50px rgba(20, 130, 255, 0.08);
}
.intro-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
}
.intro-card::after {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.1), transparent 70%);
  pointer-events: none;
}
.intro-card > * {
  position: relative;
  z-index: 1;
}
.intro-card .intro-lead {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.intro-card .intro-lead::before {
  content: "";
  display: inline-block;
  width: 4px; height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

/* 功能模块截图展示 */
.feature-visual {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.92));
  border: 1px solid rgba(20, 130, 255, 0.12);
  border-radius: 20px;
  padding: 20px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 14px 36px rgba(20,130,255,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-visual img {
  width: 200px;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  border: 5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 32px rgba(26, 107, 140, 0.16);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-visual:hover img {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(26, 107, 140, 0.2);
}
.feature-visual-caption {
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-light);
}

/* 开启梦幻之旅卡片 */
.journey-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(224, 247, 255, 0.6), rgba(179, 229, 252, 0.4));
  border: 1px solid rgba(77, 184, 232, 0.2);
  border-radius: 24px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(20, 130, 255, 0.1);
}
.journey-card::before {
  content: "";
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.12), transparent 70%);
  pointer-events: none;
}
.journey-card > * {
  position: relative;
  z-index: 1;
}
.journey-card .journey-img {
  width: 200px;
  max-width: 80%;
  height: auto;
  border-radius: 20px;
  border: 5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(26, 107, 140, 0.15);
  margin: 0 auto;
  display: block;
}

.ai-visual-showcase {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(232, 244, 255, 0.92));
  border: 1px solid rgba(20, 130, 255, 0.12);
  border-radius: 20px;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px 16px 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 14px 36px rgba(20,130,255,0.12);
}
.ai-shot-grid {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ai-shot {
  width: 140px;
  max-width: 48%;
  height: auto;
  border-radius: 20px;
  border: 6px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 35px rgba(26, 107, 140, 0.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.ai-shot-primary {
  transform: translateY(8px) rotate(-5deg);
}
.ai-shot-secondary {
  transform: translateY(-8px) rotate(5deg);
}
.ai-visual-showcase:hover .ai-shot-primary,
.ai-visual-showcase:hover .ai-shot-secondary {
  transform: translateY(0) rotate(0deg);
  box-shadow: 0 20px 38px rgba(26, 107, 140, 0.22);
}
.ai-visual-caption {
  margin-top: 12px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-light);
}

.sound-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(224, 244, 255, 0.95));
  border: 1px solid rgba(20, 130, 255, 0.12);
  color: var(--primary-dark);
  box-shadow: 0 12px 24px rgba(20,130,255,0.1);
  transition: all .3s;
}
.sound-icon:hover {
  transform: translateY(-2px);
  color: var(--primary);
  box-shadow: 0 16px 28px rgba(20,130,255,0.14);
}

.compliance-card {
  background: var(--bg-blue); border-radius: 16px; padding: 24px; height: 100%;
  transition: all .3s;
}
.compliance-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(20,130,255,0.1); }

.list-check-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-light);
}
.list-check-icon .icon-svg {
  width: 18px;
  height: 18px;
}

.player-item {
  background: var(--bg-blue); border-radius: 12px; padding: 16px;
  display: flex; align-items: center; gap: 16px; cursor: pointer; transition: all .3s;
}
.player-item:hover { background: #e6f0ff; }

.progress-bar-wrapper {
  cursor: pointer;
  position: relative;
}
.progress-bar-wrapper:hover .progress-bar {
  background: var(--primary-dark) !important;
}

.player-cover-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20,130,255,0.15), rgba(255,255,255,0.95));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.user-gallery-cover {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(224, 244, 255, 0.9));
  border: 1px solid rgba(20, 130, 255, 0.08);
}
.user-gallery-cover::before {
  content: "";
  position: absolute;
  inset: auto -20% -25% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77, 184, 232, 0.18), rgba(77, 184, 232, 0));
}

.play-btn {
  transition: transform .2s;
  user-select: none;
}
.play-btn:hover { transform: scale(1.2); }
.play-btn:active { transform: scale(0.9); }

/* FAQ 样式 */
.faq-item {
  background: var(--bg-blue);
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(77, 184, 232, 0.15);
  transition: all .3s;
}
.faq-item:hover {
  box-shadow: 0 4px 12px rgba(20, 130, 255, 0.08);
}
.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-question::before {
  content: "Q";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.faq-answer {
  padding-left: 32px;
}
.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-gray);
  margin: 0;
}
.faq-answer p::before {
  content: "A";
  display: inline-block;
  width: 20px;
  color: var(--primary-light);
  font-weight: 600;
  margin-right: 4px;
}

/* 用户评价卡片 */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(77, 184, 232, 0.15);
  transition: all .3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(20, 130, 255, 0.1);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }

@keyframes progress {
  0% { width: 0%; }
  100% { width: 45%; }
}
.progress-anim { animation: progress 2s ease-in-out infinite alternate; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

@media (max-width: 767px) {
  .section-spacing { padding-top: 3rem; padding-bottom: 3rem; }
  .faq-item {
    padding: 16px 20px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq-answer {
    padding-left: 28px;
  }
  .faq-answer p {
    font-size: 13px;
  }
  .modal-content-text {
    max-width: 90%;
    padding: 28px 20px 24px;
  }
  .guardian-content {
    max-height: 55vh;
  }
  .guardian-content h4 {
    font-size: 14px;
    margin-top: 14px;
  }
  .guardian-content p {
    font-size: 13px;
  }
  .nav-link {
    font-size: 16px;
  }
  .intro-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .feature-card {
    border-radius: 20px;
  }
  .feature-visual {
    padding: 16px 12px 12px;
  }
  .feature-visual img {
    width: 160px;
    border-width: 4px;
    border-radius: 16px;
  }
  .journey-card {
    padding: 32px 20px 28px;
    border-radius: 20px;
  }
  .journey-card .journey-img {
    width: 160px;
  }
  .ai-feature-card {
    border-radius: 20px;
  }
  .ai-visual-showcase {
    max-width: 320px;
    padding: 16px 12px 12px;
  }
  .ai-shot-grid {
    min-height: 220px;
    gap: 8px;
  }
  .icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }
  .icon-badge-sm {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .icon-badge-lg {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
  .icon-svg {
    width: 20px;
    height: 20px;
  }
  .icon-badge-lg .icon-svg {
    width: 28px;
    height: 28px;
  }
  .ai-shot {
    width: 110px;
    border-width: 4px;
    border-radius: 18px;
  }
  .ai-shot-primary {
    transform: translateY(6px) rotate(-4deg);
  }
  .ai-shot-secondary {
    transform: translateY(-6px) rotate(4deg);
  }
  .ai-visual-caption {
    font-size: 12px;
  }
}
