* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --background: #ffffff;
  --foreground: #0a0a0a;
  --card: #f8f8f8;
  --muted-foreground: #666666;
  --primary: #333333;
  --primary-foreground: #fff;
  --accent: #666;
  --accent-foreground: #000;
  --border: #dddddd;
  --transition-base: 0.2s cubic-bezier(0.2,0,0.2,1);
  --transition-long: 0.5s cubic-bezier(0.2,0,0.2,1);
  --bg-dark: #070707;
  --bg-white: #ffffff;
  --business-black: #050505;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans SC", system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  transition: background 0.8s ease, color 0.8s ease;
}
body.to-dark {
  background: var(--bg-dark);
  color: #fff;
}
body.to-white {
  background: var(--bg-white);
  color: #0a0a0a;
}
body.lock-scroll {
  overflow: hidden !important;
}
/*---------- 全站公共超链接样式 ----------*/
a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-base);
}
a:hover {
  color: var(--foreground);
}
.font-display {
  font-family: "Space Grotesk", sans-serif;
}
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--card);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}
.link-underline {
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color:#fff;
  transition: width var(--transition-base);
}
.link-underline:hover::after {
  width: 100%;
}
.container {
  max-width: 100%;
  width: 90%;
  margin: 0 auto;
  padding: 0;
}
.business-wrap {
  width: 75%;
  margin: 0 auto;
}
@media (min-width:768px) {
  .container { width: 90%; }
}

/* 顶部导航 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 99;
  transition: background var(--transition-base);
  display: flex;
  align-items: center;
}
header.transparent {
  background: rgba(255,255,255,0.3);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
header.solid {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.header-inner {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding:0 32px;
}
.logo-wrap {
  grid-column: 2;
  text-align: center;
}
.logo {
  text-decoration: none;
}
.menu-btn {
  grid-column: 1;
  justify-self: start;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 8px;
}
.menu-btn svg {
  width: 26px;
  height: 26px;
}

/* 左侧全屏毛玻璃菜单 */
.drawer-mask {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0,0,0,0.45);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-long);
}
.drawer-mask.open {
  opacity: 1;
  visibility: visible;
}
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 101;
  transform: translateX(-100%);
  transition: transform var(--transition-long);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.drawer.open {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 64px;
  width:50%;
}
.drawer-title {
  font-size: 24px;
  font-weight: 500;
  color: #000;
}
.close-drawer {
  background: rgba(0, 0, 0, 0.08);
  border: none;
  color: #333;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.close-drawer:hover {
  background: rgba(0, 0, 0, 0.16);
  color: #000;
  transform: rotate(360deg);
}
.nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width:300px;
}
.nav-list a {
  font-size: 14px;
  color: #111;
  text-decoration: none;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.18s cubic-bezier(0.4, 0, 0.2, 1), color 0.18s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer.open .nav-list a:nth-child(1) { transition-delay: 0.1s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(2) { transition-delay: 0.18s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(3) { transition-delay: 0.26s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(4) { transition-delay: 0.34s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(5) { transition-delay: 0.42s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(6) { transition-delay: 0.5s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(7) { transition-delay: 0.58s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(8) { transition-delay: 0.66s; opacity:1; transform:translateX(0); padding-left:20px; }
.drawer.open .nav-list a:nth-child(9) { transition-delay: 0.74s; opacity:1; transform:translateX(0); padding-left:20px; }
.nav-list a:hover,
.nav-list a:focus-visible {
  /* 清除抽屉打开动画的 nth-child 过渡延迟，让 hover 背景立即丝滑出现 */
  transition-delay: 0s !important;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
}
.drawer-cta {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  width:200px;
}
.drawer-cta button {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: background var(--transition-base);
  border-radius: 6px;
}
.drawer-cta button:hover {
  background: #222222;
}

/* 右侧悬浮工具栏 */
.float-tool {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 98;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width:1024px) {
  .float-tool { right: 32px; }
}
/* 移动端：底部横向平铺 */
@media (max-width:767px) {
  .float-tool {
    right: 0;
    left: 0;
    bottom: 16px;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap:12px;
    padding:0 12px;
  }
  .float-btn{
    flex:1;
    max-width:60px;
  }
  body{
    padding-bottom:80px;
  }
}
.float-btn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--muted-foreground);
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: 6px;
  text-decoration: none;
}
.float-btn:hover {
  color: var(--primary);
  transform: scale(1.08);
}
.float-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.float-btn svg { width: 20px; height: 20px; }

/*页脚样式*/
footer {
  padding: 80px 0;
  background: var(--card);
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 64px;
}
@media (min-width:768px) { .footer-grid { grid-template-columns: repeat(4,1fr); } }
.footer-col h4 { font-size: 18px; margin-bottom: 24px; color: var(--foreground); }
.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--transition-base);
}
.footer-links a:hover { color: var(--foreground); }
.copyright {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted-foreground);
  font-size: 14px;
}

/*---------- 首屏轮播 Hero（公共：首页 / 体验中心页 / 发展历程页共用） ----------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}
.swiper-item {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.swiper-item.active {
  opacity: 1;
}
.swiper-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播背景图：切换时缓缓滑动一次 */
.banner-img {
  width: 108%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: translateX(-2.5%);
}
.banner-img.move-active {
  animation: swiperMicroMove 12s ease-in-out forwards;
}
@keyframes swiperMicroMove {
  0% { transform: translateX(-2.5%); }
  100% { transform: translateX(2.5%); }
}

.swiper-text {
  position: absolute;
  left: 16px;
  bottom: 64px;
  color: #fff;
  z-index: 2;
}
@media (min-width:768px) { .swiper-text { left: 32px; } }
@media (min-width:1024px) { .swiper-text { left: 64px; } }
@media (min-width:768px) { .swiper-text h1 { font-size: 30px; margin-bottom: 16px; color: var(--muted-foreground); } }
@media (max-width:767.98px) { .swiper-text h1 { font-size: 20px; margin-bottom: 16px; color: #fff; } }
@media (max-width:767.98px) { .swiper-text p { font-size: 14px; margin-bottom: 16px; color: #fff; } }
@media (min-width:1024px) { .swiper-text h1 { font-size: 40px; margin-bottom: 16px; color: var(--muted-foreground); } }
@media (min-width:768px) {.swiper-text p { font-size: 18px; color: var(--muted-foreground); }}
@media (min-width:1024px){.swiper-text p { font-size: 18px; color: var(--muted-foreground); }}
.swiper-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}
.dot {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
}
.dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.float-btn { position: relative; }
.float-tip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.float-tip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #111;
}
.float-btn:hover .float-tip { opacity: 1; }
@media (max-width:767px) { .float-tip { display: none; } }