.page-home {
  --home-space-lg: 4.25rem;
  --home-space-md: 2.25rem;
  --home-space-sm: 1.25rem;
  --home-teal: #155E4B;
  --home-wine: #A52A2A;
  overflow-x: clip;
}

/* 首屏 */
.page-home .home-hero {
  display: grid;
  gap: 1.75rem;
  padding: 2.25rem 0 1.5rem;
}
.page-home .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-home .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(123, 47, 190, 0.08);
  border: 1px solid rgba(123, 47, 190, 0.18);
  color: var(--violet);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.page-home .hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.16);
}
.page-home .hero-copy h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0 0 1.1rem;
  max-width: 11em;
}
.page-home .hero-copy h1::after {
  content: "";
  display: block;
  width: 3rem;
  height: 0.22rem;
  margin-top: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-teal), var(--violet));
}
.page-home .hero-lead {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: #3D4A5C;
  margin: 0 0 1.5rem;
  max-width: 38em;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.page-home .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .hero-chips a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #E3E7EF;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.page-home .hero-chips a:hover {
  border-color: var(--violet);
  color: var(--violet);
}
.page-home .hero-visual {
  position: relative;
  margin: 0;
  padding: 0.5rem;
  background: linear-gradient(140deg, #0B1B3A, #4B0082 85%, #7B2FBE);
  border-radius: 1.5rem;
  clip-path: polygon(0 0, calc(100% - 1.25rem) 0, 100% 1.25rem, 100% 100%, 1.25rem 100%, 0 calc(100% - 1.25rem));
}
.page-home .hero-visual::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 1.1rem;
  width: 3.2rem;
  height: 0.22rem;
  border-radius: 999px;
  background: var(--grad-accent);
}
.page-home .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}
.page-home .hero-visual figcaption {
  padding: 0.7rem 0.35rem 0.15rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  letter-spacing: 0.02em;
}

/* 区块标题 */
.page-home .section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.6rem 1rem;
  margin: 0 0 1.5rem;
}
.page-home .section-heading h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0;
}
.page-home .section-heading h2::after {
  content: "";
  display: block;
  width: 2.6rem;
  height: 4px;
  margin-top: 0.4rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-teal), var(--violet));
}
.page-home .section-heading p {
  margin: 0.4rem 0 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: #5A6675;
}
.page-home .section-note {
  font-family: var(--font-head);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  color: var(--violet);
  white-space: nowrap;
}
.page-home .section-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--violet);
  text-decoration: none;
}

/* 章节预览 */
.page-home .preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.page-home .preview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.2rem;
  background: #ffffff;
  border: 1px solid #EDEFF3;
  border-radius: 1.1rem;
  box-shadow: 0 4px 18px rgba(11, 27, 58, 0.05);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.page-home .preview-card:hover {
  border-color: rgba(123, 47, 190, 0.35);
  box-shadow: 0 14px 36px rgba(11, 27, 58, 0.14);
}
.page-home .preview-card .card-index {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background: rgba(123, 47, 190, 0.08);
  border-radius: 0.35rem;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.7rem;
}
.page-home .preview-card h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 0.45rem;
}
.page-home .preview-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4A5568;
  margin: 0 0 1rem;
}
.page-home .card-go {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--violet);
  transition: color 0.2s var(--ease);
}
.page-home .preview-card:hover .card-go {
  color: var(--orange);
}
.page-home .badge-hot {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.page-home .preview-card--login {
  background: linear-gradient(150deg, #0B1B3A, #3D1A72 70%, #7B2FBE);
  border-color: transparent;
}
.page-home .preview-card--login::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 0.32rem;
  background: var(--grad-accent);
  border-radius: 0 0 1.1rem 1.1rem;
}
.page-home .preview-card--login h3 {
  color: #ffffff;
}
.page-home .preview-card--login p {
  color: rgba(255, 255, 255, 0.78);
}
.page-home .preview-card--login .card-index {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.page-home .preview-card--login .card-go {
  color: #FFD27E;
}
.page-home .preview-card--login:hover {
  border-color: transparent;
  box-shadow: 0 18px 44px rgba(11, 27, 58, 0.3);
}
.page-home .preview-card--login .badge-hot {
  background: var(--orange);
  color: #ffffff;
}

/* 焕新亮点 */
.page-home .home-highlights,
.page-home .home-quick,
.page-home .home-news,
.page-home .home-trust {
  margin-top: var(--home-space-md);
}
.page-home .highlights-layout {
  display: grid;
  gap: 1.75rem;
}
.page-home .highlight-visual {
  margin: 0;
  padding: 0.4rem;
  border-radius: 1.3rem;
  background: linear-gradient(150deg, #0B1B3A, #4B0082);
}
.page-home .highlight-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}
.page-home .highlight-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}
.page-home .highlight-timeline::before {
  content: "";
  position: absolute;
  left: 1.05rem;
  top: 0.25rem;
  bottom: 0.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--violet), var(--orange));
  opacity: 0.55;
}
.page-home .highlight-timeline li {
  position: relative;
  padding-left: 3.2rem;
}
.page-home .timeline-dot {
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 0 0 4px rgba(123, 47, 190, 0.12);
}
.page-home .highlight-timeline h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0.2rem 0 0.36rem;
}
.page-home .highlight-timeline p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #4A5568;
  margin: 0;
}

