.page-home {
  --glow: 0 0 24px rgba(0, 229, 255, 0.35);
  --glow-violet: 0 0 24px rgba(155, 89, 255, 0.25);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
}

/* Hero 首屏 */
.page-home .home-hero {
  position: relative;
  padding: 56px 0 72px;
  background: linear-gradient(135deg, #0B0F19 0%, #14102B 55%, #1A0B2E 100%);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 229, 255, 0.03) 0 1px, transparent 1px 4px);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "14.18";
  position: absolute;
  right: -30px;
  bottom: -40px;
  font-family: var(--font-mono);
  font-size: clamp(140px, 24vw, 300px);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 229, 255, 0.08);
  pointer-events: none;
}

.page-home .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .hero-context {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--neon);
  text-transform: uppercase;
}

.page-home .hero-copy h1 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
}

.page-home .hero-lead {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

.page-home .hero-sub {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 34em;
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-home .hero-visual {
  position: relative;
  margin-top: 8px;
}

.page-home .hero-figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: 600px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

.page-home .hero-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-home .version-card {
  position: absolute;
  right: 16px;
  bottom: -24px;
  min-width: 220px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 229, 255, 0.45);
  background: linear-gradient(135deg, rgba(20, 16, 43, 0.96), rgba(11, 15, 25, 0.98));
  box-shadow: var(--glow);
  cursor: default;
}

.page-home .version-card .version-label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.page-home .version-card .version-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--neon);
}

.page-home .version-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.page-home .version-preview {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}

.page-home .version-card:hover .version-preview,
.page-home .version-card:focus-visible .version-preview,
.page-home .version-card:focus .version-preview {
  max-height: 200px;
  opacity: 1;
  margin-top: 10px;
}

/* 通用章节 */
.page-home .home-section {
  padding: 64px 0;
}

.page-home .section-head {
  margin-bottom: 36px;
}

.page-home .section-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.page-home .section-lead {
  margin: 0;
  max-width: 40em;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

.page-home .section-kicker {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--violet);
  text-transform: uppercase;
}

/* 版本更新速览 */
.page-home .version-speed {
  background: var(--bg);
}

.page-home .version-timeline {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  position: relative;
}

.page-home .version-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--neon), var(--violet));
  opacity: 0.45;
}

.page-home .timeline-item {
  position: relative;
  padding: 0 0 26px 32px;
}

.page-home .timeline-item:last-child {
  padding-bottom: 0;
}

.page-home .timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--neon);
  background: var(--bg);
  box-shadow: var(--glow);
}

.page-home .timeline-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-home .timeline-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* 工具入口 */
.page-home .tools-section {
  position: relative;
  padding: 88px 0;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.page-home .tools-section::after {
  content: "TOOLS";
  position: absolute;
  top: 20px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 120px;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(155, 89, 255, 0.1);
  pointer-events: none;
  z-index: 0;
}

.page-home .tools-section .container {
  position: relative;
  z-index: 1;
}

.page-home .tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.page-home .tool-card {
  background: rgba(11, 15, 25, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.page-home .tool-card[open] {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: var(--glow-violet);
}

.page-home .tool-card-head {
  display: block;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}

.page-home .tool-card-head::-webkit-details-marker {
  display: none;
}

.page-home .tool-card-title {
  display: block;
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.page-home .tool-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .tool-preview {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}

.page-home .tool-preview p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}

.page-home .tool-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-home .tool-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 平台正规承诺 */
.page-home .trust-section {
  background: var(--bg);
}

.page-home .trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .trust-quote {
  margin: 20px 0;
  padding: 20px 24px;
  background: var(--cream);
  color: var(--cream-ink);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.7;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.page-home .trust-quote p {
  margin: 0;
}

.page-home .trust-text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 40em;
}

.page-home .trust-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.page-home .trust-facts li {
  padding: 18px 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.page-home .trust-num {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--neon);
}

.page-home .trust-label {
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .data-figure {
  margin: 40px 0 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-home .data-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* 最新动态 */
.page-home .news-section {
  background: var(--bg-deep);
}

.page-home .news-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 82vw);
  gap: 16px;
  margin: 0 -20px 32px;
  padding: 4px 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--violet) transparent;
}

.page-home .news-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  scroll-snap-align: start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.page-home .news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 229, 255, 0.5);
}

.page-home .news-card .card-title {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.page-home .news-card .card-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

.page-home .news-section > .container > .btn {
  margin-top: 4px;
}

/* 订阅推送 */
.page-home .subscribe-section {
  background: linear-gradient(135deg, var(--bg-deep), var(--bg-panel));
  border-top: 1px solid var(--border);
}

.page-home .subscribe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .subscribe-note {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38em;
}

.page-home .subscribe-steps {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.page-home .subscribe-steps li {
  position: relative;
  padding: 10px 0 10px 48px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
}

.page-home .subscribe-steps li:last-child {
  border-bottom: 0;
}

.page-home .step-num {
  position: absolute;
  left: 0;
  top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--success);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  box-shadow: 0 0 12px rgba(0, 255, 157, 0.2);
}

.page-home .subscribe-tip {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
}

.page-home .subscribe-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.page-home .subscribe-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 2;
}

/* 桌面端增强 */
@media (min-width: 900px) {
  .page-home .home-hero {
    padding: 72px 0 96px;
  }

  .page-home .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .page-home .hero-visual {
    margin-top: 0;
  }

  .page-home .version-card {
    right: -8px;
    bottom: -28px;
    min-width: 240px;
  }

  .page-home .home-section {
    padding: 88px 0;
  }

  .page-home .tool-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .page-home .tool-card-head {
    padding: 24px;
  }

  .page-home .tool-preview {
    padding: 20px 24px 24px;
  }

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

  .page-home .trust-quote {
    padding: 24px 28px;
  }

  .page-home .trust-facts {
    gap: 18px;
  }

  .page-home .data-figure {
    margin-top: 56px;
  }

  .page-home .news-scroll {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 32px;
    padding: 0;
    overflow: visible;
  }

  .page-home .subscribe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}
