/* 首页导航：完整原版 Logo，桌面文字导航与移动端展开菜单。 */
.home-header {
  background: var(--white);
  box-shadow: none;
  border-bottom: 1px solid rgb(0 0 0 / .06);
}

.home-header .header-container {
  max-width: 1264px;
  min-height: 112px;
  height: auto;
  padding: 20px 32px;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}

.home-header .branding { margin: 0; font-size: 30px; line-height: 1.3; }
.home-header .branding a {
  min-height: 48px;
  gap: 12px;
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: .04em;
  white-space: nowrap;
  border-radius: 2px;
  transition: color .18s ease;
}

.home-header__mark {
  display: block;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
}

.home-header__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-header .center-nav { flex: 1 1 auto; justify-content: flex-end; }
.home-header .center-nav .site-nav {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid #e6eef4;
  border-radius: 14px;
  background: #f5f8fb;
}
.home-header .site-nav > li { flex: 1 1 0; }
.home-header .site-nav li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 60px;
  padding: 12px 18px;
  border-radius: 9px;
  background: transparent;
  color: #3e5262;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .025em;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.home-header .site-nav li a::after { display: none; }
.home-header .site-nav li a:hover {
  color: #006b9c;
  background: #e6f3fb;
}
.home-header .site-nav :is(.current-menu-item, .current-page-ancestor) > a,
.home-header .site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--primary-color);
  box-shadow: 0 2px 5px rgb(0 120 180 / .15);
  font-weight: 700;
}
.home-header :is(a, button):focus-visible { outline: 2px solid #071232; outline-offset: 4px; }
.home-header .site-nav a:focus-visible { outline-offset: 2px; }
.home-header [hidden] { display: none !important; }

.home-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 72px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #152735;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.home-header__toggle-icon { position: relative; width: 22px; height: 18px; }
.home-header__toggle-icon::before,
.home-header__toggle-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform .18s ease;
}
.home-header__toggle-icon::before { top: 4px; }
.home-header__toggle-icon::after { top: 12px; }
.home-header__toggle[aria-expanded="true"] .home-header__toggle-icon::before { transform: translateY(4px) rotate(45deg); }
.home-header__toggle[aria-expanded="true"] .home-header__toggle-icon::after { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 1050px) {
  .home-header .header-container { gap: 24px; min-height: 100px; padding-block: 16px; }
  .home-header .site-nav li a { min-height: 52px; padding-inline: 10px; font-size: 18px; }
  .home-header .branding { font-size: 24px; }
  .home-header__mark { flex-basis: 48px; width: 48px; height: 48px; }
}

