/* =========================================================
   Nerao 官网设计系统
   设计方向：秩序感 · 层次感 · 克制 · 纯正暗黑与暖橙微光
   结构：首屏智能下载 + 视窗 Showcase + 四大支柱 + Bento 矩阵 + 下载中心
   ========================================================= */

/* 1. Reset / 盒模型基线 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

*:focus,
*:focus-visible {
  outline: none;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  background: var(--canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  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 {
  font-family: inherit;
}

::selection {
  background: rgba(245, 139, 69, 0.35);
  color: #fff;
}

/* 2. 排版基线 */
h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mono {
  font-family: var(--font-mono);
}

/* 3. 语义变量系统（对齐客户端首页） */
:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", SFMono-Regular, Consolas, Menlo, monospace;

  /* 背景底色（深邃哑光深黑） */
  --canvas: #08090b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --surface-card: rgba(18, 22, 28, 0.7);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);

  /* 核心品牌色：暖橙（同客户端进度条、滑块主色） */
  --brand: #f58b45;
  --brand-hover: #ff9d5c;
  --brand-weak: rgba(245, 139, 69, 0.12);
  --brand-glow: rgba(245, 139, 69, 0.28);
  --on-brand: #08090b;

  /* 文字分层 */
  --text-strong: #ffffff;
  --text-primary: #e6ebf0;
  --text-secondary: #9aa5b5;
  --text-tertiary: #5e6978;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 32px var(--brand-glow);

  /* 布局尺寸 */
  --max: 1200px;
  --gutter: 28px;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --radius-full: 999px;
}

/* 4. 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--canvas);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 5. 顶栏导航 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  background: rgba(8, 9, 11, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 11, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  cursor: pointer;
  text-decoration: none;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.brand:hover .brand-logo {
  transform: scale(1.05);
  opacity: 0.95;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 13.5px;
  color: var(--text-secondary);
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.18s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #08090b;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.header-cta:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 139, 69, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.header-cta:hover .header-cta-icon {
  transform: translateY(1px);
}

.header-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header-cta-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

/* 6. 首屏 Hero 区域 */
.hero {
  position: relative;
  padding: 120px 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-radial-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 139, 69, 0.12) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 75%);
  filter: blur(60px);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(85% 70% at 50% 30%, #000 20%, transparent 85%);
  -webkit-mask-image: radial-gradient(85% 70% at 50% 30%, #000 20%, transparent 85%);
}

.spot {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 139, 69, 0.08), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 820px;
}

/* 版本号胶囊 */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 12.5px;
  margin-bottom: 26px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 139, 69, 0.3);
  transform: translateY(-1px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px var(--brand);
  flex-shrink: 0;
}

.badge-tag {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: var(--brand-weak);
  color: var(--brand);
  font-weight: 550;
}

.badge-arrow {
  width: 14px;
  height: 14px;
  color: var(--text-tertiary);
  transition: transform 0.2s ease, color 0.2s ease;
}

.hero-badge:hover .badge-arrow {
  color: #fff;
  transform: translateX(2px);
}

/* 标题渐变 */
.hero-title {
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-title-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 55%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin-top: 20px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 660px;
}

/* 智能主下载入口 CTA */
.hero-cta-group {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.smart-download-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 12px 30px;
  border-radius: var(--radius-full);
  background: var(--brand);
  color: #08090b;
  box-shadow: 0 4px 20px var(--brand-glow), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.btn-download:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 139, 69, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-download:active {
  transform: translateY(0);
}

.btn-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.btn-download-icon svg {
  width: 24px;
  height: 24px;
}

.btn-download-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.btn-download-title {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
}

.btn-download-sub {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
}

.hero-download-extras {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
  justify-content: center;
}

.extra-link {
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.extra-link:hover {
  color: #ffffff;
}

.extra-link.highlight {
  color: var(--brand);
}

.extra-link.highlight:hover {
  color: var(--brand-hover);
}

.dot-sep {
  opacity: 0.4;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-check {
  width: 13px;
  height: 13px;
  color: var(--brand);
}

/* 7. 橱窗切换标签与视窗 Showcase */
.showcase-tabs-bar {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 16px;
}

.showcase-tabs-bar::-webkit-scrollbar {
  display: none;
}

.showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  flex-shrink: 0;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.showcase-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.showcase-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-weight: 600;
}

.showcase-tab-icon {
  width: 14px;
  height: 14px;
  opacity: 0.8;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.showcase-tab.active .showcase-tab-icon {
  opacity: 1;
  color: var(--brand);
}

.workspace {
  margin: 20px auto 0;
  width: 100%;
  max-width: 1080px;
  position: relative;
  perspective: 1400px;
}

.workspace::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 15%;
  right: 15%;
  bottom: 5%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 139, 69, 0.14), transparent 70%);
  filter: blur(52px);
  z-index: 0;
  pointer-events: none;
}

.workspace-screen {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  background: #0d1014;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.4s ease;
}

.ws-view {
  position: relative;
  width: 100%;
  background-color: #0d1014;
}

