.page-home {
  --ph-cut: 18px;
  --ph-cut-sm: 10px;
  overflow-x: hidden;
  color: var(--white);
}

.page-home img {
  max-width: 100%;
  height: auto;
}

.page-home .mono {
  font-family: var(--font-mono);
}

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

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding: clamp(28px, 5vw, 72px) var(--gutter) clamp(20px, 3vw, 36px);
  background:
    radial-gradient(circle at 82% 8%, rgba(0, 229, 255, 0.16), transparent 46%),
    radial-gradient(circle at 12% 92%, rgba(255, 107, 53, 0.1), transparent 42%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  isolation: isolate;
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 243, 255, 0.5) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.09;
  pointer-events: none;
  z-index: -1;
}

.page-home .hero__grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  max-width: var(--max-w);
  margin-inline: auto;
}

.page-home .crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.page-home .crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.page-home .crumbs a:hover,
.page-home .crumbs a:focus-visible {
  color: var(--cyan);
}

.page-home .hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 8vw, 72px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.page-home .hero__lede {
  max-width: 36em;
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-home .hero__panel {
  position: relative;
  padding: clamp(14px, 2.4vw, 22px);
  background: linear-gradient(158deg, rgba(18, 42, 87, 0.96), rgba(6, 21, 48, 0.98));
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ph-cut)), calc(100% - var(--ph-cut)) 100%, 0 100%);
}

.page-home .hero__panel::before {
  content: "";
  position: absolute;
  top: -48px;
  left: -48px;
  width: 190px;
  height: 190px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.32), transparent 68%);
  pointer-events: none;
}

.page-home .hero__figure {
  margin: 0;
}

.page-home .figure {
  margin: 0;
}

.page-home .figure__media {
  overflow: hidden;
  background: var(--ink-deep);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ph-cut)), calc(100% - var(--ph-cut)) 100%, 0 100%);
}

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

