.page-home {
  --home-orange: #FF7A00;
  --home-teal: #00C2A8;
  --home-offwhite: #F5F7FA;
  --home-line: rgba(255, 255, 255, 0.12);
  --home-space: #0A1E2F;
  --home-space-2: #142A4A;
  --home-indigo: #3B2E6E;
  background: var(--home-space);
  color: var(--home-offwhite);
  overflow-x: hidden;
}

/* ========== 首屏封面 ========== */
.page-home__hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h, 78px) + 40px) 0 60px;
  background: var(--home-space);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.page-home__hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.page-home__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.page-home__hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 168, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 168, 0.08) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.5;
}

.page-home__hero-beam {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 122, 0, 0.12) 50%, transparent 70%);
  transform: rotate(12deg);
  pointer-events: none;
}

.page-home__hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: end;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-home__hero-index {
  display: inline-block;
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--home-teal);
  margin-left: 12px;
}

.page-home__hero-title {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 2.8rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 20px 0 24px;
  color: var(--home-offwhite);
  text-shadow: 0 0 40px rgba(0, 194, 168, 0.15);
}

.page-home__hero-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--home-offwhite);
  opacity: 0.85;
  max-width: 560px;
  margin-bottom: 36px;
}

.page-home__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.page-home__hero-aside {
  border-left: 1px solid var(--home-line);
  padding-left: 24px;
  max-width: 320px;
}

.page-home__aside-label {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray, #A8B6C4);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-home__aside-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.page-home__aside-list li {
  margin-bottom: 10px;
}

.page-home__aside-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--home-offwhite);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s;
}

.page-home__aside-list a:hover {
  color: var(--home-orange);
}

.page-home__aside-num {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.75rem;
  color: var(--home-teal);
}

.page-home__scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--home-orange);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: opacity 0.25s;
}

.page-home__scroll-link:hover {
  opacity: 0.75;
}

.page-home__scroll-line {
  position: relative;
  width: 48px;
  height: 1px;
  background: var(--home-orange);
  display: inline-block;
}

.page-home__scroll-line::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-orange);
  animation: home-scroll-pulse 2s infinite;
}

@keyframes home-scroll-pulse {
  0% { left: 0; opacity: 1; }
  100% { left: 46px; opacity: 0.2; }
}

/* ========== 章节头 ========== */
.page-home__section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.page-home__section-head .section-title,
.page-home__csv-head .section-title,
.page-home__record-copy .section-title,
.page-home__retention-copy .section-title,
.page-home__explore .section-title {
  margin-top: 12px;
  font-size: 2.2rem;
  line-height: 1.15;
}

/* ========== 面板栏目 ========== */
.page-home__panel-column {
  padding: 80px 0 96px;
}

.page-home__panel-grid {
  gap: 40px;
  align-items: center;
}

.page-home__phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

.page-home__phone-wrap::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  background: linear-gradient(145deg, rgba(255, 122, 0, 0.12), rgba(0, 194, 168, 0.08));
  filter: blur(30px);
  z-index: 0;
}

.page-home__phone-frame {
  position: relative;
  width: 280px;
  max-width: 88%;
  border: 1px solid var(--home-line);
  border-radius: 36px;
  padding: 14px 10px 20px;
  background: var(--home-space-2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.page-home__phone-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
  object-fit: cover;
  aspect-ratio: 720 / 1280;
}

.page-home__phone-label {
  position: absolute;
  top: 0;
  right: -24px;
  background: var(--home-orange);
  color: #000;
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 0 0 4px 4px;
  transform: rotate(90deg) translate(100%, -14px);
  transform-origin: 100% 0;
}

.page-home__panel-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-home__point-item {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--home-line);
}

.page-home__point-item:last-of-type {
  border-bottom: none;
}

.page-home__point-num {
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid var(--home-teal);
  color: var(--home-teal);
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.page-home__point-title {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 1.3rem;
  margin: 4px 0 8px;
}

.page-home__point-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--home-offwhite);
  opacity: 0.75;
  margin: 0;
}

