/* 首页转化强化 · 信任条 / 主 CTA / 底部收口 / 悬浮条 */

/* —— 主按钮光晕（注册冲动） —— */
.btn-cta-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e8c97a 0%, #c9a962 38%, #a8863a 100%);
  color: #0a0c10;
  font-weight: 700;
  border: 1px solid rgba(255, 220, 150, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 14px 40px rgba(201, 169, 98, 0.45),
    0 0 32px rgba(201, 169, 98, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-cta-glow:hover {
  color: #0a0c10;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 18px 48px rgba(201, 169, 98, 0.55),
    0 0 40px rgba(201, 169, 98, 0.38);
}

.btn-cta-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  animation: ctaShine 4.5s ease-in-out infinite;
}

@keyframes ctaShine {
  0%,
  72%,
  100% {
    transform: translateX(-120%);
  }
  88% {
    transform: translateX(120%);
  }
}

.hero-v2__actions .btn-primary.btn-lg {
  box-shadow: 0 14px 36px rgba(74, 158, 255, 0.38);
}

/* 首屏信任条 */
.hero-v2__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hero-v2__trust li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.hero-v2__trust li:first-child {
  color: #f0dca0;
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.1);
}

.hero-v2__note {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.9;
}

/* 底部强转化带 */
.home-convert {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(4rem, 10vw, 7rem) var(--layout-pad);
  box-sizing: border-box;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(201, 169, 98, 0.14), transparent 55%),
    radial-gradient(ellipse 60% 50% at 15% 100%, rgba(94, 179, 255, 0.12), transparent 50%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.5) 0%, rgba(14, 20, 32, 0.95) 40%, #0a0e16 100%);
  border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.home-convert__inner {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.home-convert__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  color: var(--accent-2);
}

.home-convert__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.home-convert__lead {
  margin: 0 0 2rem;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
}

.home-convert .hero-actions {
  justify-content: center;
  margin-bottom: 1.25rem;
}

.home-convert__fine {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  opacity: 0.85;
}

/* 顶栏注册按钮强化 */
.site-nav a.nav-cta {
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 0 24px rgba(201, 169, 98, 0.35);
}

/* 滚动后悬浮 CTA */
.home-sticky-cta {
  position: fixed;
  z-index: 180;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem var(--layout-pad) calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 10, 0.92) 28%);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.home-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.home-sticky-cta .btn {
  flex: 1;
  max-width: 11rem;
}

.home-sticky-cta .btn-cta-glow {
  max-width: 14rem;
  flex: 1.2;
}

@media (min-width: 900px) {
  .home-sticky-cta {
    left: auto;
    right: 1.5rem;
    bottom: 1.5rem;
    width: auto;
    padding: 0;
    background: none;
    backdrop-filter: none;
    border: none;
    flex-direction: column;
    align-items: stretch;
  }

  .home-sticky-cta .btn {
    max-width: none;
    min-width: 10.5rem;
  }
}

.page-home.has-sticky-cta {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .btn-cta-glow::after {
    animation: none;
  }

  .home-sticky-cta {
    transition: none;
  }
}
