﻿/* ==========================================================================
   LunacyDev Modern Hero Upgrade & AI Simulator CSS
   ========================================================================== */

:root {
  --hero-bg-deep: #04030f;
  --hero-cyan: #4fd1ff;
  --hero-purple: #a855f7;
  --hero-glass-bg: rgba(10, 10, 26, 0.65);
  --hero-glass-border: rgba(255, 255, 255, 0.07);
  --hero-border-active: rgba(79, 209, 255, 0.35);
  --hero-text-muted: #8fa0b5;
  --spring-ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --smooth-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --hero-cta-gradient: linear-gradient(135deg, var(--ld-primary) 0%, var(--ld-accent) 100%);
  --hero-cta-hover-gradient: linear-gradient(135deg, #5fe1ff 0%, #ffe633 100%);
}

/* 1. 全局微调与暗色背景升级 */
.site-homepage {
  background: var(--hero-bg-deep) !important;
}

.site-homepage .hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(400px, 0.95fr);
  align-items: center;
}

.site-hero {
  border: 1px solid rgba(79, 209, 255, 0.12) !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 209, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.07) 0%, transparent 45%),
    linear-gradient(135deg, #060515 0%, #03020b 100%) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8) !important;
  position: relative;
  overflow: hidden;
}

/* 用网格线条作为高级科技背景 */
.site-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 60%, transparent 100%);
  opacity: 0.85;
  pointer-events: none;
}

/* 2. 优化现有的动画速度 */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1000ms var(--smooth-ease),
    transform 1000ms var(--smooth-ease) !important;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 3. 极简的标题文案渐变 */
.hero-title span {
  background: linear-gradient(135deg, #4fd1ff 0%, #a855f7 50%, #f5d623 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 17px) !important;
  line-height: 1.65 !important;
  color: var(--hero-text-muted) !important;
}

.hero-badge {
  background: rgba(79, 209, 255, 0.08);
  border: 1px solid rgba(79, 209, 255, 0.15);
  border-radius: 999px;
  padding: 4px 14px 4px 28px !important;
  color: #4fd1ff !important;
}

.hero-inline-proof .site-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--hero-text-muted);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.hero-inline-proof .site-pill:hover {
  background: rgba(79, 209, 255, 0.06);
  border-color: rgba(79, 209, 255, 0.22);
  color: #fff;
}

/* 4. 首屏真实产品演示视频 (.hero-interactive-preview) */
.hero-interactive-preview {
  position: relative;
  width: 100%;
  height: 410px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px; /* 立体视差空间 */
}

/* 演示窗口容器：保留原来的 3D 晃动感，只替换内部为真实视频演示。 */
.simulator-window {
  flex: 0 0 min(118%, 540px);
  width: min(118%, 540px);
  max-width: 540px;
  aspect-ratio: 64 / 39;
  background: var(--hero-glass-bg);
  border: 1px solid var(--hero-glass-border);
  border-radius: 18px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg); /* 3D倾斜 */
  transition: transform 0.5s ease;
}

.simulator-window:hover {
  transform: rotateY(-3deg) rotateX(2deg) translateY(-2px);
}

.simulator-window--video {
  display: block;
  background:
    linear-gradient(135deg, rgba(79, 209, 255, 0.12), rgba(168, 85, 247, 0.12)),
    rgba(10, 10, 26, 0.72);
}

.hero-demo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  filter: brightness(1.12) contrast(1.06) saturate(1.08);
  object-fit: cover;
}

.hero-demo-video__glass {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 16%),
    radial-gradient(circle at 20% 10%, rgba(79, 209, 255, 0.18), transparent 24%),
    radial-gradient(circle at 86% 84%, rgba(168, 85, 247, 0.12), transparent 28%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 -18px 40px rgba(3, 2, 11, 0.2);
}

.site-homepage .site-home-trust {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  padding: 0;
  overflow: visible;
}