@media (max-width: 820px) {
  .home-header .header-container {
    display: flex;
    flex-wrap: wrap;
    min-height: 68px;
    padding: 10px 32px;
    gap: 0 20px;
  }
  .home-header .branding { font-size: 22px; }
  .home-header .branding a { min-height: 48px; gap: 8px; }
  .home-header__mark { flex-basis: 40px; width: 40px; height: 40px; }
  .home-header .center-nav {
    display: block;
    flex: 1 0 100%;
    width: 100%;
    max-height: calc(100svh - 70px);
    padding-block: 12px 6px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .home-header .center-nav .site-nav {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .home-header .site-nav > li { flex: none; }
  .home-header .site-nav li a { min-height: 52px; padding: 12px 16px; justify-content: flex-start; font-size: 18px; }

}

@media (max-width: 720px) {
  .home-header .header-container { max-width: 568px; padding-inline: 24px; }
}
@media (max-width: 360px) {
  .home-header .header-container { padding-inline: 20px; }
  .home-header .branding { font-size: 20px; }
}

/* 桌面品牌位于内容左边缘，菜单与首屏标题共用页面中轴。 */
@media (min-width: 821px) {
  .home-header .header-container {
    max-width: 1264px;
    padding-inline: 32px;
    justify-content: flex-start;
    column-gap: clamp(40px, 5vw, 64px);
  }

  .home-header .branding { text-align: start; }
  .home-header .center-nav {
    flex: 0 1 auto;
    margin-inline-start: 0;
    justify-content: center;
  }
  .home-header .center-nav .site-nav {
    width: auto;
    justify-content: center;
    gap: 4px clamp(20px, 3vw, 48px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .home-header .site-nav > li { flex: 0 0 auto; }
  .home-header .site-nav li a {
    min-height: 56px;
    padding: 12px 8px;
    border-radius: 4px;
    color: var(--text-dark);
    transition: color .18s ease;
  }
  .home-header .site-nav li a::after {
    display: block;
    inset-inline: 8px;
    bottom: 5px;
    width: auto;
    height: 3px;
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform .18s ease;
  }
  .home-header .site-nav li a:hover,
  .home-header .site-nav :is(.current-menu-item, .current-page-ancestor) > a,
  .home-header .site-nav a[aria-current="page"] {
    color: #006b9c;
    background: transparent;
    box-shadow: none;
  }
  .home-header .site-nav li a:is(:hover, :focus-visible)::after,
  .home-header .site-nav :is(.current-menu-item, .current-page-ancestor) > a::after,
  .home-header .site-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }
}

@media (min-width: 1200px) {
  .home-header .header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 48px;
  }
  .home-header .branding { justify-self: start; }
  .home-header .center-nav { grid-column: 2; }
}

/* 首页首屏：纯蓝底、左侧手机，右侧品牌、介绍与下载。 */
.fz8c-home-hero {
  --home-hero-ink: #fff;
  position: relative;
  padding: 48px 32px 40px;
  overflow: hidden;
  background: var(--bg-hero);
  color: var(--home-hero-ink);
}

.fz8c-home-hero .home-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  grid-template-areas: 'visual copy';
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
  max-width: 1120px;
  margin-inline: auto;
}

.fz8c-home-hero .home-hero__copy { grid-area: copy; min-width: 0; }
.fz8c-home-hero .home-hero__heading { margin: 0 0 24px; text-align: start; }
.fz8c-home-hero .home-hero__brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.fz8c-home-hero .home-hero__logo { flex: 0 0 80px; width: 80px; }
.fz8c-home-hero .home-hero__logo img { width: 100%; height: auto; }
.fz8c-home-hero .home-hero__title {
  margin: 0;
  color: var(--home-hero-ink);
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .035em;
  white-space: nowrap;
}

.fz8c-home-hero .home-hero__promise {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 24px 0 0;
  color: var(--home-hero-ink);
  font-size: clamp(22px, 2.1vw, 28px);
  font-weight: 600;
  line-height: 1.5;
}

.fz8c-home-hero .home-hero__promise span { white-space: nowrap; }
.fz8c-home-hero .home-hero__summary {
  max-width: 32em;
  margin: 0;
  color: var(--home-hero-ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.95;
  text-align: start;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.fz8c-home-hero .home-hero__support {
  color: inherit;
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / .6);
  text-underline-offset: 4px;
}
.fz8c-home-hero .home-hero__support:hover { text-decoration-color: #fff; }
.fz8c-home-hero .home-hero__support:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.fz8c-home-hero .home-hero__actions,
.home .app-download .download-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 416px;
  gap: 16px;
}
.fz8c-home-hero .home-hero__actions { margin-top: 32px; }
.home .app-download .download-buttons {
  grid-template-columns: minmax(0, 1fr);
  max-width: 200px;
}

/* 下载按钮统一尺寸和黑色底；通过白色 Apple、官方绿色 Android 图标区分平台。 */
.home .download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding: 14px 20px;
  border: 1px solid #a6a6a6;
  border-radius: 10px;
  background: #000;
  color: #fff;
  box-shadow: 0 4px 10px rgb(0 0 0 / .1);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.home .download-btn .icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}

.home .download-btn .icon svg { display: block; width: 22px; height: 25px; }
.home .download-btn .icon img { display: block; width: 28px; height: 24px; object-fit: contain; }
.home .download-btn:focus-visible { outline: 3px solid #073042; outline-offset: 4px; }
.fz8c-home-hero .download-btn:focus-visible { outline-color: #fff; }

/* 桌面端手机图与下方白色卡片左边缘对齐；移动端单栏仍保持居中。 */
.fz8c-home-hero .home-hero__visual {
  grid-area: visual;
  display: flex;
  justify-content: flex-start;
  min-width: 0;
}

.fz8c-home-hero .home-hero__phone {
  width: clamp(252px, 23vw, 296px);
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 24px rgb(0 36 64 / .2));
}

.fz8c-home-hero > .hero-feature-row { max-width: 1120px; margin-top: 48px; }
.fz8c-home-hero > .hero-feature-row > .hero-feature { margin-top: 0; }
.fz8c-home-hero .hero-feature-row .feature-inner.duo { max-width: 1120px; min-height: 0; }

@media (hover: hover) {
  .home .download-btn:hover { background: #1d1d1f; color: #fff; transform: none; box-shadow: 0 8px 18px rgb(0 0 0 / .16); }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .fz8c-home-hero .home-hero__layout { gap: 40px; }
  .fz8c-home-hero .home-hero__brand { gap: 14px; }
  .fz8c-home-hero .home-hero__logo { flex-basis: 64px; width: 64px; }
  .fz8c-home-hero .home-hero__title { font-size: 50px; }
  .fz8c-home-hero .home-hero__promise { gap: 4px 16px; font-size: 22px; }
  .fz8c-home-hero .home-hero__summary { font-size: 17px; line-height: 1.85; }
  .fz8c-home-hero .home-hero__actions { gap: 12px; margin-top: 28px; }
  .home .download-btn { padding-inline: 16px; font-size: 16px; }
}

@media (min-width: 821px) and (max-height: 850px) {
  .fz8c-home-hero { padding-top: 36px; }
  .fz8c-home-hero .home-hero__phone { width: 260px; }
  .fz8c-home-hero > .hero-feature-row { margin-top: 36px; }
}

@media (max-width: 820px) {
  .fz8c-home-hero { padding: 36px 24px 28px; }
  .fz8c-home-hero .home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'copy' 'visual';
    gap: 36px;
    max-width: 520px;
  }
  .fz8c-home-hero .home-hero__heading { margin-bottom: 20px; }
  .fz8c-home-hero .home-hero__brand { gap: 12px; }
  .fz8c-home-hero .home-hero__logo { flex-basis: 60px; width: 60px; }
  .fz8c-home-hero .home-hero__title { font-size: clamp(40px, 7vw, 48px); }
  .fz8c-home-hero .home-hero__promise { margin-top: 18px; gap: 4px 16px; font-size: 22px; }
  .fz8c-home-hero .home-hero__summary { font-size: 16px; line-height: 1.9; }
  .fz8c-home-hero .home-hero__actions { margin-top: 24px; }
  .fz8c-home-hero .home-hero__actions,
  .home .app-download .download-buttons { gap: 12px; }
  .home .download-btn { min-height: 56px; padding: 12px 10px; font-size: 15px; gap: 8px; }
  .fz8c-home-hero .home-hero__phone { width: 240px; }
  .fz8c-home-hero .home-hero__visual { justify-content: center; }
  .fz8c-home-hero > .hero-feature-row { margin-top: 32px; }
}

@media (max-width: 380px) {
  .fz8c-home-hero { padding-inline: 20px; }
  .fz8c-home-hero .home-hero__logo { flex-basis: 52px; width: 52px; }
  .fz8c-home-hero .home-hero__title { font-size: 38px; }
  .fz8c-home-hero .home-hero__promise { gap: 4px 12px; font-size: 20px; }
  .home .download-btn { gap: 6px; padding-inline: 6px; font-size: 14px; }
  .home .download-btn .icon { flex-basis: 24px; width: 24px; height: 24px; }
  .home .download-btn .icon svg { width: 20px; height: 23px; }
  .home .download-btn .icon img { width: 24px; height: 20px; }
}

/* 宽屏客服放在内容右侧的留白中；较窄桌面回到下载区，避免遮住截图。 */
@media (min-width: 1280px) {
  .home .contact-block {
    right: 16px;
    width: 190px;
    padding: 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .home .contact-text { font-size: 14px; text-align: left; }
  .home .contact-phone { font-size: 16px; white-space: nowrap; }
}

@media (min-width: 821px) and (max-width: 1279px) {
  .home .contact-block {
    position: static;
    max-width: 100%;
    align-self: center;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home .download-btn { transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease; }
  .home .download-btn:active { transform: scale(.96); }
  .fz8c-home-hero .home-hero__brand,
  .fz8c-home-hero .home-hero__promise,
  .fz8c-home-hero .home-hero__summary,
  .fz8c-home-hero .home-hero__actions { animation: home-hero-enter .55s ease-out both; }
  .fz8c-home-hero .home-hero__promise { animation-delay: .06s; }
  .fz8c-home-hero .home-hero__summary { animation-delay: .12s; }
  .fz8c-home-hero .home-hero__actions { animation-delay: .18s; }
  .fz8c-home-hero .home-hero__phone { animation: home-hero-enter .8s .12s ease-out both; }
}

@media (prefers-reduced-motion: reduce) {
  .home-header a,
  .home-header a::after,
  .home-header .site-nav li a,
  .home-header .site-nav li a::after,
  .home-header__toggle-icon::before,
  .home-header__toggle-icon::after { transition: none; }
  .home .download-btn { transition: none; }
  .home .download-btn:is(:hover, :active) { transform: none; }
}

@keyframes home-hero-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
