/* ==========================================================================
   Clash Verge 官方网站 - 顶部公告栏风 (Top Announcement Bar & Latest Version Release Theme)
   ========================================================================== */

:root {
  --bg-page: #0b1120;
  --bg-card: #131d33;
  --bg-card-hover: #1c2b4b;
  --bg-subtle: #080d1a;
  --bg-header: rgba(11, 17, 32, 0.95);
  --bg-announcement: linear-gradient(90deg, #1e1b4b 0%, #0f172a 50%, #172554 100%);
  
  --border-subtle: #1f2d4d;
  --border-strong: #334b77;
  --border-brand: #38bdf8;
  --border-accent: #818cf8;
  --border-green: #10b981;
  
  --text-main: #f8fafc;
  --text-sub: #94a3b8;
  --text-dim: #64748b;
  --text-link: #38bdf8;
  
  --accent-cyan: #38bdf8;
  --accent-cyan-bg: rgba(56, 189, 248, 0.12);
  --accent-indigo: #818cf8;
  --accent-indigo-bg: rgba(129, 140, 248, 0.12);
  --accent-emerald: #10b981;
  --accent-emerald-bg: rgba(16, 185, 129, 0.12);
  --accent-amber: #f59e0b;
  --accent-amber-bg: rgba(245, 158, 11, 0.12);
  
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "JetBrains Mono", monospace;
  
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-w: 1180px;
  --transition: all 0.22s ease-in-out;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.65);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-page);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(129, 140, 248, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(56, 189, 248, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, #0b1120 0%, #060a13 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   顶部最新版本公告栏 (Top Announcement Banner)
   ========================================================================== */
.top-announcement-bar {
  background: var(--bg-announcement);
  border-bottom: 1px solid rgba(129, 140, 248, 0.3);
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--text-sub);
  position: relative;
  z-index: 1001;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.announcement-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.announcement-tag {
  background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.45);
}

.announcement-version-pulse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(0.95); box-shadow: 0 0 4px #38bdf8; }
  50% { transform: scale(1.2); box-shadow: 0 0 12px #38bdf8; }
  100% { transform: scale(0.95); box-shadow: 0 0 4px #38bdf8; }
}

.announcement-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.78rem;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-xs);
  transition: var(--transition);
}

.announcement-action-btn:hover {
  background: #38bdf8;
  color: #0b1120;
  border-color: #38bdf8;
  font-weight: 700;
}

/* 顶部主导航 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #4f46e5 0%, #38bdf8 100%);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(79, 70, 229, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-sub);
  padding: 0.35rem 0.2rem;
  position: relative;
}

.nav-item:hover,
.nav-item.active {
  color: #ffffff;
}

.nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #38bdf8;
  border-radius: 2px;
}

.nav-btn-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 1.1rem;
}

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.72rem 1.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 2px 12px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.45);
}

.btn-accent {
  background: linear-gradient(135deg, #4f46e5 0%, #818cf8 100%);
  color: #ffffff;
  border: 1px solid rgba(129, 140, 248, 0.35);
  box-shadow: 0 2px 12px rgba(79, 70, 229, 0.35);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(129, 140, 248, 0.45);
}

.btn-secondary {
  background: #18233c;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: #223254;
  border-color: var(--border-strong);
  color: #ffffff;
}

.btn-sm {
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1.02rem;
}

/* Hero 首屏 (顶部公告风格) */
.hero-section {
  padding: 4.8rem 0 3.8rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-release-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-indigo-bg);
  border: 1px solid rgba(129, 140, 248, 0.35);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #818cf8;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-size: 3.35rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-heading .gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 2rem;
}

.hero-desc strong {
  color: #ffffff;
}

/* 版本发布公告亮点卡片 (Release Highlights Banner) */
.release-announcement-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  margin-bottom: 2rem;
  border-left: 4px solid #38bdf8;
}

.release-announcement-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.98rem;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 0.5rem;
}

.release-announcement-desc {
  font-size: 0.86rem;
  color: var(--text-sub);
  line-height: 1.65;
}

.release-announcement-desc strong {
  color: #ffffff;
}

/* 软件展示视窗框 */
.notice-window-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}

.notice-window-frame:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.notice-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.15rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.notice-live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
  font-size: 0.75rem;
}

.notice-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

/* 数据背书区 */
.endorsement-section {
  padding: 2.75rem 0;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.25rem;
  text-align: center;
  transition: var(--transition);
}

