/* QuickQ 克隆站点：在官方样式之上补充的交互与组件样式 */

html { scroll-behavior: smooth; }
/* 锚点定位时避开固定导航栏 */
#faq { scroll-margin-top: 90px; }
body { font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif; }

/* 导航当前项 */
.nav-active { color: #fff; }

/* 流媒体区块背景（官方为视频背景，这里用渐变光晕还原观感） */
.stream-bg {
  background-image:
    radial-gradient(60% 80% at 50% 40%, rgba(33, 113, 255, 0.28), transparent 70%),
    radial-gradient(40% 60% at 20% 70%, rgba(0, 168, 255, 0.18), transparent 70%),
    linear-gradient(180deg, #04142b 0%, #011022 100%);
}

/* 常见问题手风琴 */
.collapse.collapse-open > .faq-body { display: block !important; }
.collapse-title { color: #fff; }
.collapse-title::after { color: var(--color-primary, #2171ff); }
.faq-body { color: rgba(255, 255, 255, 0.65); line-height: 1.9; padding-bottom: 18px; }

/* 弹窗 */
.qq-modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.qq-modal.is-open { display: block; }
.qq-modal-mask { position: absolute; inset: 0; background: rgba(1, 8, 20, 0.78); backdrop-filter: blur(6px); }
.qq-modal-box {
  position: relative; z-index: 2; width: min(880px, calc(100% - 32px));
  max-height: 88vh; overflow-y: auto; margin: 6vh auto;
  padding: 30px; border-radius: 20px;
  background: linear-gradient(160deg, #0a2244, #04142b);
  border: 1px solid rgba(33, 113, 255, 0.45);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  animation: qq-pop .28s cubic-bezier(.22,.61,.36,1);
}
.qq-modal-box--sm { width: min(420px, calc(100% - 32px)); }
.qq-modal-close {
  position: absolute; top: 14px; right: 16px; width: 34px; height: 34px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: #cfe0ff; font-size: 20px; line-height: 1; cursor: pointer;
}
.qq-modal-close:hover { color: #fff; border-color: rgba(33,113,255,.5); }
@keyframes qq-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }

/* 表单控件 */
.qq-input {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: #fff; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.qq-input:focus { border-color: var(--color-primary, #2171ff); box-shadow: 0 0 0 3px rgba(33,113,255,.18); }
.qq-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, #2f81ff, #1146c8); color: #fff;
  font-size: 15px; font-weight: 600; transition: transform .2s, box-shadow .2s;
}
.qq-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(33,113,255,.95); }
.qq-tab, .qq-pay, .qq-lang {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75); font-size: 14px; transition: all .2s;
}
.qq-tab:hover, .qq-pay:hover, .qq-lang:hover { color: #fff; border-color: rgba(33,113,255,.55); }
.qq-lang.is-active {
  color: #fff; border-color: rgba(33,113,255,.85);
  background: rgba(33,113,255,.22);
}
.qq-tab.is-active, .qq-pay.is-active { background: rgba(33,113,255,.22); border-color: var(--color-primary, #2171ff); color: #fff; }
.qq-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qq-list li { position: relative; padding-left: 24px; color: rgba(255,255,255,.72); font-size: 14.5px; }
.qq-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 11px; height: 6px;
  border-left: 2px solid var(--color-primary, #2171ff); border-bottom: 2px solid var(--color-primary, #2171ff);
  transform: rotate(-45deg);
}
.qq-plan {
  padding: 18px; border-radius: 16px; text-align: left; cursor: pointer;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  transition: all .22s;
}
.qq-plan:hover { border-color: rgba(33,113,255,.6); transform: translateY(-3px); }
.qq-plan.is-active { background: rgba(33,113,255,.16); border-color: var(--color-primary, #2171ff); }
.qq-plan .p-name { font-size: 15px; font-weight: 700; color: #fff; }
.qq-plan .p-price { font-size: 26px; font-weight: 800; color: #fff; margin: 8px 0 2px; }
.qq-plan .p-price small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.55); }
.qq-plan .p-note { font-size: 12.5px; color: rgba(255,255,255,.5); }
.qq-plan .p-off { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: 999px; background: rgba(255,199,63,.16); color: #ffd76a; font-size: 12px; font-weight: 700; }

/* 提示 */
.qq-toast-host { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3000; display: grid; gap: 10px; }
.qq-toast {
  padding: 12px 20px; border-radius: 999px;
  background: rgba(8, 26, 52, .96); border: 1px solid rgba(33,113,255,.5);
  color: #fff; font-size: 14px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
  animation: qq-pop .25s cubic-bezier(.22,.61,.36,1);
}

/* 移动端抽屉展开态 */
#drawer { visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .3s, visibility .3s; }
#drawer.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
#drawer .translate-x-full { transition: transform .3s cubic-bezier(.22,.61,.36,1); }
#drawer.is-open .translate-x-full { transform: translateX(0); }
#drawer.is-open [data-drawer-mask] { opacity: 1; }

/* 法律页 */
.qq-article { max-width: 880px; margin: 0 auto; padding: 70px 24px 90px; }
.qq-article h1 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-bottom: 10px; }
.qq-article h2 { font-size: 20px; font-weight: 700; margin: 34px 0 10px; color: #fff; }
.qq-article p, .qq-article li { color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.95; }
.qq-article ul { padding-left: 22px; margin: 8px 0 18px; }
.qq-article .qq-updated { color: rgba(255,255,255,.45); font-size: 13px; margin-bottom: 26px; }
.qq-article .qq-note {
  padding: 14px 18px; border-radius: 12px; margin-bottom: 26px;
  background: rgba(255,199,63,.08); border: 1px solid rgba(255,199,63,.28); color: #ffe08a; font-size: 14px;
}

@media (max-width: 860px) {
  .qq-modal-box { margin: 3vh auto; padding: 22px; }
}
/* ---------- 官方构建未包含的工具类补充 ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #8fb8ff; font-weight: 700; }
.text-main-500 { color: #fff; }
.text-bold { font-weight: 700; }
.text-md { font-size: 1rem; }
.item-center { align-items: center; }
.border-0 { border-width: 0; }
.h-11 { height: 2.75rem; }
.inset-x-4 { left: 1rem; right: 1rem; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.max-w-\[820px\] { max-width: 820px; }
.hover\:text-main:hover { color: #fff; }
.before\:content-\[\'\'\]::before { content: ""; }
.text-\[clamp\(10px\,1vw\,16px\)\] { font-size: clamp(10px, 1vw, 16px); }
.text-\[clamp\(10px\,1vw\,20px\)\] { font-size: clamp(10px, 1vw, 20px); }
.text-\[clamp\(10px\,1vw\,24px\)\] { font-size: clamp(10px, 1vw, 24px); }
.text-\[clamp\(10px\,0\.8vw\,14px\)\] { font-size: clamp(10px, 0.8vw, 14px); }
.text-\[clamp\(9px\,0\.9vw\,20px\)\] { font-size: clamp(9px, 0.9vw, 20px); }
.text-\[clamp\(11px\,0\.9vw\,15px\)\] { font-size: clamp(11px, 0.9vw, 15px); }
.text-\[clamp\(12px\,0\.9vw\,16px\)\] { font-size: clamp(12px, 0.9vw, 16px); }
.text-\[clamp\(16px\,2vw\,32px\)\] { font-size: clamp(16px, 2vw, 32px); }
.text-\[clamp\(18px\,2vw\,28px\)\] { font-size: clamp(18px, 2vw, 28px); }
.text-\[\#ffc63f\] { color: #ffc63f; }
.py-\[clamp\(36px\,5vw\,90px\)\] { padding-top: clamp(36px, 5vw, 90px); padding-bottom: clamp(36px, 5vw, 90px); }
.mb-\[clamp\(16px\,2vw\,36px\)\] { margin-bottom: clamp(16px, 2vw, 36px); }

@media (min-width: 768px) {
  .md\:5\/9 { width: 55.555%; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:aspect-840\/477 { aspect-ratio: 840 / 477; }
}
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1536px) {
  .2xl\:md\:pr-\[clamp\(20px\,20\.792vw\,420px\)\] { padding-right: clamp(20px, 20.792vw, 420px); }
}
@media (hover: hover) {
  .hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
  .hover\:border-primary\/60:hover { border-color: color-mix(in oklab, var(--color-primary, #2171ff) 60%, transparent); }
}
/* 首屏星球画布铺满 */
#galaxy { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* 按钮文字不折行 */
.bg-primary > div { white-space: nowrap; }
/* 移动端首屏排版 */
@media (max-width: 640px) {
  .qq-hero-left { padding-left: 20px !important; padding-bottom: 100px !important; }
  .qq-hero-title { white-space: normal !important; font-size: 30px !important; line-height: 1.3; }
  .qq-hero-sub { white-space: normal !important; font-size: 15px !important; padding: 8px 0 12px !important; }
}
/* 移动端抽屉位移（Tailwind v4 使用 translate 属性） */
#drawer .translate-x-full { translate: 100% 0; transition: translate .3s cubic-bezier(.22,.61,.36,1); }
#drawer.is-open .translate-x-full { translate: 0 0; }
/* ---------- 官网真实 CSS 未包含的工具类补充 ---------- */
.text-main-500 { color: #fff; }
.text-bold { font-weight: 700; }
.text-md { font-size: 1rem; }
.item-center { align-items: center; }
.border-0 { border-width: 0; }
.h-11 { height: 2.75rem; }
.inset-x-4 { left: 1rem; right: 1rem; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.max-w-\[820px\] { max-width: 820px; }
.hover\:text-main:hover { color: #fff; }
.before\:content-\[\'\'\]::before { content: ""; }
.text-\[clamp\(10px\,1vw\,16px\)\] { font-size: clamp(10px, 1vw, 16px); }
.text-\[clamp\(10px\,1vw\,20px\)\] { font-size: clamp(10px, 1vw, 20px); }
.text-\[clamp\(10px\,1vw\,24px\)\] { font-size: clamp(10px, 1vw, 24px); }
.text-\[clamp\(10px\,0\.8vw\,14px\)\] { font-size: clamp(10px, 0.8vw, 14px); }
.text-\[clamp\(14px\,3vw\,40px\)\] { font-size: clamp(14px, 3vw, 40px); }
.text-\[clamp\(9px\,0\.9vw\,20px\)\] { font-size: clamp(9px, 0.9vw, 20px); }
.text-\[clamp\(11px\,0\.9vw\,15px\)\] { font-size: clamp(11px, 0.9vw, 15px); }
.text-\[clamp\(12px\,0\.9vw\,16px\)\] { font-size: clamp(12px, 0.9vw, 16px); }
.text-\[clamp\(16px\,2vw\,32px\)\] { font-size: clamp(16px, 2vw, 32px); }
.text-\[clamp\(18px\,2vw\,28px\)\] { font-size: clamp(18px, 2vw, 28px); }
.text-\[\#ffc63f\] { color: #ffc63f; }
.py-\[clamp\(36px\,5vw\,90px\)\] { padding-top: clamp(36px, 5vw, 90px); padding-bottom: clamp(36px, 5vw, 90px); }
.mb-\[clamp\(16px\,2vw\,36px\)\] { margin-bottom: clamp(16px, 2vw, 36px); }

@media (min-width: 640px) {
  .md\:text-sm { font-size: 0.875rem; }
}
@media (min-width: 768px) {
  .md\:5\/9 { width: 55.555%; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:aspect-840\/477 { aspect-ratio: 840 / 477; }
}
@media (min-width: 1024px) {
  .lg\:text-base { font-size: 1rem; }
}
@media (min-width: 1280px) {
  .xl\:text-2xl { font-size: 1.5rem; }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1536px) {
  .2xl\:md\:pr-\[clamp\(20px\,20\.792vw\,420px\)\] { padding-right: clamp(20px, 20.792vw, 420px); }
}
@media (hover: hover) {
  .hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
  .hover\:border-primary\/60:hover { border-color: color-mix(in oklab, var(--color-primary, #2171ff) 60%, transparent); }
}.text-\[clamp\(8px\,1vw\,24px\)\] { font-size: clamp(8px, 1vw, 24px); }
.text-\[clamp\(8px\,1vw\,32px\)\] { font-size: clamp(8px, 1vw, 32px); }
/* 移动端首屏标题：与官网一致（渐变换行，不裁切） */
@media (max-width: 767px) {
  .h2 {
    white-space: normal !important;
    font-size: 32px !important;
    line-height: 1.35;
    background-image: linear-gradient(120deg, #ffffff 8%, #8fb8ff 52%, #2171ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
  }
  .h2 + .desc { white-space: normal !important; font-size: 15px !important; }
}
/* 跑马灯拖拽交互 */
.vue3-marquee { cursor: grab; user-select: none; -webkit-user-select: none; }
.vue3-marquee:active { cursor: grabbing; }
/* 下载页：轻量轮播（替代官方 swiper 组件） */
.qq-swiper { position: relative; overflow: hidden; }
.qq-swiper > swiper-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qq-swiper > swiper-slide.swiper-slide-active { opacity: 1; z-index: 2; }
.qq-swiper > swiper-slide img { width: 100%; height: 100%; object-fit: contain; }
/* swiper 容器需为块级，否则绝对定位的 slide 无高度 */
.qq-swiper { display: block; position: relative; overflow: hidden; }

/* 流光特效：轨迹由"绕中心旋转"改为"斜向光带周期性扫过" */
.before\:spin-base[data-v-f44c75df]:before,
.group-hover\:before\:spin-hover[data-v-f44c75df]:before {
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  background: linear-gradient(115deg,
    rgba(0, 209, 255, 0) 22%,
    rgba(0, 209, 255, .28) 40%,
    rgba(170, 240, 255, .95) 50%,
    rgba(0, 209, 255, .28) 60%,
    rgba(0, 209, 255, 0) 78%) !important;
  animation: qq-shimmer 2.6s cubic-bezier(.45, 0, .25, 1) infinite;
}
/* 悬停加速：扫过频率更快 */
.group-hover\:before\:spin-hover[data-v-f44c75df]:before { animation-duration: 1.4s; }

@keyframes qq-shimmer {
  0%   { transform: translateX(-115%); }
  55%  { transform: translateX(115%); }
  100% { transform: translateX(115%); }
}