/* 快速入口 */
.page-home .quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.page-home .quick-card {
  display: block;
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  border: 1px solid #EDEFF3;
  border-radius: 1.1rem;
  box-shadow: 0 4px 16px rgba(11, 27, 58, 0.05);
  color: var(--text);
  text-decoration: none;
  transition: box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}
.page-home .quick-card:hover {
  box-shadow: var(--shadow-2);
  border-color: rgba(255, 107, 53, 0.3);
}
.page-home .quick-card-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--orange);
  background: rgba(255, 107, 53, 0.1);
  padding: 0.24rem 0.6rem;
  border-radius: 0.3rem;
  margin-bottom: 0.7rem;
}
.page-home .quick-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.page-home .quick-card p {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.6;
  color: #4A5568;
  margin: 0;
}
.page-home .quick-visual {
  margin: 1.25rem 0 0;
  overflow: hidden;
  border-radius: 1.2rem;
}
.page-home .quick-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 最新动态 */
.page-home .news-list {
  display: grid;
  gap: 1.1rem;
}
.page-home .news-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  border: 1px solid #EDEFF3;
  border-radius: 1.1rem;
  box-shadow: 0 4px 16px rgba(11, 27, 58, 0.04);
}
.page-home .news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0.7rem;
}
.page-home .news-tag {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--home-wine);
  background: rgba(165, 42, 42, 0.08);
  padding: 0.24rem 0.6rem;
  border-radius: 0.3rem;
}
.page-home .news-time {
  font-family: var(--font-body);
  font-size: 0.76rem;
  color: #9AA5B1;
}
.page-home .news-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--navy);
  margin: 0 0 0.5rem;
}
.page-home .news-card p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4A5568;
  margin: 0 0 1rem;
}
.page-home .news-card a {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--violet);
  text-decoration: none;
}

/* 安全与合规 */
.page-home .home-trust {
  display: grid;
  gap: 1.75rem;
  padding: 1.8rem 1.4rem 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(1000px 300px at 100% 0%, rgba(255, 107, 53, 0.22), transparent 60%),
    linear-gradient(140deg, #0B1B3A, #1B2E52 60%, #4B0082);
  color: #ffffff;
}
.page-home .trust-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 53, 0.5);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.9rem;
}
.page-home .home-trust h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 0.9rem;
}
.page-home .trust-copy > p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.4rem;
}
.page-home .trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-home .trust-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
}
.page-home .trust-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}
.page-home .trust-list strong {
  color: #ffffff;
}
.page-home .trust-visual {
  margin: 0;
  padding: 0.5rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.page-home .trust-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
}
.page-home .trust-visual figcaption {
  padding: 0.7rem 0.25rem 0.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

/* 桌面端布局 */
@media (min-width: 900px) {
  .page-home .home-hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 2.75rem;
    padding: 3rem 0 2.5rem;
  }
  .page-home .section-note {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
  .page-home .preview-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 1.25rem;
  }
  .page-home .preview-card:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
  }
  .page-home .preview-card:nth-child(2) {
    grid-column: span 5;
  }
  .page-home .preview-card:nth-child(3) {
    grid-column: span 5;
  }
  .page-home .preview-card:nth-child(4) {
    grid-column: span 4;
  }
  .page-home .preview-card:nth-child(5) {
    grid-column: span 8;
  }
  .page-home .highlight-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.75rem;
    align-items: start;
  }
  .page-home .quick-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .page-home .quick-visual {
    margin-top: 1.6rem;
    aspect-ratio: 21 / 7;
  }
  .page-home .quick-visual img {
    height: 100%;
  }
  .page-home .news-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .page-home .home-highlights,
  .page-home .home-quick,
  .page-home .home-news {
    margin-top: var(--home-space-lg);
  }
  .page-home .home-trust {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 2.5rem;
    align-items: center;
    padding: 2.75rem;
    margin-top: var(--home-space-lg);
  }
}
