/* 猫耳鱼官网 · 首页（与客户端同一套视觉语言） */

body.home {
  /* 白天主题：浅灰底、白色面板，蓝色作为唯一强调色 */
  --bg: #f6f7f9;
  --bg-elevated: #ffffff;
  --bg-surface: #ffffff;
  --bg-soft: #f1f3f7;
  --border: #e2e6ed;
  --border-soft: #ebeff4;
  --text: #16181d;
  --muted: #5b6472;
  --dim: #6b7482;
  --accent: #2f6fed;
  --accent-soft: rgba(47, 111, 237, 0.09);
  --green: #16a34a;
  --purple: #7c5cf0;
  --amber: #d97706;
  --danger: #d1435b;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --titlebar-h: 40px;
  --rail-w: 48px;

  margin: 0;
  padding-top: 0;
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

body.home::before,
body.home::after { display: none; }

body.home ::selection { background: rgba(47, 111, 237, 0.42); color: #fff; }

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

.home .skip-link {
  position: fixed;
  top: -64px;
  left: 12px;
  z-index: 200;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  transition: top 0.2s ease;
}
.home .skip-link:focus { top: 8px; }

/* ---------- 标题栏 ---------- */
.titlebar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: var(--titlebar-h);
  padding: 0 10px 0 0;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  user-select: none;
}

.titlebar .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 12px;
}
.titlebar .brand-mark {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.titlebar .brand-name {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.titlebar .brand-sub {
  margin-left: 2px;
  padding-left: 10px;
  border-left: 1px solid var(--border);
  font-size: 10.5px;
  color: var(--dim);
  white-space: nowrap;
}

.title-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
}
.title-nav a {
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.title-nav a:hover { background: rgba(17, 24, 39, 0.04); color: var(--text); }
.title-nav a.active { background: var(--accent-soft); color: var(--accent); }

.title-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.title-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--dim);
  white-space: nowrap;
}
.title-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.8);
}

.title-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 600;
  transition: filter 0.15s ease;
}
.title-cta:hover { filter: brightness(1.12); }
.title-cta svg { width: 11px; height: 11px; }

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}
.nav-toggle svg { width: 16px; height: 16px; }

/* ---------- 左侧功能栏 ---------- */
.rail {
  position: fixed;
  top: var(--titlebar-h);
  left: 0;
  bottom: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: var(--rail-w);
  padding: 10px 0;
  border-right: 1px solid var(--border-soft);
  background: var(--bg-elevated);
  user-select: none;
}
.rail-top,
.rail-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.rail-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.rail-btn svg { width: 18px; height: 18px; }
.rail-btn:hover { background: var(--bg-surface); color: var(--text); }
.rail-btn.active { background: var(--accent-soft); color: var(--accent); }

.rail-btn[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  top: 50%;
  left: calc(100% + 10px);
  transform: translateY(-50%);
  z-index: 200;
  padding: 4px 8px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--bg-elevated);
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.12);
  font-size: 11px;
  line-height: 1.4;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.rail-btn[data-tip]:hover::after { opacity: 1; }

/* ---------- 工作区 ---------- */
.workspace {
  margin-left: var(--rail-w);
  padding: calc(var(--titlebar-h) + 16px) clamp(20px, 4vw, 52px) 0;
  min-height: calc(100vh - 160px);
}

.pathbar,
.hero,
.panel-section,
.start-panel {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pathbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 11px;
  color: var(--dim);
}
.pathbar .path-home { color: var(--muted); }
.pathbar .path-sep { color: var(--dim); }
.pathbar .path-meta {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 64vh, 600px);
  padding: clamp(44px, 7vh, 84px) 0 clamp(28px, 4vh, 44px);
  text-align: center;
  scroll-margin-top: calc(var(--titlebar-h) + 24px);
}

