:root {
  --bg: #0e0e12;
  --card: #17171f;
  --surface: #0b0b0f;
  --border: rgba(255, 255, 255, .08);
  --text: #eaeaf3;
  --muted: #b7b7c7;
  --primary: #7a3cf2;
  --accent: #ff9f40;
  --danger: #ff5c7a
}

* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
}

.container {
  max-width: 1200px;
  width: 92%;
  margin: 0 auto
}

.topbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto
}

.left-actions,
.right-actions {
  display: flex;
  gap: 10px
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  cursor: pointer
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .18)
}

.hero {
  position: relative;
  height: 760px;
  display: flex;
  align-items: center
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) brightness(.6)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 760px at 50% 50%, rgba(122, 60, 242, .4), transparent 60%)
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center
}

.hero-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: .5px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.1
}

.hero-logo {
  width: 56px;
  height: 56px;
  border-radius: 10px
}

.hero-subtitle {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px
}

.download-group {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: #1f1f29;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  position: relative
}

.btn-download img {
  width: 18px;
  height: 18px
}

.btn-download:hover {
  border-color: rgba(255, 255, 255, .18)
}

.qr-pop {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform .25s ease, opacity .25s ease
}

.qr-pop img {
  width: 96px;
  height: 96px;
  border-radius: 8px
}

.qr-arrow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  rotate: 45deg
}

.btn-download:hover .qr-pop {
  transform: translate(-50%, 0);
  opacity: 1
}

.page {
  padding: 80px 0
}

.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease
}

.card.highlight {
  box-shadow: 0 0 0 2px var(--accent) inset
}

.card-media {
  position: relative;
  overflow: hidden
}

.card-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform .35s ease;
  display: block
}

.cover-layer {
  position: absolute;
  inset: -10px 0 -10px 0;
  background: rgba(0, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease
}

.card:hover .cover-layer {
  opacity: 1;
  transform: translateY(0)
}

.btn-cover {
  height: 36px;
  padding: 0 18px
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35)
}

.card:hover .card-cover {
  transform: scale(1.06)
}

.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.card-body h3 {
  margin: 0;
  font-size: 18px
}

.card-body p {
  margin: 0;
  color: var(--muted);
  min-height: 40px;
  font-size: 13px
}

.price {
  color: var(--accent);
  font-weight: 700
}

.btn-primary {
  height: 38px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff9f40, #ff6f3a);
  color: #1a0f07;
  font-weight: 700;
  cursor: pointer
}

.btn-primary:hover {
  filter: brightness(1.05)
}

.footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  background: var(--surface)
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px
}

.footer-features {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap
}

.footer-features li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px
}

.footer-features img {
  width: 24px;
  height: 24px
}

.ft-title {
  font-weight: 700
}

.ft-sub {
  font-size: 13px;
  color: var(--muted)
}

.icp {
  color: var(--muted);
  font-size: 13px;
  text-align: center
}

.icp-link {
  color: var(--muted);
  font-size: 13px;
  text-align: center
}

.icp-link a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px dashed var(--border)
}

@media (max-width:640px) {
  .hero {
    height: 600px
  }

  .hero-title {
    font-size: 40px
  }

  .hero-logo {
    width: 40px;
    height: 40px
  }
}
@media (max-width:960px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}
@media (max-width:640px) {
  .download-group { flex-direction: column }
  .btn-download { width: 100%; justify-content: center }
  .qr-pop img { width: 72px; height: 72px }
  .page { padding: 60px 0 }
  .card-grid { grid-template-columns: 1fr }
  .card-cover { height: 140px }
  .footer-features { gap: 14px }
  .footer-features li { flex: 1 1 100% }
}
@media (hover:none) {
  .card:hover { transform: none; box-shadow: none }
  .card:hover .card-cover { transform: none }
  /* 移动端隐藏二维码悬浮 */
  .qr-pop { display: none }
  .btn-download:hover .qr-pop { opacity: 0; transform: translate(-50%, 12px) }
}
@media (max-width:960px) {
  .topbar-inner { height: auto; padding: 10px 0 }
  .topbar-actions { gap: 12px }
}
@media (max-width:640px) {
  .topbar-inner { flex-direction: row; gap: 0; align-items: center; justify-content: space-between }
  .topbar-actions { width: auto; justify-content: flex-end }
  .btn-outline { height: 30px; padding: 0 10px }
  .brand img { width: 24px; height: 24px }
}
@media (max-width:640px){
  .left-actions, .right-actions { display: none }
  .menu-toggle { display: flex }
}
@media (max-width:640px){
  .page{display:none}
}
.menu-toggle{width:36px;height:28px;border:1px solid var(--border);border-radius:8px;background:transparent;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;cursor:pointer}
.menu-bar{width:18px;height:2px;background:var(--text)}
.menu-overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:999;display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:opacity .2s ease}
.menu-overlay.open{opacity:1;pointer-events:auto}
.menu-content{width:min(560px,90%);background:var(--surface);border:1px solid var(--border);border-radius:16px;box-shadow:0 20px 60px rgba(0,0,0,.45);padding:16px;display:flex;flex-direction:column;gap:16px}
.menu-header{display:flex;align-items:center;justify-content:space-between}
.menu-close{width:36px;height:36px;border:1px solid var(--border);border-radius:8px;background:transparent;color:var(--text);font-size:20px;line-height:1;cursor:pointer}
.menu-list{display:flex;flex-direction:column;gap:10px}
.menu-item{height:40px;border:1px solid var(--border);border-radius:10px;background:#1f1f29;color:var(--text);cursor:pointer}
@media (min-width:641px){
  .menu-toggle{display:none}
}
