.page-home{
  --home-w: 1400px;
  --home-pad: clamp(20px, 5vw, 56px);
  position: relative;
  max-width: var(--home-w);
  margin-inline: auto;
  padding: 0 var(--home-pad) 96px;
  background: var(--bg-main);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home img{
  max-width: 100%;
  height: auto;
}

/* ========== 封面区 ========== */
.home-cover{
  padding: 44px 0 20px;
}

.home-cover-grid{
  display: grid;
  gap: 28px;
  align-items: center;
}

.home-cover-meta{
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-cover-meta::before{
  content: '';
  width: 28px;
  height: 1px;
  background: var(--coral);
  display: inline-block;
}

.home-cover-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(42px, 8vw, 84px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--text);
  text-wrap: balance;
}

.home-cover-lead{
  margin: 24px 0 0;
  max-width: 62ch;
  color: var(--text-dim);
  font-size: 1.06rem;
  line-height: 1.85;
}

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

.home-cover-actions .btn{
  width: 100%;
  justify-content: center;
}

.home-cover-figure{
  margin: 0;
  position: relative;
}

.home-cover-img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-cover-caption{
  margin-top: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: right;
}

/* ========== 章节通用 ========== */
.home-section{
  margin-top: 72px;
}

.home-section-head{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.home-section-index{
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--coral);
  min-width: 52px;
}

.home-section-title{
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  color: var(--text);
}

.home-section-line{
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

/* ========== 01 服务目录 ========== */
.home-directory-body{
  display: grid;
  gap: 28px;
}

.home-toc-list{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.home-toc-item{
  border-bottom: 1px solid var(--line);
}

.home-toc-link{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 4px;
  color: var(--text);
  text-decoration: none;
  transition: padding-left 0.2s ease, background-color 0.2s ease;
}

.home-toc-link:hover,
.home-toc-link:focus-visible{
  padding-left: 14px;
  background: rgba(255, 107, 74, 0.06);
}

.home-toc-num{
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 0.95rem;
}

.home-toc-name{
  font-weight: 700;
  font-size: 1.06rem;
}

.home-toc-rule{
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}

.home-toc-ref{
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-dim);
}

.home-directory-side{
  background: var(--grad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.home-directory-side-title{
  margin: 0 0 14px;
  font-weight: 800;
  color: var(--gold);
  font-size: 1rem;
}

.home-directory-links{
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-directory-links li + li{
  margin-top: 10px;
}

.home-directory-links a{
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.home-directory-links a:hover,
.home-directory-links a:focus-visible{
  color: var(--coral);
  border-color: var(--coral);
}

/* ========== 02 移动版优势 ========== */
.home-mobile-body{
  display: grid;
  gap: 24px;
}

.home-mobile-lead{
  margin: 0 0 18px;
  font-size: 1.3rem;
  line-height: 1.65;
  font-weight: 700;
  color: var(--text);
}

.home-mobile-points{
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-mobile-points li{
  position: relative;
  padding-left: 24px;
  margin-top: 10px;
  color: var(--text-dim);
  line-height: 1.7;
}

.home-mobile-points li::before{
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

.home-mobile-stats{
  display: grid;
  gap: 12px;
}

.home-stat{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad);
  padding: 20px 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.home-stat:hover{
  border-color: var(--coral);
  transform: translateY(-2px);
}

.home-stat-num{
  display: block;
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-stat-label{
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ========== 03 覆盖区域 ========== */
.home-coverage-body{
  display: grid;
  gap: 28px;
}

.home-coverage-map{
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--grad);
}

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

.home-map-pin{
  position: absolute;
  width: 10px;
  height: 10px;
  transform: translate(-50%, -50%);
  cursor: default;
}

.home-pin-dot{
  display: block;
  width: 10px;
  height: 10px;
  background: var(--coral);
  border: 2px solid var(--text);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.25);
}

.home-pin-city{
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%);
  padding: 3px 10px;
  background: var(--bg-deep);
  border: 1px solid var(--coral);
  border-radius: 6px;
  font-style: normal;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  color: var(--text);
}

.home-map-pin:hover .home-pin-city,
.home-map-pin:focus-within .home-pin-city{
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.home-map-pin--bj{ left: 48%; top: 22%; }
.home-map-pin--sh{ left: 54%; top: 34%; }
.home-map-pin--gz{ left: 45%; top: 60%; }
.home-map-pin--sz{ left: 48%; top: 64%; }
.home-map-pin--cd{ left: 34%; top: 46%; }
.home-map-pin--hz{ left: 56%; top: 38%; }
.home-map-pin--wh{ left: 45%; top: 43%; }
.home-map-pin--xa{ left: 39%; top: 28%; }

.home-coverage-caption{
  position: absolute;
  right: 12px;
  bottom: 12px;
  margin: 0;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(5, 8, 16, 0.72);
  color: var(--text);
  font-size: 0.8rem;
}

.home-coverage-side{
  padding-top: 2px;
}

.home-coverage-lead{
  margin: 0 0 18px;
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text);
}

.home-city-tags{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
}

.home-city-tags li{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: default;
  transition: color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.home-city-tags li:hover,
.home-city-tags li:focus-visible{
  color: var(--coral);
  border-color: var(--coral);
  transform: translateY(-2px);
}

.home-coverage-more{
  margin: 0 0 18px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ========== 04 帮助中心入口 ========== */
.home-help-body{
  display: grid;
  gap: 28px;
}

.home-help-copy{
  padding-top: 2px;
}

.home-help-lead{
  margin: 0 0 18px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--text);
}

.home-help-demo{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad);
  margin-bottom: 20px;
  overflow: hidden;
}

.home-help-demo summary{
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.98rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.home-help-demo summary::-webkit-details-marker{
  display: none;
}

.home-help-demo summary::after{
  content: '+';
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home-help-demo[open] summary::after{
  content: '–';
}

.home-help-menu{
  list-style: none;
  margin: 0;
  padding: 0 18px 16px;
  display: grid;
  gap: 6px;
}

.home-help-menu li{
  border-radius: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: rgba(10, 17, 40, 0.6);
  color: var(--text-dim);
  font-size: 0.92rem;
}

.home-help-menu .home-help-active{
  border-color: var(--coral);
  background: rgba(255, 107, 74, 0.12);
  color: var(--text);
  font-weight: 700;
}

.home-help-figure{
  margin: 0;
}

.home-help-figure img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--grad);
}

.home-help-caption{
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* ========== 05 四步流程预览 ========== */
.home-steps-lead{
  margin: 0 0 18px;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-dim);
}

.home-steps-figure{
  margin: 0 0 24px;
}

.home-steps-figure img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
}

.home-steps-figure figcaption{
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: right;
}

.home-steps-list{
  list-style: none;
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 0;
}

.home-step{
  position: relative;
  background: var(--grad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px 20px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-step::before{
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), transparent);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.home-step:hover,
.home-step:focus-within{
  transform: translateY(-6px);
  border-color: var(--coral);
  box-shadow: var(--shadow);
}

.home-step:hover::before,
.home-step:focus-within::before{
  opacity: 1;
}

.home-step-num{
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--coral);
  line-height: 1;
  margin-bottom: 12px;
  transition: transform 0.2s ease;
}

.home-step:hover .home-step-num{
  transform: scale(1.08);
}

.home-step-title{
  margin: 0 0 8px;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--text);
}

.home-step-desc{
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-steps-footer{
  margin-top: 4px;
}

/* ========== 06 最新动态 ========== */
.home-news-grid{
  display: grid;
  gap: 18px;
}

.home-news-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grad);
  padding: 24px 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-news-card:hover,
.home-news-card:focus-within{
  transform: translateY(-4px);
  border-color: var(--coral);
  box-shadow: var(--shadow);
}

.home-news-title{
  margin: 14px 0 10px;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--text);
}

.home-news-summary{
  margin: 0 0 16px;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

.home-news-link{
  color: var(--coral);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.home-news-link::after{
  content: '→';
  transition: transform 0.2s ease;
}

.home-news-link:hover::after,
.home-news-link:focus-visible::after{
  transform: translateX(4px);
}

/* ========== 桌面端增强 ========== */
@media (min-width: 560px){
  .home-cover-actions .btn{
    width: auto;
  }

  .home-mobile-stats{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 760px){
  .home-steps-list{
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 820px){
  .home-directory-body{
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    gap: 40px;
  }

  .home-mobile-body{
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
  }
}

@media (min-width: 900px){
  .home-cover{
    padding: 56px 0 32px;
  }

  .home-cover-grid{
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
  }

  .home-help-body{
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 48px;
    align-items: center;
  }

  .home-news-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px){
  .home-coverage-body{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 48px;
    align-items: start;
  }
}
