/* ========== 首页全屏滚动 ========== */
body[data-page="index"] {
  /* html 使用 zoom 缩放时，补偿高度以保证视觉上仍占满浏览器视口。 */
  --fp-viewport-height: calc(100vh / var(--page-scale));
  overflow: hidden;
  height: 100%;
}

body[data-page="index"] html,
html:has(body[data-page="index"]) {
  overflow: hidden;
  height: 100%;
}

body[data-page="index"] .page-wrapper.index-page {
  height: var(--fp-viewport-height);
  min-height: var(--fp-viewport-height);
  overflow: hidden;
  background: #04091C;
}

body[data-page="index"] #site-header {
  height: 0 !important;
  overflow: visible;
}

/* 仅首页：顶部透明，离开首屏后显示背景色 */
body[data-page="index"] .site-header .header-inner {
  background-color: transparent;
  transition: background-color 0.35s ease;
}

body[data-page="index"] .site-header.is-scrolled .header-inner {
  background-color: #04091C;
}

.fullpage {
  position: relative;
  width: 100%;
  height: var(--fp-viewport-height);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fp-wrapper {
  height: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.8s cubic-bezier(0.33, 0.05, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.fp-wrapper.is-animating {
  pointer-events: none;
}

.fp-section {
  position: relative;
  width: 100%;
  height: var(--fp-viewport-height);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.fp-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.fp-bg,
.fp-video {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.fp-content {
  position: relative;
  z-index: 2;
  color: #fff;
  pointer-events: none;
}


.fp-content--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3%;
  width: 100%;
  text-align: center;
}

.fp-title {
  font-weight: 500;
  font-size: 40px;
  color: #FFFFFF;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease 0.25s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.fp-desc {
  margin-top: 20px;
  font-size: 40px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s;
}

.fp-section.is-active .fp-title,
.fp-section.is-active .fp-desc {
  opacity: 1;
  transform: translateY(0);
}

/* 右侧圆点导航 */
.fp-dots {
  position: fixed;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 38px;
  gap: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fp-dot {
  position: relative;
  width: 38px;
  height: 22px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fp-dot-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  pointer-events: none;
}

.fp-dot-ring {
  display: none;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  transform: rotate(-90deg);
  z-index: 1;
  overflow: visible;
  pointer-events: none;
}

.fp-dot-ring-track,
.fp-dot-ring-progress {
  fill: none;
  stroke-linecap: round;
}

.fp-dot-ring-track {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.5;
}

.fp-dot-ring-progress {
  stroke: #FFFFFF;
  stroke-width: 2.5;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 113.1;
}

.fp-dot:hover:not(.is-active) .fp-dot-core {
  opacity: 0.75;
}

.fp-dot.is-active .fp-dot-ring {
  display: block;
}

.fp-dot.is-active .fp-dot-ring-progress.is-animating {
  animation: fpDotProgress 6.5s linear infinite;
}

@keyframes fpDotProgress {
  0% {
    stroke-dashoffset: 113.1;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

/* CTA + Footer 段 */
.fp-section--footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.fp-section--footer .site-footer {
  margin-top: 0;
  flex-shrink: 0;
}

.index-cta {
  flex-shrink: 0;
  height: calc(100% - 339px);
  position: relative;
  background: url('https://oss-gw.tieniuzhiyun.com/images/index/zs_bg.png') no-repeat center / 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.index-cta-logo {
  display: block;
  width: 129px;
  height: 132px;
  margin: 0 auto;
}
.index-cta-text {
  font-size: 40px;
  color: #FFFFFF;
  text-align: center;
  margin-top: 45px;
  position: relative;
  z-index: 1;
}
.text_phone{
  font-size: 40px;
  color: #FFFFFF;
  text-align: center;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}
.text_phone span {
  display: inline-block;
  font-size: 50px;
}

