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

/* 通用章节标题 */
.page-home .section-kicker {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: 14px;
}

.page-home .section-title {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 5vw, 2.6rem);
  line-height: 1.12;
  margin: 0 0 16px;
  padding-bottom: 14px;
}

.page-home .section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--c-green) 0%, transparent 100%);
}

.page-home .home-adapt .section-title::after {
  background: linear-gradient(90deg, var(--c-orange) 0%, transparent 100%);
}

.page-home .section-lead {
  color: var(--c-dim);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 46em;
}

/* 首屏专题封面 */
.page-home .home-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 52px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--c-primary-dark) 0%, var(--c-primary) 48%, var(--c-primary-light) 100%);
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .26;
}

.page-home .home-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(2,12,27,.9) 0%, rgba(2,12,27,.5) 55%, rgba(17,34,64,.22) 100%);
}

.page-home .home-hero__lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__main .breadcrumb {
  margin-bottom: 40px;
}

.page-home .home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--c-green);
  margin-bottom: 16px;
}

.page-home .home-hero__eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--c-orange);
}

.page-home .home-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 14vw, 6.8rem);
  line-height: .94;
  letter-spacing: -.02em;
  color: var(--c-text);
  text-shadow: 0 6px 24px rgba(2,12,27,.35);
}

.page-home .home-hero__sub {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: .95rem;
  color: var(--c-green);
  letter-spacing: .06em;
}

.page-home .home-hero__lead {
  max-width: 34em;
  margin: 18px 0 0;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(230,241,255,.72);
}

.page-home .home-hero__actions {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.page-home .home-hero__cta {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--c-text);
  padding: 18px 60px 18px 22px;
  background: rgba(17,34,64,.72);
  border: 1px solid var(--c-border);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 100%, 14px 100%);
  transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}

.page-home .home-hero__cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-green);
}

.page-home .home-hero__cta--accent::before {
  background: var(--c-orange);
}

.page-home .home-hero__cta:hover {
  transform: translateX(8px);
  background: rgba(17,34,64,.95);
  border-color: rgba(100,255,218,.5);
}

.page-home .home-hero__cta-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.3;
}

.page-home .home-hero__cta-note {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--c-dim);
}

.page-home .home-hero__cta-arrow {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--c-green);
  transition: transform .4s var(--ease);
}

.page-home .home-hero__cta--accent .home-hero__cta-arrow {
  color: var(--c-orange);
}

.page-home .home-hero__cta:hover .home-hero__cta-arrow {
  transform: translate(6px, -50%);
}

.page-home .home-hero__aside {
  margin-top: 40px;
}

.page-home .home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(35,53,84,.85);
}

.page-home .home-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.page-home .home-hero__stat-num {
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-green);
}

.page-home .home-hero__stat-label {
  font-size: .76rem;
  color: var(--c-dim);
  line-height: 1.4;
}

/* 页内章节索引 */
.page-home .home-scrollspy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0 4px;
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.page-home .scrollspy-link {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .03em;
  text-decoration: none;
  color: var(--c-dim);
  border: 1px solid var(--c-border);
  background: transparent;
  padding: 8px 16px;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .scrollspy-link:hover,
.page-home .scrollspy-link.is-active {
  color: var(--c-green);
  border-color: var(--c-green);
  background: rgba(100,255,218,.08);
}

/* 桌面端更新记录 */
.page-home .home-updates {
  position: relative;
  padding: 72px 0 64px;
}

.page-home .home-updates__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-updates__lead,
.page-home .home-adapt__lead {
  color: var(--c-dim);
  line-height: 1.8;
  font-size: .93rem;
  margin-bottom: 24px;
  max-width: 42em;
}

.page-home .home-updates__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.page-home .home-updates__version {
  display: inline-block;
  padding: 6px 14px 6px 18px;
  font-family: var(--font-mono);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-green);
  background: rgba(100,255,218,.1);
  border: 1px solid rgba(100,255,218,.32);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 10px 100%);
}

.page-home .home-updates__cycle {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--c-dim);
}

.page-home .home-updates__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-home .home-updates__list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: .88rem;
  color: rgba(230,241,255,.82);
  line-height: 1.6;
}

.page-home .home-updates__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .58em;
  width: 6px;
  height: 6px;
  background: var(--c-green);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-home .home-updates__figure {
  position: relative;
  margin: 0;
}

.page-home .home-updates__figure::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  z-index: 0;
  width: 70%;
  height: 70%;
  border-right: 2px solid var(--c-green);
  border-bottom: 2px solid var(--c-green);
}

.page-home .home-updates__tick {
  position: absolute;
  right: 18px;
  top: -18px;
  z-index: 3;
  width: 64px;
  height: 64px;
  background: rgba(2,12,27,.86);
  border: 1px solid rgba(61,214,140,.5);
  padding: 10px;
  backdrop-filter: blur(4px);
}

.page-home .home-updates__figure img,
.page-home .home-quota__figure img,
.page-home .home-adapt__figure img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 额度说明中心 */
.page-home .home-quota {
  position: relative;
  padding: 72px 0 60px;
  background: var(--c-primary-light);
}

.page-home .home-quota::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-green) 0%, transparent 70%);
}

.page-home .home-quota__accent {
  position: absolute;
  right: 0;
  top: 40px;
  width: min(420px, 60vw);
  height: auto;
  opacity: .55;
  pointer-events: none;
}

.page-home .home-quota__head {
  margin-bottom: 32px;
}

