/* ==========================================================================
   Clash Verge 官方网站 - 软件发布平台风 (Software Release Platform & Release Notes Theme)
   ========================================================================== */

:root {
  --bg-page: #0d1117;
  --bg-card: #161b22;
  --bg-card-hover: #1f242c;
  --bg-subtle: #090d13;
  --bg-header: rgba(13, 17, 23, 0.94);
  --bg-badge: #21262d;
  --bg-release: #161b22;
  
  --border-subtle: #30363d;
  --border-strong: #484f58;
  --border-release: #238636;
  --border-blue: #388bfd;
  
  --text-main: #f0f6fc;
  --text-sub: #8b949e;
  --text-dim: #6e7681;
  --text-link: #58a6ff;
  
  --rel-green: #2ea043;
  --rel-green-bg: rgba(46, 160, 67, 0.15);
  --rel-blue: #58a6ff;
  --rel-blue-bg: rgba(56, 139, 253, 0.15);
  --rel-purple: #bc8cff;
  --rel-purple-bg: rgba(188, 140, 255, 0.15);
  --rel-amber: #d29922;
  --rel-amber-bg: rgba(210, 153, 34, 0.15);
  
  --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, "Liberation Mono", monospace;
  
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --max-w: 1180px;
  --transition: all 0.2s ease;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(1, 4, 9, 0.5);
  --shadow-lg: 0 16px 40px rgba(1, 4, 9, 0.7);
}

*, *::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: 
    linear-gradient(rgba(240, 246, 252, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 246, 252, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
}

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;
}

/* 顶部 Release 状态条 */
.release-top-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
  font-size: 0.82rem;
  color: var(--text-sub);
  font-family: var(--font-mono);
}

.release-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.release-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.rel-badge {
  background: var(--rel-green-bg);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #3fb950;
  font-size: 0.72rem;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius-xs);
  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: 68px;
}

.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, #1f6feb 0%, #238636 100%);
  border: 1px solid rgba(240, 246, 252, 0.2);
  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 8px rgba(0, 0, 0, 0.4);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.92rem;
  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: #2ea043;
  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-xs);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: #238636;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #2ea043;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(46, 160, 67, 0.4);
}

.btn-secondary {
  background: #21262d;
  color: var(--text-main);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: #30363d;
  border-color: #8b949e;
  color: #ffffff;
}

.btn-blue {
  background: #1f6feb;
  color: #ffffff;
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.btn-blue:hover {
  background: #388bfd;
  transform: translateY(-1px);
}

.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: 8px;
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.95rem;
  border-radius: var(--radius-xs);
  font-size: 0.82rem;
  color: var(--text-main);
  font-family: var(--font-mono);
  margin-bottom: 1.25rem;
}

.hero-heading {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-heading .accent-text {
  background: linear-gradient(135deg, #58a6ff 0%, #3fb950 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 卡片 */
.release-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.release-highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition);
}

.release-highlight-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.rel-hl-tag {
  font-size: 0.75rem;
  color: #58a6ff;
  font-family: var(--font-mono);
  font-weight: 700;
}

.rel-hl-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.rel-hl-desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.5;
}

/* 软件窗口展示框 (Release 视窗) */
.release-window-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.release-window-frame:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.release-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);
}

.rel-dot-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3fb950;
  font-weight: 600;
  font-size: 0.75rem;
}

.rel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ea043;
  box-shadow: 0 0 8px rgba(46, 160, 67, 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-xs);
  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: #58a6ff;
  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: #58a6ff;
  background: var(--rel-blue-bg);
  border: 1px solid rgba(56, 139, 253, 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-xs);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #58a6ff;
}

.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);
}

/* Release Notes 专区 (发布日志视觉卡片) */
.release-notes-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 2.25rem;
  margin-bottom: 3.5rem;
}

.release-notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.75rem;
}

.rel-version-tag {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rel-version-tag h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.rel-log-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rel-log-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.rel-log-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-mono);
  flex-shrink: 0;
  margin-top: 2px;
}

.pill-feat { background: var(--rel-green-bg); color: #3fb950; border: 1px solid rgba(46, 160, 67, 0.4); }
.pill-perf { background: var(--rel-blue-bg); color: #58a6ff; border: 1px solid rgba(56, 139, 253, 0.4); }
.pill-fix { background: var(--rel-purple-bg); color: #bc8cff; border: 1px solid rgba(188, 140, 255, 0.4); }

/* 图文展示区 */
.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;
}

.release-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.release-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.release-check-item svg {
  color: #3fb950;
  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-xs);
  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-strong);
  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(--rel-blue-bg);
  color: #58a6ff;
  border: 1px solid rgba(56, 139, 253, 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-xs);
  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: #58a6ff;
  font-weight: 800;
  font-family: var(--font-mono);
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* 底部 CTA (Release 下载横幅) */
.release-cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid #238636;
}

.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-xs);
  padding: 2.25rem;
  transition: var(--transition);
  border-left: 3px solid #238636;
}

.step-box:hover {
  border-color: var(--border-strong);
  border-left: 3px solid #2ea043;
  background: var(--bg-card-hover);
}

.step-idx {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-xs);
  background: #21262d;
  border: 1px solid var(--border-subtle);
  color: #58a6ff;
  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-xs);
  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-xs);
  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: #388bfd;
  border-top: 3px solid #2ea043;
  box-shadow: var(--shadow-md);
}

.dl-hot-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--rel-green-bg);
  border: 1px solid rgba(46, 160, 67, 0.4);
  color: #3fb950;
  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-xs);
  background: var(--bg-badge);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #58a6ff;
  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-xs);
}

.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); }
  .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: 68px;
    left: 0;
    right: 0;
    background: #0d1117;
    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; }
  .release-highlights-grid { grid-template-columns: 1fr; }
  .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; }
  .step-idx { width: 48px; height: 48px; font-size: 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