/* 细网格 + 中心光斑：给纯色背景一点纹理，不抢标题 */
.hero::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: min(100%, 1280px);
  height: 560px;
  transform: translateX(-50%);
  background-image:
    linear-gradient(to right, rgba(17, 24, 39, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 24, 39, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 58% 68% at 50% 38%, #000 18%, transparent 72%);
  mask-image: radial-gradient(ellipse 58% 68% at 50% 38%, #000 18%, transparent 72%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  width: min(760px, 90%);
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(47, 111, 237, 0.13), rgba(124, 92, 240, 0.05) 45%, transparent 70%);
  filter: blur(18px);
  animation: hero-breathe 7s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-breathe {
  0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

/* 标题上方的品牌标记 */
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}
.hero-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(47, 111, 237, 0.24);
}
.hero-brand span {
  margin-right: -0.24em;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero h1 {
  position: relative;
  isolation: isolate;
  margin: 0;
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 400;
  line-height: 1.26;
  letter-spacing: 0.04em;
  color: var(--text);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}
.hero h1 span {
  color: var(--muted);
  transition: color 0.25s ease;
}
/* 跟随指针的柔光，压在字后面 */
.hero h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 300px;
  height: 300px;
  transform: translate3d(var(--hx, 0px), var(--hy, 0px), 0) translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.16), rgba(47, 111, 237, 0.05) 46%, transparent 72%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.hero h1:hover::before { opacity: 1; }
.hero h1:hover span { color: var(--accent); }

.hero-lead {
  max-width: none;
  margin: 20px 0 30px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
  white-space: nowrap;
}

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

/* 下载按钮下方的安装包体积与系统提示 */
.hero-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--dim);
  text-align: center;
}

/* 首屏规格条：把形态、状态与界面语言摊开写，像产品参数而不是宣传语 */
.hero-spec {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin: 38px 0 0;
  padding: 0;
  border: 0;
}
.hero-spec div {
  padding: 0 clamp(14px, 2vw, 26px);
  border-left: 1px solid var(--border-soft);
  text-align: left;
}
.hero-spec div:first-child { border-left: 0; padding-left: 0; }
.hero-spec div:last-child { padding-right: 0; }
.hero-spec dt {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--dim);
}
.hero-spec dd {
  margin: 5px 0 0;
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 44px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease,
    background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.app-btn svg { width: 14px; height: 14px; }
.app-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 20px rgba(47, 111, 237, 0.26); }
.app-btn.primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 10px 28px rgba(47, 111, 237, 0.4);
  filter: brightness(1.06);
}
.app-btn.ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.app-btn.ghost:hover { transform: translateY(-1px); border-color: var(--accent); color: var(--accent); }

