:root {
  --bg: #fdfefb;
  --bg-2: #f6fbf8;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --glass-soft: rgba(255, 255, 255, 0.48);
  --glass-dark: rgba(17, 45, 36, 0.055);
  --ink: #18312a;
  --muted: #6f8178;
  --line: rgba(255, 255, 255, 0.72);
  --line-dark: rgba(18, 107, 82, 0.18);
  --primary: #2f9f7b;
  --primary-dark: #16745a;
  --accent: #ff8f70;
  --accent-soft: rgba(255, 143, 112, 0.15);
  --yellow-soft: rgba(255, 211, 116, 0.28);
  --mint-soft: rgba(143, 224, 194, 0.26);
  --shadow: 0 24px 64px rgba(49, 87, 74, 0.10);
  --shadow-soft: 0 12px 34px rgba(49, 87, 74, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --content: 1160px;
  --liquid-z: 2;
  --liquid-frost: 0;
  --glass-border: rgba(255, 255, 255, 0.94);
  --glass-highlight: rgba(255, 255, 255, 0.98);
  --glass-primary-tint: rgba(47, 159, 123, 0.12);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.96), 0 10px 32px rgba(160, 210, 190, 0.12);
  --glass-wash: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.68) 0%,
    rgba(255, 255, 255, 0.32) 46%,
    rgba(255, 255, 255, 0.16) 100%
  );
  --glass-card-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
  --glass-card-hover-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 26px 56px rgba(80, 160, 130, 0.2);
  --header-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.56));
  --nav-bg: rgba(255, 255, 255, 0.42);
  --nav-border: rgba(255, 255, 255, 0.72);
  --nav-hover-bg: rgba(255, 255, 255, 0.58);
  --body-bg:
    radial-gradient(ellipse at 18% 6%, rgba(255, 255, 255, 1) 0 22%, transparent 50%),
    linear-gradient(125deg, #ffffff 0%, var(--bg) 50%, var(--bg-2) 100%);
  --grid-line-a: rgba(47, 159, 123, 0.02);
  --grid-line-b: rgba(47, 159, 123, 0.016);
  --orb-opacity: 1;
  --liquid-brightness: 1.06;
  --theme-switch-icon: var(--ink);
  --button-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36));
  --button-hover-border: rgba(255, 255, 255, 0.98);
  --button-hover-shadow: 0 14px 32px rgba(160, 210, 190, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.96);
  --button-primary-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.28)),
    linear-gradient(145deg, var(--glass-primary-tint), rgba(22, 116, 90, 0.08));
  --button-primary-hover-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36)),
    linear-gradient(145deg, rgba(47, 159, 123, 0.18), rgba(22, 116, 90, 0.10));
  --button-secondary-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.48));
  --poster-caption-bg: rgba(255, 255, 255, 0.76);
  --footer-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.44));
  --liquid-edge-inset: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
  --liquid-sheen: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.5) 48%, transparent 100%);
  --liquid-sheen-blend: overlay;
  --liquid-sheen-opacity: 1;
  --liquid-pointer-glow-mint: rgba(143, 224, 194, 0.3);
  --liquid-pointer-glow-green: rgba(47, 159, 123, 0.14);
  --liquid-pointer-glow-yellow: rgba(255, 211, 116, 0.22);
  --liquid-pointer-glow-blend: normal;
  --eyebrow-bg: rgba(255, 255, 255, 0.48);
  --platform-strip-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.52));
  --platform-strip-hover-border: rgba(255, 255, 255, 0.98);
  --platform-strip-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 28px rgba(160, 210, 190, 0.12);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1a17;
  --bg-2: #152822;
  --glass: rgba(22, 38, 33, 0.72);
  --glass-strong: rgba(28, 46, 40, 0.88);
  --glass-soft: rgba(18, 32, 28, 0.52);
  --glass-dark: rgba(0, 0, 0, 0.22);
  --ink: #e8f2ed;
  --muted: #9bb3a8;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(143, 224, 194, 0.16);
  --primary: #5ecfaa;
  --primary-dark: #8ce4c8;
  --accent: #ffb199;
  --accent-soft: rgba(255, 143, 112, 0.18);
  --yellow-soft: rgba(255, 211, 116, 0.14);
  --mint-soft: rgba(143, 224, 194, 0.12);
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-highlight: rgba(255, 255, 255, 0.22);
  --glass-primary-tint: rgba(94, 207, 170, 0.14);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 32px rgba(0, 0, 0, 0.28);
  --glass-wash: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.04) 46%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --glass-card-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  --glass-card-hover-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 26px 56px rgba(0, 0, 0, 0.34);
  --header-bg: linear-gradient(135deg, rgba(28, 46, 40, 0.92), rgba(18, 32, 28, 0.78));
  --nav-bg: rgba(255, 255, 255, 0.06);
  --nav-border: rgba(255, 255, 255, 0.1);
  --nav-hover-bg: rgba(255, 255, 255, 0.1);
  --body-bg:
    radial-gradient(ellipse at 18% 6%, rgba(47, 159, 123, 0.12) 0 22%, transparent 50%),
    linear-gradient(125deg, #0a1210 0%, var(--bg) 50%, var(--bg-2) 100%);
  --grid-line-a: rgba(143, 224, 194, 0.04);
  --grid-line-b: rgba(143, 224, 194, 0.028);
  --orb-opacity: 0.55;
  --liquid-brightness: 0.92;
  --theme-switch-icon: #e8f2ed;
  --button-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  --button-hover-border: rgba(255, 255, 255, 0.24);
  --button-hover-shadow: 0 14px 32px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --button-primary-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    linear-gradient(145deg, var(--glass-primary-tint), rgba(94, 207, 170, 0.08));
  --button-primary-hover-bg:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    linear-gradient(145deg, rgba(94, 207, 170, 0.2), rgba(47, 159, 123, 0.12));
  --button-secondary-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  --poster-caption-bg: rgba(22, 38, 33, 0.82);
  --footer-bg: linear-gradient(145deg, rgba(28, 46, 40, 0.88), rgba(18, 32, 28, 0.72));
  --liquid-edge-inset: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  --liquid-sheen: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.08) 48%, transparent 100%);
  --liquid-sheen-blend: soft-light;
  --liquid-sheen-opacity: 0.45;
  --eyebrow-bg: rgba(255, 255, 255, 0.08);
  --platform-strip-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  --platform-strip-hover-border: rgba(255, 255, 255, 0.22);
  --platform-strip-hover-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 28px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  text-rendering: geometricPrecision;
  transition: background 280ms ease, color 280ms ease;
}

