/* ==========================================================================
   YuYang · 宇阳工具箱 官网
   Design tokens
   ========================================================================== */
:root {
  --bg: #05080f;
  --bg-soft: #080e19;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9f0fa;
  --text-2: #a9b8cd;
  --text-3: #7b8ca6;
  --accent: #4cc2ff;
  --accent-2: #2e7cf6;
  --accent-3: #7c5cff;
  --ok: #3ddc97;
  --warn: #ffb454;
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(76, 194, 255, 0.28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Ambient background
   四层叠加：极光底 / 结构网格 / 粒子星网（Canvas）/ 斜向扫描光带
   全部挂在固定的 .bg 上，不参与文档流，也不响应指针事件
   -------------------------------------------------------------------------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* 底部压暗，保证长页面的文字对比度 */
  background: radial-gradient(ellipse 120% 70% at 50% -10%, rgba(20, 48, 92, 0.34), transparent 62%);
}

.bg-aurora {
  position: absolute;
  inset: -25%;
  filter: blur(96px);
  opacity: 0.56;
  will-change: transform;
}

.bg-aurora i {
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}

.bg-aurora .a1 {
  width: 46vw;
  height: 46vw;
  left: 2%;
  top: -16%;
  background: radial-gradient(circle, rgba(42, 118, 246, 0.46), rgba(20, 60, 140, 0.14) 46%, transparent 70%);
  animation: auroraA 28s ease-in-out infinite;
}

.bg-aurora .a2 {
  width: 38vw;
  height: 38vw;
  right: -8%;
  top: 2%;
  background: radial-gradient(circle, rgba(120, 88, 255, 0.38), rgba(70, 40, 160, 0.1) 48%, transparent 72%);
  animation: auroraB 34s ease-in-out infinite;
}

.bg-aurora .a3 {
  width: 34vw;
  height: 34vw;
  left: 34%;
  bottom: -22%;
  background: radial-gradient(circle, rgba(52, 216, 190, 0.2), rgba(20, 120, 130, 0.07) 50%, transparent 74%);
  animation: auroraC 42s ease-in-out infinite;
}

@keyframes auroraA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(7vw, 6vh, 0) scale(1.16);
  }
}

@keyframes auroraB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1.04);
  }
  50% {
    transform: translate3d(-6vw, 8vh, 0) scale(0.9);
  }
}

@keyframes auroraC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(0.95);
  }
  50% {
    transform: translate3d(-8vw, -6vh, 0) scale(1.18);
  }
}

/* 结构网格：缓慢平移，向上淡出，避免抢文字 */
.bg-grid {
  position: absolute;
  inset: -56px;
  background-image: linear-gradient(rgba(126, 190, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 190, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 88% 64% at 50% 0%, #000 10%, rgba(0, 0, 0, 0.45) 48%, transparent 80%);
  mask-image: radial-gradient(ellipse 88% 64% at 50% 0%, #000 10%, rgba(0, 0, 0, 0.45) 48%, transparent 80%);
  animation: gridDrift 26s linear infinite;
  opacity: 1;
}

@keyframes gridDrift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 56px 56px;
  }
}

/* 粒子星网由 bg.js 绘制 */
.bg-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
  mix-blend-mode: screen;
}

/* 斜向扫描光带，一次约 18 秒，亮度很低 */
.bg-beam {
  position: absolute;
  top: -46vh;
  left: 0;
  width: 52vw;
  height: 96vh;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(76, 194, 255, 0.06) 28%,
    rgba(168, 214, 255, 0.16) 50%,
    rgba(76, 194, 255, 0.06) 72%,
    transparent 100%
  );
  filter: blur(34px);
  transform: rotate(16deg);
  opacity: 0;
  animation: beamSweep 18s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes beamSweep {
  0% {
    transform: translate3d(-30%, -12%, 0) rotate(16deg);
    opacity: 0;
  }
  18% {
    opacity: 0.6;
  }
  78% {
    opacity: 0.6;
  }
  100% {
    transform: translate3d(150%, 28%, 0) rotate(16deg);
    opacity: 0;
  }
}

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(5, 8, 15, 0.52);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav.is-stuck {
  background: rgba(5, 8, 15, 0.86);
  border-bottom-color: var(--line);
}

.nav__inner {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(46, 124, 246, 0.35);
}

