.page-home {
  --home-gold: #d4af37;
  --home-gold-deep: #b8952e;
  --home-card-line: rgba(197, 168, 94, 0.25);
}

/* ===== 首屏视觉区 ===== */
.page-home .home-hero {
  position: relative;
  background-color: var(--color-primary);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  background: linear-gradient(150deg, var(--home-gold) 0%, var(--home-gold-deep) 62%, rgba(26, 51, 40, 0.9) 145%);
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-home .home-hero__kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 18px;
}

.page-home .home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.12;
  color: var(--color-text);
  margin-bottom: 20px;
  max-width: 11em;
}

.page-home .home-hero__lead {
  color: rgba(232, 236, 233, 0.85);
  font-size: 1.0625rem;
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 34em;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.page-home .home-hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--color-muted);
  border-top: 1px solid rgba(197, 168, 94, 0.35);
  padding-top: 14px;
}

.page-home .home-hero__meta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-ok);
  flex: 0 0 8px;
}

.page-home .home-hero__visual {
  display: flex;
  justify-content: center;
}

.page-home .home-hero__frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: var(--color-card);
  clip-path: polygon(12% 0, 100% 0, 100% 88%, 0 100%);
  overflow: hidden;
}

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

/* ===== 核心功能索引 ===== */
.page-home .home-functions {
  background-color: var(--color-bg);
}

.page-home .home-functions__wrap {
  display: grid;
  gap: 44px;
  margin-top: 40px;
}

.page-home .home-functions__list {
  min-width: 0;
}

.page-home .home-fn {
  position: relative;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px 20px;
  padding: 26px 44px 26px 0;
  border-bottom: 1px solid var(--home-card-line);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 0.3s ease;
}

.page-home .home-fn:last-child {
  border-bottom: 0;
}

.page-home .home-fn__num {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-gold);
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.page-home .home-fn__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-fn__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.page-home .home-fn__desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.page-home .home-fn__arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  color: var(--color-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-home .home-fn:hover {
  border-color: var(--color-gold);
}

.page-home .home-fn:hover .home-fn__title {
  color: var(--color-gold);
}

.page-home .home-fn:hover .home-fn__num {
  background-color: var(--color-gold);
  color: var(--color-bg);
  border-color: var(--color-gold);
  transform: scale(1.06);
}

.page-home .home-fn:hover .home-fn__arrow {
  opacity: 1;
}

.page-home .home-functions__visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-home .home-functions__note {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
  border-left: 2px solid var(--color-line);
  padding-left: 16px;
}

/* ===== 最新动态预览 ===== */
.page-home .home-news {
  background-color: var(--color-bg-alt);
}

.page-home .section-head--split {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page-home .home-news__layout {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.page-home .home-news__item {
  padding: 28px 0 24px;
  border-top: 1px solid var(--home-card-line);
}

.page-home .home-news__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.page-home .home-news__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--color-text);
}

.page-home .home-news__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
  margin-bottom: 14px;
}

.page-home .home-news__link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.page-home .home-news__link:hover {
  border-color: var(--color-gold);
}

.page-home .home-news__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-home .home-news__aside-note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--color-muted);
}

/* ===== 访问指引 ===== */
.page-home .home-guide {
  background-color: var(--color-bg);
}

.page-home .home-guide__wrap {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

.page-home .home-guide__steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-guide__step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--home-card-line);
}

.page-home .home-guide__step:last-child {
  border-bottom: 0;
}

.page-home .home-guide__num {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--color-bg);
  background-color: var(--color-gold);
}

.page-home .home-guide__content {
  min-width: 0;
}

.page-home .home-guide__content h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

.page-home .home-guide__content p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-muted);
}

.page-home .home-guide__content a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.page-home .home-guide__content a:hover {
  border-color: var(--color-gold);
}

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

/* ===== 信任背书 ===== */
.page-home .home-trust {
  background-color: var(--color-card);
}

.page-home .home-trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(197, 168, 94, 0.18);
  border: 1px solid rgba(197, 168, 94, 0.18);
  margin-top: 44px;
}

.page-home .home-trust__item {
  background-color: var(--color-card);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.page-home .home-trust__num {
  font-family: var(--font-head);
  font-size: 1.875rem;
  line-height: 1.2;
  color: var(--color-gold);
}

.page-home .home-trust__label {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.page-home .home-trust__detail {
  margin-top: 32px;
  max-width: 54em;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.page-home .home-trust__link {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.page-home .home-trust__link:hover {
  border-color: var(--color-gold);
}

.page-home .home-trust__update {
  margin-top: 36px;
  border: 1px solid rgba(197, 168, 94, 0.22);
  background: rgba(10, 92, 42, 0.14);
}

.page-home .home-trust__update summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

.page-home .home-trust__update[open] summary::after {
  content: "−";
}

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

.page-home .home-trust__update li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.page-home .home-trust__update li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--color-gold);
}

/* ===== 桌面端布局适配 ===== */
@media (min-width: 768px) {
  .page-home .home-hero__inner {
    grid-template-columns: 55% 45%;
    align-items: center;
    min-height: 640px;
    gap: 40px;
  }

  .page-home .home-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.9rem);
  }

  .page-home .section-head--split {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .page-home .section-head--split .btn {
    flex-shrink: 0;
  }

  .page-home .home-trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 992px) {
  .page-home .home-functions__wrap {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 56px;
  }

  .page-home .home-news__layout {
    grid-template-columns: 7fr 4fr;
    align-items: start;
  }

  .page-home .home-guide__wrap {
    grid-template-columns: 7fr 5fr;
    align-items: center;
    gap: 56px;
  }
}

@media (max-width: 767px) {
  .page-home .home-hero::before {
    width: 90%;
    opacity: 0.35;
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
  }
}
