.page-home {
  --home-line: rgba(143, 163, 191, 0.16);
  --home-cyan-soft: rgba(22, 242, 210, 0.12);
  --home-lava-soft: rgba(255, 106, 43, 0.16);
  overflow-x: clip;
}

/* ---------- 首屏 ---------- */
.page-home .hero {
  position: relative;
  padding-top: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(52px, 8vw, 108px);
}

.page-home .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--home-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--home-line) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 18% 0%, #000 0%, transparent 72%);
  pointer-events: none;
}

.page-home .hero__bg {
  position: absolute;
  top: -6%;
  right: -8%;
  width: min(820px, 66%);
  opacity: 0.3;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(105deg, transparent 4%, #000 58%);
  mask-image: linear-gradient(105deg, transparent 4%, #000 58%);
}

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

.page-home .hero__grid {
  position: relative;
  display: grid;
  gap: clamp(30px, 4.5vw, 60px);
}

@media (min-width: 920px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .hero__intro h1 {
  margin: 14px 0 0;
  font-family: var(--font-head);
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--paper);
}

.page-home .hero__intro .lead {
  margin-top: 18px;
  max-width: 46ch;
  color: var(--text-soft);
}

.page-home .hero__intro .tag-row {
  margin-top: 22px;
}

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

/* 章节预览卡 */
.page-home .hero__chapters {
  display: grid;
  gap: 10px;
  align-content: start;
}

.page-home .chapter {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(11, 22, 38, 0.9), rgba(5, 10, 20, 0.55));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .chapter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--cyan);
  transform: scaleY(0.25);
  transform-origin: top;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.page-home .chapter:hover,
.page-home .chapter:focus-visible {
  border-color: var(--line-strong);
  background: linear-gradient(120deg, rgba(16, 31, 51, 0.96), rgba(5, 10, 20, 0.7));
  transform: translateX(3px);
}

.page-home .chapter:hover::before,
.page-home .chapter:focus-visible::before {
  background: var(--lava);
  transform: scaleY(1);
}

.page-home .chapter__idx {
  font-size: 13px;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.page-home .chapter__body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.page-home .chapter__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .chapter__desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--haze);
}

.page-home .chapter__path {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--lava);
  opacity: 0.28;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  transform: translateX(-4px);
}

.page-home .chapter:hover .chapter__path,
.page-home .chapter:focus-visible .chapter__path {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- 费用预览 ---------- */
.page-home .pricing {
  position: relative;
}

.page-home .pricing::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(320px, 42%);
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.page-home .pricing__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
}

@media (min-width: 1000px) {
  .page-home .pricing__grid {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 0.78fr);
    align-items: start;
  }
}

.page-home .pricing__main h2,
.page-home .databand__intro h2,
.page-home .device__body h2,
.page-home .reports h2,
.page-home .trust h2 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--paper);
}

.page-home .pricing__lead {
  margin-top: 14px;
  max-width: 52ch;
  color: var(--text-soft);
  font-size: 15px;
}

.page-home .cycle {
  position: relative;
  margin-top: 26px;
}

.page-home .cycle__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}

.page-home .cycle__tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.72);
  margin-bottom: 18px;
}

.page-home .cycle__tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--haze);
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.page-home .cycle__tab-k {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: inherit;
}

.page-home .cycle__tab:hover {
  color: var(--paper);
}

.page-home #home-cycle-month:checked ~ .cycle__tabs [for="home-cycle-month"],
.page-home #home-cycle-quarter:checked ~ .cycle__tabs [for="home-cycle-quarter"] {
  background: var(--lava);
  color: #13100c;
}

.page-home #home-cycle-month:focus-visible ~ .cycle__tabs [for="home-cycle-month"],
.page-home #home-cycle-quarter:focus-visible ~ .cycle__tabs [for="home-cycle-quarter"] {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.page-home .cycle__cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 560px) {
  .page-home .cycle__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.page-home .price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(16, 31, 51, 0.9), rgba(5, 10, 20, 0.82));
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.page-home .price-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--paper);
}

.page-home .price-card__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--haze);
}

.page-home .price-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 2px 0 0;
}

.page-home .price-card__num {
  font-size: clamp(38px, 5.4vw, 52px);
  line-height: 1;
  font-weight: 700;
  color: var(--lava);
  letter-spacing: -0.02em;
}

.page-home .price-card__unit {
  font-size: 14px;
  color: var(--text-soft);
}

.page-home .price-card__cycle {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lime);
}

.page-home .price-card__list {
  margin: 6px 0 14px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.page-home .price-card__list li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-soft);
}

.page-home .price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.75;
}

.page-home .price-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.page-home #home-cycle-month:checked ~ .cycle__cards .price-card--month,
.page-home #home-cycle-quarter:checked ~ .cycle__cards .price-card--quarter {
  border-color: rgba(255, 106, 43, 0.55);
  background: linear-gradient(158deg, rgba(38, 26, 24, 0.92), rgba(8, 12, 21, 0.9));
  box-shadow: 0 0 0 1px rgba(255, 106, 43, 0.22), 0 22px 48px -30px rgba(255, 106, 43, 0.55);
}

.page-home .cycle__note {
  margin: 16px 0 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--haze);
  padding-left: 14px;
  border-left: 2px solid var(--home-lava-soft);
}

.page-home .cycle__note--quarter {
  display: none;
  border-left-color: var(--home-cyan-soft);
}