/* 极淡网格，给玻璃折射一点纹理 */
body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--grid-line-a) 1px, transparent 1px),
    linear-gradient(0deg, var(--grid-line-b) 1px, transparent 1px);
  background-size: 88px 88px;
  content: "";
}

/* 流动彩色光斑层（液态灵动来源） */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(72px);
  opacity: var(--orb-opacity);
  will-change: transform;
  mix-blend-mode: normal;
}

.orb-green {
  top: -6%;
  left: -4%;
  width: 560px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(47, 159, 123, 0.55), transparent 70%);
  animation: orbDriftA 26s ease-in-out infinite alternate;
}

.orb-mint {
  top: 28%;
  left: 52%;
  width: 620px;
  height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(143, 224, 194, 0.5), transparent 70%);
  animation: orbDriftB 32s ease-in-out infinite alternate;
}

.orb-yellow {
  top: 8%;
  right: -6%;
  width: 480px;
  height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 211, 116, 0.45), transparent 70%);
  animation: orbDriftC 29s ease-in-out infinite alternate;
}

.orb-peach {
  bottom: 6%;
  right: 4%;
  width: 540px;
  height: 500px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 143, 112, 0.4), transparent 70%);
  animation: orbDriftD 34s ease-in-out infinite alternate;
}

.orb-sky {
  bottom: 14%;
  left: 2%;
  width: 500px;
  height: 460px;
  background: radial-gradient(circle at 50% 50%, rgba(120, 200, 220, 0.34), transparent 70%);
  animation: orbDriftB 30s ease-in-out infinite alternate-reverse;
}

