/* ==================================================================
   软件官网 · 浅紫主题
   ================================================================== */

:root {
  --brand:      #7c3aed;
  --brand-2:    #8b5cf6;
  --brand-3:    #a78bfa;
  --brand-deep: #5b21b6;
  --brand-soft: #f1e9ff;
  --brand-line: #ebe1ff;

  --ink:        #1b1233;
  --ink-2:      #423a5c;
  --muted:      #7d7595;
  --muted-2:    #9a93ae;

  --bg:         #f7f4ff;
  --card:       #ffffff;
  --line:       #eee7fb;
  --line-2:     #f5f1fd;

  --shadow-sm:  0 2px 8px rgba(76, 42, 158, .04);
  --shadow:     0 14px 34px -22px rgba(76, 42, 158, .30);
  --shadow-lg:  0 30px 60px -30px rgba(76, 42, 158, .38);
  --shadow-brand: 0 16px 28px -14px rgba(124, 58, 237, .55);

  --radius:     18px;
  --radius-lg:  24px;
  --wrap:       1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
svg { width: 1em; height: 1em; display: block; }

::selection { background: rgba(124, 58, 237, .16); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------------- 背景光斑 ---------------- */
.bg-deco {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .75;
}

.b1 {
  width: 620px; height: 520px;
  top: -190px; right: -120px;
  background: radial-gradient(circle, rgba(196, 167, 255, .75), rgba(196, 167, 255, 0) 70%);
}

.b2 {
  width: 520px; height: 440px;
  top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(224, 213, 255, .9), rgba(224, 213, 255, 0) 70%);
}

.b3 {
  width: 700px; height: 380px;
  top: 420px; right: -180px;
  background: radial-gradient(circle, rgba(255, 214, 240, .55), rgba(255, 214, 240, 0) 70%);
}

/* ==================================================================
   导航
   ================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 255, .72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s, box-shadow .25s;
}

.nav.is-stuck {
  background: rgba(255, 255, 255, .88);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -20px rgba(76, 42, 158, .5);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(140deg, #a78bfa, #7c3aed 62%, #5b21b6);
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .65);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo.has-img { padding: 0; background: #fff; border: 1px solid var(--line); }
.brand-logo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-logo.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }

.brand-name {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  position: relative;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: color .18s, background .18s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--brand); background: rgba(124, 58, 237, .06); }

.nav-links a.is-active {
  color: var(--brand);
  font-weight: 650;
}

.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 16px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .22s, opacity .22s;
}

.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child  { top: 22px; }

.nav-toggle.is-open span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle.is-open span:last-child  { transform: translateY(-3px) rotate(-45deg); }

/* ==================================================================
   按钮
   ================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  font-weight: 650;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s, filter .18s, background .18s;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; }

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9 92%);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-1.5px);
  filter: brightness(1.05);
  box-shadow: 0 20px 32px -14px rgba(124, 58, 237, .62);
}

.btn-ghost {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translateY(-1.5px);
  border-color: var(--brand-line);
  box-shadow: 0 14px 26px -18px rgba(76, 42, 158, .5);
}

.btn-sm {
  height: 40px;
  padding: 0 17px;
  font-size: 14px;
  border-radius: 11px;
}

.btn-lg {
  height: 60px;
  padding: 0 24px;
  border-radius: 15px;
  gap: 11px;
  font-size: 16px;
}

.btn-lg .btn-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-primary .btn-ico { background: rgba(255, 255, 255, .16); }
.btn-ghost .btn-ico   { background: var(--brand-soft); color: var(--brand); }

.btn-lg .btn-ico svg { width: 18px; height: 18px; }

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
  gap: 2px;
}

.btn-text b { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.btn-text i { font-style: normal; font-size: 11.5px; opacity: .78; font-weight: 500; }

.btn:active { transform: translateY(0) scale(.99); }

/* ==================================================================
   首屏
   ================================================================== */

.hero {
  position: relative;
  z-index: 1;
  padding: 54px 0 26px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 46px;
}

.hero-copy { min-width: 0; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 6px 16px -10px rgba(124, 58, 237, .5);
  margin-bottom: 18px;
}

.hero-pill svg { width: 14px; height: 14px; }

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(33px, 4.2vw, 52px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.035em;
  background: linear-gradient(96deg, #6d28d9 8%, #8b5cf6 46%, #a855f7 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero-slogan {
  margin: 0 0 14px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-intro {
  margin: 0 0 26px;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 22px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-2);
  font-weight: 500;
}

.hero-badges svg {
  width: 15px;
  height: 15px;
  padding: 2px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
}

/* ---------------- 右侧主视觉 ---------------- */

.hero-art {
  position: relative;
  min-width: 0;
  isolation: isolate;
}

.art-glow {
  position: absolute;
  z-index: -1;
  inset: 6% -6% -12% 2%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 55%, rgba(167, 139, 250, .5), rgba(167, 139, 250, 0) 68%);
  filter: blur(26px);
}

.win {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 34px 64px -28px rgba(60, 26, 130, .45), 0 0 0 1px rgba(124, 58, 237, .07);
  cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease;
  text-align: inherit;
  font: inherit;
  color: inherit;
}

.win:hover {
  transform: translateY(-4px);
  box-shadow: 0 42px 76px -30px rgba(60, 26, 130, .5), 0 0 0 1px rgba(124, 58, 237, .12);
}

.win-bar {
  display: flex;
  gap: 6px;
  padding: 3px 4px 9px;
}

.win-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8e2f6;
}