.site-homepage .site-home-trust::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  width: min(980px, 82vw);
  height: 78%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 14% 36%, rgba(79, 209, 255, 0.13), transparent 34%),
    radial-gradient(circle at 86% 64%, rgba(168, 85, 247, 0.11), transparent 38%);
  filter: blur(22px);
  opacity: 0.7;
  pointer-events: none;
}

.site-homepage .site-home-trust::after {
  content: none;
}

.site-homepage .site-home-trust .hero-trust {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-trust {
  position: relative;
  display: grid;
  gap: 26px;
  padding: 32px clamp(26px, 4vw, 52px) 34px;
  color: #f8fbff;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(79, 209, 255, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    radial-gradient(circle at 18% 0%, rgba(79, 209, 255, 0.14), transparent 36%),
    radial-gradient(circle at 86% 100%, rgba(168, 85, 247, 0.13), transparent 42%),
    rgba(7, 9, 25, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 22px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-trust > * {
  position: relative;
  z-index: 1;
}

.hero-trust::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 48%, black 0%, transparent 76%);
  pointer-events: none;
}

.hero-trust::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 3, 15, 0.56), transparent 18%, transparent 82%, rgba(4, 3, 15, 0.56)),
    linear-gradient(180deg, rgba(4, 3, 15, 0.1), rgba(4, 3, 15, 0.34));
  pointer-events: none;
}

.hero-trust__stats {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.hero-trust__wreath {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(168, 190, 214, 0.48);
}

.hero-trust__wreath--left {
  transform: scaleX(-1);
}

.hero-trust__wreath-icon {
  width: 21px;
  height: 46px;
}

.hero-trust__stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-width: 820px;
  margin: 0 auto;
}

.hero-trust__stat {
  display: grid;
  gap: 7px;
  min-height: 0;
  align-content: start;
  justify-items: center;
  padding: 0 30px;
  text-align: center;
}

.hero-trust__stat + .hero-trust__stat {
  border-left: 1px solid rgba(148, 163, 184, 0.26);
}

.hero-trust__value {
  font-family: var(--ld-font-display);
  font-size: clamp(30px, 4vw, 38px);
  line-height: 0.95;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 28px rgba(79, 209, 255, 0.24);
}

.hero-trust__label {
  font-size: 13px;
  font-weight: 700;
  color: #eef6ff;
}

.hero-trust__meta {
  max-width: 220px;
  font-size: 12px;
  line-height: 1.5;
  color: #b8c7da;
}

.hero-trust__heading {
  display: flex;
  justify-content: center;
}

.hero-trust__details {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.hero-trust__summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dbeafe;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 10px;
  transition:
    color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.hero-trust__details:hover .hero-trust__summary,
.hero-trust__details:focus-within .hero-trust__summary,
.hero-trust__details[open] .hero-trust__summary {
  color: #ffffff;
  background: rgba(79, 209, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(79, 209, 255, 0.24);
}

.hero-trust__summary::-webkit-details-marker {
  display: none;
}

.hero-trust__summary-text {
  letter-spacing: inherit;
  text-transform: inherit;
}

.hero-trust__summary:focus-visible {
  outline: 2px solid rgba(245, 214, 35, 0.9);
  outline-offset: 3px;
}

.hero-trust__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #04030f;
  background: linear-gradient(135deg, #4fd1ff 0%, #f5d623 100%);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 999px;
  box-shadow:
    0 0 0 4px rgba(79, 209, 255, 0.12),
    0 0 22px rgba(79, 209, 255, 0.34);
}

.hero-trust__info svg {
  width: 15px;
  height: 15px;
}

.hero-trust__tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  width: min(360px, calc(100vw - 40px));
  transform: translate(-50%, 10px);
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(9, 13, 30, 0.98);
  border: 1px solid rgba(79, 209, 255, 0.36);
  color: #f8fbff;
  font-size: 12px;
  line-height: 1.6;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.46),
    0 0 36px rgba(79, 209, 255, 0.12);
  z-index: 4;
  pointer-events: none;
}

.hero-trust__details:hover .hero-trust__tooltip,
.hero-trust__details:focus-within .hero-trust__tooltip,
.hero-trust__details[open] .hero-trust__tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, -8px);
  pointer-events: auto;
}