@keyframes orbDriftA {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(120px, 90px) scale(1.18); }
}

@keyframes orbDriftB {
  0% { transform: translate(0, 0) scale(1.05); }
  100% { transform: translate(-140px, 70px) scale(0.9); }
}

@keyframes orbDriftC {
  0% { transform: translate(0, 0) scale(0.95); }
  100% { transform: translate(-90px, 120px) scale(1.2); }
}

@keyframes orbDriftD {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(110px, -90px) scale(0.92); }
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--content), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--header-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(120%);
  -webkit-backdrop-filter: blur(24px) saturate(120%);
  transition: background 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.site-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

theme-switch {
  flex-shrink: 0;
  width: 40px;
  padding: 8px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  background: var(--nav-bg);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  --theme-switch-icon-color: var(--theme-switch-icon);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(19, 36, 29, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--nav-border);
  border-radius: var(--radius-sm);
  background: var(--nav-bg);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.site-nav a {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--nav-hover-bg);
  color: var(--ink);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ---- CSS 原生液态玻璃卡 ---- */
.liquidGL {
  position: relative;
  z-index: var(--liquid-z);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--glass-card-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(22px) saturate(185%) brightness(var(--liquid-brightness));
  -webkit-backdrop-filter: blur(22px) saturate(185%) brightness(var(--liquid-brightness));
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease, background 280ms ease;
}

/* 指针跟随光晕（交互灵动） */
.liquidGL::before {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(150px circle at var(--mx, 30%) var(--my, 0%), var(--liquid-pointer-glow-mint), transparent 58%),
    radial-gradient(180px circle at var(--mx, 30%) var(--my, 0%), var(--liquid-pointer-glow-green), transparent 64%),
    radial-gradient(240px circle at var(--mx, 30%) var(--my, 0%), var(--liquid-pointer-glow-yellow), transparent 72%);
  mix-blend-mode: var(--liquid-pointer-glow-blend);
  opacity: 0;
  transition: opacity 280ms ease;
  content: "";
}

html[data-theme="dark"] .liquidGL::before {
  background: radial-gradient(
    220px circle at var(--mx, 30%) var(--my, 0%),
    rgba(143, 224, 194, 0.22),
    transparent 60%
  );
  mix-blend-mode: soft-light;
}

/* 斜向扫光 */
.liquidGL::after {
  position: absolute;
  top: -60%;
  left: 0;
  z-index: 2;
  width: 55%;
  height: 220%;
  pointer-events: none;
  background: var(--liquid-sheen);
  mix-blend-mode: var(--liquid-sheen-blend);
  opacity: var(--liquid-sheen-opacity);
  will-change: transform;
  animation: sheen 7.5s ease-in-out infinite;
  content: "";
}

.liquidGL:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-card-hover-shadow);
}

.liquidGL:hover::before {
  opacity: 1;
}

@keyframes sheen {
  0% { transform: translateX(-220%) rotate(8deg); }
  55% { transform: translateX(360%) rotate(8deg); }
  100% { transform: translateX(360%) rotate(8deg); }
}

.liquid-content {
  position: relative;
  z-index: 3;
  height: 100%;
}

/* 液态抖动边缘：仅作用于 hero 两块大面板的描边层，避免文字模糊 */
.hero-copy.liquidGL,
.hero-visual.liquidGL {
  --edge-z: 3;
}

.hero-copy.liquidGL .liquid-edge,
.hero-visual.liquidGL .liquid-edge {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: var(--liquid-edge-inset);
}

