.page-home {
  --hero-min-height: calc(100vh - 5rem);
  --card-radius: 1rem;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif);
  color: var(--text-primary, #1A2E28);
}

/* ===== 首屏 ===== */
.page-home .hero {
  position: relative;
  min-height: var(--hero-min-height, calc(100vh - 5rem));
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.page-home .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.page-home .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(42,77,69,0.88) 0%, rgba(75,155,130,0.72) 100%);
  z-index: 1;
}

.page-home .hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  gap: 2rem;
}

.page-home .hero-content {
  background: var(--glass, rgba(255,255,255,0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--card-radius, 1rem);
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.25);
}

.page-home .hero-breadcrumb {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary, #5B7A70);
  margin-bottom: 1rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-home .crumb-current {
  color: var(--accent, #FF8C42);
  font-weight: 600;
}

.page-home .hero-title {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--bg-light, #F5F8F6);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}

.page-home .hero-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(245,248,246,0.9);
  max-width: 36em;
  margin: 0 0 1.8rem;
}

.page-home .hl-accent {
  color: var(--accent, #FF8C42);
  font-weight: 700;
}

.page-home .metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.page-home .metric {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 0.8rem;
  background: rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  cursor: default;
  transition: background 0.3s ease;
}

.page-home .metric:hover {
  background: rgba(255,255,255,0.16);
}

.page-home .metric::after {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark, #2A4D45);
  color: var(--bg-light, #F5F8F6);
  padding: 0.4rem 0.8rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  pointer-events: none;
}

.page-home .metric:hover::after {
  display: block;
  content: attr(data-value);
}

.page-home .metric-num {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--bg-light, #F5F8F6);
}

.page-home .metric-label {
  font-size: 0.8rem;
  color: rgba(245,248,246,0.7);
  margin-top: 0.2rem;
}

.page-home .metric-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  margin-top: 0.6rem;
  overflow: hidden;
}

.page-home .metric-bar-fill {
  display: block;
  height: 100%;
  background: var(--accent, #FF8C42);
  border-radius: 2px;
  animation: pageHomeBarFill 1.8s ease-out forwards;
  transform-origin: left;
}

@keyframes pageHomeBarFill {
  0% { width: 0 !important; }
  100% { width: var(--bar-width, 88%); }
}

.page-home .metric:nth-child(1) .metric-bar-fill { --bar-width: 95%; }
.page-home .metric:nth-child(2) .metric-bar-fill { --bar-width: 88%; }
.page-home .metric:nth-child(3) .metric-bar-fill { --bar-width: 100%; }

.page-home .metric-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #FF8C42);
  margin-top: 0.5rem;
  animation: pageHomePulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255,140,66,0.6);
}

@keyframes pageHomePulse {
  0% { box-shadow: 0 0 0 0 rgba(255,140,66,0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255,140,66,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,140,66,0); }
}

.page-home .hero-visual {
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}

.page-home .float-card {
  background: var(--glass, rgba(255,255,255,0.6));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 100px;
  cursor: default;
}

.page-home .float-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.page-home .float-card-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary, #5B7A70);
}

.page-home .float-card-value {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary, #4B9B82);
  line-height: 1.2;
}

.page-home .float-card-detail {
  font-size: 0.7rem;
  color: var(--text-secondary, #5B7A70);
}

.page-home .float-card-1 { align-self: flex-start; }
.page-home .float-card-2 { align-self: center; }
.page-home .float-card-3 { align-self: flex-end; }

/* ===== 近期战绩核对 ===== */
.page-home .stats {
  background: var(--bg-light, #F5F8F6);
  padding: 3rem 0;
}

.page-home .stats-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-home .section-header {
  margin-bottom: 2rem;
}

.page-home .section-title {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary, #1A2E28);
  margin: 0 0 0.4rem;
  letter-spacing: 0.02em;
}

.page-home .section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, #5B7A70);
  margin: 0;
  line-height: 1.5;
}

.page-home .stats-scroll {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.page-home .stat-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--card-radius, 1rem);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-home .stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.page-home .stat-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary, #B8D4D0);
}

.page-home .stat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.page-home .stat-card:hover .stat-card-img img {
  transform: scale(1.03);
}

.page-home .stat-card-body {
  padding: 1.2rem 1.2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-home .stat-card-title {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary, #1A2E28);
  margin: 0 0 0.4rem;
}

.page-home .stat-card-text {
  font-size: 0.88rem;
  color: var(--text-secondary, #5B7A70);
  line-height: 1.5;
  margin: 0 0 1rem;
  flex: 1;
}

.page-home .stat-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary, #4B9B82);
  text-decoration: none;
  transition: color 0.2s;
  align-self: flex-start;
}

.page-home .stat-card-link:hover {
  color: var(--accent, #FF8C42);
}

/* ===== 快速入口 ===== */
.page-home .quick {
  padding: 3rem 0;
  background: #fff;
}

.page-home .quick-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-home .quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.page-home .quick-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--glass, rgba(255,255,255,0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--card-radius, 1rem);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border, #D0E2DB);
  text-decoration: none;
  color: var(--text-primary, #1A2E28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.page-home .quick-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  border-color: var(--primary, #4B9B82);
}

.page-home .quick-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #4B9B82);
  margin-bottom: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.page-home .quick-card:hover .quick-card-icon {
  color: var(--accent, #FF8C42);
  transform: scale(1.05);
}

.page-home .quick-card-title {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.page-home .quick-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary, #5B7A70);
  margin: 0;
  line-height: 1.5;
}

/* ===== 品牌故事 ===== */
.page-home .brand {
  padding: 3rem 0;
  background: var(--secondary, #B8D4D0);
}

.page-home .brand-inner {
  max-width: var(--max-width, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.page-home .brand-text {
  text-align: center;
  max-width: 540px;
}

.page-home .brand-title {
  font-family: var(--font-heading, 'STKaiti','KaiTi','SimSun','Noto Serif SC',serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bg-dark, #2A4D45);
  margin: 0 0 0.8rem;
  letter-spacing: 0.04em;
}

.page-home .brand-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-primary, #1A2E28);
  margin: 0 0 0.8rem;
}

.page-home .brand-trust {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-dark, #2A4D45);
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.4);
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,0.3);
}

.page-home .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--bg-dark, #2A4D45);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.page-home .brand-link:hover {
  border-bottom-color: var(--accent, #FF8C42);
  color: var(--accent, #FF8C42);
}

.page-home .brand-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--card-radius, 1rem);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

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

/* ===== 桌面端媒体查询 ===== */
@media (min-width: 768px) {
  .page-home .hero-inner {
    flex-direction: row;
    align-items: center;
    padding: 3rem 2rem 4rem;
    gap: 3rem;
  }

  .page-home .hero-content {
    flex: 0 0 52%;
    padding: 2.5rem 2.8rem;
  }

  .page-home .hero-title {
    font-size: 3.2rem;
  }

  .page-home .hero-desc {
    font-size: 1.1rem;
  }

  .page-home .hero-visual {
    flex: 1;
    min-height: 400px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
  }

  .page-home .float-card {
    min-width: 130px;
    padding: 0.9rem 1.5rem;
  }

  .page-home .float-card-value {
    font-size: 1.6rem;
  }

  .page-home .metrics {
    gap: 1.2rem;
  }

  .page-home .metric {
    padding: 1.2rem 1rem;
  }

  .page-home .metric-num {
    font-size: 2rem;
  }

  .page-home .stats-scroll {
    flex-direction: row;
    gap: 1.8rem;
  }

  .page-home .stat-card {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
  }

  .page-home .quick-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .page-home .brand-inner {
    flex-direction: row;
    text-align: left;
    gap: 3rem;
  }

  .page-home .brand-text {
    text-align: left;
    flex: 1;
  }

  .page-home .brand-image {
    flex: 0 0 45%;
    max-width: 480px;
  }

  .page-home .brand-title {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .page-home .hero-content {
    flex: 0 0 50%;
    padding: 3rem 3.2rem;
  }

  .page-home .hero-title {
    font-size: 3.8rem;
  }

  .page-home .hero-visual {
    min-height: 480px;
    gap: 1.5rem;
  }

  .page-home .float-card {
    min-width: 150px;
    padding: 1rem 1.8rem;
  }

  .page-home .float-card-value {
    font-size: 1.8rem;
  }

  .page-home .stats {
    padding: 4rem 0;
  }

  .page-home .section-title {
    font-size: 2rem;
  }

  .page-home .quick {
    padding: 4rem 0;
  }

  .page-home .brand {
    padding: 4rem 0;
  }
}

/* ===== 窄屏保护 ===== */
@media (max-width: 420px) {
  .page-home .hero-content {
    padding: 1.2rem 1rem;
  }

  .page-home .hero-title {
    font-size: 1.8rem;
  }

  .page-home .metrics {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .page-home .metric {
    padding: 0.8rem 0.6rem;
  }

  .page-home .metric-num {
    font-size: 1.4rem;
  }

  .page-home .hero-visual {
    min-height: 180px;
    gap: 0.6rem;
  }

  .page-home .float-card {
    min-width: 80px;
    padding: 0.5rem 0.8rem;
  }

  .page-home .float-card-value {
    font-size: 1rem;
  }

  .page-home .section-title {
    font-size: 1.4rem;
  }

  .page-home .stat-card {
    min-width: 240px;
  }

  .page-home .quick-card {
    padding: 1.2rem 1rem;
  }
}