.win-bar i:first-child { background: #f4c7d8; }
.win-bar i:nth-child(2) { background: #f6dfb5; }
.win-bar i:last-child { background: #c8e8d4; }

.win img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  background: #f8f6fd;
}

.win.is-empty { cursor: default; }

/* 占位骨架 */
.ph {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 10px;
  height: 320px;
  padding: 10px;
  border-radius: 13px;
  background: linear-gradient(160deg, #f7f3ff, #fdfbff);
}

.ph-side {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 10px;
  background: #fff;
}

.ph-side span {
  height: 9px;
  border-radius: 5px;
  background: #eee8fa;
}

.ph-side span:first-child { background: #ddd0f7; height: 11px; }

.ph-main { padding: 12px; border-radius: 10px; background: #fff; }

.ph-banner {
  height: 58px;
  border-radius: 9px;
  background: linear-gradient(120deg, #c4b5fd, #8b5cf6);
  opacity: .55;
  margin-bottom: 12px;
}

.ph-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.ph-grid span {
  height: 74px;
  border-radius: 9px;
  background: #f4effe;
}

/* 装饰方块 */
.art-cube {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 30px -14px rgba(91, 33, 182, .7);
  animation: float 5.5s ease-in-out infinite;
}

.cube-a {
  width: 52px;
  height: 52px;
  left: -26px;
  bottom: 34px;
  transform: rotate(-12deg);
  background: linear-gradient(145deg, #a78bfa, #7c3aed);
}

.cube-a svg { width: 24px; height: 24px; }

.cube-b {
  width: 34px;
  height: 34px;
  right: -14px;
  top: -12px;
  font-size: 16px;
  font-weight: 700;
  transform: rotate(10deg);
  color: var(--brand);
  background: #fff;
  box-shadow: 0 12px 22px -12px rgba(91, 33, 182, .4);
  animation-delay: -2.4s;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}

/* ==================================================================
   功能卡片
   ================================================================== */

.features {
  position: relative;
  z-index: 1;
  padding: 20px 0 8px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(238, 231, 251, .95);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s;
}

.feature:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: #e4d8fd;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(145deg, #f3ecff, #e9dcff);
  border: 1px solid #f0e7ff;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature:nth-child(2) .feature-icon {
  color: #2563eb;
  background: linear-gradient(145deg, #eaf2ff, #dbe8ff);
  border-color: #eaf1ff;
}

.feature:nth-child(3) .feature-icon {
  color: #e11d74;
  background: linear-gradient(145deg, #ffedf5, #ffe0ee);
  border-color: #ffe8f1;
}

.feature:nth-child(4) .feature-icon {
  color: #7c3aed;
  background: linear-gradient(145deg, #f4ecff, #ece0ff);
  border-color: #f2e9ff;
}

.feature-body { min-width: 0; }

.feature h3 {
  margin: 1px 0 5px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.feature p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

/* ==================================================================
   三栏：截图 / 更新 / 加入我们
   ================================================================== */

.panels {
  position: relative;
  z-index: 1;
  padding: 16px 0 10px;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.34fr 1fr .92fr;
  gap: 16px;
  align-items: stretch;
}

.panel-grid.cols-2 { grid-template-columns: 1.2fr .9fr; }
.panel-grid.cols-1 { grid-template-columns: 1fr; }

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(238, 231, 251, .95);
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.panel-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.panel-ico {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brand);
  background: var(--brand-soft);
}

.panel-ico svg { width: 14px; height: 14px; }

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--brand);
  white-space: nowrap;
  transition: gap .18s;
}

.panel-link svg { width: 12px; height: 12px; }
.panel-link:hover { gap: 6px; }

/* ---------------- 截图轮播 ---------------- */

.car-nav { display: flex; gap: 6px; }

.car-btn {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: .18s;
}

.car-btn svg { width: 13px; height: 13px; }
.car-btn:hover { color: var(--brand); border-color: var(--brand-line); background: var(--brand-soft); }
.car-btn[disabled] { opacity: .38; cursor: default; }

.carousel {
  display: flex;
  flex: 1;
  gap: 10px;
  min-height: 172px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 2px;
}

.carousel::-webkit-scrollbar { display: none; }

.car-item {
  flex: 0 0 calc(50% - 5px);
  margin: 0;
  height: 100%;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #faf8fe;
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .2s, box-shadow .2s;
}

.car-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -16px rgba(76, 42, 158, .55);
}

.car-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 12px;
}

.dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 3px;
  background: #e2d8f7;
  cursor: pointer;
  transition: width .22s, background .22s;
}

.dots button.on {
  width: 16px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
}

/* ---------------- 更新列表 ---------------- */

.updates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.update {
  padding-bottom: 11px;
  border-bottom: 1px dashed var(--line);
}

.update:last-child { padding-bottom: 0; border-bottom: none; }

.update-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
}

.update-ver {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

.update-date {
  font-size: 11.5px;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}

.tag {
  margin-left: auto;
  height: 19px;
  padding: 0 7px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 19px;
  white-space: nowrap;
}

.tag.is-new      { color: #1d4ed8; background: #eaf1ff; }
.tag.is-opt      { color: #0f9d58; background: #e8f8ef; }
.tag.is-fix      { color: #c2410c; background: #fff0e6; }
.tag.is-refactor { color: #7c3aed; background: #f2e9ff; }
.tag.is-update   { color: #64748b; background: #f1f3f7; }

.update-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------------- 加入我们 ---------------- */

.join-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.join-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: #fbf9ff;
  border: 1px solid var(--line-2);
}

.join-ico {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #60a5fa, #3b82f6);
}

.join-ico.fb { background: linear-gradient(140deg, #a78bfa, #7c3aed); }
.join-ico.up { background: linear-gradient(140deg, #fbbf24, #f59e0b); }
.join-ico svg { width: 18px; height: 18px; }

.join-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.join-text b { font-size: 13px; font-weight: 650; }

.join-text span {
  font-size: 11.5px;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-mini {
  flex-shrink: 0;
  margin-left: auto;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--brand-line);
  border-radius: 8px;
  background: #fff;
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: .18s;
  white-space: nowrap;
}

.btn-mini:hover { background: var(--brand-soft); border-color: #ddd0fa; }

.join-item.is-muted { background: #fbfafd; }
.join-item.is-muted .join-ico { background: #e9e4f4; color: #9a93ae; }

/* ==================================================================
   下载区
   ================================================================== */

.section-download {
  position: relative;
  z-index: 1;
  padding: 22px 0 44px;
}

.dl-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 30px;
  padding: 34px 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #faf7ff 58%, #f6f1ff 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.dl-glow {
  position: absolute;
  right: -70px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, .28), rgba(167, 139, 250, 0) 68%);
  pointer-events: none;
}

.dl-main { position: relative; }

.dl-kicker {
  display: inline-block;
  padding: 3px 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: .04em;
  color: var(--brand);
  background: var(--brand-soft);
}

.dl-main h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -.025em;
}

.dl-ver {
  font-size: 13px;
  font-weight: 650;
  color: var(--brand);
  background: #fff;
  border: 1px solid var(--brand-line);
  padding: 2px 8px;
  border-radius: 7px;
}

.dl-sub {
  margin: 0 0 20px;
  font-size: 13.5px;
  color: var(--muted);
}

.dl-btn { margin-bottom: 14px; }

.dl-note {
  margin: 0;
  max-width: 460px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted-2);
}

.dl-side {
  position: relative;
  align-self: center;
  padding: 16px 18px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
}

.dl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.dl-row:last-child { border-bottom: none; }
.dl-row span { color: var(--muted); }
.dl-row b { font-weight: 650; color: var(--ink); text-align: right; }

/* ---------------- 全部版本 ---------------- */

.dl-all {
  margin-top: 16px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.dl-all h3 {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.dl-all ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dl-all li {
  display: grid;
  grid-template-columns: 1.2fr .9fr .8fr .7fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}

.dl-all li:last-child { border-bottom: none; }

.dl-all-ver {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
}

.dl-all-ver em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 650;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 1px 6px;
  border-radius: 5px;
}

.dl-all-date,
.dl-all-size,
.dl-all-count { color: var(--muted); font-size: 12.5px; }

.dl-all-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.dl-all-link svg { width: 13px; height: 13px; transition: transform .18s; }
.dl-all-link:hover svg { transform: translateX(3px); }

/* ==================================================================
   页脚
   ================================================================== */

.foot {
  position: relative;
  z-index: 1;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .5);
}

.foot-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-name { font-size: 13.5px; font-weight: 650; }
.foot-slogan { font-size: 11.5px; color: var(--muted-2); }

.foot-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--muted-2);
}

.foot-right a:hover { color: var(--brand); }

/* ==================================================================
   灯箱 / 提示
   ================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 38px;
  background: rgba(24, 14, 46, .78);
  backdrop-filter: blur(6px);
}

.lightbox.is-open { display: grid; }

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  background: #fff;
}

.lb-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background .18s;
}

.lb-close:hover { background: rgba(255, 255, 255, .26); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 300;
  transform: translate(-50%, 14px);
  padding: 10px 18px;
  border-radius: 11px;
  background: rgba(27, 18, 51, .94);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s, transform .22s;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .6);
}

.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- 滚动出现 ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.22, .8, .3, 1), transform .6s cubic-bezier(.22, .8, .3, 1);
}

.reveal.is-in { opacity: 1; transform: none; }

/* ==================================================================
   响应式
   ================================================================== */

@media (max-width: 1080px) {
  .panel-grid { grid-template-columns: 1.2fr 1fr; }
  .panel-join { grid-column: span 2; }
  .panel-join .join-list { flex-direction: row; }
  .panel-join .join-item { flex: 1; }
  .panel-grid.cols-2 .panel-join { grid-column: auto; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-intro { max-width: none; }
  .hero-art { order: -1; margin: 0 auto; width: 100%; max-width: 640px; }
  .hero-title { font-size: clamp(32px, 6vw, 44px); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dl-card { grid-template-columns: 1fr; gap: 22px; }
  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 44px -24px rgba(60, 26, 130, .4);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 12px; font-size: 14px; }
  .nav-links a.is-active::after { display: none; }
  .nav-links a.is-active { background: var(--brand-soft); }
  .nav-toggle { display: block; }
  .nav-right { margin-left: auto; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .hero { padding-top: 34px; }
  .panel-grid,
  .panel-grid.cols-2 { grid-template-columns: 1fr; }
  .panel-join,
  .panel-grid.cols-2 .panel-join { grid-column: auto; }
  .panel-join .join-list { flex-direction: column; }
  .feature { padding: 17px 15px; }
  .carousel { min-height: 142px; }
  .car-item { flex-basis: 72%; }
  .dl-all li { grid-template-columns: 1fr .8fr auto; row-gap: 4px; }
  .dl-all-date { display: none; }
  .dl-all-size { grid-column: 2; }
  .dl-all-count { display: none; }
  .foot-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-right { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .nav-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-logo { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
  .brand-name { max-width: 132px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; }
  .nav-right { margin-left: auto; gap: 8px; }
  .nav-right .btn-sm { padding: 8px 12px; font-size: 13px; }
  .nav-right .btn-sm svg { display: none; }
  .nav-links { left: 12px; right: 12px; top: 60px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-lg { width: 100%; }
  .hero-badges { gap: 8px 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .features { padding-top: 12px; }
  .panel { padding: 16px 14px 14px; }
  .carousel { min-height: 128px; }
  .car-item { flex-basis: 84%; }
  .dl-card { padding: 24px 18px 22px; }
  .dl-all { padding: 18px 16px; }
  .dl-all li { grid-template-columns: 1fr auto; }
  .dl-all-size { display: none; }
  .lb-close { top: 12px; right: 14px; }
  .lightbox { padding: 16px; }
  .cube-a { width: 42px; height: 42px; left: -10px; bottom: 18px; }
  .cube-b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .art-cube { animation: none; }
}