/* 首屏主按钮：Windows 客户端（双行）+ 网页版（强调描边），当前均为开发中状态 */
.app-btn.download {
  height: 54px;
  padding: 0 24px 0 20px;
  border-radius: 14px;
  gap: 12px;
  text-align: left;
}
.app-btn.download .win-mark { width: 20px; height: 20px; flex: 0 0 auto; }
.app-btn.download .btn-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}
.app-btn.download .btn-stack strong { font-size: 14px; font-weight: 600; letter-spacing: 0.01em; }
.app-btn.download .btn-stack small {
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.app-btn.web {
  height: 54px;
  padding: 0 24px;
  border-radius: 14px;
  border-color: rgba(47, 111, 237, 0.45);
  background: rgba(47, 111, 237, 0.07);
  color: var(--accent);
}
.app-btn.web:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(47, 111, 237, 0.13);
  box-shadow: 0 8px 22px rgba(47, 111, 237, 0.18);
}
.app-btn.ghost.subtle {
  height: 54px;
  padding: 0 18px;
  border-radius: 14px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  backdrop-filter: none;
}
.app-btn.ghost.subtle:hover {
  color: var(--accent);
  background: rgba(47, 111, 237, 0.07);
  border-color: transparent;
}
.app-btn.disabled,
.app-btn[disabled] {
  background: var(--bg-soft);
  border-color: var(--border-soft);
  color: var(--dim);
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------- 区块框架 ---------- */
.panel-section {
  padding-top: 52px;
  margin-top: 52px;
  border-top: 1px solid var(--border-soft);
  scroll-margin-top: calc(var(--titlebar-h) + 24px);
}

.section-head {
  display: block;
  max-width: none;
  margin-bottom: 26px;
}

.section-titles { min-width: 0; }
.section-titles h2 {
  margin: 10px 0 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--text);
}
.section-titles p {
  max-width: 56ch;
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.85;
  color: var(--muted);
}
.section-index {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
  white-space: nowrap;
}
.section-index.tone-blue { color: #2560d8; }
.section-index.tone-green { color: #15803d; }
.section-index.tone-purple { color: #6d4bd8; }

/* ---------- 入口 ---------- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.access-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.access-panel.live { border-color: rgba(47, 111, 237, 0.38); }
.access-panel.live::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 2px;
  background: var(--accent);
}
.access-panel.live:hover { transform: translateY(-2px); border-color: var(--accent); }
.access-panel.soon { background: var(--bg-soft); }
.access-panel.soon:hover { transform: translateY(-2px); border-color: var(--border); }

.access-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.access-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--dim);
}
.access-icon svg { width: 18px; height: 18px; }
.access-panel.live .access-icon {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(47, 111, 237, 0.25);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.02em;
}
.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.live {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.24);
  color: var(--green);
}
.status.soon {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--dim);
}

.access-panel h3 {
  margin: 0 0 7px;
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
}
.access-panel p {
  flex: 1;
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.access-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.access-url {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--dim);
  overflow-wrap: anywhere;
}
.access-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
  font-size: 10px;
  color: var(--dim);
}
.access-foot span + span::before {
  content: "·";
  margin-right: 12px;
  color: var(--border);
}

/* ---------- 功能清单 ---------- */
.cap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.cap-list li {
  display: grid;
  grid-template-columns: 48px minmax(180px, 240px) minmax(0, 1fr);
  grid-template-areas: "no title desc";
  column-gap: 22px;
  align-items: baseline;
  padding: 22px 12px;
  border-bottom: 1px solid var(--border-soft);
  transition: background 0.15s ease;
}
.cap-list li:hover { background: var(--bg-soft); }
.cap-no {
  grid-area: no;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--dim);
}
.cap-list li:hover .cap-no { color: var(--accent); }
.cap-list h3 {
  grid-area: title;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.cap-list h3 em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  font-weight: 400;
  color: var(--dim);
  vertical-align: 2px;
  white-space: nowrap;
}
.cap-list p {
  grid-area: desc;
  margin: 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 对比 ---------- */
.compare-panel {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.compare-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--bg-soft);
  font-size: 11px;
  color: var(--muted);
}
.compare-toolbar span:last-child {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.compare-table th {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  color: var(--dim);
}
.compare-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-soft);
  color: var(--muted);
}
.compare-table tbody tr { transition: background 0.15s ease; }
.compare-table tbody tr:hover { background: rgba(17, 24, 39, 0.025); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { color: var(--text); }
.compare-table .col-web { color: var(--text); }
.compare-table .col-web.dim { color: var(--dim); }
.compare-table .col-pc { color: var(--muted); }

.compare-note {
  margin: 0;
  padding: 11px 16px;
  border-top: 1px solid var(--border-soft);
  font-size: 10px;
  line-height: 1.7;
  color: var(--dim);
}
.compare-note a { color: var(--accent); }
.compare-note a:hover { text-decoration: underline; }

/* ---------- 开始 ---------- */
.start-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-top: 52px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  overflow: hidden;
}
.start-panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--accent);
}
.start-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.start-kicker i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.start-copy h2 {
  margin: 10px 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.start-copy p { margin: 0; font-size: 12px; color: var(--muted); }

.start-action { display: flex; justify-content: flex-end; }

/* ---------- 页脚 ---------- */
.site-footer {
  margin-top: 44px;
  margin-left: var(--rail-w);
  border-top: 1px solid var(--border-soft);
  background: var(--bg-elevated);
}
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 28px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 52px) 24px;
}
.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .brand-mark { width: 20px; height: 20px; border-radius: 50%; }
.footer-brand .brand-name { font-size: 12.5px; font-weight: 600; }
.footer-brand p {
  max-width: 300px;
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--dim);
}
.footer-col h4 {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--dim);
}
.footer-col a,
.footer-col span {
  display: block;
  width: fit-content;
  margin-bottom: 7px;
  font-size: 11px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--accent); }