img.brand__mark {
  display: block;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.nav__avatar {
  width: 30px;
  height: 30px;
  padding: 0;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.nav__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav__avatar:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text strong {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.brand__text span {
  font-size: 10.5px;
  color: var(--text-3);
  letter-spacing: 0.16em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav__links a {
  position: relative;
  padding: 8px 13px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav__links a.is-active {
  color: var(--text);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ver-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-2);
  white-space: nowrap;
}

.ver-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
}

.nav__toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-menu {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 55;
  padding: 12px 24px 20px;
  background: rgba(6, 10, 18, 0.97);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  gap: 2px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-2);
}

.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s, border-color 0.22s, opacity 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: linear-gradient(135deg, #5ccbff, #2e7cf6 62%, #5b6cf9);
  color: #04121f;
  box-shadow: 0 10px 28px rgba(46, 124, 246, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(46, 124, 246, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 17px;
  font-size: 13px;
  border-radius: 10px;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
main {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(var(--maxw), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 108px 0;
  position: relative;
  scroll-margin-top: 88px;
}

.section--tight {
  padding: 76px 0;
}

section[id],
div[id="top"] {
  scroll-margin-top: 88px;
}

.section-head {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.section-head--center .eyebrow::after {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lede {
  margin: 0;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 152px 0 72px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}

/* grid 子项默认 min-width:auto，会被内部固定宽度内容撑破，统一收敛 */
.hero__grid > *,
.deep > *,
.split > *,
.interact > *,
.download > *,
.gallery > *,
.features > *,
.stats__grid > * {
  min-width: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 13px 6px 7px;
  border-radius: 999px;
  border: 1px solid rgba(76, 194, 255, 0.24);
  background: rgba(76, 194, 255, 0.07);
  font-size: 12.5px;
  color: #bfe6ff;
  margin-bottom: 26px;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(76, 194, 255, 0.16);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.14;
  letter-spacing: -0.035em;
  font-weight: 750;
}

.hero h1 .grad {
  background: linear-gradient(105deg, #ffffff 12%, #9ad8ff 52%, #a99bff 92%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradFlow 11s ease-in-out infinite;
}

@keyframes gradFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__sub {
  margin: 0 0 34px;
  max-width: 548px;
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.85;
}

.nb {
  white-space: nowrap;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--text-3);
  font-size: 12.5px;
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

/* app window */
.showcase {
  position: relative;
  perspective: 1600px;
}

/* ------------------------------------------------------- workspace 展示卡 */
.ws-card {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, #0b1424 0%, #070c16 62%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 80px rgba(46, 124, 246, 0.12);
  overflow: hidden;
}

.ws-card__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ws-dots {
  display: flex;
  gap: 5px;
}

.ws-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2c3a52;
}

.ws-dots i:first-child {
  background: #ff5f57;
}

.ws-dots i:nth-child(2) {
  background: #ffbd2e;
}

.ws-dots i:nth-child(3) {
  background: #28c840;
}

.ws-card__title {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: #7d90a8;
}

.ws-card__open {
  width: 15px;
  height: 15px;
  color: #7d90a8;
}

.ws-card__body {
  display: flex;
  min-height: 326px;
}

.ws-rail {
  flex: none;
  width: 56px;
  padding: 14px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.ws-rail__logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ws-rail__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ws-rail__item {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #7286a0;
}

.ws-rail__item svg {
  width: 15px;
  height: 15px;
}

.ws-rail__item.is-on {
  background: rgba(255, 255, 255, 0.07);
  color: #cfe6ff;
}

.ws-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 28px;
  overflow: hidden;
}

.ws-stage__head {
  position: absolute;
  top: 14px;
  left: 18px;
  right: 18px;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: #5f7590;
}

.ws-stage__head b {
  font-weight: 500;
  color: #8fa6bf;
}

.ws-orbit {
  position: absolute;
  width: 246px;
  height: 246px;
  border: 1px dashed rgba(122, 190, 255, 0.2);
  border-radius: 50%;
}

.ws-orbit::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(122, 190, 255, 0.08);
}

.ws-phone {
  position: relative;
  z-index: 1;
  width: 132px;
  height: 262px;
  border-radius: 22px;
  border: 1px solid rgba(150, 200, 255, 0.3);
  background: linear-gradient(160deg, #102a44, #08131f);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.62), inset 0 0 34px rgba(46, 124, 246, 0.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.ws-phone__notch {
  position: absolute;
  top: 9px;
  width: 44px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.ws-phone__code {
  font-family: var(--mono);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, #7fdcff, #a99bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ws-phone__cap {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: #6e86a0;
}

.ws-phone__bar {
  width: 56px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.ws-phone__bar i {
  display: block;
  width: 55%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, #4cc2ff, #5b6cf9);
  animation: wsBar 4.2s ease-in-out infinite;
}

.ws-tag {
  position: absolute;
  top: 54%;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: #7d90a8;
}

.ws-tag--l {
  left: 7%;
}

.ws-tag--r {
  right: 5%;
}

.ws-dot {
  position: absolute;
  top: 59%;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(122, 190, 255, 0.5);
  border-radius: 50%;
}

.ws-dot--l {
  left: 23%;
}

.ws-dot--r {
  right: 21%;
}

.ws-card__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.ws-card__foot span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 8px;
  font-size: 11.5px;
  color: #9fb3c9;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.ws-card__foot span:first-child {
  border-left: 0;
}

.ws-card__foot svg {
  width: 14px;
  height: 14px;
  color: #7fb6e6;
}

.ws-card__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  font-size: 10.5px;
  color: #6d8299;
}

@keyframes wsBar {
  0%,
  100% {
    width: 55%;
  }
  50% {
    width: 84%;
  }
}

@keyframes rvSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rvFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

@keyframes rvPulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@keyframes rvBar {
  0%,
  100% {
    width: 58px;
  }
  50% {
    width: 86px;
  }
}

.window {
  position: relative;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #0b1220;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(46, 124, 246, 0.16);
  transform: rotateY(-5.5deg) rotateX(1.8deg) scale(1);
  transform-origin: center left;
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease);
}

.showcase:hover .window {
  transform: rotateY(-2deg) rotateX(1deg) scale(1);
  box-shadow: 0 46px 100px -18px rgba(0, 0, 0, 0.85), 0 0 100px rgba(46, 124, 246, 0.22);
}

.window__bar {
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 13px;
  background: linear-gradient(180deg, #101a2b, #0c1422);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.window__dots {
  display: flex;
  gap: 5px;
}

.window__dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2c3a52;
}

.window__dots i:first-child {
  background: #ff5f57;
}

.window__dots i:nth-child(2) {
  background: #ffbd2e;
}

.window__dots i:nth-child(3) {
  background: #28c840;
}

.window__url {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 10.5px;
  color: #64758f;
  letter-spacing: 0.03em;
}

.window img {
  width: 100%;
  height: auto;
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 178px;
  height: 58px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 16, 28, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  font-size: 12px;
  white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
}

.float-card b {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--text);
}

.float-card small {
  display: block;
  font-size: 10.5px;
  color: var(--text-3);
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.float-card__ico {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(76, 194, 255, 0.12);
  color: var(--accent);
}

.float-card > div {
  min-width: 0;
  overflow: hidden;
}

.float-card__ico svg {
  width: 16px;
  height: 16px;
}

.float-card--tl {
  top: -62px;
  left: -46px;
}

.float-card--br {
  right: -18px;
  bottom: -30px;
  animation-delay: -3.2s;
}

.float-card--br .float-card__ico {
  background: rgba(61, 220, 151, 0.12);
  color: var(--ok);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  padding: 30px 26px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__num {
  font-family: var(--mono);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.stat__num em {
  font-style: normal;
  font-size: 0.52em;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat__label {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-3);
}

.stat__sub {
  margin-top: 2px;
  font-size: 11px;
  color: #5d6d85;
  font-family: var(--mono);
}

/* ==========================================================================
   Feature cards
   ========================================================================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fcard {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s;
}

.fcard::after {
  content: "";
  position: absolute;
  inset: -40% 40% 60% -10%;
  background: radial-gradient(circle at 30% 30%, rgba(76, 194, 255, 0.18), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.fcard:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 194, 255, 0.32);
}

.fcard:hover::after {
  opacity: 1;
}

.fcard__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(150deg, rgba(76, 194, 255, 0.18), rgba(124, 92, 255, 0.1));
  border: 1px solid rgba(76, 194, 255, 0.2);
  color: #9adaff;
}

.fcard__ico svg {
  width: 20px;
  height: 20px;
}

.fcard h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  letter-spacing: -0.01em;
}

.fcard p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.fcard__tag {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--text-3);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Deep dive
   ========================================================================== */
.deep {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 62px;
  align-items: center;
  padding: 58px 0;
  border-top: 1px solid var(--line);
}

.deep:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* 视觉顺序：ROOT → EDL → ROM（DOM 顺序不变，仅重排） */
#deep .wrap {
  display: flex;
  flex-direction: column;
}

#deep .deep {
  border-top: 1px solid var(--line);
  padding: 58px 0;
}

#deep .deep--root {
  order: 1;
  border-top: 0;
  padding-top: 0;
}

#deep .deep--edl {
  order: 2;
}

#deep .deep--rom {
  order: 3;
}

.deep--flip {
  grid-template-columns: 1.08fr 0.92fr;
}

.deep--flip .deep__media {
  order: 2;
}

.deep--flip .deep__body {
  order: 1;
}

.deep__media {
  position: relative;
}

.shot-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0a111d;
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.85);
  cursor: zoom-in;
}

.shot-frame img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease);
}

