/* ============================================================
   弦予音乐 桌面版 官网样式
   设计语言：取自项目本体
   - 主色：#ec4141（项目红）  文字：#353A3E（项目深灰）
   - 毛玻璃 · 液态背景 · 沉浸式窗口
   ============================================================ */

: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;
}
/* 无 JS 时兜底：直接显示 */
.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:hover {
  transform: translateY(-3px);
  background: var(--accent-dark);
  box-shadow: 0 14px 36px rgba(236, 65, 65, 0.35);
}
.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; }

/* ====== 区块通用 ====== */
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 {
  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;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hero__platforms .dot { color: var(--border); }

/* ====== 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__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border-soft);
}
.window__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.window__dot--r { background: #ff5f57; }
.window__dot--y { background: #febc2e; }
.window__dot--g { background: #28c840; }
.window__title {
  margin-left: 12px;
  font-size: 12.5px;
  color: var(--text-3);
  font-weight: 500;
  letter-spacing: 0.3px;
}
.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 {
  animation: none;
}
/* 截图切换过渡动效 */
.showcase__stage .window__body {
  position: relative;
}
#showcaseImg {
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.2s ease;
}
#showcaseImg.is-fading {
  opacity: 0;
  transform: scale(0.985) translateY(6px);
  filter: blur(4px);
}

/* ====== 插件生态 ====== */
.plugins__grid {
  max-width: 980px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.plugin-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  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);
}
.plugin-card:hover {
  translate: 0 -6px;
  box-shadow: var(--shadow-hover);
  border-color: var(--border);
}
.plugin-card__badge {
  position: absolute;
  top: 24px; right: 24px;
  padding: 4px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}
.plugin-card__icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin-bottom: 22px;
  color: var(--accent);
}
.plugin-card__icon svg { width: 28px; height: 28px; }
.plugin-card h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent-2);
}
.plugin-card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.plugin-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.plugin-card__tags span {
  padding: 5px 12px;
  background: var(--bg-muted);
  color: var(--text-2);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* 插件流程 */
.plugins__flow {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.flow__step { text-align: center; }
.flow__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 2px;
  font-weight: 600;
}
.flow__text {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
}
.flow__arrow {
  font-size: 20px;
  color: var(--text-3);
  margin: 0 8px;
}

/* ====== 下载区 ====== */
.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-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(236, 65, 65, 0.10);
  color: var(--accent);
  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-badge,
.download__channel.no-url .download__channel-name {
  color: var(--text-2);
}

/* Toast 提示 */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(35, 38, 42, 0.95);
  color: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ====== 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 展开/收起平滑过渡（grid-rows 技巧，让 auto 高度可过渡） */
.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); }

/* ====== 响应式 ====== */
@media (max-width: 960px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .plugins__grid { grid-template-columns: 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%; }
  .plugin-card { padding: 28px 22px; }
  .plugin-card h3 { font-size: 19px; }
  .plugins__flow { padding: 20px 16px; gap: 8px; }
  .flow__arrow { margin: 0 2px; }
  .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; }
  .admin-login__card { padding: 22px 18px; }
}

/* ============================================================
   隐藏后台 · 登录弹窗
   ============================================================ */
.admin-login {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 20px;
}
.admin-login[hidden] { display: none; }
.admin-login__card {
  width: 360px;
  max-width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  animation: admin-pop 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes admin-pop {
  from { opacity: 0; transform: scale(0.94) translateY(8px); }
  to { opacity: 1; transform: none; }
}
.admin-login__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.admin-login__logo {
  width: 42px; height: 42px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}
.admin-login__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-2);
}
.admin-login__sub {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 2px;
}
.admin-login__close {
  margin-left: auto;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text-3);
  transition: all 0.2s ease;
}
.admin-login__close:hover {
  background: var(--bg-muted);
  color: var(--text);
}
.admin-login__form { display: flex; flex-direction: column; gap: 16px; }
.admin-login__error {
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.admin-login__submit { width: 100%; justify-content: center; }
.admin-login__submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   隐藏后台 · 管理页
   ============================================================ */
.admin-panel {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.admin-panel[hidden] { display: none; }
.admin-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.admin-panel__bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-2);
}
.admin-panel__logo {
  width: 30px; height: 30px;
  border-radius: 8px;
}
.admin-panel__bar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-panel__user {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 5px 14px;
}
.admin-panel__logout {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 6px 14px;
  transition: all 0.2s ease;
}
.admin-panel__logout:hover {
  background: var(--accent);
  color: #fff;
}
.admin-panel__close {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  color: var(--text-3);
  transition: all 0.2s ease;
}
.admin-panel__close:hover {
  background: var(--bg-muted);
  color: var(--text);
}
.admin-panel__body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.admin-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.admin-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-2);
}
.admin-card__hint {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: -10px;
}
.admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-field > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}
.admin-field input[type="text"],
.admin-field input[type="password"],
.admin-field textarea {
  width: 100%;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.admin-field input:focus,
.admin-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.admin-field textarea { resize: vertical; min-height: 72px; }
.admin-field__note {
  font-size: 12px;
  color: var(--text-3);
}
.admin-field--switch {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.admin-field--switch input[type="checkbox"] {
  width: 44px;
  height: 24px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}
.admin-field--switch input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.admin-field--switch input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}
.admin-field--switch input[type="checkbox"]:checked::after {
  transform: translateX(20px);
}
.admin-panel__actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 24px;
}
.admin-panel__actions .btn:disabled { opacity: 0.6; cursor: not-allowed; }

@media (max-width: 480px) {
  .admin-panel__bar { padding: 12px 16px; }
  .admin-panel__body { padding: 16px; }
  .admin-card { padding: 18px; }
  .admin-panel__user { display: none; }
}