.footer-status { display: inline-flex !important; align-items: center; gap: 6px; }
.footer-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 5px rgba(74, 222, 128, 0.75);
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 13px clamp(20px, 4vw, 52px) 15px;
  border-top: 1px solid var(--border-soft);
  font-size: 10px;
  color: var(--dim);
}
.footer-filings { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.footer-filings a { display: inline-flex; align-items: center; gap: 4px; color: var(--dim); }
.footer-filings a:hover { color: var(--muted); }
.footer-filings img { width: 12px; height: 12px; }

/* ---------- 入场动画 ---------- */
.js .reveal { opacity: 0; }
.js .reveal.is-in {
  animation: reveal-in 0.55s cubic-bezier(0.22, 0.7, 0.3, 1) both;
  animation-delay: var(--reveal-delay, 0ms);
}
@keyframes reveal-in {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1120px) {
  .cap-list li { grid-template-columns: 40px minmax(140px, 180px) minmax(0, 1fr); column-gap: 14px; }
}

@media (max-width: 980px) {
  body.home { --titlebar-h: 52px; }
  .rail { display: none; }
  .workspace { margin-left: 0; padding: calc(var(--titlebar-h) + 14px) 20px 0; }
  .site-footer { margin-left: 0; }
  .titlebar { padding-right: 12px; }
  .title-nav {
    position: fixed;
    top: 58px;
    left: 10px;
    right: 10px;
    transform: none;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 120;
  }
  .title-nav.open { display: flex; }
  .title-nav a { padding: 9px 11px; border-radius: var(--radius-sm); }
  .nav-toggle { display: grid; width: 36px; height: 36px; }
  .title-status { display: none; }
  .hero { min-height: 0; padding: 36px 0 24px; }
  .hero-copy { max-width: 680px; }
  .hero h1 { font-size: clamp(34px, 7vw, 52px); }
  .hero-spec div { padding: 0 14px; }
}

@media (max-width: 760px) {
  .pathbar .path-meta { display: none; }
  .access-grid { grid-template-columns: 1fr; }
  .cap-list li {
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-areas: "no title" "no desc";
    row-gap: 5px;
  }
  .cap-list p { font-size: 11.5px; line-height: 1.8; }
  .start-panel { grid-template-columns: 1fr; gap: 18px; padding: 22px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 22px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body.home { --titlebar-h: 50px; }
  .titlebar .brand-sub { display: none; }
  .title-cta { height: 24px; padding: 0 9px; font-size: 10.5px; }
  .workspace { padding: calc(var(--titlebar-h) + 12px) 14px 0; }
  .hero { padding: 26px 0 18px; }
  .hero h1 { font-size: 30px; margin: 0; }
  .hero-lead { font-size: 12.5px; white-space: normal; }
  .hero-actions .app-btn { flex: 1 1 auto; }

  .section-titles h2 { font-size: 17px; }
  .section-titles p { font-size: 11px; }
  .cap-list li { padding: 14px 4px; }
  .access-panel { padding: 18px; }
  .access-panel h3 { font-size: 17px; }

  .compare-toolbar { height: 34px; padding: 0 12px; }
  .compare-table thead { display: none; }
  .compare-table {
    min-width: 0;
    width: 100%;
  }
  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td { display: block; }
  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-soft);
  }
  .compare-table tbody tr:hover { background: transparent; }
  .compare-table td { padding: 0; border: 0; font-size: 11px; }
  .compare-table td:first-child {
    grid-column: 1 / -1;
    margin-bottom: 3px;
    font-size: 11.5px;
    font-weight: 600;
  }
  .compare-table td:nth-child(2)::before,
  .compare-table td:nth-child(3)::before {
    display: block;
    margin-bottom: 1px;
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: 0.06em;
    color: var(--dim);
  }
  .compare-table td:nth-child(2)::before { content: "网页版"; }
  .compare-table td:nth-child(3)::before { content: "WINDOWS"; }
  .compare-note { padding: 10px 12px; }

  .start-action { justify-content: flex-start; }

  .footer-main { grid-template-columns: 1fr 1fr; padding-left: 16px; padding-right: 16px; }
  .footer-bar { flex-direction: column; align-items: flex-start; padding-left: 16px; padding-right: 16px; }
}

/* ---------- 栏位切换：滚动到哪一栏，就只留哪一栏 ---------- */
body.home.scene-ready .workspace > [data-scene] {
  min-height: calc(100vh - var(--titlebar-h) - 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- 鼠标停留 ---------- */
@media (hover: hover) {
  body.home [data-scene] .section-titles h2 {
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  body.home [data-scene]:hover .section-titles h2 { transform: translateX(6px); }

  body.home [data-scene] .section-index { transition: letter-spacing 0.35s ease; }
  body.home [data-scene]:hover .section-index { letter-spacing: 0.26em; }

  body.home .compare-panel {
    transition: border-color 0.3s ease, box-shadow 0.4s ease;
  }
  body.home [data-scene]:hover .compare-panel {
    border-color: rgba(47, 111, 237, 0.34);
    box-shadow: 0 20px 44px rgba(17, 24, 39, 0.09);
  }

  body.home .cap-no { transition: color 0.2s ease; }
  body.home .cap-list li:hover .cap-no { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; }
  .js .reveal.is-in { animation: none; }
  .access-panel,
  .cap-list li,
  .app-btn { transition: none; }
}