.shot-frame:hover img {
  transform: scale(1.025);
}

.shot-frame::after {
  content: "点击查看大图";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(6, 10, 18, 0.8);
  border: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-2);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, transform 0.25s;
}

.shot-frame:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.deep__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}

.deep__label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(76, 194, 255, 0.12);
}

.deep h3 {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.5vw, 32px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.deep p {
  margin: 0 0 22px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.85;
}

.checks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 11px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  min-width: 0;
}

.checks li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.checks svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--ok);
}

.checks b {
  color: var(--text);
  font-weight: 600;
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec {
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}

.gitem {
  position: relative;
  margin: 0;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a111d;
  cursor: zoom-in;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.gitem:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 194, 255, 0.34);
}

.gitem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s var(--ease);
}

.gitem:hover img {
  transform: scale(1.03);
}

.gitem__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 16px 13px;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 14, 0.9));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gitem__cap strong {
  font-size: 13px;
  font-weight: 600;
}

.gitem__cap span {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

.gitem--7 {
  grid-column: span 7;
}

.gitem--5 {
  grid-column: span 5;
}

.gitem--6 {
  grid-column: span 6;
}

/* ==========================================================================
   Split panels (membership / community)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.panel h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.panel p {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.8;
}

.panel .shot-frame {
  margin-top: auto;
}

.tier-list {
  display: grid;
  gap: 10px;
}

.tier {
  display: grid;
  grid-template-columns: 78px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 13px;
  min-width: 0;
}

.tier span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.tier b {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.tier span {
  color: var(--text-2);
}

.tier em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
}

/* ==========================================================================
   Changelog
   ========================================================================== */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.tl-item:first-child {
  border-top: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: 149px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(76, 194, 255, 0.24), transparent);
}