.page-home .home-quota__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-quota__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-home .home-quota__tag {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px 10px 20px;
  background: rgba(10,25,47,.85);
  border: 1px solid var(--c-border);
  font-family: var(--font-mono);
  font-size: .8rem;
  color: rgba(230,241,255,.85);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}

.page-home .home-quota__tag:hover {
  color: var(--c-green);
  border-color: var(--c-green);
  transform: translateY(-2px);
}

.page-home .home-quota__figure {
  position: relative;
  margin: 0;
}

.page-home .home-quota__badge {
  position: absolute;
  top: -22px;
  right: 14px;
  z-index: 3;
  padding: 10px 16px 10px 20px;
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
  color: var(--c-orange);
  background: var(--c-primary-dark);
  border-left: 4px solid var(--c-orange);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.page-home .home-quota__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--c-border);
}

.page-home .home-quota__foot p {
  margin: 0;
  color: var(--c-dim);
  font-size: .9rem;
  line-height: 1.7;
}

.page-home .home-quota__foot strong {
  color: var(--c-green);
  font-family: var(--font-mono);
}

/* 国内平台适配清单 */
.page-home .home-adapt {
  padding: 72px 0 64px;
}

.page-home .home-adapt__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-home .home-adapt__content {
  order: 1;
}

.page-home .home-adapt__figure {
  order: 2;
  position: relative;
  margin: 0;
}

.page-home .home-adapt__figure::before {
  content: "";
  position: absolute;
  left: -14px;
  bottom: -14px;
  z-index: 0;
  width: 60%;
  height: 60%;
  border-left: 2px solid var(--c-orange);
  border-bottom: 2px solid var(--c-orange);
}

.page-home .home-adapt__hl {
  color: var(--c-green);
}

.page-home .home-adapt__stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  margin: 0 0 22px;
  background: rgba(255,107,53,.1);
  border-left: 4px solid var(--c-orange);
}

.page-home .home-adapt__num {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-orange);
}

.page-home .home-adapt__unit {
  font-size: .88rem;
  color: var(--c-text);
}

.page-home .home-adapt__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.page-home .home-adapt__points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(230,241,255,.82);
}

.page-home .home-adapt__points li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--c-orange);
  font-family: var(--font-mono);
}

/* 信任背书与联系入口 */
.page-home .home-trust {
  position: relative;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
}

.page-home .home-trust::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--c-orange) 0%, transparent 60%);
}

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

.page-home .home-trust__sweep {
  position: absolute;
  left: 0;
  bottom: 40px;
  width: min(640px, 80vw);
  height: auto;
  pointer-events: none;
}

.page-home .home-trust__grid {
  display: grid;
  gap: 40px;
}

.page-home .home-trust__statement p {
  margin: 12px 0;
  color: rgba(230,241,255,.76);
  font-size: .92rem;
  line-height: 1.8;
}

.page-home .home-trust__badges {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.page-home .home-trust__badge {
  position: relative;
  padding: 14px 18px 14px 22px;
  background: rgba(17,34,64,.72);
  border: 1px solid var(--c-border);
  font-size: .84rem;
  color: var(--c-text);
  line-height: 1.5;
}

.page-home .home-trust__badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--c-green);
}

.page-home .home-trust__contact {
  background: rgba(17,34,64,.7);
  border: 1px solid var(--c-border);
  padding: 26px 22px;
  align-self: start;
}

.page-home .home-trust__contact-title {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--c-text);
}

.page-home .home-trust__contact-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.page-home .home-trust__contact-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: .9rem;
  line-height: 1.6;
  color: var(--c-text);
}

.page-home .home-trust__contact-list li span {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--c-dim);
}

.page-home .home-trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}

.page-home .home-trust__links a {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: rgba(230,241,255,.55);
  text-decoration: none;
  transition: color .3s var(--ease);
}

.page-home .home-trust__links a:hover {
  color: var(--c-green);
}

/* 响应式布局 */
@media (min-width: 768px) {
  .page-home .home-hero {
    min-height: 100vh;
    padding: 160px 0 68px;
  }

  .page-home .home-hero__actions {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
  }

  .page-home .home-hero__stats {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    gap: 24px 40px;
  }

  .page-home .home-updates,
  .page-home .home-quota,
  .page-home .home-adapt,
  .page-home .home-trust {
    padding-top: 96px;
    padding-bottom: 88px;
  }

  .page-home .home-updates__grid,
  .page-home .home-quota__layout,
  .page-home .home-adapt__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
  }

  .page-home .home-quota__head {
    max-width: 700px;
  }

  .page-home .home-quota__foot {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .page-home .home-trust__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 52px;
  }

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

  .page-home .home-trust__contact {
    padding: 32px 28px;
  }
}

@media (min-width: 1100px) {
  .page-home .home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 7.5fr) minmax(0, 4.5fr);
    gap: 64px;
    align-items: end;
  }

  .page-home .home-hero__aside {
    margin-top: 0;
  }

  .page-home .home-hero__stats {
    grid-template-columns: 1fr 1fr;
    justify-content: initial;
    border-top: none;
    border-left: 1px solid rgba(35,53,84,.9);
    padding: 0 0 0 36px;
  }

  .page-home .home-updates__grid {
    gap: 72px;
  }

  .page-home .home-adapt__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 80px;
  }

  .page-home .home-adapt__content {
    order: 2;
  }

  .page-home .home-adapt__figure {
    order: 1;
  }
}
