:root {
  --bg: #0a0e1a;
  --bg2: #0f1526;
  --card: #131a2e;
  --card2: #182140;
  --line: rgba(124, 143, 255, .14);
  --txt: #e8ecf8;
  --sub: #9aa4c0;
  --muted: #6b7594;
  --pri: #6d7cff;
  --pri2: #8f5bff;
  --grad: linear-gradient(135deg, #6d7cff 0%, #8f5bff 50%, #e05bff 100%);
  --ok: #2ee6a8;
  --rr: 20px;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", Roboto, sans-serif;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: rgba(109,124,255,.4); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 背景光晕 ===== */
.glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% -5%, rgba(143,91,255,.18), transparent 60%),
    radial-gradient(700px 500px at -10% 20%, rgba(109,124,255,.14), transparent 60%),
    radial-gradient(500px 400px at 50% 110%, rgba(224,91,255,.10), transparent 60%),
    var(--bg);
}
.grid-lines {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(109,124,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109,124,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ===== 顶栏 ===== */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(10,14,26,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: .5px; }
.logo {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--grad);
  display: grid; place-items: center;
  font-size: 19px; box-shadow: 0 4px 18px rgba(143,91,255,.45);
}
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--sub); }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }
.ham { display: none; background: none; border: 0; color: var(--txt); font-size: 24px; cursor: pointer; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-pri {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 26px rgba(143,91,255,.4);
}
.btn-pri:hover { box-shadow: 0 12px 34px rgba(143,91,255,.55); }
.btn-ghost { border: 1px solid var(--line); color: var(--txt); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }

/* ===== Hero ===== */
.hero { position: relative; padding: 92px 0 60px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  font-size: 13px; color: var(--sub); margin-bottom: 26px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 12px var(--ok); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 {
  font-size: clamp(34px, 6vw, 62px); line-height: 1.12; font-weight: 850;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p {
  max-width: 680px; margin: 22px auto 0; color: var(--sub); font-size: 17.5px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.hero-meta {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  margin-top: 26px; color: var(--muted); font-size: 13.5px;
}
.hero-meta b { color: var(--txt); font-weight: 700; }

/* ===== 手机截图 ===== */
.phone-stage { position: relative; margin: 70px auto 0; max-width: 1080px; }
.phone {
  width: 250px; aspect-ratio: 9/19.2; border-radius: 34px;
  padding: 10px; background: linear-gradient(160deg, #232c4a, #10162a 60%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.06);
  position: absolute; top: 0; transition: transform .5s ease, opacity .5s ease, box-shadow .5s ease;
  cursor: pointer;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 25px; overflow: hidden;
  position: relative; background: #0c1120;
  outline: 1px solid rgba(255,255,255,.06);
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone .notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 18px; border-radius: 12px; background: #0c1120;
  z-index: 3; border: 1px solid rgba(255,255,255,.08);
}
#ph-main { position: relative; margin: 0 auto; z-index: 4; }
#ph-main:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 44px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(143,91,255,.25); }
.ph-side { z-index: 2; opacity: .92; pointer-events: none; }
#ph-l1 { left: calc(50% - 420px); transform: rotate(-8deg) translateY(46px) scale(.94); }
#ph-l2 { left: calc(50% - 300px); transform: rotate(-4deg) translateY(22px) scale(.97); }
#ph-r1 { right: calc(50% - 420px); transform: rotate(8deg) translateY(46px) scale(.94); }
#ph-r2 { right: calc(50% - 300px); transform: rotate(4deg) translateY(22px) scale(.97); }
.caption {
  margin-top: 26px; text-align: center; color: var(--sub); font-size: 14px;
  min-height: 24px;
}
.caption b { color: var(--txt); }

/* ===== 通用区块 ===== */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block; font-size: 12.5px; letter-spacing: 2px; color: var(--pri);
  border: 1px solid var(--line); border-radius: 100px; padding: 5px 14px; margin-bottom: 16px;
  background: rgba(109,124,255,.06); font-weight: 700;
}
.sec-head h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 820; letter-spacing: -.5px; }
.sec-head p { color: var(--sub); margin-top: 14px; font-size: 16px; }

/* ===== 特性 ===== */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fcard {
  background: linear-gradient(180deg, var(--card2), var(--card));
  border: 1px solid var(--line); border-radius: var(--rr);
  padding: 28px; position: relative; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.fcard:hover { transform: translateY(-5px); border-color: rgba(143,91,255,.4); }
.fcard::after {
  content: ""; position: absolute; inset: auto -30% -40% auto; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(109,124,255,.14), transparent 70%);
  pointer-events: none;
}
.ficon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: rgba(109,124,255,.12); border: 1px solid var(--line);
  margin-bottom: 18px;
}
.fcard h3 { font-size: 18px; font-weight: 750; margin-bottom: 8px; }
.fcard p { color: var(--sub); font-size: 14.5px; }
.fcard ul { list-style: none; margin-top: 12px; }
.fcard li { color: var(--sub); font-size: 13.5px; padding-left: 20px; position: relative; margin-top: 4px; }
.fcard li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* ===== 工作流 ===== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--rr);
  padding: 28px; position: relative;
}
.step .num {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 17px;
  display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(143,91,255,.4);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--sub); font-size: 14px; }
