:root {
  --primary: #a78bfa;
  --primary-light: #c4b5fd;
  --primary-dark: #8b5cf6;
  --secondary: #d8b4fe;
  --accent: #f0abfc;
  --dark: #0f172a;
  --darker: #0a1121;
  --light: #f8fafc;
  --gray: #808DA2;
  --success: #a7f3d0;
  --card-bg: #14192F;
  --border: rgba(167, 139, 250, 0.1);
  --border-hover: rgba(167, 139, 250, 0.3);
  --box-shadow: rgba(139, 92, 246, 0.2);
}

/* 放大动画 */
@keyframes scale {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 飘动动画 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

[v-cloak] {
  display: none;
}

#app {
  width: 100%;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏样式 */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo .logo-img {
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-light);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 鼠标悬浮显示下载二维码 */
.qrcode-hover {
  position: relative;
}

.qrcode-hover::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  bottom: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  border: 1px solid #707070;
  background-color: #FFF;
  border-radius: 16px;
  background-size: 120px 120px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease-in-out;
}

.qrcode-hover:hover::before {
  opacity: 1;
  visibility: visible;
}

/* 国内下载二维码 */
.download-qrcode::before {
  background-image: url("../images/download_zh.png");
}

/* 海外下载二维码 */
.overseas-qrcode::before {
  background-image: url("../images/download_en.png");
}

/* 按钮样式 */
.btn {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(167, 139, 250, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: rgba(167, 139, 250, 0.1);
  transform: translateY(-3px);
}

/* 下划线 */
.underline {
  position: relative;
}

.underline::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* 页脚 */
.footer {
  background: var(--darker);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  gap: 280px;
  margin-bottom: 24px;
}

.footer-col h3 {
  width: fit-content;
  font-size: 24px;
  margin-bottom: 36px;
  position: relative;
  padding-bottom: 12px;
  line-height: 1;
  color: var(--primary-light);
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
}

.footer-desc {
  margin-top: 40px;
  color: var(--gray);
  max-width: 300px;
}

.footer-links {
  list-style: none;
  display: flex;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links li:not(:last-child) {
  margin-right: 200px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.footer-links a:hover::before {
  opacity: 1;
  visibility: visible;
}

.footer-links a::before {
  content: "";
  display: block;
  position: absolute;
  width: 100px;
  height: 100px;
  top: -110px;
  left: 0;
  background-size: 100%;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease-in-out;
}

/* 小红书 */
.footer-links .xiaohongshu::before {
  background-image: url('../images/xiaohongshu.png');
}

/* 小红书 */
.footer-links .video-channels::before {
  background-image: url('../images/video_channel.png');
}

.footer-links a i {
  color: var(--primary);
  width: 20px;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--gray);
  font-size: 0.9rem;
}

/* 联系 */
.contact {
  text-align: center;
  cursor: pointer;
  position: fixed;
  bottom: 200px;
  right: 40px;
  z-index: 100;
}

.concat_icon {
  width: 48px;
}

.concat_us_text {
  font-size: 14px;
  text-align: center;
  color: #FFF;
}

.contact::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: -140px;
  transform: translateY(-50%);
  width: 130px;
  height: 130px;
  border: 1px solid #707070;
  background-color: #FFF;
  border-radius: 16px;
  background-image: url("../images/concat_qrcode.png");
  background-size: 120px 120px;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease-in-out;
}

.contact:hover::before {
  opacity: 1;
  visibility: visible;
}
