:root {
  --bg: #0d141b;
  --bg-2: #101a23;
  --panel: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(255, 70, 85, 0.35);
  --text: #e8eaed;
  --muted: #8b939b;
  --red: #ff4655;
  --red-2: #ff7b85;
  --red-grad: linear-gradient(135deg, #ff4655, #ff7b85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -12%, rgba(255, 70, 85, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 10%, rgba(255, 70, 85, 0.05), transparent 55%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.018) 0,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 18px
  );
  pointer-events: none;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

a { color: inherit; text-decoration: none; }

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 20, 27, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo { font-size: 18px; font-weight: 700; letter-spacing: .5px; display: flex; align-items: center; }
.logo::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red-grad);
  margin-right: 11px;
  box-shadow: 0 0 12px rgba(255, 70, 85, 0.65);
}
.logo-text { color: var(--text); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  width: 42px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
}
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav .nav-refund { color: var(--red-2); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  cursor: pointer;
  text-align: center;
  border: 1px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn-nav { padding: 9px 20px; font-size: 14px; }
.btn-primary {
  background: var(--red-grad);
  color: #fff;
  box-shadow: 0 6px 22px rgba(255, 70, 85, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 70, 85, 0.42); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--border-red); color: var(--red-2); }

/* 首屏 */
.hero { padding: 88px 0 76px; text-align: center; }
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--red-2);
  background: rgba(255, 70, 85, 0.08);
  border: 1px solid var(--border-red);
  margin-bottom: 28px;
}
.hero h1 { font-size: 44px; font-weight: 700; letter-spacing: 2px; line-height: 1.2; }
.hl {
  background: var(--red-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 19px; font-weight: 500; margin-top: 16px; color: var(--muted); letter-spacing: 2px; }
.hero-desc { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 16px; }
.hero-actions { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 52px;
  justify-content: center;
  margin-top: 58px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--red-2);
  letter-spacing: 1px;
}
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* 分区 */
.section { padding: 78px 0; }
.section-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .5px;
}
.section-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 16px auto 0;
  border-radius: 2px;
  background: var(--red-grad);
}
.section-sub { text-align: center; color: var(--muted); margin: 16px 0 48px; font-size: 15px; }

/* 功能卡片 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .2s, border-color .2s, background .2s;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-grad);
  transition: width .25s;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  background: rgba(255, 255, 255, 0.05);
}
.feature-card:hover::before { width: 58px; }
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--red-2);
  background: rgba(255, 70, 85, 0.10);
  border: 1px solid rgba(255, 70, 85, 0.22);
  border-radius: 12px;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* 图片展示 */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-2);
}
.gallery-item img { width: 100%; height: auto; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.03); }

/* 文章 */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.article-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 30px 28px;
  transition: border-color .2s;
}
.article-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 30px;
  width: 3px;
  height: 24px;
  border-radius: 0 2px 2px 0;
  background: var(--red-grad);
}
.article-card:hover { border-color: var(--border-red); }
.article-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.article-card p { color: var(--muted); font-size: 15px; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color .2s;
}
.faq-list summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.faq-list summary::after { content: "＋"; float: right; color: var(--red-2); font-weight: 600; }
.faq-list details[open] { border-color: var(--border-red); }
.faq-list details[open] summary::after { content: "－"; }
.faq-list details p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* 退款 */
.refund-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 70, 85, 0.10), rgba(255, 70, 85, 0.02));
  border: 1px solid var(--border-red);
  border-radius: 18px;
  padding: 58px 30px;
}
.refund-box h2 { font-size: 28px; font-weight: 700; color: var(--red-2); margin-bottom: 16px; letter-spacing: 1px; }
.refund-box p { color: var(--muted); max-width: 520px; margin: 0 auto 32px; font-size: 16px; }

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 42px 0;
  text-align: center;
  color: var(--muted);
}
.footer-links { margin: 16px 0; display: flex; gap: 22px; justify-content: center; }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 13px; }

/* 移动端底部悬浮栏 */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(13, 20, 27, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
}
.mobile-cta .btn { flex: 1; }
body:has(.mobile-cta) { padding-bottom: 0; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .image-gallery { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(16, 26, 35, 0.99);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 22px; border-bottom: 1px solid var(--border); }
  .main-nav .btn-nav { margin: 12px 22px; text-align: center; }
  .hero { padding: 60px 0 56px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 17px; }
  .section-title { font-size: 26px; }
  .feature-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .mobile-cta { display: flex; }
  body:has(.mobile-cta) { padding-bottom: 78px; }
}

/* 下载页 */
.download-hero { padding: 64px 0 44px; text-align: center; }
.download-hero h1 { font-size: 40px; font-weight: 700; letter-spacing: 2px; }
.download-main { padding-top: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 34px 26px;
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform .2s, border-color .2s;
}
.device-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--red-grad);
  transition: width .25s;
}
.device-card:hover { transform: translateY(-4px); border-color: var(--border-red); }
.device-card:hover::before { width: 58px; }
.device-icon { font-size: 40px; margin-bottom: 14px; }
.device-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.device-card p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.device-card .btn { width: 100%; padding: 16px; font-size: 17px; }

/* 退款表单 */
.refund-main { padding-top: 12px; }
.refund-form { max-width: 520px; margin: 0 auto; }
.refund-form label { display: block; margin: 20px 0 8px; font-weight: 600; font-size: 15px; color: var(--text); }
.refund-form label:first-child { margin-top: 0; }
.refund-form input,
.refund-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.refund-form input::placeholder,
.refund-form textarea::placeholder { color: rgba(139, 147, 155, 0.6); }
.refund-form input:focus,
.refund-form textarea:focus { outline: none; border-color: var(--border-red); }
.refund-form .btn { width: 100%; margin-top: 26px; padding: 16px; font-size: 16px; }
.refund-msg {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 70, 85, 0.08);
  border: 1px solid var(--border-red);
  color: var(--red-2);
  text-align: center;
  font-size: 14px;
}
.refund-msg.show { display: block; }

@media (max-width: 900px) {
  .download-grid { grid-template-columns: 1fr; }
  .download-hero h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .download-hero { padding: 48px 0 32px; }
  .download-hero h1 { font-size: 28px; }
}

html:not(.bvpf) body {
            filter: blur(10px);
            -webkit-filter: blur(10px);
        }
        body {
            transition: filter 0.5s ease, opacity 0.5s ease;
        }
