/* ============================================================
   Rainmeter 官方推广网站 - 共享样式表
   配色：主色蓝 #2A6D9B / 辅色橙 #E09028 / 浅灰背景 #F5F7FA
   风格：扁平 / 现代 / 专业
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --brand-primary: #2A6D9B;
  --brand-primary-dark: #1F5478;
  --brand-primary-light: #4A8DBB;
  --brand-accent: #E09028;
  --brand-accent-dark: #B8731E;
  --brand-accent-light: #F0A848;

  --bg-page: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-section: #FFFFFF;
  --bg-section-alt: #EEF3F8;
  --bg-dark: #0F1E2C;

  --text-primary: #1A2B3C;
  --text-secondary: #4A5C6F;
  --text-muted: #7A8A9A;
  --text-on-brand: #FFFFFF;

  --border-color: #E1E8EF;
  --border-light: #EEF3F8;

  --shadow-sm: 0 1px 3px rgba(15, 30, 44, 0.06), 0 1px 2px rgba(15, 30, 44, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 30, 44, 0.08), 0 2px 4px rgba(15, 30, 44, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 30, 44, 0.12), 0 4px 8px rgba(15, 30, 44, 0.06);
  --shadow-xl: 0 24px 64px rgba(15, 30, 44, 0.16);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-pill: 999px;

  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --nav-height: 68px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Monaco, Consolas, "Courier New", monospace;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-page);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--brand-primary-dark); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ---------- 容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}
.section--alt { background: var(--bg-section-alt); }
.section--dark { background: var(--bg-dark); color: #DCE4ED; }
.section--dark h2, .section--dark h3 { color: #FFFFFF; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-accent);
  padding: 4px 14px;
  background: rgba(224, 144, 40, 0.10);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-accent { color: var(--brand-accent); }
.text-brand { color: var(--brand-primary); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  user-select: none;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: var(--brand-primary);
  color: var(--text-on-brand);
  box-shadow: 0 4px 14px rgba(42, 109, 155, 0.30);
}
.btn--primary:hover {
  background: var(--brand-primary-dark);
  color: var(--text-on-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 109, 155, 0.40);
}
.btn--accent {
  background: var(--brand-accent);
  color: var(--text-on-brand);
  box-shadow: 0 4px 14px rgba(224, 144, 40, 0.30);
}
.btn--accent:hover {
  background: var(--brand-accent-dark);
  color: var(--text-on-brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 144, 40, 0.40);
}
.btn--outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}
.btn--outline:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(42, 109, 155, 0.04);
}
.btn--ghost-light {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
  background: rgba(255,255,255,0.18);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.btn--lg { padding: 16px 32px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 36px; font-size: 1rem; }

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--brand-primary); }
.brand img { height: 36px; width: 36px; }
.brand span { line-height: 1; }
.brand small {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-menu a {
  display: inline-block;
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.nav-menu a:hover { color: var(--brand-primary); background: rgba(42,109,155,0.06); }
.nav-menu a.active { color: var(--brand-primary); background: rgba(42,109,155,0.08); font-weight: 600; }

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

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--transition-base);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 0 96px;
  background:
    radial-gradient(circle at 0% 0%, rgba(42,109,155,0.12), transparent 50%),
    radial-gradient(circle at 100% 0%, rgba(224,144,40,0.10), transparent 50%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-section-alt) 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(42,109,155,0.08);
  border: 1px solid rgba(42,109,155,0.15);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 500;
  margin-bottom: 24px;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-accent); }
.hero h1 { margin-bottom: 24px; }
.hero h1 .highlight {
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__lead { font-size: 1.1875rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}
.hero__meta-item { display: flex; flex-direction: column; }
.hero__meta-num { font-size: 1.5rem; font-weight: 700; color: var(--brand-primary); line-height: 1.2; }
.hero__meta-label { font-size: 0.8125rem; color: var(--text-muted); margin-top: 4px; }

.hero__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
}
.hero__visual img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,30,44,0.0), rgba(15,30,44,0.4));
  pointer-events: none;
}
.hero__visual-cap {
  position: absolute;
  left: 20px; bottom: 20px; right: 20px;
  color: #fff;
  font-size: 0.875rem;
  z-index: 2;
}
.hero__visual-cap strong { font-weight: 600; }

/* ---------- 功能卡片 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}
.feature-card:hover {
  border-color: var(--brand-primary-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(42,109,155,0.10), rgba(42,109,155,0.18));
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon svg { width: 26px; height: 26px; }
.feature-card--accent .feature-card__icon {
  background: linear-gradient(135deg, rgba(224,144,40,0.10), rgba(224,144,40,0.18));
  color: var(--brand-accent);
}
.feature-card h3 { margin-bottom: 8px; font-size: 1.1875rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.65; }

/* ---------- 使用场景 ---------- */
.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.scenario-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 4 / 3;
  transition: all var(--transition-base);
}
.scenario-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.scenario-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}
.scenario-card:hover .scenario-card__bg { transform: scale(1.06); }
.scenario-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,30,44,0.0) 30%, rgba(15,30,44,0.85) 100%);
}
.scenario-card__body {
  position: absolute;
  left: 24px; right: 24px; bottom: 24px;
  color: #FFFFFF;
  z-index: 2;
}
.scenario-card__tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--brand-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.scenario-card__body h3 { color: #FFFFFF; margin-bottom: 6px; font-size: 1.25rem; }
.scenario-card__body p { color: rgba(255,255,255,0.88); font-size: 0.875rem; margin: 0; }

/* ---------- 用户评价 ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all var(--transition-base);
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial__rating {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: var(--brand-accent);
}
.testimonial__rating svg { width: 18px; height: 18px; }
.testimonial__quote {
  font-size: 0.9375rem;
  color: var(--text-primary);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
}
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial__name { font-weight: 600; color: var(--text-primary); font-size: 0.9375rem; line-height: 1.3; }
.testimonial__role { font-size: 0.8125rem; color: var(--text-muted); margin-top: 2px; }

/* ---------- 数据统计 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stats__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  background: linear-gradient(120deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stats__label {
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ---------- 皮肤市场卡片 ---------- */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.skin-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition-base);
}
.skin-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary-light);
}
.skin-card__cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  position: relative;
  overflow: hidden;
}
.skin-card__cover svg {
  width: 100%; height: 100%;
}
.skin-card__cover--v1 { background: linear-gradient(135deg, #1F5478, #4A8DBB); }
.skin-card__cover--v2 { background: linear-gradient(135deg, #B8731E, #E09028); }
.skin-card__cover--v3 { background: linear-gradient(135deg, #0F1E2C, #2A6D9B); }
.skin-card__cover--v4 { background: linear-gradient(135deg, #2A6D9B, #E09028); }
.skin-card__cover--v5 { background: linear-gradient(135deg, #1F5478, #0F1E2C); }
.skin-card__cover--v6 { background: linear-gradient(135deg, #4A8DBB, #B8731E); }
.skin-card__body { padding: 20px; }
.skin-card__title { font-weight: 700; font-size: 1.0625rem; margin-bottom: 6px; color: var(--text-primary); }
.skin-card__desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.skin-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.skin-card__meta strong { color: var(--brand-primary); font-weight: 600; }
.skin-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.skin-card__tags span {
  font-size: 0.6875rem;
  padding: 2px 8px;
  background: var(--bg-section-alt);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  font-weight: 500;
}

/* ---------- 过滤器 ---------- */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  justify-content: center;
}
.filter-btn {
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition-fast);
}
.filter-btn:hover { border-color: var(--brand-primary-light); color: var(--brand-primary); }
.filter-btn.active {
  background: var(--brand-primary);
  color: #FFFFFF;
  border-color: var(--brand-primary);
}

/* ---------- 下载中心 ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
}
.download-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.download-card--featured {
  border-color: var(--brand-primary);
  background: linear-gradient(180deg, #FFFFFF, rgba(42,109,155,0.04));
}
.download-card--featured::before {
  content: "推荐";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.download-card__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.download-card__icon svg { width: 32px; height: 32px; }
.download-card--accent .download-card__icon {
  background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark));
}
.download-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.download-card__version {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.download-card__features {
  text-align: left;
  margin: 20px 0 28px;
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.download-card__features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.download-card__features li svg {
  width: 16px; height: 16px;
  color: var(--brand-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 系统要求表 */
.specs-table {
  width: 100%;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.specs-table tr { border-bottom: 1px solid var(--border-light); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table th, .specs-table td {
  padding: 16px 24px;
  text-align: left;
  font-size: 0.9375rem;
}
.specs-table th {
  background: var(--bg-section-alt);
  font-weight: 600;
  color: var(--text-primary);
  width: 32%;
}
.specs-table td { color: var(--text-secondary); }

/* 版本日志 */
.changelog {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.changelog__item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}
.changelog__item:last-child { border-bottom: none; padding-bottom: 0; }
.changelog__item:first-child { padding-top: 0; }
.changelog__version {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.changelog__version .ver {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-primary);
}
.changelog__version .date {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.changelog__version .tag {
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  background: rgba(224,144,40,0.12);
  color: var(--brand-accent-dark);
  font-weight: 600;
}
.changelog__list { padding-left: 24px; list-style: disc; color: var(--text-secondary); font-size: 0.9375rem; }
.changelog__list li { padding: 3px 0; }

/* ---------- 文档页 ---------- */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.docs-sidebar h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.docs-nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 24px; }
.docs-nav:last-child { margin-bottom: 0; }
.docs-nav a {
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}
.docs-nav a:hover { background: var(--bg-section-alt); color: var(--brand-primary); }
.docs-nav a.active {
  color: var(--brand-primary);
  background: rgba(42,109,155,0.06);
  border-left-color: var(--brand-primary);
  font-weight: 600;
}

.docs-content { min-width: 0; }
.docs-content h2 {
  font-size: 1.625rem;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
.docs-content h2:first-child { margin-top: 0; }
.docs-content h3 {
  font-size: 1.1875rem;
  margin: 28px 0 12px;
  color: var(--text-primary);
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
.docs-content p { color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; font-size: 0.9375rem; }
.docs-content ul, .docs-content ol { padding-left: 24px; margin-bottom: 16px; color: var(--text-secondary); }
.docs-content ul li, .docs-content ol li { padding: 4px 0; font-size: 0.9375rem; list-style: disc; }
.docs-content ol li { list-style: decimal; }
.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-section-alt);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--brand-primary-dark);
}
.docs-content pre {
  background: var(--bg-dark);
  color: #DCE4ED;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 16px 0 24px;
  font-size: 0.875rem;
  line-height: 1.6;
}
.docs-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.docs-content blockquote {
  border-left: 4px solid var(--brand-accent);
  background: rgba(224,144,40,0.06);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 16px 0;
  color: var(--text-secondary);
}

/* FAQ 手风琴 */
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow var(--transition-base);
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--brand-primary-light); }
.faq-item__q {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
  transition: background var(--transition-fast);
}
.faq-item__q:hover { background: var(--bg-section-alt); }
.faq-item__q .chevron {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: var(--brand-primary);
  transition: transform var(--transition-base);
}
.faq-item.open .faq-item__q .chevron { transform: rotate(180deg); }
.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}
.faq-item__a-inner {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* ---------- About 页 ---------- */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent));
}
.timeline__item {
  position: relative;
  padding-bottom: 32px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 3px solid var(--brand-primary);
}
.timeline__item--accent::before { border-color: var(--brand-accent); }
.timeline__date {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.timeline__item h3 { margin-bottom: 6px; font-size: 1.125rem; }
.timeline__item p { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-card__avatar {
  width: 80px; height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
}
.team-card__name { font-weight: 700; font-size: 1.0625rem; margin-bottom: 4px; }
.team-card__role { font-size: 0.875rem; color: var(--brand-primary); margin-bottom: 12px; }
.team-card__bio { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- CTA 区 ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-band::before { top: -100px; left: -100px; width: 300px; height: 300px; }
.cta-band::after { bottom: -120px; right: -120px; width: 360px; height: 360px; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #FFFFFF; font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 12px; }
.cta-band p { font-size: 1.0625rem; color: rgba(255,255,255,0.88); margin-bottom: 28px; }
.cta-band .hero__actions { justify-content: center; margin-bottom: 0; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand .brand { color: #FFFFFF; margin-bottom: 16px; }
.footer__brand .brand:hover { color: #FFFFFF; }
.footer__brand .brand small { color: rgba(255,255,255,0.55); }
.footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; max-width: 320px; }
.footer__col h5 {
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { color: rgba(255,255,255,0.65); font-size: 0.875rem; }
.footer__col a:hover { color: #FFFFFF; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.10);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__icp a { color: rgba(255,255,255,0.55); }
.footer__icp a:hover { color: #FFFFFF; }

/* ---------- 下载弹窗 ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 44, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}
.modal-overlay.open { opacity: 1; visibility: visible;   left: 0;
  right: 0;
  top: 0;
  bottom: 0;}
  button { outline: none } 
.modal {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-base);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-bottom: 1px solid var(--border-light);
}
.modal__title { font-size: 1.25rem; font-weight: 700; }
.modal__title small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.modal__close {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}
.modal__close:hover { background: var(--bg-section-alt); color: var(--text-primary); }
.modal__close svg { width: 20px; height: 20px; }
.modal__body { padding: 32px; }
.modal__intro {
  text-align: center;
  margin-bottom: 28px;
}
.modal__intro h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.modal__intro p { font-size: 0.875rem; color: var(--text-muted); }

.qr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.qr-card {
  text-align: center;
  background: var(--bg-section-alt);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}
.qr-card:hover { border-color: var(--brand-primary-light); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.qr-card__img {
  width: 168px; height: 168px;
  margin: 0 auto 16px;
  padding: 12px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.qr-card__img img { width: 100%; height: 100%; }
.qr-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.qr-card__size {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 8px;
}
.qr-card__hint { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; }
.qr-card__platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(42,109,155,0.10);
  color: var(--brand-primary);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 8px;
}
.qr-card__platform svg { width: 14px; height: 14px; }

.modal__tips {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(224,144,40,0.06);
  border-left: 3px solid var(--brand-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.modal__tips strong { color: var(--text-primary); display: block; margin-bottom: 4px; font-size: 0.875rem; }

/* ---------- 通用工具类 ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-top: calc(var(--nav-height) + 32px);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb .sep { margin: 0 8px; color: var(--border-color); }
.breadcrumb .current { color: var(--text-primary); font-weight: 500; }

.page-header {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-section-alt) 100%);
  padding: calc(var(--nav-height) + 64px) 0 64px;
  text-align: center;
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 1.125rem; color: var(--text-secondary); max-width: 720px; margin: 0 auto; }

.badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(42,109,155,0.10);
  color: var(--brand-primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.badge--accent { background: rgba(224,144,40,0.12); color: var(--brand-accent-dark); }
.badge--success { background: rgba(46,160,67,0.12); color: #2EA043; }

/* ---------- 动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
  .docs-layout { grid-template-columns: 220px 1fr; gap: 24px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-color);
    transform: translateY(-120%);
    transition: transform var(--transition-base);
    visibility: hidden;
  }
  .nav-menu.open { transform: translateY(0); visibility: visible; }
  .nav-menu a { padding: 12px 16px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn--outline { display: none; }
  .hero { padding: calc(var(--nav-height) + 48px) 0 64px; }
  .hero__meta { gap: 20px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { position: static; }
  .cta-band { padding: 48px 24px; }
  .modal { max-width: 100%; }
  .qr-grid { grid-template-columns: 1fr; gap: 16px; }
  .specs-table th, .specs-table td { padding: 12px 16px; font-size: 0.875rem; }
  .page-header { padding: calc(var(--nav-height) + 32px) 0 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