.stat-box:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.stat-val {
  font-size: 2.15rem;
  font-weight: 900;
  color: #38bdf8;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
}

.stat-tit {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.stat-inf {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 常用 Section 结构 */
.section {
  padding: 4.8rem 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.25rem;
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #818cf8;
  background: var(--accent-indigo-bg);
  border: 1px solid rgba(129, 140, 248, 0.4);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1.02rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 核心能力卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-brand);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-bg);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #38bdf8;
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

.chip {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  color: var(--text-sub);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
}

/* 版本更新要点卡片 (Version Changelog Banner) */
.version-changelog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.changelog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: var(--transition);
  border-top: 3px solid #818cf8;
}

.changelog-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.changelog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #818cf8;
  font-family: var(--font-mono);
}

.changelog-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.changelog-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* 图文展示区 */
.showcase-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.showcase-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.showcase-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.15rem;
  line-height: 1.3;
}

.showcase-content p {
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 1.65rem;
  font-size: 0.98rem;
}

.notice-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.notice-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.notice-check-item svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 4px;
}

/* 平台支持区 */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.platform-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem 1.15rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition: var(--transition);
}

.platform-card:hover {
  border-color: var(--border-brand);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.platform-icon {
  font-size: 2rem;
}

.platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.platform-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.platform-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-xs);
  background: var(--accent-cyan-bg);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
  font-family: var(--font-mono);
}

/* FAQ 常见问题区 */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  max-width: 1040px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.75rem;
  transition: var(--transition);
}

.faq-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.faq-q .q-tag {
  color: #38bdf8;
  font-weight: 800;
  font-family: var(--font-mono);
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 底部 CTA 横幅 */
.notice-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid #38bdf8;
}

.cta-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.95rem;
}

.cta-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 640px;
  margin: 0 auto 2rem;
}

/* 内页 Hero 头部 */
.page-hero {
  padding: 4.25rem 0 3.5rem;
  text-align: center;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.95rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-sub);
  max-width: 740px;
  margin: 0 auto 1.65rem;
}

/* 教程步骤卡片 */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  max-width: 920px;
  margin: 0 auto;
}

.step-box {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  transition: var(--transition);
  border-left: 3px solid #38bdf8;
}

.step-box:hover {
  border-color: var(--border-strong);
  border-left: 3px solid #818cf8;
  background: var(--bg-card-hover);
}

.step-idx {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: #18233c;
  border: 1px solid var(--border-subtle);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  font-weight: 900;
  font-family: var(--font-mono);
}

.step-main h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.step-main p {
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.step-pic-box {
  margin-top: 1.25rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

/* 下载卡片矩阵 */
.dl-matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.dl-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  border-top: 3px solid var(--border-strong);
}

.dl-card.featured {
  border-color: #38bdf8;
  border-top: 3px solid #38bdf8;
  box-shadow: var(--shadow-md);
}

.dl-hot-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--accent-cyan-bg);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
}

.dl-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.35rem;
}

.dl-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-cyan-bg);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.5rem;
}

.dl-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.dl-card-sub {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.dl-specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.65rem;
  flex-grow: 1;
}

.dl-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.dl-spec-k {
  color: var(--text-sub);
}

.dl-spec-v {
  color: #ffffff;
  font-weight: 600;
}

.dl-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* 对比表格 */
.table-responsive-box {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.client-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.client-compare-table th,
.client-compare-table td {
  padding: 1.25rem 1.65rem;
  border-bottom: 1px solid var(--border-subtle);
}

.client-compare-table th {
  background: var(--bg-subtle);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.client-compare-table tr:last-child td {
  border-bottom: none;
}

.client-compare-table tr:hover td {
  background: var(--bg-card-hover);
}

/* 页脚 */
.site-footer {
  margin-top: auto;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 4.25rem 0 2.25rem;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.25rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-brand p {
  color: var(--text-dim);
  line-height: 1.65;
  font-size: 0.85rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-dim);
}

.footer-links a:hover {
  color: var(--text-link);
}

.footer-bottom {
  padding-top: 1.85rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .version-changelog-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .dl-matrix-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0b1120;
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    gap: 1rem;
  }
  .nav-links.active { display: flex; }
  .hero-heading { font-size: 2.4rem; }
  .features-grid { grid-template-columns: 1fr; }
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .dl-matrix-grid { grid-template-columns: 1fr; }
  .showcase-row, .showcase-row.reverse { grid-template-columns: 1fr; gap: 2rem; }
  .step-box { grid-template-columns: 1fr; gap: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