.page-home__inline-link {
  display: inline-block;
  color: var(--home-teal);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--home-teal);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
  width: fit-content;
}

.page-home__inline-link:hover {
  color: var(--home-orange);
  border-color: var(--home-orange);
}

/* ========== 查记录入口 ========== */
.page-home__record-entry {
  padding: 80px 0 96px;
  background: linear-gradient(135deg, var(--home-indigo), #271d52 60%, #332468);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 20px));
}

.page-home__record-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home__record-copy .lead {
  color: var(--home-offwhite);
  margin-bottom: 16px;
}

.page-home__record-text {
  line-height: 1.75;
  opacity: 0.8;
  margin-bottom: 32px;
}

.page-home__record-visual {
  position: relative;
}

.page-home__record-track {
  background: rgba(10, 30, 47, 0.5);
  border: 1px solid var(--home-line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.page-home__record-track::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 40px;
  border-left: 2px dashed rgba(255, 122, 0, 0.4);
  z-index: 0;
}

.page-home__record-track-label {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gray, #A8B6C4);
  text-transform: uppercase;
  padding-left: 56px;
  margin-bottom: 4px;
}

.page-home__record-slot {
  position: relative;
  z-index: 1;
  margin-left: 56px;
  background: rgba(20, 42, 74, 0.9);
  border: 1px solid var(--home-line);
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--home-offwhite);
  opacity: 0.7;
}

.page-home__record-slot--first {
  margin-left: 20px;
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
}

.page-home__record-slot--highlight {
  margin-left: 20px;
  background: var(--home-orange);
  color: #000;
  border-color: var(--home-orange);
  opacity: 1;
  font-weight: 600;
  transform: translateX(12px);
  box-shadow: 0 12px 30px rgba(255, 122, 0, 0.25);
}

/* ========== 数据保留 ========== */
.page-home__data-retention {
  padding: 80px 0 96px;
  background: var(--home-space);
}

.page-home__retention-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.page-home__retention-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--home-teal);
  margin: 16px 0;
}

.page-home__retention-text {
  line-height: 1.75;
  opacity: 0.78;
  margin-bottom: 28px;
}

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

.page-home__retention-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
}

.page-home__retention-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--home-orange);
  border-radius: 2px;
  transform: rotate(12deg);
}

.page-home__retention-visual {
  position: relative;
}

.page-home__retention-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--home-line);
  aspect-ratio: 800 / 600;
}

.page-home__retention-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
}

.page-home__axis-deco {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--home-offwhite);
  background: rgba(10, 30, 47, 0.85);
  border: 1px solid var(--home-teal);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ========== CSV导出 ========== */
.page-home__csv-export {
  padding: 84px 0;
  background: linear-gradient(180deg, var(--home-deep-teal, #0E4D57), #0a3d46);
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}

.page-home__csv-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.page-home__csv-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 44px;
}

.page-home__step {
  background: rgba(10, 30, 47, 0.4);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 24px;
  position: relative;
  transition: background 0.3s;
}

.page-home__step:hover {
  background: rgba(10, 30, 47, 0.7);
}

.page-home__step-num {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--home-orange);
  text-transform: uppercase;
}

.page-home__step-title {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 1.15rem;
  margin: 12px 0 8px;
}

.page-home__step-text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.75;
  margin: 0;
}

.page-home__csv-media {
  margin-bottom: 48px;
}

.page-home__csv-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--home-line);
  aspect-ratio: 1200 / 600;
}

.page-home__csv-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ========== 探索更多 ========== */
.page-home__explore {
  padding: 80px 0;
  background: var(--home-space);
}

.page-home__explore-grid {
  margin-top: 48px;
}

.page-home__explore-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--home-space-2);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  text-decoration: none;
  color: var(--home-offwhite);
  position: relative;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.page-home__explore-card:hover {
  border-color: var(--home-orange);
  background: rgba(255, 122, 0, 0.08);
  transform: translateY(-4px);
}