.tl-meta {
  padding-right: 22px;
}

.tl-meta .v {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.tl-meta .v .live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
}

.tl-meta .d {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

.tl-body h4 {
  margin: 0 0 7px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.tl-body p {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.8;
}

.tl-item.is-current .tl-body h4::after {
  content: "最新";
  margin-left: 9px;
  padding: 2px 7px;
  border-radius: 5px;
  background: rgba(61, 220, 151, 0.12);
  color: var(--ok);
  font-size: 10px;
  font-weight: 600;
  vertical-align: 2px;
  letter-spacing: 0.05em;
}

.timeline__empty,
.list-empty {
  padding: 30px 0;
  color: var(--text-3);
  font-size: 13.5px;
}

/* ==========================================================================
   Interaction: feedback + vote
   ========================================================================== */
.interact {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 20px;
  align-items: stretch;
}

.interact > .card {
  display: flex;
  flex-direction: column;
}

.interact > .card .fb-list {
  flex: 1;
  max-height: none;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  padding: 28px;
}

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

.card__head h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.card__head p {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 151, 0.24);
  background: rgba(61, 220, 151, 0.07);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ok);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.live-tag.live-tag--wait {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-3);
}

.live-tag.live-tag--err {
  border-color: rgba(255, 120, 120, 0.28);
  background: rgba(255, 90, 90, 0.07);
  color: #ff9b9b;
}