.step code {
  display: block; margin-top: 14px; font-family: var(--mono); font-size: 12.5px;
  background: #0b1122; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; color: #aeb9ff; word-break: break-all;
}

/* ===== 服务商带 ===== */
.vendor-band { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.vendor-band .wrap { display: flex; align-items: center; gap: 14px 34px; flex-wrap: wrap; justify-content: center; }
.vendor { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 15px; }
.vendor .ic { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-size: 14px; background: rgba(255,255,255,.06); }

/* ===== 截图画廊 ===== */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.g-item {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 9/18; position: relative; cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  background: #0c1120;
}
.g-item:hover { transform: translateY(-4px) scale(1.02); border-color: rgba(143,91,255,.5); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.g-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 下载/开源 ===== */
.dl-card {
  background: linear-gradient(135deg, rgba(109,124,255,.14), rgba(224,91,255,.10)), var(--card);
  border: 1px solid rgba(143,91,255,.3); border-radius: 24px;
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.dl-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(500px 200px at 50% -10%, rgba(143,91,255,.28), transparent 70%);
}
.dl-card h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 820; position: relative; }
.dl-card p { color: var(--sub); margin: 14px auto 0; max-width: 560px; position: relative; }
.dl-btns { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; position: relative; }
.dl-links { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-top: 24px; position: relative; color: var(--sub); font-size: 14px; }
.dl-links a:hover { color: #fff; }

/* ===== QQ群卡片 ===== */
.qq-card {
  margin-top: 26px; position: relative;
  display: inline-flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,.05); border: 1px dashed rgba(143,91,255,.45);
  border-radius: 16px; padding: 14px 24px;
}
.qq-card .qq-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #4da3ff, #2b7de9);
  display: grid; place-items: center; font-size: 22px; color: #fff;
  box-shadow: 0 6px 16px rgba(43,125,233,.4);
}
.qq-card .t1 { font-size: 15px; font-weight: 750; color: var(--txt); }
.qq-card .t2 { font-size: 13px; color: var(--sub); }
.qq-card .qq-num {
  font-family: var(--mono); font-weight: 800; font-size: 19px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== 页脚 ===== */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--muted); font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.foot-grid h4 { color: var(--txt); font-size: 14px; margin-bottom: 12px; }
.foot-grid a { display: block; margin-top: 6px; }
.foot-grid a:hover { color: #fff; }
.foot-bottom { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; }
.footer-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; font-weight: 800; color: var(--txt); font-size: 16px; }

/* ===== 灯箱 ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  background: rgba(5,8,16,.92); backdrop-filter: blur(10px);
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 86vh; max-width: 92vw; border-radius: 18px; box-shadow: 0 30px 90px rgba(0,0,0,.8); }
.lightbox .close {
  position: absolute; top: 22px; right: 28px; font-size: 34px; color: #fff;
  cursor: pointer; background: none; border: 0; opacity: .8; line-height: 1;
}
.lightbox .close:hover { opacity: 1; }

/* ===== 动画 ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  #ph-l1, #ph-l2, #ph-r1, #ph-r2 { display: none; }
  .phone-stage { margin-top: 46px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: rgba(10,14,26,.97); border-bottom: 1px solid var(--line);
    flex-direction: column; gap: 0; padding: 10px 24px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .ham { display: block; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 70px 0; }
}