html[data-theme="light"] .hero-copy.liquidGL .liquid-edge,
html[data-theme="light"] .hero-visual.liquidGL .liquid-edge {
  filter: url(#liquid-edge);
}

html[data-theme="dark"] .hero-copy.liquidGL .liquid-edge,
html[data-theme="dark"] .hero-visual.liquidGL .liquid-edge {
  display: none;
}

html[data-theme="dark"] .hero-copy.liquidGL,
html[data-theme="dark"] .hero-visual.liquidGL {
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .liquidGL::after {
  display: none;
}

.hero,
.section,
.site-footer {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: 54px;
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 66px 0 76px;
}

.hero::before,
.downloads-section::before,
.features-section::before,
.posters-section::before {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  content: "";
}

.hero::before {
  right: 28%;
  bottom: 14%;
  width: 86px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 80px 10px 80px 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, rgba(121, 207, 171, 0.42), rgba(47, 159, 123, 0.14));
  transform: rotate(-18deg);
  filter: drop-shadow(0 16px 22px rgba(47, 159, 123, 0.10));
}

.hero-copy {
  position: relative;
  max-width: 640px;
  border-radius: var(--radius);
}

.hero-copy .liquid-content {
  padding: 32px;
}

.eyebrow {
  margin: 0 0 14px;
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--eyebrow-bg);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(58px, 8.5vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-lead,
.section-head p,
.contact-section p {
  color: var(--muted);
  font-size: 18px;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions,
.download-actions,
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--button-bg);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
}

.button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.button.primary {
  border-color: var(--glass-border);
  background: var(--button-primary-bg);
  color: var(--primary-dark);
}

.button.primary:hover {
  background: var(--button-primary-hover-bg);
}

.button.secondary {
  background: var(--button-secondary-bg);
}

.button.disabled {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(96, 114, 105, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin: 34px 0 0;
}

.platform-strip-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--platform-strip-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.platform-strip-item:hover {
  transform: translateY(-2px);
  border-color: var(--platform-strip-hover-border);
  box-shadow: var(--platform-strip-hover-shadow);
}

.platform-strip-item:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.platform-strip-name {
  font-weight: 900;
}

.platform-strip-status {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius);
}

.hero-visual-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 0.55fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
}

.hero-poster {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px rgba(160, 210, 190, 0.10);
}

.hero-poster.main {
  transform: translateY(14px);
}

.hero-poster.side {
  transform: translateY(-24px);
}

.section {
  position: relative;
  padding: 84px 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.compact-head {
  max-width: 560px;
}

.downloads-section,
.features-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: start;
}

.downloads-section::before {
  top: 18px;
  left: -34px;
  width: 34px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 58% 42% 60% 40%;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.16)),
    linear-gradient(150deg, rgba(255, 170, 145, 0.46), rgba(255, 211, 116, 0.20));
  transform: rotate(-18deg);
}

.features-section::before {
  right: -38px;
  top: 28px;
  width: 92px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.70);
  border-radius: 80px 10px 80px 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.12)),
    linear-gradient(135deg, rgba(121, 207, 171, 0.38), rgba(47, 159, 123, 0.14));
  transform: rotate(16deg);
}

.posters-section::before {
  top: 2px;
  left: 24%;
  width: 30px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 58% 42% 60% 40%;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.14)),
    linear-gradient(150deg, rgba(255, 170, 145, 0.40), rgba(255, 211, 116, 0.18));
  transform: rotate(24deg);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: 16px;
}

.download-card,
.feature-card,
.poster-placeholder,
.contact-section.liquidGL {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.download-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.download-card .liquid-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}

.download-card:first-child {
  grid-row: span 2;
  min-height: 340px;
}

.download-card:first-child .liquid-content {
  padding: 24px;
}

.download-card:first-child .platform-icon {
  width: 56px;
  height: 56px;
  font-size: 24px;
}