.page-home .figure__cap {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

.page-home .entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.page-home .entry {
  display: block;
  padding: 13px 13px 15px;
  text-decoration: none;
  color: var(--white);
  background: rgba(10, 31, 68, 0.82);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% 100%, var(--ph-cut-sm) 100%, 0 calc(100% - var(--ph-cut-sm)));
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .entry:hover,
.page-home .entry:focus-visible {
  transform: translateY(-4px);
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.09);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .entry__num {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.page-home .entry__title {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-home .entry__desc {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.page-home .hero__ticker {
  max-width: var(--max-w);
  margin: clamp(26px, 4vw, 44px) auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .hero__ticker::-webkit-scrollbar {
  display: none;
}

.page-home .hero__ticker ul {
  display: flex;
  min-width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__ticker li {
  display: flex;
  align-items: center;
}

.page-home .hero__ticker li::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
}

.page-home .hero__ticker a {
  display: block;
  padding: 13px 18px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.page-home .hero__ticker a:hover,
.page-home .hero__ticker a:focus-visible {
  color: var(--cyan);
}

/* ---------- 数据条 ---------- */
.page-home .stats {
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.08), transparent 62%);
}

.page-home .stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  max-width: var(--max-w);
  margin-inline: auto;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .stat {
  background: var(--ink);
  padding: clamp(16px, 3vw, 26px) clamp(14px, 2vw, 22px);
}

.page-home .stat__num {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cyan);
}

.page-home .stat__label {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- 通用章节 ---------- */
.page-home .section {
  padding: clamp(52px, 8vw, 120px) var(--gutter);
}

.page-home .section--tint {
  background: linear-gradient(180deg, rgba(18, 42, 87, 0.4), transparent 70%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-home .section__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.page-home .section__head {
  max-width: 46rem;
}

.page-home h2 {
  margin: 12px 0 0;
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.015em;
}

.page-home h3 {
  margin: 10px 0 0;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.page-home .section__lede {
  max-width: 38em;
  margin: 16px 0 0;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .section__figure {
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  transition: color 0.18s var(--ease), gap 0.18s var(--ease);
}

.page-home .link-arrow:hover,
.page-home .link-arrow:focus-visible {
  color: var(--orange-sand);
  gap: 14px;
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

/* ---------- 栏目索引 ---------- */
.page-home .index-list {
  margin: clamp(24px, 4vw, 40px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  counter-reset: none;
}

.page-home .index-list__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.18s var(--ease);
}

.page-home .index-list__item:hover {
  background: rgba(0, 229, 255, 0.06);
}

.page-home .index-list__num {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--cyan);
  padding-top: 4px;
}

.page-home .index-list__link {
  font-size: 17px;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  transition: color 0.18s var(--ease);
}

.page-home .index-list__item:hover .index-list__link,
.page-home .index-list__link:focus-visible {
  color: var(--cyan-mist);
}

.page-home .index-list__desc {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.page-home .index-list__arrow {
  display: none;
  font-family: var(--font-mono);
  color: var(--dim);
}

/* ---------- 客户端与服务清单 ---------- */
.page-home .compare {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
}

.page-home .compare__note {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--cyan);
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .cat-list {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .cat {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 2px 10px;
  align-items: baseline;
  padding: 12px 14px;
  background: var(--panel);
  border-left: 2px solid var(--cyan);
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.page-home .cat:hover {
  background: rgba(0, 229, 255, 0.09);
  border-left-color: var(--orange);
}

.page-home .cat__num {
  grid-row: span 2;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.page-home .cat__name {
  font-size: 15px;
  font-weight: 700;
}

.page-home .cat__note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- 会员权益 ---------- */
.page-home .benefits {
  display: grid;
  gap: clamp(28px, 4vw, 52px);
}

.page-home .steps {
  margin: clamp(22px, 3vw, 32px) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.page-home .step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 2px 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.page-home .step__num {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--orange);
  padding-top: 4px;
}

.page-home .step__title {
  font-size: 15.5px;
  font-weight: 700;
}

.page-home .step__desc {
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .faq {
  margin-top: clamp(24px, 4vw, 36px);
  border-top: 1px solid var(--line);
}

.page-home .faq details {
  border-bottom: 1px solid var(--line);
}

.page-home .faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  transition: color 0.18s var(--ease);
}

.page-home .faq summary::-webkit-details-marker {
  display: none;
}

.page-home .faq summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--cyan);
}

.page-home .faq details[open] summary::after {
  content: "–";
}

.page-home .faq summary:hover,
.page-home .faq summary:focus-visible {
  color: var(--cyan-mist);
}

.page-home .faq p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.page-home .benefits__media {
  align-self: start;
}

/* ---------- 最近更新 ---------- */
.page-home .updates {
  display: grid;
  gap: 16px;
  margin-top: clamp(24px, 4vw, 40px);
}

.page-home .update-card {
  padding: clamp(20px, 3vw, 32px);
  background: var(--panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--ph-cut)), calc(100% - var(--ph-cut)) 100%, 0 100%);
  transition: transform 0.18s var(--ease), border-color 0.18s var(--ease);
}

.page-home .update-card--dark {
  background: var(--ink-deep);
}

.page-home .update-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
}

.page-home .update-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.page-home .update-card li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.page-home .update-card li::before {
  content: "▸";
  flex: none;
  color: var(--cyan);
}

/* ---------- 结尾栏目带 ---------- */
.page-home .closing {
  padding: clamp(16px, 2.6vw, 26px) 0;
  background: var(--ink-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.page-home .closing__track {
  display: flex;
  width: max-content;
  animation: ph-marquee 32s linear infinite;
}

.page-home .closing__list {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin: 0;
  padding: 0 clamp(20px, 3vw, 44px) 0 0;
  list-style: none;
}

.page-home .closing__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: clamp(17px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.page-home .closing__list a:hover,
.page-home .closing__list a:focus-visible {
  color: var(--cyan);
}

.page-home .closing__list .mono {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--orange);
}

@keyframes ph-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- 显现 ---------- */
.page-home [data-reveal][data-in="true"] {
  animation: ph-rise 0.6s var(--ease) both;
}

@keyframes ph-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 断点 ---------- */
@media (min-width: 560px) {
  .page-home .stats__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 820px) {
  .page-home .index-list__item {
    grid-template-columns: 56px 220px 1fr 24px;
    align-items: center;
    gap: 0 24px;
    padding: 20px 16px;
  }

  .page-home .index-list__num {
    padding-top: 0;
  }

  .page-home .index-list__desc {
    grid-column: 3;
  }

  .page-home .index-list__arrow {
    display: block;
    grid-column: 4;
    text-align: right;
  }
}

@media (min-width: 900px) {
  .page-home .stats__inner {
    grid-template-columns: repeat(5, 1fr);
  }

  .page-home .updates {
    grid-template-columns: 1.08fr 1fr;
  }

  .page-home .update-card--dark {
    transform: translateY(14px);
  }

  .page-home .update-card--dark:hover {
    transform: translateY(10px);
  }
}

@media (min-width: 960px) {
  .page-home .hero {
    padding-top: clamp(40px, 5vw, 80px);
  }

  .page-home .hero__grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .page-home .hero__ticker {
    margin-top: clamp(34px, 4vw, 56px);
  }

  .page-home .compare {
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
  }

  .page-home .compare__media {
    transform: translateY(-14px);
  }

  .page-home .benefits {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .closing__track {
    animation: none;
  }

  .page-home [data-reveal][data-in="true"] {
    animation: none;
  }

  .page-home .entry:hover,
  .page-home .entry:focus-visible,
  .page-home .update-card:hover,
  .page-home .update-card--dark:hover {
    transform: none;
  }
}
