.page-home {
  position: relative;
  background: var(--primary-blue);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* ===== 01 入口坐标 ===== */
.page-home .home-entry {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: calc(100vh - var(--header-height, 76px));
  padding: clamp(24px, 4vw, 64px);
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  overflow: hidden;
}

.page-home .home-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-breadcrumb {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max, 1360px);
  margin: 0 auto 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.page-home .home-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.page-home .home-breadcrumb a:hover {
  color: var(--neon-cyan);
}

.page-home .home-crumb-sep {
  margin: 0 8px;
  color: var(--text-secondary);
  opacity: 0.6;
}

.page-home .home-entry-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
  max-width: var(--content-max, 1360px);
  margin: 0 auto;
}

.page-home .home-entry-left {
  position: relative;
  padding: 24px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.55);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.25);
}

.page-home .home-entry-left::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  height: 4px;
  width: calc(100% + 4px);
  background: linear-gradient(90deg, var(--neon-cyan) 0%, var(--electric-blue) 55%, var(--vibrant-orange) 100%);
}

.page-home .home-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-entry-title {
  margin: 0 0 16px;
  font-family: var(--font-headline);
  font-size: var(--h1-size);
  line-height: 1.1;
  max-width: 16em;
}

.page-home .home-entry-sub {
  margin: 0 0 28px;
  font-size: var(--body-size);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 44em;
}

.page-home .home-entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.page-home .btn-primary {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.page-home .btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-18deg);
  transition: left 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

.page-home .btn-primary:hover::after,
.page-home .btn-primary:focus-visible::after {
  left: 130%;
}

.page-home .home-quick-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border-rgba);
}

.page-home .quick-index-label {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-quick-index a {
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--neon-cyan);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.page-home .home-quick-index a:hover {
  color: var(--vibrant-orange);
  border-bottom-color: var(--vibrant-orange);
}

.page-home .home-entry-img {
  display: block;
  max-width: 100%;
  width: 480px;
  height: auto;
  border: 2px solid var(--border-rgba);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.page-home .home-entry-right {
  display: flex;
  align-items: stretch;
}

.page-home .home-chapter-rail {
  width: 100%;
  padding: 24px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.45);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.2);
}

.page-home .home-rail-label {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-home .home-rail-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 8px;
  border-bottom: 1px solid var(--border-rgba);
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.2s, padding-left 0.2s, border-color 0.2s;
}

.page-home .home-rail-link:last-child {
  border-bottom: none;
}

.page-home .home-rail-link:hover {
  padding-left: 16px;
  background: rgba(27, 79, 219, 0.25);
  border-color: var(--neon-cyan);
}

.page-home .rail-num {
  min-width: 1.4em;
  font-family: var(--font-mono);
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1;
  color: var(--neon-cyan);
}

.page-home .rail-name {
  flex: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page-home .rail-route {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
}

/* ===== 通用章节标题 ===== */
.page-home .section-index {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-rgba);
}

.page-home .section-index-code {
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
}

.page-home .section-index-title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: var(--h2-size);
  line-height: 1.1;
}

/* ===== 02 章节预览 ===== */
.page-home .home-chapters {
  max-width: var(--content-max, 1360px);
  margin: 0 auto;
  padding: var(--space-lg) clamp(24px, 4vw, 64px);
}

.page-home .home-chapter-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

.page-home .home-chapter-card {
  display: block;
  padding: 24px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.35);
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.page-home .home-chapter-card:hover {
  border-color: var(--neon-cyan);
  transform: translate(-2px, -2px);
  background: rgba(27, 79, 219, 0.2);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.25);
}

.page-home .home-chapter-card:target {
  border-color: var(--neon-cyan);
  background: rgba(27, 79, 219, 0.25);
}

.page-home .chapter-card-code {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--neon-cyan);
}

.page-home .home-chapter-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: var(--h3-size);
}

.page-home .home-chapter-card p {
  margin: 0 0 16px;
  font-size: var(--small-size);
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home .chapter-card-go {
  font-family: var(--font-mono);
  font-size: var(--small-size);
  color: var(--vibrant-orange);
}

.page-home .home-chapters-bottom {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.page-home .home-chapters-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border: 2px solid var(--border-rgba);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
}

.page-home .home-chapters-note {
  max-width: 560px;
  padding: 20px;
  border-left: 4px solid var(--electric-blue);
  background: rgba(10, 14, 26, 0.3);
}

.page-home .home-note-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
}

.page-home .home-chapters-note p:last-child {
  margin: 0;
  font-size: var(--small-size);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== 03 本期动态 ===== */
.page-home .home-updates {
  padding: var(--space-lg) clamp(24px, 4vw, 64px);
  background: var(--ink-dark);
}

.page-home .home-update-filter {
  position: relative;
}

.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.page-home .filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  opacity: 0;
}