.download-card:nth-child(3),
.download-card:nth-child(5) {
  transform: translateY(16px);
}

.download-card:nth-child(3):hover,
.download-card:nth-child(5):hover {
  transform: translateY(12px);
}

.download-card.is-pending {
  opacity: 0.96;
}

.download-card-head,
.download-note,
.download-actions,
.feature-card .liquid-content > *,
.poster-placeholder .liquid-content > * {
  position: relative;
  z-index: 1;
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(255, 245, 238, 0.92), rgba(255, 143, 112, 0.16));
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 20px rgba(255, 143, 112, 0.11);
}

.download-card h3 {
  margin-bottom: 2px;
  font-size: 20px;
}

.download-card-head p,
.download-note {
  color: var(--muted);
  font-size: 14px;
}

.download-note {
  flex: 1;
  margin-bottom: 18px;
}

.download-card .button {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-auto-rows: minmax(180px, auto);
  gap: 16px;
}

.updates-section {
  padding-top: 48px;
  padding-bottom: 72px;
}

.update-history {
  display: grid;
  gap: 16px;
}

.update-release {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.update-archive .update-release {
  border: 1px solid var(--glass-border);
  background: var(--glass-card-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.update-release-inner {
  padding: 26px;
}

.update-release-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.update-release-head h3 {
  margin: 8px 0 0;
  font-size: clamp(22px, 3vw, 30px);
}

.update-release-compact .update-release-inner {
  padding: 22px;
}

.update-release-compact .update-release-head {
  margin-bottom: 16px;
}

.update-release-compact .update-release-head h3 {
  font-size: clamp(20px, 2.4vw, 24px);
}

.update-version {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xs);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 var(--glass-highlight);
}

.update-platform-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 14px;
}

.update-platform-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-card-bg);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}

.update-platform-card.is-muted {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.14));
}

.update-platform-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.update-platform-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.update-platform-card li {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.update-release-compact .update-platform-card {
  padding: 16px;
}

.update-more-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--button-secondary-bg);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.update-more-link::after {
  flex: 0 0 auto;
  color: var(--primary);
  content: ">";
  font-size: 20px;
  line-height: 1;
}

.update-more-link:hover {
  transform: translateY(-2px);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
}

.update-more-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.update-more-link small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.update-archive {
  min-width: 0;
}

.update-archive summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--button-secondary-bg);
  color: var(--ink);
  font-weight: 900;
  list-style: none;
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.update-archive summary::-webkit-details-marker {
  display: none;
}

.update-archive summary::after {
  flex: 0 0 auto;
  color: var(--primary);
  content: "+";
  font-size: 20px;
  line-height: 1;
}

.update-archive[open] summary::after {
  content: "-";
}

.update-archive summary:hover {
  transform: translateY(-2px);
  border-color: var(--button-hover-border);
  box-shadow: var(--button-hover-shadow);
}

.update-archive summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.update-archive summary small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.update-archive-list {
  display: grid;
  gap: 14px;
  padding-top: 14px;
}

.version-updates-page {
  padding-top: 132px;
}

.feature-card {
  min-height: 230px;
}

.feature-card .liquid-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
}

.feature-card-large {
  grid-row: span 2;
  min-height: 380px;
}

.feature-card-large .liquid-content {
  padding: 28px;
}

.feature-card-large h3 {
  max-width: 8em;
  font-size: 30px;
}

.feature-card-large p {
  max-width: 17em;
  font-size: 18px;
}

.feature-card-soft {
  grid-column: span 2;
  min-height: 180px;
}

