:root {
  --bg: #16081f;
  --bg-2: #241033;
  --magenta: #ec4899;
  --purple: #a855f7;
  --pink: #f472b6;
  --text: #fdf2f8;
  --muted: #c8b6cf;
  --border: rgba(236, 72, 153, .2);
  --card: rgba(255, 255, 255, .05);
  --radius: 18px;
}

* { 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: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

/* 背景渐变光斑 */
.glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at 20% 10%, #3b0f3b 0%, var(--bg) 55%); }
.glow i { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .5; }
.glow i:nth-child(1) { width: 420px; height: 420px; background: #a855f7; top: -120px; right: -100px; }
.glow i:nth-child(2) { width: 360px; height: 360px; background: #ec4899; bottom: -100px; left: -80px; }

/* 导航 */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(22,8,31,.78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.logo-ico { font-size: 26px; }
.logo-txt { font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.logo-txt small { font-weight: 400; font-size: 11px; color: var(--pink); margin-left: 6px; letter-spacing: 2px; }

.menu { display: flex; gap: 28px; }
.menu a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .2s; }
.menu a:hover, .menu a.active { color: var(--pink); }

.btn { display: inline-block; padding: 12px 26px; border-radius: 11px; font-size: 15px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: transform .15s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; box-shadow: 0 10px 28px rgba(236,72,153,.36); }
.btn-line { color: var(--text); border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.btn-lg { padding: 15px 32px; font-size: 16px; }

.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.hero-inner { max-width: 860px; }
.badge { display: inline-block; padding: 7px 18px; border-radius: 999px; background: rgba(236,72,153,.14); border: 1px solid rgba(244,114,182,.3); color: var(--pink); font-size: 13px; margin-bottom: 26px; }
.hero h1 { font-size: 56px; line-height: 1.22; font-weight: 900; }
.hero h1 span { background: linear-gradient(120deg, var(--pink), var(--purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--muted); font-size: 18px; margin: 22px 0 34px; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* 区块 */
.sec { padding: 84px 24px; }
.sec-alt { background: rgba(255,255,255,.02); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.kicker { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(236,72,153,.14); color: var(--pink); font-size: 13px; margin-bottom: 16px; }
.sec-head h2 { font-size: 32px; font-weight: 800; }
.sec-head p { color: var(--muted); margin-top: 12px; }

/* 卡片 */
.grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-6px); border-color: rgba(244,114,182,.5); }
.ico { font-size: 34px; }
.card h3 { font-size: 19px; margin: 16px 0 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* 关于 */
.about { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.about-txt h3 { font-size: 24px; margin-bottom: 14px; }
.about-txt p { color: var(--muted); margin-bottom: 12px; }
.about-panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; text-align: center; }
.about-panel .cat { font-size: 64px; }
.about-panel h3 { font-size: 22px; margin: 14px 0 8px; }
.about-panel p { color: var(--muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--pink); }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); padding-bottom: 18px; font-size: 15px; }

/* 下载 */
.dl-grid { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dl { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 18px; text-align: center; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.dl:hover { transform: translateY(-6px); border-color: rgba(244,114,182,.5); }
.dl span { font-size: 38px; display: block; margin-bottom: 12px; }
.dl b { display: block; font-size: 17px; }
.dl small { color: var(--muted); display: block; margin: 4px 0 14px; }
.dl i { font-style: normal; display: inline-block; padding: 7px 20px; border-radius: 8px; background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; font-size: 13px; font-weight: 700; }

/* 联系 */
.contact { max-width: 980px; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 27px; margin: 12px 0 14px; }
.contact-info p { color: var(--muted); margin-bottom: 24px; }
.contact-info ul { list-style: none; }
.contact-info li { margin-bottom: 14px; color: var(--muted); }
.contact-info a { color: var(--pink); text-decoration: none; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea { padding: 13px 15px; border-radius: 11px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--text); font-size: 15px; font-family: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--pink); }
.contact-form button { align-self: flex-start; }

/* 页脚 */
.footer { border-top: 1px solid var(--border); padding: 42px 24px; background: rgba(0,0,0,.25); }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner p { color: var(--muted); font-size: 14px; }
.footer-inner a { color: var(--muted); text-decoration: none; }
.footer-inner a:hover { color: var(--pink); }

/* 响应式 */
@media (max-width: 900px) {
  .hero h1 { font-size: 42px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .about, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu, .nav .btn { display: none; }
  .menu.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(22,8,31,.98); padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--border); }
  .hamburger { display: flex; }
  .hero h1 { font-size: 32px; }
  .grid, .dl-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 26px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .contact { padding: 32px; }
}
