/* ==========================================================
   QQ频道管理助手 官网样式
   深色「频道指挥中心」风格：深海军蓝 + 电光蓝/青色霓虹
   ========================================================== */
:root {
  --bg: #070c18;
  --bg-soft: #0a1122;
  --panel: #0d1830;
  --line: rgba(148, 184, 255, .14);
  --text: #e8eefc;
  --text-dim: #9fb0d0;
  --blue: #12b7f5;
  --cyan: #2ee6c8;
  --grad: linear-gradient(120deg, #12b7f5, #2ee6c8);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 10, 30, .55);
  --font-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-disp: "Outfit", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, 92%); margin-inline: auto; }
.container--narrow { width: min(820px, 92%); }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--grad); color: #04121e;
  box-shadow: 0 8px 30px rgba(18, 183, 245, .35);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(18, 183, 245, .5); }
.btn--ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { transform: translateY(-3px); background: rgba(18,183,245,.1); border-color: rgba(18,183,245,.4); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }

.section { padding: 110px 0; }
.section--alt {
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(18,183,245,.08), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.section__head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section__tag {
  font-family: var(--font-disp); font-size: 12px; font-weight: 800;
  letter-spacing: .35em; color: var(--cyan); margin-bottom: 14px;
}
.section__head h2 {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900; line-height: 1.25;
}
.section__desc { color: var(--text-dim); margin-top: 14px; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 12, 24, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.nav__logo { width: 32px; height: 32px; }
.nav__name { font-weight: 900; font-size: 16px; letter-spacing: .04em; }
.nav__links { display: flex; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav__links a { position: relative; padding: 6px 0; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span {
  display: block; width: 22px; height: 2px; margin: 5px 0;
  background: var(--text); transition: .3s ease;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 英雄区 ---------- */
.hero { position: relative; padding: 170px 0 120px; overflow: clip; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,170,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,255,.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero__glow--1 { width: 560px; height: 560px; top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(18,183,245,.4), transparent 65%); }
.hero__glow--2 { width: 480px; height: 480px; bottom: -180px; left: -140px;
  background: radial-gradient(circle, rgba(46,230,200,.25), transparent 65%); }

.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(46,230,200,.35); color: var(--cyan);
  font-size: 13px; background: rgba(46,230,200,.07);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero__title { font-size: clamp(38px, 5.4vw, 62px); font-weight: 900; line-height: 1.18; margin: 22px 0 18px; }
.hero__title em {
  font-style: normal; background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { color: var(--text-dim); font-size: 17px; max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 44px; }
.hero__stats { display: flex; gap: 42px; }
.hero__stats dt {
  font-family: var(--font-disp); font-size: 34px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stats dd { color: var(--text-dim); font-size: 13px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 999px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; translate: -50% 0;
  width: 4px; height: 8px; border-radius: 4px; background: var(--cyan);
  animation: scrollhint 1.8s infinite;
}
@keyframes scrollhint { 0% { opacity: 1; transform: translateY(0);} 70% { opacity: 0; transform: translateY(12px);} 100% { opacity: 0; } }

/* 应用界面模拟窗 */
.mock {
  background: linear-gradient(160deg, #0e1a36, #0a1226);
  border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.06);
  overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease; font-size: 13px;
}
.hero__mock:hover .mock { transform: perspective(1200px) rotateY(0) rotateX(0); }
.mock__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--line); color: var(--text-dim);
}
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: #31406a; }
.mock__bar span:nth-child(1) { background: #ff5f57; }
.mock__bar span:nth-child(2) { background: #febc2e; }
.mock__bar span:nth-child(3) { background: #28c840; }
.mock__bar i { font-style: normal; margin-left: 10px; font-size: 12px; }
.mock__body { display: grid; grid-template-columns: 108px 1fr; min-height: 330px; }
.mock__side { display: grid; align-content: start; gap: 4px; padding: 14px 10px;
  border-right: 1px solid var(--line); }
.mock__side b { font-weight: 500; color: var(--text-dim); padding: 8px 10px; border-radius: 8px; }
.mock__side b.on { color: #04121e; background: var(--grad); font-weight: 700; }
.mock__main { padding: 14px; display: grid; gap: 10px; align-content: start; }
.mock__row { display: flex; justify-content: space-between; color: var(--text-dim); font-size: 12px; }
.mock__row i { font-style: normal; color: var(--cyan); }
.mock__card { background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 14px; }
.mock__card p { font-weight: 700; }
.mock__card span { color: var(--text-dim); font-size: 12px; }
.mock__chat { display: grid; gap: 8px; margin-top: 4px; }
.mock__chat .b {
  max-width: 82%; padding: 8px 13px; border-radius: 12px;
  animation: floatin .8s ease both;
}
.mock__chat .b--l { background: rgba(255,255,255,.07); border-top-left-radius: 3px; justify-self: start; animation-delay: .5s; }
.mock__chat .b--r { background: linear-gradient(120deg, rgba(18,183,245,.25), rgba(46,230,200,.2));
  border: 1px solid rgba(46,230,200,.3); border-top-right-radius: 3px; justify-self: end; animation-delay: 1s; }
@keyframes floatin { from { opacity: 0; transform: translateY(14px); } }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(50% 50% at 50% 0%, rgba(18,183,245,.12), transparent);
  transition: opacity .3s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(18,183,245,.45);
  box-shadow: 0 18px 50px rgba(0,10,30,.5); }
.card:hover::before { opacity: 1; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 25%, transparent),
                                      color-mix(in srgb, var(--c2) 18%, transparent));
  border: 1px solid color-mix(in srgb, var(--c1) 45%, transparent);
  color: var(--c1); margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18px; font-weight: 900; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14px; }

/* ---------- 优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv { border-left: 2px solid rgba(18,183,245,.5); padding: 6px 0 6px 22px; }
.adv__num {
  font-family: var(--font-disp); font-size: 30px; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.adv h3 { font-size: 17px; font-weight: 900; margin: 8px 0; }
.adv p { color: var(--text-dim); font-size: 14px; }

/* ---------- 评价 ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .3s ease, border-color .3s;
}
.review:hover { transform: translateY(-6px); border-color: rgba(46,230,200,.4); }
.review blockquote { position: relative; color: var(--text); font-size: 15px; }
.review blockquote::before {
  content: "“"; position: absolute; left: -8px; top: -34px;
  font-family: var(--font-disp); font-size: 60px; color: rgba(18,183,245,.35);
}
.review figcaption b { display: block; font-size: 15px; }
.review figcaption span { color: var(--text-dim); font-size: 13px; }

/* ---------- 下载区 ---------- */
.download {
  background:
    radial-gradient(70% 100% at 20% 0%, rgba(18,183,245,.14), transparent 60%),
    linear-gradient(160deg, #0a142c, #070c18);
  border-block: 1px solid var(--line);
}
.download__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.download__inner h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; }
.download__desc { color: var(--text-dim); margin: 14px 0 24px; }
.download__meta { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: var(--text-dim); font-size: 14px; margin-bottom: 30px; }
.download__meta b { color: var(--cyan); font-weight: 700; }
.download__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.download__tip { margin-top: 18px; color: var(--text-dim); font-size: 13px; }
.download__tip strong { color: #ffd479; }
.download__panel { display: grid; gap: 18px; justify-items: center; }
.dl-card {
  width: min(320px, 100%); text-align: center;
  background: linear-gradient(160deg, rgba(18,183,245,.16), rgba(46,230,200,.08));
  border: 1px solid rgba(18,183,245,.4); border-radius: 20px; padding: 34px 24px;
  box-shadow: 0 24px 70px rgba(18,183,245,.22);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.dl-card svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--cyan); }
.dl-card b { display: block; font-size: 18px; font-weight: 900; }
.dl-card span { color: var(--text-dim); font-size: 13px; }
.dl-steps { display: flex; gap: 10px; color: var(--text-dim); font-size: 13px; }
.dl-steps span { padding: 8px 14px; border: 1px dashed var(--line); border-radius: 999px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: linear-gradient(165deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: 14px; padding: 6px 22px;
  transition: border-color .25s;
}
.faq__item[open] { border-color: rgba(18,183,245,.45); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  flex: 0 0 auto; width: 12px; height: 12px; position: relative; transition: transform .3s ease;
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; inset: 5px 0; background: var(--cyan); border-radius: 2px;
}
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i { transform: rotate(135deg); }
.faq__item p { color: var(--text-dim); padding: 0 0 18px; font-size: 15px; }
.faq__item code {
  background: rgba(18,183,245,.12); color: var(--cyan);
  padding: 1px 7px; border-radius: 6px; font-size: 13px;
}

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-soft); }
.footer__inner { display: grid; grid-template-columns: auto auto 1fr; gap: 48px; align-items: start; }
.footer__brand { display: flex; gap: 14px; align-items: center; }
.footer__brand small { color: var(--text-dim); }
.footer__nav { display: grid; gap: 8px; color: var(--text-dim); font-size: 14px; }
.footer__nav a:hover { color: var(--cyan); }
.footer__legal { color: var(--text-dim); font-size: 12px; text-align: right; align-self: center; }
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(13,24,48,.9); color: var(--cyan); font-size: 18px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: .3s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-4px); border-color: var(--cyan); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 64px; }
  .hero__mock { max-width: 560px; margin-inline: auto; }
  .feature-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 22px; }
  .download__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer__legal { text-align: left; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 130px 0 90px; }
  .nav__links {
    position: fixed; inset: 68px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0; padding: 10px 6%;
    background: rgba(7,12,24,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease;
  }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .feature-grid, .review-grid, .adv-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 26px; flex-wrap: wrap; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .mock__body { grid-template-columns: 92px 1fr; }
  .download__actions .btn { width: 100%; justify-content: center; }
}

/* 用户偏好减少动态效果 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