.feature-mark {
  display: inline-flex;
  margin-bottom: 42px;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

.feature-card p {
  color: var(--muted);
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.poster-card,
.poster-placeholder {
  overflow: hidden;
  border-radius: var(--radius);
}

.poster-card {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
}

.poster-card-inner {
  position: relative;
  min-height: inherit;
}

.poster-card.tall {
  grid-row: span 2;
}

.poster-card.wide {
  grid-column: span 2;
  min-height: 270px;
}

.poster-card-inner img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: calc(var(--radius) - 4px);
  box-shadow: 0 16px 40px rgba(160, 210, 190, 0.10);
}

/* 纯展示图：按素材比例铺满，由外层统一圆角裁剪 */
.poster-card.wide.poster-card-clean {
  min-height: 0;
  aspect-ratio: 1024 / 500;
}

.poster-card-clean .poster-card-inner {
  position: relative;
  height: 100%;
  min-height: 0;
}

.poster-card-clean .poster-card-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.poster-card-inner > div {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--poster-caption-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}

.poster-card-inner > div > * {
  position: relative;
  z-index: 1;
}

.poster-card span,
.poster-placeholder span {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.poster-card h3,
.poster-placeholder h3 {
  margin: 4px 0 0;
  font-size: 20px;
}

.poster-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 270px;
}

.poster-placeholder .liquid-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 22px;
}

.poster-placeholder p {
  margin: 8px 0 0;
  color: var(--muted);
}

.contact-section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
}

.contact-section h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.contact-section.section {
  margin-bottom: 80px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  margin-bottom: 42px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: var(--footer-bg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  color: var(--muted);
  font-size: 14px;
  transition: background 280ms ease, border-color 280ms ease;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .site-header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 1060px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 760px;
  }

  .download-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .downloads-section,
  .features-section {
    display: block;
  }

  .update-platform-grid {
    grid-template-columns: 1fr;
  }

  .downloads-section .section-head,
  .features-section .section-head {
    margin-bottom: 34px;
  }

  .download-card:first-child,
  .feature-card-large,
  .feature-card-soft {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .poster-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 8px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
  }

  .hero {
    gap: 30px;
    padding: 36px 0 48px;
  }

  .hero-copy .liquid-content {
    padding: 22px;
  }

  h1 {
    font-size: 62px;
  }

  .platform-strip,
  .download-grid,
  .feature-grid,
  .poster-grid {
    grid-template-columns: 1fr;
  }

  .download-card:nth-child(3),
  .download-card:nth-child(5) {
    transform: none;
  }

  .orb {
    filter: blur(56px);
    opacity: 0.42;
  }

  .hero::before,
  .downloads-section::before,
  .features-section::before,
  .posters-section::before {
    opacity: 0.68;
  }

  .downloads-section::before {
    left: auto;
    right: 8px;
    top: 12px;
    transform: rotate(18deg) scale(0.72);
  }

  .features-section::before {
    right: 4px;
    top: 8px;
    transform: rotate(16deg) scale(0.68);
  }

  .posters-section::before {
    left: auto;
    right: 18px;
    top: 8px;
    transform: rotate(24deg) scale(0.72);
  }

  .hero-visual-inner {
    grid-template-columns: 1fr 0.72fr;
    gap: 12px;
    padding: 12px;
  }

  .section {
    padding: 56px 0;
  }

  .updates-section {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .update-release-inner {
    padding: 22px;
  }

  .update-release-head {
    flex-direction: column;
  }

  .update-more-link {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .update-more-link::after {
    position: absolute;
    right: 16px;
    top: 16px;
  }

  .update-more-link small {
    padding-right: 24px;
  }

  .update-archive summary {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .update-archive summary::after {
    position: absolute;
    right: 16px;
    top: 16px;
  }

  .update-archive summary small {
    padding-right: 24px;
  }

  .contact-section.section {
    margin-bottom: 56px;
  }

  .poster-card,
  .poster-card.wide,
  .poster-placeholder {
    grid-column: auto;
    min-height: 320px;
  }

  .poster-card-clean.wide,
  .poster-card.wide.poster-card-clean {
    min-height: 0;
    aspect-ratio: 1024 / 500;
  }

  .contact-section-inner,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .hero-actions,
  .download-actions,
  .contact-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

/* ---- 浮动 / 入场 / 灵动动效 ---- */
.hero-poster.main {
  animation: floatA 7s ease-in-out infinite;
}

.hero-poster.side {
  animation: floatB 8.5s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translateY(14px); }
  50% { transform: translateY(4px); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(-24px); }
  50% { transform: translateY(-14px); }
}

/* 入场渐入：仅在 JS 可用（html.glass-js）时默认隐藏，进入视口加 .in-view */
.glass-js .liquidGL {
  opacity: 0;
  transform: translateY(18px) scale(0.985);
}

.glass-js .liquidGL.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* in-view 之后才允许 hover/nth-child 位移生效 */
.glass-js .liquidGL.in-view:hover {
  transform: translateY(-4px) scale(1);
}

.glass-js .download-card.in-view:nth-child(3),
.glass-js .download-card.in-view:nth-child(5) {
  transform: translateY(16px);
}

.glass-js .download-card.in-view:nth-child(3):hover,
.glass-js .download-card.in-view:nth-child(5):hover {
  transform: translateY(12px);
}

@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none !important;
  }

  .liquidGL::after {
    animation: none !important;
    display: none;
  }

  .hero-poster.main,
  .hero-poster.side {
    animation: none !important;
  }

  .hero-copy.liquidGL .liquid-edge,
  .hero-visual.liquidGL .liquid-edge {
    filter: none;
  }

  .glass-js .liquidGL {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glass-js .liquidGL.in-view,
  .glass-js .liquidGL.in-view:hover,
  .glass-js .download-card.in-view:nth-child(3),
  .glass-js .download-card.in-view:nth-child(5) {
    transform: none;
  }

  .screenshot-phone .shot-light,
  .screenshot-phone .shot-dark {
    transition: none !important;
  }
}

/* ---- 手机截图画廊 ---- */
.screenshot-section {
  margin-top: 48px;
}

.screenshot-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.screenshot-section-head h3 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 3vw, 30px);
}