.page-home #home-cycle-quarter:checked ~ .cycle__note--month {
  display: none;
}

.page-home #home-cycle-quarter:checked ~ .cycle__note--quarter {
  display: block;
}

.page-home .pricing__team {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-soft);
}

.page-home .pricing__team a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 242, 210, 0.4);
}

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

/* ---------- 数据面板信息带 ---------- */
.page-home .databand {
  position: relative;
  margin-top: clamp(34px, 5vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(78% 120% at 88% 0%, rgba(22, 242, 210, 0.1), transparent 62%),
    linear-gradient(115deg, rgba(11, 22, 38, 0.94) 0%, rgba(5, 10, 20, 0.92) 72%);
}

.page-home .databand__head {
  display: grid;
  gap: 26px;
  align-items: start;
}

@media (min-width: 760px) {
  .page-home .databand__head {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

.page-home .databand__intro p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 60ch;
  color: var(--text-soft);
  font-size: 15px;
}

.page-home .pulse-ring {
  position: relative;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--lime) 0deg 78deg, rgba(140, 255, 90, 0.1) 78deg 360deg);
  animation: home-ring-spin 10s linear infinite;
  flex: none;
}

.page-home .pulse-ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--panel);
}

.page-home .pulse-ring__num {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 700;
  color: var(--lime);
}

@keyframes home-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.page-home .databand__stats {
  display: grid;
  gap: 12px;
  margin-top: clamp(26px, 3.5vw, 40px);
}

@media (min-width: 620px) {
  .page-home .databand__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .page-home .databand__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .stat {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--lime);
  border-radius: var(--radius);
  background: rgba(5, 10, 20, 0.52);
}

.page-home .stat__num {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--lime);
}

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

.page-home .databand__figure {
  margin: clamp(26px, 3.5vw, 44px) 0 0;
}

/* ---------- 设备切换 ---------- */
.page-home .device {
  position: relative;
  padding-top: clamp(48px, 7vw, 96px);
}

.page-home .device__grid {
  display: grid;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}

@media (min-width: 900px) {
  .page-home .device__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }
}

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

.page-home .device__body p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 54ch;
  font-size: 15px;
  color: var(--text-soft);
}

.page-home .device__list {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
  padding: 0;
  list-style: none;
}

.page-home .device__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-soft);
}

.page-home .device__idx {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lava);
  padding-top: 2px;
}

/* ---------- 观察报告 ---------- */
.page-home .reports .section-head {
  align-items: flex-end;
}

.page-home .reports__grid {
  margin-top: clamp(22px, 3vw, 34px);
}

.page-home .report-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.page-home .report-card:hover,
.page-home .report-card:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.page-home .report-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.45;
  color: var(--paper);
}

.page-home .report-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-home .report-card__meta {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--haze);
}

/* ---------- 服务现状与联系 ---------- */
.page-home .trust {
  padding-bottom: clamp(56px, 8vw, 104px);
}

.page-home .trust__grid {
  display: grid;
  gap: clamp(26px, 4vw, 48px);
}

@media (min-width: 960px) {
  .page-home .trust__grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    align-items: start;
  }
}

.page-home .trust__body > p:not(.eyebrow) {
  margin-top: 14px;
  max-width: 60ch;
  font-size: 15px;
  color: var(--text-soft);
}

.page-home .trust__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

@media (min-width: 620px) {
  .page-home .trust__stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.page-home .trust__stat {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.page-home .trust__num {
  display: block;
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: -0.01em;
}

.page-home .trust__label {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--haze);
}

.page-home .trust__note {
  margin-top: 22px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--haze);
}

.page-home .trust__note a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 242, 210, 0.35);
}

.page-home .contact-card {
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(11, 22, 38, 0.94), rgba(5, 10, 20, 0.86));
  border-top: 2px solid var(--lava);
}

.page-home .contact-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.45;
  color: var(--paper);
}

.page-home .contact-card__desc {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--haze);
}

.page-home .contact-card__list {
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.page-home .contact-card__row {
  display: grid;
  gap: 3px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.page-home .contact-card__row dt {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.page-home .contact-card__row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
  word-break: break-word;
}

.page-home .contact-card__time {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--amber);
}

.page-home .contact-card .btn {
  margin-top: 18px;
}

/* ---------- 窄屏适配 ---------- */
@media (max-width: 640px) {
  .page-home .hero__bg {
    width: 118%;
    right: -26%;
    top: -2%;
    opacity: 0.18;
  }

  .page-home .chapter {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px 15px;
  }

  .page-home .chapter__path {
    display: none;
  }

  .page-home .cycle__tabs {
    width: 100%;
    justify-content: stretch;
  }

  .page-home .cycle__tab {
    flex: 1;
    justify-content: center;
    padding: 9px 10px;
  }

  .page-home .pulse-ring {
    width: 72px;
    height: 72px;
  }

  .page-home .pulse-ring__num {
    font-size: 20px;
  }

  .page-home .contact-card__row dd {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .pulse-ring {
    animation: none;
    background: conic-gradient(var(--lime) 0deg 78deg, rgba(140, 255, 90, 0.1) 78deg 360deg);
  }

  .page-home .chapter,
  .page-home .report-card,
  .page-home .chapter__path {
    transition: none;
  }

  .page-home .chapter:hover,
  .page-home .chapter:focus-visible,
  .page-home .report-card:hover,
  .page-home .report-card:focus-visible {
    transform: none;
  }
}