.form {
  display: grid;
  gap: 12px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(4, 8, 15, 0.55);
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #5f7189;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(76, 194, 255, 0.5);
  background: rgba(4, 8, 15, 0.8);
}

.form__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.form__hint {
  font-size: 11.5px;
  color: var(--text-3);
}

.form__hint.is-error {
  color: #ff9b9b;
}

.form__hint.is-ok {
  color: var(--ok);
}

.fb-list {
  display: grid;
  gap: 10px;
  max-height: 372px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #26344a transparent;
}

.fb-list::-webkit-scrollbar {
  width: 6px;
}

.fb-list::-webkit-scrollbar-thumb {
  background: #26344a;
  border-radius: 6px;
}

.fb {
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.fb__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 6px;
}

.fb__avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(76, 194, 255, 0.3), rgba(124, 92, 255, 0.3));
  font-size: 11px;
  font-weight: 700;
  color: #dff2ff;
  flex: none;
}

.fb__name {
  font-size: 12.5px;
  font-weight: 600;
}

.fb__device {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-3);
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
}

.fb__time {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  color: #5d6d85;
}

.fb__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  word-break: break-word;
}

.vote-list {
  display: grid;
  gap: 9px;
}

.vote {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: border-color 0.22s, background 0.22s;
  width: 100%;
}

.vote:hover {
  border-color: rgba(76, 194, 255, 0.32);
  background: rgba(76, 194, 255, 0.04);
}

.vote__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, rgba(76, 194, 255, 0.16), rgba(124, 92, 255, 0.06));
  transition: width 0.7s var(--ease);
  pointer-events: none;
}

.vote__label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #c6d4e6;
}

.vote__label svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  opacity: 0.8;
}

.vote__count {
  position: relative;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vote__count b {
  color: var(--text);
  font-weight: 600;
  font-size: 12.5px;
}

.vote.is-voted {
  border-color: rgba(61, 220, 151, 0.3);
  background: rgba(61, 220, 151, 0.04);
  cursor: default;
}

.vote.is-voted .vote__label svg {
  color: var(--ok);
}

.vote__pct {
  min-width: 34px;
  text-align: right;
}

/* ==========================================================================
   Download
   ========================================================================== */
.download {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(76, 194, 255, 0.22);
  background: radial-gradient(ellipse 70% 130% at 18% 0%, rgba(46, 124, 246, 0.24), transparent 62%),
    radial-gradient(ellipse 60% 120% at 92% 100%, rgba(124, 92, 255, 0.18), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  padding: 46px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
}

.download::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 20% 0%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 80% 80% at 80% 20%, #000, transparent 70%);
  pointer-events: none;
}

.download > * {
  position: relative;
}

.download h2 {
  margin-bottom: 12px;
}

.download__intro {
  min-width: 0;
}

.download__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.download__hint {
  font-size: 12px;
  color: var(--text-3);
}

.download__intro .dl-btn {
  max-width: 320px;
}

/* 右侧：安装包信息卡 */
.download__info {
  min-width: 0;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(5, 10, 18, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dl-info__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.dl-info__head span {
  font-size: 13.5px;
  font-weight: 650;
}

.dl-info__head em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-style: normal;
  font-size: 11px;
  color: var(--ok);
}

.dl-info__head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.16);
}

.dl-info__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
}

.dl-info__row span {
  color: var(--text-3);
  white-space: nowrap;
}

.dl-info__row b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--text);
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl-info__note {
  margin: 14px 0 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--text-3);
}

.download__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-3);
}

.download__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.download__meta svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.download__side {
  display: grid;
  gap: 12px;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
  border-radius: 14px;
  border: 1px solid rgba(76, 194, 255, 0.3);
  background: linear-gradient(135deg, rgba(92, 203, 255, 0.96), rgba(46, 124, 246, 0.96));
  color: #03121f;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 16px 38px rgba(46, 124, 246, 0.3);
  transition: transform 0.24s var(--ease), box-shadow 0.24s;
  cursor: pointer;
  text-align: left;
}

.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(46, 124, 246, 0.42);
}

.dl-btn__ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(3, 18, 31, 0.14);
  flex: none;
}

.dl-btn__ico svg {
  width: 20px;
  height: 20px;
}

.dl-btn b {
  display: block;
  font-size: 14.5px;
  line-height: 1.35;
}