.screenshot-section-head > div > p:last-child {
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
}

.screenshot-theme-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}

.screenshot-theme-toggle button {
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius-xs) + 2px);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.screenshot-theme-toggle button.is-active {
  border-color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.38)),
    linear-gradient(145deg, var(--glass-primary-tint), rgba(22, 116, 90, 0.06));
  color: var(--primary-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.screenshot-theme-toggle button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.screenshot-card {
  min-height: 0;
}

.screenshot-card-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.screenshot-phone {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 19.5;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    0 14px 32px rgba(80, 160, 130, 0.12);
}

.screenshot-phone img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.screenshot-phone .shot-light {
  opacity: 1;
  transition: opacity 240ms ease;
}

.screenshot-phone .shot-dark {
  opacity: 0;
  transition: opacity 240ms ease;
}

html[data-screenshot-theme="dark"] .screenshot-phone .shot-light {
  opacity: 0;
}

html[data-screenshot-theme="dark"] .screenshot-phone .shot-dark {
  opacity: 1;
}

html[data-screenshot-theme="dark"] .screenshot-card--light-only .screenshot-phone .shot-light {
  opacity: 1;
}

.screenshot-meta {
  position: relative;
  z-index: 1;
}

.screenshot-label {
  display: block;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.screenshot-meta h4 {
  margin: 4px 0 0;
  font-size: 17px;
  line-height: 1.35;
}

.screenshot-badge {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .screenshot-gallery {
    display: flex;
    gap: 14px;
    margin-right: calc(-1 * var(--page-pad, 20px));
    margin-left: calc(-1 * var(--page-pad, 20px));
    padding-right: var(--page-pad, 20px);
    padding-left: var(--page-pad, 20px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .screenshot-card {
    flex: 0 0 min(72vw, 260px);
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .screenshot-section-head {
    flex-direction: column;
    align-items: stretch;
  }

  .screenshot-theme-toggle {
    align-self: flex-start;
  }
}
