:root {
  --accent: #ec4141;
  --accent-dark: #d63333;
  --accent-soft: rgba(236, 65, 65, 0.08);
  --accent-2: #353A3E;

  --bg: #ffffff;
  --bg-soft: #f9fafb;
  --bg-muted: #f3f4f6;
  --card: #ffffff;

  --text: #353A3E;
  --text-2: #6b7280;
  --text-3: #9ca3af;

  --border: #e5e7eb;
  --border-soft: #f0f1f3;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --font-display: 'Noto Serif SC', 'Songti SC', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'SF Mono', 'JetBrains Mono', Consolas, monospace;

  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 24px 64px rgba(15, 23, 42, 0.14);
  --shadow-accent: 0 8px 28px rgba(236, 65, 65, 0.25);
}

/* ====== Reset ====== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ====== 滚动渐入动画 ====== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ====== 导航栏 ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-soft);
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.nav__name {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.3px;
  color: var(--accent-2);
}
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  position: relative;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__github {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  color: var(--text-2);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.nav__github:hover {
  background: var(--bg-muted);
  color: var(--text);
  transform: translateY(-2px);
}
.nav__cta {
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.nav__cta:hover {
  transform: translateY(-2px);
  background: var(--accent-dark);
  box-shadow: var(--shadow-accent);
}
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: 0 24px 16px;
  gap: 8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-soft);
}
.nav__mobile.active { display: flex; }
.nav__mobile a {
  padding: 12px 0;
  font-size: 15px;
  color: var(--text-2);
  border-bottom: 1px solid var(--border-soft);
}
.nav__mobile-github { color: var(--accent) !important; font-weight: 600; }

/* ====== 通用按钮 ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease;
  cursor: pointer;
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn--primary:hover {
  transform: translateY(-3px);
  background: var(--accent-dark);
  box-shadow: 0 14px 36px rgba(236, 65, 65, 0.35);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}
.btn--large { padding: 16px 36px; font-size: 16px; }
#storeLink[hidden] { display: none; }

/* ====== 区块通用 ====== */
section { padding: 100px 24px; position: relative; }
.section__head { max-width: 1180px; margin: 0 auto 64px; }
.section__head--center { text-align: center; }
.section__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 100px;
  margin-bottom: 20px;
  font-weight: 600;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--accent-2);
}
.section__title em,
.mobile-shots-head h3 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.section__lead {
  margin-top: 20px;
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ====== Hero ====== */
.hero {
  min-height: 100vh;
  padding: 130px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffb59a 0%, #ffc8b0 25%, #ffd9c8 50%, #ffe5dd 75%, #fff3ed 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: blob-float 14s ease-in-out infinite;
}
.hero__blob--1 {
  width: 520px; height: 520px;
  background: var(--accent);
  top: -140px; left: -90px;
}
.hero__blob--2 {
  width: 480px; height: 480px;
  background: #ff8364;
  bottom: -110px; right: -70px;
  animation-delay: -7s;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(70px, -50px) scale(1.12); }
  50%      { transform: translate(-40px, 60px) scale(0.90); }
  75%      { transform: translate(50px, 40px) scale(1.05); }
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.5) 0%, transparent 45%),
              radial-gradient(circle at 75% 80%, rgba(255,255,255,0.35) 0%, transparent 40%);
  animation: blob-breathe 10s ease-in-out infinite;
}
@keyframes blob-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}
.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 40s linear infinite;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
@keyframes grid-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 48px 48px; }
}
.hero__inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(236, 65, 65, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(236, 65, 65, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(236, 65, 65, 0); }
  100% { box-shadow: 0 0 0 0 rgba(236, 65, 65, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
  color: var(--accent-2);
}
.hero__title-accent {
  color: var(--accent);
  font-weight: 600;
  position: relative;
}
.hero__title-accent::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 4px;
  transform: translateX(-50%);
  width: 40%; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.85;
}
.hero__desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.hero__platforms {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ====== Hero 主截图 ====== */
.hero__shot {
  max-width: 1040px;
  margin: 64px auto 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ====== 窗口外框（macOS 风） ====== */
.window {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.window:hover {
  transform: translateY(-4px);
}
.window__body {
  background: transparent;
  line-height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.window__body img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.004);
}

/* ====== 功能展示 ====== */
.features__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}
.card__icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--accent);
  transition: background 0.35s ease, transform 0.35s ease, color 0.35s ease;
}
.card__icon svg { width: 24px; height: 24px; }
.card:hover .card__icon {
  background: var(--accent);
  color: #fff;
  transform: scale(1.05);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--accent-2);
}
.card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}