.dl-btn small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.72;
  font-family: var(--mono);
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.dl-stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(6, 11, 20, 0.5);
  font-size: 12px;
  color: var(--text-3);
}

.dl-stat b {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.dl-note {
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 52px 0 40px;
  background: linear-gradient(180deg, transparent, rgba(4, 8, 14, 0.8));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 38px;
}

.footer__brand p {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.8;
  max-width: 280px;
}

.footer h5 {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-3);
  font-weight: 600;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: #5d6d85;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Embedded app demo
   ========================================================================== */
.mini-shell {
  position: relative;
  border-radius: 16px;
}

.mini-host[data-mini="live"] {
  border-radius: 16px;
  box-shadow: 0 36px 90px -36px rgba(0, 0, 0, 0.92), 0 0 0 1px var(--line),
    0 0 80px rgba(46, 124, 246, 0.1);
}

.mini-host[data-mini="compact"] {
  background: #070d17;
}

.demo-hint {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--text-3);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  display: grid;
  gap: 10px;
  max-width: 880px;
}

.faq details {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  padding: 0 22px;
  transition: border-color 0.25s, background 0.25s;
}

.faq details[open] {
  border-color: rgba(76, 194, 255, 0.26);
  background: linear-gradient(160deg, rgba(76, 194, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 17px;
  color: var(--accent);
  line-height: 1;
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 0 0 18px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.85;
}

code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #cfe8ff;
}

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(3, 6, 12, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1300px, 92vw);
  max-height: 84vh;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}

.lightbox__cap {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-2);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 120;
  transform: translate(-50%, 20px);
  padding: 11px 20px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(10, 16, 28, 0.95);
  backdrop-filter: blur(12px);
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s, transform 0.28s var(--ease);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .showcase {
    max-width: 760px;
  }

  .window {
    transform: none;
  }

  .float-card--tl {
    left: -14px;
  }

  .float-card--br {
    right: -10px;
  }

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

  .deep,
  .deep--flip {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .deep--flip .deep__media,
  .deep--flip .deep__body {
    order: initial;
  }

  .interact,
  .split {
    grid-template-columns: 1fr;
  }

  .download {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .bg-aurora {
    filter: blur(58px);
    opacity: 0.52;
  }

  .bg-aurora .a1 {
    width: 92vw;
    height: 92vw;
  }

  .bg-aurora .a2 {
    width: 78vw;
    height: 78vw;
  }

  .bg-aurora .a3 {
    width: 68vw;
    height: 68vw;
  }

  .bg-net {
    opacity: 0.72;
  }

  .bg-beam {
    display: none;
  }

  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .ver-pill {
    display: none;
  }

  .section {
    padding: 78px 0;
  }

  .hero {
    padding: 128px 0 56px;
  }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    padding: 22px 18px;
  }

  .stat:nth-child(3) {
    border-left: 0;
    padding-left: 18px;
  }

  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .gitem--7,
  .gitem--5,
  .gitem--6 {
    grid-column: span 12;
  }

  .gallery {
    grid-auto-rows: auto;
  }

  .gitem img {
    position: static;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .tl-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }

  .tl-item::before {
    display: none;
  }

  .tl-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 0;
  }

  .tl-meta .d {
    margin-top: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 620px) {
  .wrap,
  .nav__inner {
    width: calc(100% - 32px);
  }

  .nav__inner {
    gap: 10px;
  }

  .nav__actions {
    gap: 8px;
  }

  .brand__text span {
    display: none;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 44px);
  }

  .hero__sub {
    font-size: 15px;
    max-width: 100%;
  }

  .hero__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
  }

  .btn {
    padding: 12px 19px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .download {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .panel {
    padding: 24px;
  }

  .card {
    padding: 22px;
  }

  .float-card {
    width: 150px;
    height: 50px;
    padding: 0 10px;
    gap: 8px;
    font-size: 11px;
  }

  .float-card__ico {
    width: 28px;
    height: 28px;
  }

  /* 窄屏没有外侧空间，两张卡片并排放在窗口上方，避免压住界面内容 */
  .float-card--tl {
    top: -46px;
    left: 0;
  }

  .float-card--br {
    top: -46px;
    right: 0;
    bottom: auto;
  }

  .lightbox {
    padding: 16px;
  }

  .footer__bottom {
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