.ws-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* 8. 核心指标条 */
.hero-stats {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.stat-num {
  font-size: 22px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
}

.stat-desc {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* 9. 通用 Section */
.shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.features-section {
  padding-top: 64px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.kicker {
  color: var(--brand);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 550;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--text-strong);
}

.section-sub {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* 10. 四大核心支柱 (Pillars) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pillar-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(245, 139, 69, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.pillar-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 18px;
  font-weight: 600;
}

.pillar-icon-wrap {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--brand-weak);
  color: var(--brand);
  margin-bottom: 20px;
}

.pillar-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.pillar-card h3 {
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 12px;
  line-height: 1.35;
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.pillar-bullets {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pillar-bullets li {
  font-size: 12.5px;
  color: var(--text-tertiary);
  display: flex;
  align-items: center;
}

.pillar-bullets li span {
  color: var(--text-secondary);
}

/* 11. Bento Grid 深度能力矩阵 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.bento-wide {
  grid-column: span 2;
}

.bento-tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 14px;
}

.bento-card h3 {
  font-size: 16.5px;
  font-weight: 650;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* 12. 全平台下载中心 Download Matrix */
.download-section {
  background: radial-gradient(800px 400px at 50% 10%, rgba(245, 139, 69, 0.08), transparent 70%), var(--canvas);
}

.download-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.download-inner .section-head {
  text-align: center;
  max-width: 600px;
}

.download-matrix {
  width: 100%;
  max-width: 820px;
  margin: 16px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.dl-card {
  position: relative;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.dl-card:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.dl-card-featured {
  background: rgba(245, 139, 69, 0.035);
  border-color: rgba(245, 139, 69, 0.4);
  box-shadow: 0 0 32px rgba(245, 139, 69, 0.1);
}

.dl-card-featured:hover {
  border-color: var(--brand);
  box-shadow: 0 0 40px rgba(245, 139, 69, 0.2);
}

.dl-badge-featured {
  position: absolute;
  top: -11px;
  right: 22px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background: var(--brand);
  color: #08090b;
}

.dl-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.dl-os-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  flex-shrink: 0;
}

.dl-os-icon svg {
  width: 24px;
  height: 24px;
}

.dl-header h3 {
  font-size: 17px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}

.arch-tag {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-weight: 500;
}

.dl-desc {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.dl-meta {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  color: var(--text-tertiary);
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 24px;
}

.dl-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.download-footer-note {
  margin-top: 48px;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.changelog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-weight: 500;
  transition: color 0.18s ease;
}

.changelog-link:hover {
  color: var(--brand-hover);
}

/* 按钮基类 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  background: none;
  color: var(--text-primary);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn-icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--brand);
  color: #08090b;
  box-shadow: 0 2px 10px rgba(245, 139, 69, 0.28);
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: #08090b;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-block {
  width: 100%;
  padding: 10px 16px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
}

/* 13. 页脚 */
.site-footer {
  background: #060708;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 72px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 56px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.footer-subtext {
  font-size: 12.5px;
  color: var(--text-tertiary);
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h5 {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-tertiary);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-inner a {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.footer-bottom-inner a:hover {
  color: var(--text-secondary);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 14. 滚动渐入动画 */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.4, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.4, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* 15. 响应式规则 */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .bento-wide {
    grid-column: span 1;
  }
}

@media (max-width: 840px) {
  .download-matrix {
    grid-template-columns: 1fr;
    max-width: 440px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-trust-row {
    flex-direction: column;
    gap: 8px;
  }

  .btn-download {
    width: 100%;
    justify-content: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* 16. 更新日志专用样式（保留与适配） */
.changelog-main {
  padding-top: 64px;
}

.changelog-hero {
  padding: 64px 0 40px;
}

.changelog-hero h1 {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
}

.changelog-list {
  padding: 0 0 100px;
}

.release-timeline {
  position: relative;
}

.release-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 48px;
  left: 144px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
  content: "";
}

.release-entry {
  position: relative;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 32px;
  padding: 0 0 48px;
}

.release-rail {
  position: relative;
  min-width: 0;
  padding-top: 3px;
  text-align: right;
}

.release-dot {
  position: absolute;
  top: 4px;
  right: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--canvas);
}

.release-version {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--brand);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.release-latest {
  padding: 3px 7px;
  border-radius: var(--radius-sm);
  background: var(--brand-weak);
  color: var(--brand);
  font-size: 11px;
}

.release-content {
  min-width: 0;
  padding: 26px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.release-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}

.release-header h2 {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 650;
}

.release-date {
  display: block;
  color: var(--text-tertiary);
  font-size: 12px;
  line-height: 1.4;
}

.release-body {
  min-width: 0;
  margin-top: 22px;
}

.release-items {
  display: grid;
}

.release-item {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-width: 0;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.release-item::before {
  flex: none;
  width: 5px;
  height: 5px;
  margin-top: calc((1.6em - 5px) / 2);
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.release-item:first-child {
  padding-top: 0;
}

.release-item:last-child {
  padding-bottom: 0;
  box-shadow: none;
}

.release-item-text {
  min-width: 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.release-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}

.release-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.release-tag {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-tertiary);
  font-size: 11px;
}

.release-link {
  color: var(--brand);
  font-size: 13px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.release-link:hover {
  color: var(--brand-hover);
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .release-timeline::before {
    top: 8px;
    bottom: 36px;
    left: 4px;
  }

  .release-entry {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0 0 36px 28px;
  }

  .release-rail {
    padding-top: 0;
    text-align: left;
  }

  .release-dot {
    top: 5px;
    right: auto;
    left: -28px;
  }

  .release-content {
    padding: 20px;
  }
}

/* 动效降级 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