/* ====== 界面展示 ====== */
.showcase { background: var(--bg-soft); }
.showcase__wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.showcase__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.showcase__tab {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--card);
  border: 1px solid var(--border-soft);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.showcase__tab:hover {
  color: var(--text);
  border-color: var(--border);
  transform: translateY(-2px);
}
.showcase__tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-accent);
}
.showcase__stage {
  margin-bottom: 28px;
  position: relative;
}
.showcase__stage .window__body {
  position: relative;
}
.showcase__img {
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.2s ease;
}
.showcase__img.is-fading {
  opacity: 0;
  transform: scale(0.985) translateY(6px);
  filter: blur(4px);
}
.showcase__img-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.012);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}
.showcase__img-overlay.is-in {
  opacity: 1;
  transform: scale(1);
}

/* ====== 移动端/腕上端界面展示 ====== */
.mobile-shots-head {
  max-width: 1180px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.mobile-shots-head .section__tag { margin-bottom: 16px; }
.mobile-shots-head h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--accent-2);
}
.mobile-shots-head p {
  margin-top: 10px;
  max-width: 520px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}
.mobile-shots-head--gap { margin-top: 56px; }

/* 手机样机舞台（移动端 / 腕上端展示区） */
.phone {
  width: 216px;
  margin: 0;
  transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.phone:hover { translate: 0 -6px; }
.phone__screen {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 26px;
  padding: 6px;
  line-height: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.phone:hover .phone__screen {
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}
.phone__screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}
/* 固定屏幕比例：切换标签新图未解码时壳不塌陷 */
.showcase__stage--phone .phone__screen img { aspect-ratio: 1280 / 2800; object-fit: cover; }
.showcase__stage--phone .phone--land .phone__screen img { aspect-ratio: 2800 / 1280; }
.showcase__stage--square .phone__screen img { aspect-ratio: 1; object-fit: cover; }
.phone--land { width: 258px; }
.phone--land .phone__screen { border-radius: 20px; padding: 5px; }
.phone--land .phone__screen img { border-radius: 15px; }
.showcase__stage--phone {
  display: flex;
  justify-content: center;
}
.showcase__stage--phone .phone { width: 500px; }
.showcase__stage--phone .phone:hover { translate: none; }
.showcase__stage--phone .phone--land { width: 1080px; }
.showcase__stage--square .phone { width: 440px; }
.phone__screen .showcase__img-overlay { border-radius: 20px; }
.phone--land .phone__screen .showcase__img-overlay { border-radius: 15px; }
@media (max-width: 760px) {
  .phone { width: min(76vw, 500px); }
  .showcase__stage--square .phone { width: min(88vw, 440px); }
  .showcase__stage--phone .phone--land { width: 100%; }
  .mobile-shots-head { margin-bottom: 22px; }
  .mobile-shots-head--gap { margin-top: 40px; }
}

/* ====== 主页平台入口 / 子页 Hero / 导航当前页 ====== */
.nav__links a.active { color: var(--text); }
.nav__links a.active::after { width: 100%; }

.hero--sub { min-height: auto; padding: 150px 24px 30px; }
.hero--sub .hero__title {
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -1px;
  margin-bottom: 22px;
}
.hero--sub .hero__desc { font-size: 16px; }

.platforms { padding: 110px 24px 90px; }
.platforms__grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.platform-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease,
              opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.platform-card:hover {
  translate: 0 -8px;
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}
.platform-card__shot {
  display: block;
  height: 250px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
}
.platform-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: scale 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.platform-card:hover .platform-card__shot img { scale: 1.03; }
.platform-card__shot--contain img {
  object-fit: contain;
  object-position: center;
}
.platform-card__body {
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.platform-card__badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 12px;
  border-radius: 999px;
}
.platform-card__body h3 { font-size: 22px; font-weight: 700; }
.platform-card__body p { font-size: 14.5px; color: var(--text-2); line-height: 1.7; }
.platform-card__actions { display: flex; gap: 14px; margin-top: auto; padding-top: 10px; }
.platforms__soon {
  text-align: center;
  margin-top: 30px;
  font-size: 13.5px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
@media (max-width: 860px) {
  .platforms__grid { grid-template-columns: 1fr; max-width: 460px; }
  .platform-card__shot { height: 220px; }
}

/* ====== 下载区 ====== */
.download__card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: translate 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease,
              opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.download__card:hover {
  translate: 0 -4px;
  box-shadow: var(--shadow-lg);
}
.download__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.download__logo {
  width: 56px; height: 56px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.download__name {
  font-size: 20px;
  font-weight: 600;
  color: var(--accent-2);
}
.download__ver {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
}
.download__meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-bottom: 32px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.download__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.download__meta-key {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 1px;
}
.download__meta-val {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-2);
}
.download__btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.download__more {
  margin-top: 22px;
  border-top: 1px solid var(--border-soft);
  padding-top: 16px;
}
.download__more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto;
  padding: 8px 14px;
  border: none;
  background: var(--bg-soft);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.download__more-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-1px);
}
.download__more-toggle .download__more-icon {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.download__more.is-open .download__more-icon {
  transform: rotate(180deg);
}
.download__channels {
  display: grid;
  margin-top: 16px;
  grid-template-rows: 0fr;
  opacity: 0;
  overflow: hidden;
  transition: grid-template-rows 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.3s ease,
              margin 0.35s ease;
}
.download__more.is-open .download__channels {
  grid-template-rows: 1fr;
  opacity: 1;
}
.download__channels-inner {
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.download__channel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--bg-soft);
  text-decoration: none;
  color: var(--accent-2);
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease, translate 0.2s ease, box-shadow 0.2s ease;
}
.download__channel:hover {
  border-color: rgba(236, 65, 65, 0.25);
  background: var(--accent-soft);
  translate: 0 -1px;
  box-shadow: var(--shadow-sm);
}
.download__channel.is-cur {
  border-color: rgba(236, 65, 65, 0.35);
  background: var(--accent-soft);
}
.download__channel.no-url {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.download__channel-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.download__channel-name {
  font-size: 14.5px;
  font-weight: 600;
  white-space: nowrap;
}
.download__channel-cur {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
}
.download__channel-ver {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
  white-space: nowrap;
}
.download__channel.no-url .download__channel-ver {
  color: var(--text-3);
}
.download__channel.no-url .download__channel-name {
  color: var(--text-2);
}

/* ====== FAQ ====== */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
              opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq__item[open] {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--accent-2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--text-3);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq__item p {
  padding: 0 0 20px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
}
.faq__item p {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  padding: 0 0 0 0;
  transform: translateY(-6px);
  transition: grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq__item[open] p {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: none;
  padding: 0 0 20px;
}

/* ====== 页脚 ====== */
.footer {
  padding: 56px 24px 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__logo {
  width: 40px; height: 40px;
  border-radius: 10px;
}
.footer__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
}
.footer__slogan {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.footer__copy { text-align: right; }
.footer__github {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 8px;
  transition: color 0.25s ease;
}
.footer__github:hover { color: var(--accent); }
.footer__copy p {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.8;
}
.footer__note { color: var(--text-3); }
.footer__privacy { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer__privacy:hover { color: var(--accent); }

/* ====== 响应式 ====== */
@media (max-width: 960px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__copy { text-align: center; }
  .footer__github { justify-content: center; }
  .section__head { margin-bottom: 48px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 12px 16px; }
  .nav__mobile { padding: 0 20px 12px; }
  section { padding: 64px 20px; }
  .hero { padding: 112px 20px 56px; min-height: auto; }
  .hero__title { font-size: 44px; margin-bottom: 22px; }
  .hero__desc { font-size: 15.5px; margin-bottom: 32px; }
  .hero__badge { margin-bottom: 24px; font-size: 12.5px; padding: 7px 14px; }
  .hero__shot { margin-top: 48px; }
  .hero__blob--1 { width: 320px; height: 320px; top: -80px; left: -90px; }
  .hero__blob--2 { width: 300px; height: 300px; bottom: -60px; right: -80px; }
  .window__body { border-radius: var(--radius); }
  .nav__mobile a { padding: 13px 0; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 22px; }
  .section__head { margin-bottom: 40px; }
  .section__title { font-size: 30px; }
  .section__lead { font-size: 15px; margin-top: 16px; }
  .showcase__tabs { gap: 6px; margin-bottom: 24px; flex-wrap: nowrap; overflow-x: auto;
    justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .showcase__tabs::-webkit-scrollbar { display: none; }
  .showcase__tab { flex: 0 0 auto; padding: 8px 14px; font-size: 12.5px; }
  .showcase__stage { margin-bottom: 20px; }
  .showcase__stage .window__body { aspect-ratio: 16 / 10; }
  .showcase__stage .window__body img { object-fit: cover; height: 100%; }
  .download__card { padding: 32px 20px; }
  .download__info { flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .download__meta { gap: 16px; padding: 20px 0 24px; margin-bottom: 24px; }
  .download__btns { flex-direction: column; width: 100%; }
  .download__btns .btn { width: 100%; justify-content: center; }
  .faq__list { gap: 10px; }
  .faq__item { padding: 0 18px; }
  .faq__item summary { font-size: 14.5px; padding: 15px 0; }
  .faq__item p { font-size: 14px; line-height: 1.7; }
  .footer { padding: 48px 20px 36px; }
  .footer__slogan { font-size: 11.5px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 38px; }
  .hero__desc { font-size: 15px; }
  .section__title { font-size: 26px; }
  .showcase__tab { padding: 8px 12px; }
  .card__icon { width: 44px; height: 44px; }
  .download__logo { width: 48px; height: 48px; }
  .download__name { font-size: 18px; }
  .download__ver { font-size: 12px; }
  .download__meta-item { gap: 4px; }
  .download__meta-key { font-size: 11px; }
  .download__meta-val { font-size: 13.5px; }
  .download__btns .btn--large { padding: 14px 20px; font-size: 15px; }
  .hero__title { letter-spacing: -0.8px; }
}

/* ====== 超小屏（iPhone SE 等窄机） ====== */
@media (max-width: 360px) {
  section { padding: 56px 14px; }
  .hero { padding: 100px 14px 48px; }
  .hero__title { font-size: 34px; }
  .hero__desc { font-size: 14.5px; }
  .card { padding: 22px 18px; }
  .section__title { font-size: 24px; }
  .download__card { padding: 26px 16px; }
  .download__meta { gap: 12px; }
  .footer { padding: 44px 14px 32px; }
}

/* ====== 语言切换 ====== */
.lang-switch { position: relative; display: flex; align-items: center; }
.lang-switch__btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--text); transition: color .2s, background .2s; }
.lang-switch__btn:hover { color: var(--accent); background: var(--accent-soft); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 160px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 1001; }
.lang-switch.open .lang-menu { display: block; animation: langMenuIn .18s ease; }
@keyframes langMenuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-menu__item { display: block; width: 100%; text-align: left; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--text); white-space: nowrap; }
.lang-menu__item:hover { background: var(--bg-muted); }
.lang-menu__item.active { color: var(--accent); background: var(--accent-soft); font-weight: 600; }
.nav__mobile-lang { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--border-soft); }
.lang-switch--inline { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-switch--inline .lang-menu__item { width: auto; padding: 7px 14px; border-radius: 999px; background: var(--bg-muted); font-size: 14px; }
.lang-switch--inline .lang-menu__item.active { background: var(--accent-soft); }
