.site-float-demo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: min(320px, calc(100vw - 24px));
  border: 1px solid rgba(14, 165, 233, 0.18);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.92));
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.24);
  color: #e2e8f0;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.site-float-demo__body {
  padding: 16px;
}

.site-float-demo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  border: 1px solid rgba(125, 211, 252, 0.14);
  background: rgba(14, 165, 233, 0.12);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7dd3fc;
}

.site-float-demo__title {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  color: #f8fafc;
}

.site-float-demo__desc {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.78);
}

.site-float-demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.site-float-demo__primary,
.site-float-demo__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.site-float-demo__primary {
  background: linear-gradient(90deg, #0ea5e9, #0284c7);
  color: #fff;
  box-shadow: 0 12px 24px rgba(14, 165, 233, 0.24);
}

.site-float-demo__primary:hover,
.site-float-demo__secondary:hover {
  transform: translateY(-1px);
}

.site-float-demo__secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

.site-float-demo__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  padding: 12px 16px 14px;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.92);
}

.site-float-demo__close {
  border: 0;
  background: transparent;
  color: rgba(148, 163, 184, 0.92);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 767px) {
  .site-float-demo {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .site-float-demo__title {
    font-size: 16px;
  }
}

/* 首页导航栏透明效果 */
.nav-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  backdrop-filter: none !important;
}

.nav-solid {
  background: rgba(255,255,255,.88) !important;
  border-bottom-color: rgba(226,232,240,.8) !important;
  backdrop-filter: blur(20px) !important;
}

/* 滚动动画入场 */
[data-animate] {
  opacity: 0;
}

[data-animate].animate-in {
  animation: slide-up 0.5s cubic-bezier(.175,.885,.32,1.1) forwards;
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}