.page-home .filter-btn {
  display: inline-block;
  padding: 8px 20px;
  border: 2px solid var(--border-rgba);
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: var(--small-size);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.page-home .filter-btn:hover {
  border-color: var(--neon-cyan);
}

.page-home .filter-input:checked ~ .filter-bar .filter-btn {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-rgba);
}

.page-home #filter-all:checked ~ .filter-bar label[for="filter-all"],
.page-home #filter-activity:checked ~ .filter-bar label[for="filter-activity"],
.page-home #filter-query:checked ~ .filter-bar label[for="filter-query"],
.page-home #filter-doc:checked ~ .filter-bar label[for="filter-doc"] {
  background: var(--vibrant-orange);
  color: var(--ink-dark);
  border-color: var(--vibrant-orange);
  font-weight: 700;
}

.page-home .filter-input:focus-visible ~ .filter-bar .filter-btn {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.page-home .home-update-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.page-home .update-item {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border: 1px solid var(--border-rgba);
  background: rgba(14, 42, 92, 0.35);
  transition: border-color 0.2s;
}

.page-home .update-item:hover {
  border-color: var(--neon-cyan);
}

.page-home #filter-all:checked ~ .home-update-list .update-item,
.page-home #filter-activity:checked ~ .home-update-list .update-item[data-cat="活动"],
.page-home #filter-query:checked ~ .home-update-list .update-item[data-cat="查档"],
.page-home #filter-doc:checked ~ .home-update-list .update-item[data-cat="文档"] {
  display: flex;
}

.page-home .update-tag {
  align-self: flex-start;
  margin-bottom: 8px;
  padding: 4px 10px;
  border: 1px solid var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--neon-cyan);
}

.page-home .update-item h3 {
  margin: 0 0 8px;
  font-family: var(--font-headline);
  font-size: var(--h3-size);
  line-height: 1.2;
}

.page-home .update-item p {
  margin: 0 0 12px;
  font-size: var(--small-size);
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-home .update-item a {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--vibrant-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .update-item a:hover {
  border-bottom-color: var(--vibrant-orange);
}

.page-home .home-update-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.page-home .home-update-img {
  width: 100%;
  height: auto;
  border: 2px solid var(--border-rgba);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.25);
}

.page-home .home-update-aside-note {
  padding: 20px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.4);
}

.page-home .aside-note-code {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
  letter-spacing: 0.08em;
}

.page-home .home-update-aside-note p {
  margin: 0 0 16px;
  font-size: var(--small-size);
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ===== 04 服务保障 ===== */
.page-home .home-trust {
  max-width: var(--content-max, 1360px);
  margin: 0 auto;
  padding: var(--space-lg) clamp(24px, 4vw, 64px);
}

.page-home .home-trust-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}

.page-home .trust-card {
  padding: 24px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.3);
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.2);
  transition: border-color 0.25s, transform 0.25s;
}

.page-home .trust-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-2px);
}

.page-home .trust-card-code {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neon-cyan);
}

.page-home .trust-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-headline);
  font-size: var(--h3-size);
}

.page-home .trust-card p {
  margin: 0 0 8px;
  font-size: var(--small-size);
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-home .trust-card a {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--vibrant-orange);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.page-home .trust-card a:hover {
  border-bottom-color: var(--vibrant-orange);
}

.page-home .home-trust-stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 40px;
  padding: 24px;
  border: 2px solid var(--border-rgba);
  background: rgba(10, 14, 26, 0.35);
}

.page-home .trust-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-left: 3px solid var(--electric-blue);
}

.page-home .trust-stat-num {
  font-family: var(--font-headline);
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.page-home .trust-stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.page-home .home-trust-note {
  margin: 0;
  padding: 24px 0 0;
  border-top: 2px solid var(--border-rgba);
  font-size: var(--small-size);
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== 响应式 ===== */
@media (min-width: 640px) {
  .page-home .home-chapter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-chapters-bottom {
    flex-direction: row;
    align-items: center;
  }

  .page-home .home-chapters-img {
    width: 55%;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-trust-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  .page-home .home-entry {
    padding: 48px clamp(32px, 5vw, 80px);
  }

  .page-home .home-entry-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 48px;
  }

  .page-home .home-entry-left {
    flex: 0 0 46%;
    padding: 32px;
  }

  .page-home .home-entry-right {
    flex: 1;
  }

  .page-home .home-update-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .home-chapter-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .home-update-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
    align-items: start;
  }

  .page-home .filter-bar {
    grid-column: 1 / -1;
  }

  .page-home .home-update-list {
    grid-column: 1;
    grid-row: 2;
  }

  .page-home .home-update-aside {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
  }

  .page-home .home-trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