.hero-trust__tooltip::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(79, 209, 255, 0.36);
}

.hero-trust__marquee {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 24px;
  width: min(100%, 980px);
  margin: 0 auto;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.24) 7%, black 20%, black 80%, rgba(0, 0, 0, 0.24) 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.24) 7%, black 20%, black 80%, rgba(0, 0, 0, 0.24) 93%, transparent);
}

.hero-trust__track {
  display: flex;
  width: max-content;
  gap: 0;
}

.hero-trust__track--forward {
  animation: heroTrustMarquee 45s linear infinite;
}

.hero-trust__track--reverse {
  animation: heroTrustMarqueeReverse 45s linear infinite;
}

.hero-trust__marquee:hover .hero-trust__track {
  animation-play-state: paused;
}

.hero-trust__logo-strip {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-shrink: 0;
  min-width: max-content;
}

.hero-trust__logo {
  width: var(--hero-logo-width, 120px);
  height: 40px;
  object-fit: contain;
  opacity: 0.84;
  filter: grayscale(1) invert(1) brightness(1.35) contrast(1.08);
  transition:
    opacity 200ms ease,
    filter 200ms ease;
}

.hero-trust__logo:hover {
  opacity: 1;
  filter: grayscale(1) invert(1) brightness(1.6) contrast(1.12);
}

