@charset "utf-8";
:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a26;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --purple-light: #c084fc;
  --cyan: #22d3ee;
  --text: #f8fafc;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --line: rgba(168, 85, 247, 0.18);
  --radius: 16px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --float-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at 78% 12%, rgba(34, 211, 238, 0.12), transparent 24rem),
    radial-gradient(circle at 10% 18%, rgba(168, 85, 247, 0.2), transparent 28rem),
    linear-gradient(180deg, #0a0a0f 0%, #0e0e16 48%, #0a0a0f 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: calc(var(--float-h) + var(--safe-bottom) + 12px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; cursor: pointer; background: none; color: inherit; }

.bg-mesh, .grid-pattern {
  position: fixed; inset: 0; pointer-events: none;
}
.bg-mesh { z-index: 0; }
.grid-pattern {
  z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.glow {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.28;
  animation: float 20s ease-in-out infinite;
}
.glow-1 { width: 520px; height: 520px; top: -180px; right: -80px; background: radial-gradient(circle, var(--purple) 0%, transparent 70%); }
.glow-2 { width: 360px; height: 360px; bottom: 18%; left: -90px; background: radial-gradient(circle, var(--purple-deep) 0%, transparent 70%); animation-delay: -7s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-16px, 16px) scale(0.96); }
}

.wrap {
  position: relative; z-index: 2;
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Nav */
.nav {
  position: fixed; left: 50%; top: 0.75rem; z-index: 1000;
  width: min(1100px, calc(100% - 1.25rem));
  transform: translateX(-50%);
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; font-size: 1.05rem; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand span {
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-links { display: none; gap: 1.25rem; }
.nav-links a { color: var(--text-2); font-size: 0.92rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 0.9rem; border-radius: 12px; font-size: 0.85rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  box-shadow: 0 10px 28px rgba(124, 58, 237, 0.35);
}
.menu-btn {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(255,255,255,0.03);
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 2px; background: var(--text); border-radius: 2px; position: relative;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(8, 8, 12, 0.94); padding: 5.5rem 1.25rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.95rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--text); font-size: 1.05rem; font-weight: 600;
}

/* Hero */
.hero { padding: 7.2rem 0 2.5rem; }
.hero-grid {
  display: grid; gap: 2rem; align-items: center;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(168, 85, 247, 0.1);
  color: var(--purple-light); font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 5.5vw, 2.85rem);
  line-height: 1.25; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.9rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lead { color: var(--text-2); font-size: 1rem; margin-bottom: 1.35rem; max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 48px; padding: 0.75rem 1.2rem; border-radius: 14px; font-weight: 700; font-size: 0.95rem;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  box-shadow: 0 14px 34px rgba(124, 58, 237, 0.36);
}
.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.meta-row {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.25rem;
  color: var(--text-3); font-size: 0.85rem;
}
.meta-row strong { color: var(--text); font-weight: 700; }

.phone-stage {
  position: relative; margin: 0 auto; width: min(280px, 78vw);
}
.phone-frame {
  border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.28);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  background: #111;
}
.phone-frame img { width: 100%; aspect-ratio: 9/19.5; object-fit: cover; }
.phone-glow {
  position: absolute; inset: 12% -18%; z-index: -1;
  background: radial-gradient(circle, rgba(168,85,247,0.35), transparent 68%);
  filter: blur(24px);
}

/* Sections */
.section { padding: 2.75rem 0; }
.section-head { margin-bottom: 1.5rem; }
.section-head h2 {
  font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; margin-bottom: 0.45rem;
}
.section-head p { color: var(--text-2); max-width: 40rem; }

.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
}
.stat {
  padding: 1rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(18,18,26,0.72);
}
.stat b {
  display: block; font-size: 1.45rem;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat span { color: var(--text-3); font-size: 0.85rem; }

.feature-grid, .card-grid, .kw-grid {
  display: grid; gap: 0.85rem;
}
.feature, .card, .kw-item {
  padding: 1.15rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: rgba(18,18,26,0.75);
}
.feature h3, .card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature p, .card p, .kw-item p { color: var(--text-2); font-size: 0.92rem; }
.feature .icon {
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 0.75rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,0.25), rgba(34,211,238,0.12));
  color: var(--purple-light); font-size: 1.2rem;
}

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 0.35rem; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { height: 4px; }
.gallery::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.45); border-radius: 99px; }
.gallery figure {
  scroll-snap-align: start; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); background: #111;
}
.gallery img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }

.steps { display: grid; gap: 0.85rem; counter-reset: step; }
.step {
  position: relative; padding: 1.1rem 1.1rem 1.1rem 3.4rem;
  border-radius: var(--radius); border: 1px solid var(--line); background: rgba(18,18,26,0.75);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1rem; top: 1.05rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.85rem; font-weight: 800;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
}
.step h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.step p { color: var(--text-2); font-size: 0.9rem; }

.faq details {
  border: 1px solid var(--line); border-radius: 14px; background: rgba(18,18,26,0.75);
  margin-bottom: 0.65rem; padding: 0.95rem 1rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple-light); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-2); margin-top: 0.7rem; font-size: 0.92rem; }

.kw-item a { color: var(--purple-light); font-weight: 700; }
.kw-item a:hover { text-decoration: underline; }

.cta-box {
  text-align: center; padding: 2rem 1.25rem; border-radius: 22px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 0%, rgba(168,85,247,0.22), transparent 55%),
    rgba(18,18,26,0.85);
}
.cta-box h2 { font-size: clamp(1.3rem, 4vw, 1.75rem); margin-bottom: 0.5rem; }
.cta-box p { color: var(--text-2); margin-bottom: 1.1rem; }
.dl-pair { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; }

.breadcrumb {
  padding: 6.4rem 0 0.5rem; color: var(--text-3); font-size: 0.85rem;
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb span { margin: 0 0.35rem; }

.page-hero { padding: 0.5rem 0 1.5rem; }
.page-hero h1 {
  font-size: clamp(1.55rem, 4.8vw, 2.2rem); line-height: 1.3; margin-bottom: 0.7rem;
}
.page-hero p { color: var(--text-2); max-width: 42rem; }

.prose { color: var(--text-2); }
.prose h2 { color: var(--text); font-size: 1.25rem; margin: 1.6rem 0 0.7rem; }
.prose h3 { color: var(--text); font-size: 1.05rem; margin: 1.2rem 0 0.5rem; }
.prose p, .prose li { margin-bottom: 0.75rem; font-size: 0.95rem; }
.prose ul { padding-left: 1.1rem; }
.prose li { list-style: disc; }
.prose strong { color: var(--text); }

.table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 14px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 480px; background: rgba(18,18,26,0.8); }
th, td { padding: 0.75rem 0.9rem; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.9rem; }
th { color: var(--text); background: rgba(124,58,237,0.12); }
td { color: var(--text-2); }

.footer {
  margin-top: 2rem; padding: 2rem 0 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06); color: var(--text-3); font-size: 0.85rem;
}
.footer-grid {
  display: grid; gap: 1.25rem; margin-bottom: 1.25rem;
}
.footer h4 { color: var(--text); margin-bottom: 0.55rem; font-size: 0.95rem; }
.footer a { color: var(--text-2); display: block; padding: 0.2rem 0; }
.footer a:hover { color: var(--purple-light); }
.footer-bottom { text-align: center; padding-top: 0.75rem; border-top: 1px solid rgba(255,255,255,0.05); }

/* Floating download bar */
.float-dl {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  padding: 0.65rem 0.85rem calc(0.65rem + var(--safe-bottom));
  background: rgba(10, 10, 15, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transform: translateY(110%);
  transition: transform 0.28s ease;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
}
.float-dl.show { transform: translateY(0); }
.float-inner {
  width: min(1100px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem;
}
.float-dl .btn { min-height: 46px; font-size: 0.9rem; width: 100%; }

/* 右下角投诉举报（仿 mufyai.net，避开底部下载栏） */
.complaint-float {
  position: fixed;
  right: 16px;
  bottom: calc(var(--float-h) + var(--safe-bottom) + 18px);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 25px;
  background: #1890ff;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.35);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.complaint-float:hover {
  background: #40a9ff;
  box-shadow: 0 6px 24px rgba(24, 144, 255, 0.45);
  transform: translateY(-2px);
}
.complaint-float i,
.complaint-float svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #ffc53d;
  fill: currentColor;
}

@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .feature-grid, .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-columns: 38%; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .float-inner { display: flex; justify-content: center; }
  .float-dl .btn { width: auto; min-width: 180px; }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .kw-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-auto-columns: 24%; }
  .phone-stage { width: 300px; }
}