.page-home__explore-num {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 2rem;
  color: var(--home-teal);
  line-height: 1;
  margin-bottom: 16px;
}

.page-home__explore-title {
  font-family: var(--font-display, "Bahnschrift", "Avenir Next", "Century Gothic", sans-serif);
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.page-home__explore-text {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.75;
  margin: 0 0 20px;
  flex: 1;
}

.page-home__explore-link {
  font-size: 0.85rem;
  color: var(--home-orange);
  border-bottom: 1px solid var(--home-orange);
  padding-bottom: 2px;
  width: fit-content;
}

/* ========== 信任声明 ========== */
.page-home__trust {
  border-top: none;
  padding: 36px 0;
}

.page-home__trust-bar {
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
  padding: 24px 0;
  text-align: center;
}

.page-home__trust-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray, #A8B6C4);
  line-height: 1.7;
}

/* ========== 媒体查询：窄屏 ========== */
@media (max-width: 480px) {
  .page-home__hero-title {
    font-size: 2rem;
  }

  .page-home__hero-inner {
    padding: 0 16px;
    gap: 32px;
  }

  .page-home__hero-aside {
    max-width: 100%;
    border-left: none;
    border-top: 1px solid var(--home-line);
    padding-left: 0;
    padding-top: 20px;
  }

  .page-home__retention-list {
    grid-template-columns: 1fr;
  }

  .page-home__section-head .section-title,
  .page-home__csv-head .section-title,
  .page-home__record-copy .section-title,
  .page-home__retention-copy .section-title,
  .page-home__explore .section-title {
    font-size: 1.7rem;
  }

  .page-home__phone-frame {
    width: 230px;
  }

  .page-home__phone-label {
    right: -8px;
    font-size: 0.6rem;
  }
}

/* ========== 媒体查询：桌面 ========== */
@media (min-width: 900px) {
  .page-home__hero-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.6fr);
    gap: 80px;
  }

  .page-home__hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
  }

  .page-home__hero-lead {
    font-size: 1.125rem;
  }

  .page-home__panel-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .page-home__record-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-home__retention-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-home__panel-column,
  .page-home__data-retention,
  .page-home__explore {
    padding: 110px 0;
  }

  .page-home__record-entry {
    padding: 110px 0;
  }

  .page-home__csv-export {
    padding: 110px 0;
  }
}

/* ========== 显现协议 ========== */
.page-home [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.page-home .is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-home__scroll-line::after {
    animation: none;
  }
}

/* ========== 标题悬停底色反转 ========== */
.page-home__experience-demo {
  cursor: pointer;
}

.page-home__hero-title,
.page-home__section-head .section-title,
.page-home__record-copy .section-title,
.page-home__retention-copy .section-title,
.page-home__csv-head .section-title,
.page-home__explore .section-title {
  transition: background-color 0.3s ease, color 0.3s ease;
  padding: 0.06em 0.12em;
  margin-left: -0.12em;
}

.page-home__hero-title:hover,
.page-home__section-head .section-title:hover,
.page-home__record-copy .section-title:hover,
.page-home__retention-copy .section-title:hover,
.page-home__csv-head .section-title:hover,
.page-home__explore .section-title:hover {
  background-color: var(--home-orange);
  color: #000;
}

/* ========== 导出步骤点击逐段高亮 ========== */
.page-home__step:focus-within,
.page-home__step:target {
  background: rgba(255, 122, 0, 0.15);
  border-color: var(--home-orange);
}

.page-home__step-num,
.page-home__step-title,
.page-home__step-text {
  transition: color 0.25s;
}

.page-home__step:focus-within .page-home__step-num,
.page-home__step:target .page-home__step-num {
  color: var(--home-orange);
}

.page-home__step:focus-within .page-home__step-title,
.page-home__step:target .page-home__step-title {
  color: var(--home-offwhite);
}

/* ========== 键盘焦点反馈 ========== */
.page-home a:focus-visible,
.page-home [tabindex]:focus-visible {
  outline: 2px solid var(--home-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.page-home {
  --home-deep-teal: transparent;
}