@keyframes heroTrustMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes heroTrustMarqueeReverse {
  0% {
    transform: translate3d(-50%, 0, 0);
  }

  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* 6. 重塑 Products 的多产品高级卡片网格 */
.product-grid--home {
  display: grid;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

.utility-strip {
  background: rgba(10, 10, 26, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: var(--ld-radius-lg) !important;
  padding: 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: all 0.3s var(--smooth-ease) !important;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.utility-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 209, 255, 0.02) 0%, rgba(168, 85, 247, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.utility-strip:hover::before {
  opacity: 1;
}

.utility-strip:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 255, 0.18) !important;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(79, 209, 255, 0.06);
}

.utility-strip__body h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-top: 10px !important;
  line-height: 1.4 !important;
}

.utility-strip__copy {
  color: var(--hero-text-muted) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin-top: 12px !important;
}

.utility-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.utility-strip__actions .site-link-button {
  min-height: 36px !important;
  font-size: 13px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
}

/* 7. 响应式布局优化 (Responsive Adjustments) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .hero-intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-title {
    max-width: 100% !important;
  }

  .simulator-window {
    margin: 0 auto;
  }

  .site-homepage .site-home-trust {
    margin-top: 16px;
  }

  .hero-trust__stat {
    padding-inline: 22px;
  }
}

@media (max-width: 768px) {
  .product-grid--home {
    grid-template-columns: 1fr !important;
  }

  .hero-interactive-preview {
    height: 340px;
  }

  .simulator-window {
    width: min(100%, 520px);
    transform: none !important; /* 移动端去掉 3D 偏转，保证清晰度 */
  }

  .simulator-window:hover {
    transform: translateY(-2px);
  }

  .site-homepage .site-home-trust {
    margin-top: 12px;
  }

  .site-homepage .site-home-trust .hero-trust {
    width: 100%;
  }

  .hero-trust {
    gap: 18px;
    padding: 24px 18px 26px;
    border-radius: 16px;
  }

  .hero-trust__stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-trust__wreath {
    display: none;
  }

  .hero-trust__stat-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .hero-trust__stat {
    min-height: 0;
    padding: 16px 20px;
  }

  .hero-trust__stat + .hero-trust__stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-trust__summary {
    text-align: center;
    justify-content: center;
  }

  .hero-trust__summary-text {
    letter-spacing: 0.06em;
  }

  .hero-trust__logo-strip {
    gap: 42px;
  }

  .hero-trust__logo {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .hero-interactive-preview {
    display: none; /* 超小手机屏直接收起模拟器，确保纯净阅读体验 */
  }

  .site-homepage .site-home-trust {
    margin-top: 10px;
  }

  .hero-trust {
    gap: 14px;
    padding: 20px 12px 22px;
    border-radius: 14px;
  }

  .hero-trust__summary {
    align-items: flex-start;
    gap: 6px;
  }

  .hero-trust__tooltip {
    width: min(320px, calc(100vw - 24px));
  }

  .hero-trust__marquee {
    gap: 12px;
  }

  .hero-trust__logo-strip {
    gap: 22px;
  }

  .hero-trust__logo {
    height: 22px;
  }

  .hero-trust__stat {
    padding: 12px 14px;
  }

  .hero-trust__value {
    font-size: 28px;
  }

  .hero-trust__label {
    font-size: 12px;
  }

  .hero-trust__meta {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-trust__track {
    animation: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   8. 子产品页面升级 (docs/recon/index.html & docs/tubecaps/index.html)
   ========================================================================== */
.site-product {
  background: var(--hero-bg-deep) !important;
}

.site-product .product-page-hero {
  border: 1px solid rgba(79, 209, 255, 0.12) !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(79, 209, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.07) 0%, transparent 45%),
    linear-gradient(135deg, #060515 0%, #03020b 100%) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8) !important;
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  padding: 40px !important;
  margin-bottom: 40px !important;
}

.site-product .product-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 50%, black 70%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

/* 产品的标题渐变 */
.product-page-title span {
  background: linear-gradient(135deg, #4fd1ff 0%, #a855f7 50%, #f5d623 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 800;
}

/* 玻璃卡片 */
.site-product .site-card {
  background: var(--hero-glass-bg) !important;
  border: 1px solid var(--hero-glass-border) !important;
  border-radius: 14px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(16px) !important;
  transition: all 0.3s var(--smooth-ease) !important;
}

.site-product .site-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 209, 255, 0.18) !important;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(79, 209, 255, 0.06) !important;
}

/* Keep product and pricing CTAs aligned with the homepage primary button. */
.site-product .site-link-button--primary,
.site-pricing .site-link-button--primary {
  background: var(--hero-cta-gradient) !important;
  color: #06061A !important;
  border: 1px solid transparent !important;
  font-weight: 800 !important;
  box-shadow: 0 14px 28px rgba(79, 209, 255, 0.18) !important;
  transition: all 0.3s var(--smooth-ease) !important;
}

.site-product .site-link-button--primary:hover,
.site-pricing .site-link-button--primary:hover {
  background: var(--hero-cta-hover-gradient) !important;
  box-shadow: 0 18px 34px rgba(79, 209, 255, 0.24) !important;
  transform: translateY(-1px);
}

.site-product .site-link-button--ghost,
.site-pricing .site-link-button--ghost {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--hero-text-muted) !important;
  transition: all 0.3s var(--smooth-ease) !important;
}

.site-product .site-link-button--ghost:hover,
.site-pricing .site-link-button--ghost:hover {
  background: rgba(79, 209, 255, 0.06) !important;
  border-color: rgba(79, 209, 255, 0.22) !important;
  color: #fff !important;
}

/* Header CTA uses the same homepage color token as primary action buttons. */
.site-product .site-nav__cta,
.site-pricing .site-nav__cta {
  background: var(--hero-cta-gradient) !important;
  color: #050615 !important;
  font-weight: 800 !important;
  box-shadow: 0 12px 24px rgba(79, 209, 255, 0.18) !important;
}

.site-product .site-nav__cta:hover,
.site-pricing .site-nav__cta:hover {
  background: var(--hero-cta-hover-gradient) !important;
  box-shadow: 0 16px 30px rgba(79, 209, 255, 0.22) !important;
}

/* 详情页特有的 preview-frame，加上外发光和偏转立体效果 */
.site-product .preview-frame {
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6) !important;
  overflow: hidden;
  background: rgba(10, 10, 26, 0.4) !important;
  transition: all 0.5s var(--smooth-ease) !important;
}

.site-product .preview-frame:hover {
  border-color: rgba(79, 209, 255, 0.25) !important;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(79, 209, 255, 0.1) !important;
}

/* ==========================================================================
   9. 定价页面升级 (docs/recon/pricing/index.html)
   ========================================================================== */
.site-pricing {
  background: var(--hero-bg-deep) !important;
}

.site-pricing .pricing-hero {
  border: 1px solid rgba(79, 209, 255, 0.12) !important;
  background:
    radial-gradient(circle at 10% 10%, rgba(79, 209, 255, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(168, 85, 247, 0.06) 0%, transparent 45%),
    linear-gradient(135deg, #060515 0%, #03020b 100%) !important;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8) !important;
  position: relative;
  overflow: hidden;
  border-radius: 18px !important;
  padding: 48px !important;
  margin-bottom: 40px !important;
  text-align: center;
}

.site-pricing .pricing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at 50% 50%, black 70%, transparent 100%);
  opacity: 0.8;
  pointer-events: none;
}

.pricing-hero__title span {
  background: linear-gradient(135deg, #4fd1ff 0%, #a855f7 50%, #f5d623 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 800;
}

/* 定价计划切换器 */
.pricing-toggle {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-radius: 999px !important;
  padding: 4px !important;
  display: inline-flex !important;
  align-items: center;
  margin: 0 auto 40px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}

.pricing-toggle__btn {
  background: transparent !important;
  border: none !important;
  color: var(--hero-text-muted) !important;
  padding: 8px 20px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}

.pricing-toggle__btn--active {
  background: var(--hero-cyan) !important;
  color: #03020d !important;
  box-shadow: 0 4px 12px rgba(79, 209, 255, 0.25) !important;
}

.pricing-toggle__badge {
  background: linear-gradient(135deg, #4fd1ff 0%, #a855f7 50%, #f5d623 100%) !important;
  color: #04030f !important;
  font-weight: 800 !important;
  border: none !important;
  font-size: 11px !important;
  padding: 1px 7px !important;
  border-radius: 999px !important;
}

/* 定价卡片 */
.site-pricing .pricing-card {
  background: var(--hero-glass-bg) !important;
  border: 1px solid var(--hero-glass-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(16px) !important;
  transition: all 0.3s var(--smooth-ease) !important;
  padding: 32px !important;
}

/* Featured (Pro) 定价卡片升级为带全息蓝发光 */
.site-pricing .pricing-card--featured {
  border-color: rgba(79, 209, 255, 0.45) !important;
  background: rgba(12, 12, 34, 0.8) !important;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(79, 209, 255, 0.15) !important;
  position: relative;
}

.site-pricing .pricing-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hero-cyan), transparent);
}

.site-pricing .pricing-card--featured .pricing-card__badge {
  background: linear-gradient(135deg, #4fd1ff 0%, #a855f7 50%, #f5d623 100%) !important;
  color: #04030f !important;
  font-weight: 800 !important;
  border: none !important;
}

.site-pricing .pricing-card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 209, 255, 0.25) !important;
}

.site-pricing .pricing-card--featured:hover {
  border-color: rgba(79, 209, 255, 0.6) !important;
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(79, 209, 255, 0.25) !important;
}

/* 定价对照表 */
.pricing-compare__table-wrap {
  background: var(--hero-glass-bg) !important;
  border: 1px solid var(--hero-glass-border) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4) !important;
  backdrop-filter: blur(16px) !important;
}

.pricing-compare__table th, .pricing-compare__table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.pricing-compare__table thead th {
  background: rgba(255, 255, 255, 0.02) !important;
}

.pricing-compare__highlight {
  background: rgba(79, 209, 255, 0.03) !important;
}

/* FAQ 升级 */
.pricing-faq__item {
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 12px !important;
  margin-bottom: 14px !important;
  transition: all 0.3s ease !important;
}

.pricing-faq__item[open] {
  border-color: rgba(79, 209, 255, 0.15) !important;
  background: rgba(79, 209, 255, 0.02) !important;
}

.pricing-faq__question {
  padding: 16px 20px !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.pricing-faq__answer {
  padding: 0 20px 20px !important;
  color: var(--hero-text-muted) !important;
}
