/* ============================================================
   index.css — 中文首页 · 森林系 (仅 zh/index.html，需 body.home-forest)
   ============================================================ */

/* ── 页面级：雾林底色 ── */
body.home-forest {
  --fr-bg-deep: #0f1f18;
  --fr-bg-mid: #1a2e26;
  --fr-bg-top: #243d32;
  --fr-moss: #4ade80;
  --fr-moss-dim: #22c55e;
  --fr-fern: #86efac;
  --fr-bark: #3f2e26;
  --fr-mist: #ecfdf5;
  --fr-mist-dim: #a7f3d0;
  --fr-sun: #fde68a;
  --fr-shadow: rgba(6, 20, 14, 0.45);

  background-color: var(--fr-bg-deep);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(74, 222, 128, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 40%, rgba(34, 197, 94, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 45% at 0% 60%, rgba(16, 185, 129, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, var(--fr-bg-top) 0%, var(--fr-bg-mid) 42%, var(--fr-bg-deep) 100%);
  background-attachment: fixed;
  color: var(--fr-mist);
}

body.home-forest::after {
  opacity: 0.055;
  filter: hue-rotate(-40deg) saturate(0.7);
}

/* 森林顶栏样式见 resources/css/forest-nav.css（晨雾透明 → 滚动毛玻璃） */

body.home-forest .btn-ghost {
  color: rgba(236, 253, 245, 0.55);
}
body.home-forest .btn-ghost:hover {
  color: var(--fr-moss, #4ade80);
  background: rgba(74, 222, 128, 0.1);
}

body.home-forest .btn-ghost.nav-logout-btn {
  color: rgba(252, 165, 165, 0.95);
}
body.home-forest .btn-ghost.nav-logout-btn:hover {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.12);
}

/* 主区通用标题 */
.fr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--fr-fern);
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(134, 239, 172, 0.25);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.fr-h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--fr-mist);
}

.fr-lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(236, 253, 245, 0.78);
  max-width: 560px;
}

/* ═══════════════════════ Hero ═══════════════════════ */
.fr-hero-wrap {
  padding-top: 104px;
  padding-bottom: 72px;
}

.fr-hero {
  position: relative;
  isolation: isolate;
}

.fr-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.fr-hero-copy {
  position: relative;
  z-index: 2;
}

.fr-h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  color: var(--fr-mist);
  margin-bottom: 22px;
}

.fr-h1-accent {
  background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 40%, #86efac 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.fr-h1-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  right: -2px;
  height: 6px;
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.25), rgba(134, 239, 172, 0.15));
  border-radius: 4px;
  z-index: -1;
}

.fr-hero-copy .fr-lead {
  margin-bottom: 32px;
  max-width: 520px;
}

.fr-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

body.home-forest .fr-hero-cta .btn-primary {
  background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
  color: #fff;
  border: none;
  box-shadow: 0 10px 24px -8px rgba(22, 101, 52, 0.25);
}
body.home-forest .fr-hero-cta .btn-primary:hover {
  box-shadow: 0 14px 32px -8px rgba(22, 101, 52, 0.30);
}

body.home-forest .fr-hero-cta .btn-clay {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fr-fern);
  border: 1px solid rgba(167, 243, 208, 0.28);
  box-shadow: none;
}
body.home-forest .fr-hero-cta .btn-clay:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(167, 243, 208, 0.45);
}

.fr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fr-tags span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(236, 253, 245, 0.85);
  background: rgba(15, 31, 24, 0.45);
  border: 1px solid rgba(134, 239, 172, 0.2);
  padding: 7px 14px;
  border-radius: 100px;
}

/* 右侧林缘插画 */
.fr-hero-art {
  position: relative;
  height: min(420px, 52vw);
  min-height: 280px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(167, 243, 208, 0.15);
  background: linear-gradient(180deg, rgba(30, 58, 46, 0.9) 0%, rgba(15, 31, 24, 0.95) 100%);
  box-shadow: 0 24px 60px -20px var(--fr-shadow), inset 0 0 80px rgba(74, 222, 128, 0.06);
}

/* 玻璃面高光扫过（减弱动效下无 animation） */
.fr-hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 5;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.07) 49%,
    rgba(236, 253, 245, 0.04) 52%,
    transparent 62%
  );
  background-size: 240% 100%;
  mix-blend-mode: soft-light;
}

.fr-hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 6;
}

.fr-sun {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: 12%;
  right: 18%;
  z-index: 1;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.55) 0%, rgba(253, 230, 138, 0.08) 60%, transparent 70%);
  filter: blur(2px);
}

.fr-hill {
  position: absolute;
  bottom: -5%;
  left: -10%;
  right: -10%;
  height: 55%;
  z-index: 2;
  background: radial-gradient(ellipse 90% 80% at 50% 0%, #1e3a2f 0%, #0f1f18 78%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transform-origin: 50% 100%;
}

.fr-tree {
  position: absolute;
  bottom: 8%;
  width: 0;
  height: 0;
  z-index: 3;
  border-left: solid transparent;
  border-right: solid transparent;
  border-bottom: solid #14532d;
  filter: drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.35));
  transform-origin: 50% 100%;
}

.fr-tree--1 {
  left: 12%;
  border-left-width: 42px;
  border-right-width: 42px;
  border-bottom-width: 140px;
  animation-delay: 0s;
  opacity: 0.95;
}

.fr-tree--2 {
  left: 38%;
  border-left-width: 34px;
  border-right-width: 34px;
  border-bottom-width: 118px;
  border-bottom-color: #166534;
  animation-delay: 0.4s;
}

.fr-tree--3 {
  right: 22%;
  left: auto;
  border-left-width: 50px;
  border-right-width: 50px;
  border-bottom-width: 168px;
  border-bottom-color: #15803d;
  animation-delay: 0.8s;
}

.fr-tree--4 {
  right: 6%;
  left: auto;
  border-left-width: 28px;
  border-right-width: 28px;
  border-bottom-width: 96px;
  border-bottom-color: #14532d;
  animation-delay: 1.1s;
  opacity: 0.85;
}

.fr-mist-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, transparent 40%, rgba(236, 253, 245, 0.06) 100%);
  pointer-events: none;
}

@keyframes fr-sway {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-3px); }
}

@keyframes fr-pulse-sun {
  0%, 100% {
    opacity: 0.82;
    transform: scale(1) translate(0, 0);
    filter: blur(2px);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) translate(6px, -4px);
    filter: blur(3px);
  }
}

@keyframes fr-shimmer {
  0%, 100% { background-position: 130% 50%; opacity: 0.35; }
  50% { background-position: -30% 50%; opacity: 0.65; }
}

@keyframes fr-edge-pulse {
  0%, 100% {
    box-shadow:
      inset 0 0 0 1px rgba(167, 243, 208, 0.14),
      inset 0 0 28px rgba(74, 222, 128, 0.03);
  }
  50% {
    box-shadow:
      inset 0 0 0 1px rgba(186, 247, 208, 0.42),
      inset 0 0 56px rgba(74, 222, 128, 0.07);
  }
}

@keyframes fr-hill-sway {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-1.2%) scale(1.01); }
}

@keyframes fr-mist-float {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.88; transform: translateY(-8px); }
}

@keyframes fr-art-in {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(16px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}

/* ═══════════════════════ 苔痕信任带（页中：使用场景与 CTA 之间）══ */
.trust-strip {
  padding: 28px 0;
  background: rgba(8, 24, 18, 0.55);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 13px;
  color: rgba(236, 253, 245, 0.82);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fr-moss);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
  flex-shrink: 0;
}

/* ═══════════════════════ 林间特性（编辑式布局 · 主次分明） ═══════════════════════ */
.bento-section {
  padding: 96px 0 80px;
}

.bento-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.bento-header .fr-lead {
  margin: 14px auto 0;
  text-align: center;
  color: rgba(236, 253, 245, 0.62);
  font-size: 15px;
  line-height: 1.65;
}

.bento-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.48fr);
  grid-template-rows: auto auto auto;
  gap: 18px;
  align-items: stretch;
}

.bento-spotlight {
  grid-column: 1;
  grid-row: 1 / span 2;
  border-radius: 24px;
  padding: 32px 32px 36px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(15, 31, 24, 0.35) 100%);
  border: 1px solid rgba(167, 243, 208, 0.12);
  box-shadow:
    0 24px 56px -22px var(--fr-shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34, 1.1, 0.64, 1);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
}

.bento-spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.22), transparent);
  opacity: 0.9;
  pointer-events: none;
}

.bento-spotlight:hover {
  border-color: rgba(167, 243, 208, 0.2);
  box-shadow:
    0 28px 60px -20px rgba(6, 20, 14, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.bento-spotlight-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.bento-spot-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(167, 243, 208, 0.35);
  font-variant-numeric: tabular-nums;
}

.bento-spot-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.42);
}

.bento-spot-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fr-mist);
  line-height: 1.2;
}

.bento-spot-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(236, 253, 245, 0.74);
  max-width: 42em;
}

.bento-spot-meta {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(167, 243, 208, 0.58);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.bento-side {
  border-radius: 20px;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(167, 243, 208, 0.1);
  box-shadow: 0 16px 40px -20px var(--fr-shadow);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.1, 0.64, 1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.bento-side:hover {
  border-color: rgba(167, 243, 208, 0.18);
  transform: translateY(-2px);
}

.bento-side--stat {
  grid-column: 2;
  grid-row: 1;
}

.bento-side--price {
  grid-column: 2;
  grid-row: 2;
}

.bento-side-stat {
  margin: 0 0 6px;
  font-size: clamp(44px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(236, 253, 245, 0.95);
  background: linear-gradient(135deg, #ecfdf5, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-side-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--fr-mist);
  letter-spacing: -0.02em;
}

.bento-side-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.62;
  color: rgba(236, 253, 245, 0.62);
}

.bento-side-kicker {
  margin: 0 0 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.45);
}

.bento-side-price {
  margin: 0 0 10px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
}

.bento-side-price-num {
  font-size: clamp(26px, 3.2vw, 32px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--fr-mist);
}

.bento-side-price-unit {
  font-size: 13px;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.5);
}

.bento-side-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(167, 243, 208, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.bento-side-link:hover {
  color: #bbf7d0;
}

.bento-ribbon {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  border-radius: 20px;
  padding: 26px 28px;
  background: rgba(6, 20, 14, 0.32);
  border: 1px solid rgba(167, 243, 208, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.bento-ribbon-item {
  min-width: 0;
  padding: 0 8px;
}

.bento-ribbon-item:first-child {
  padding-left: 0;
}

.bento-ribbon-item:last-child {
  padding-right: 0;
}

.bento-ribbon-label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.48);
  margin-bottom: 8px;
}

.bento-ribbon-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.7);
}

.bento-ribbon-divider {
  width: 1px;
  align-self: stretch;
  min-height: 48px;
  background: linear-gradient(180deg, transparent, rgba(167, 243, 208, 0.12), transparent);
  margin: 4px 0;
}

/* ═══════════════════════ 小径三步 ═══════════════════════ */
.how-section {
  padding: 80px 0;
  position: relative;
}

.how-section .fr-h2 {
  text-align: center;
}

.how-section .fr-eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 28px;
  margin-top: 48px;
  position: relative;
}

/* 步骤连线：两格之间为虚线，三处序号中心留白（mask 相对连线层宽度） */
.steps-grid::before {
  content: '';
  position: absolute;
  left: max(48px, 10%);
  right: max(48px, 10%);
  top: calc(36px + 52px / 2);
  transform: translateY(-50%);
  height: 3px;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    90deg,
    rgba(190, 250, 210, 0.92) 0,
    rgba(190, 250, 210, 0.92) 12px,
    transparent 12px,
    transparent 22px
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 2%,
    transparent 2%,
    transparent 11%,
    #000 11%,
    #000 45.5%,
    transparent 45.5%,
    transparent 54.5%,
    #000 54.5%,
    #000 89%,
    transparent 89%,
    transparent 98%,
    #000 98%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 2%,
    transparent 2%,
    transparent 11%,
    #000 11%,
    #000 45.5%,
    transparent 45.5%,
    transparent 54.5%,
    #000 54.5%,
    #000 89%,
    transparent 89%,
    transparent 98%,
    #000 98%,
    #000 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  filter: drop-shadow(0 0 5px rgba(74, 222, 128, 0.35));
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 36px 22px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1), border-color 0.35s ease;
  position: relative;
  z-index: 1;
  overflow: visible;
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(134, 239, 172, 0.35);
}

.step-num {
  width: 52px;
  height: 52px;
  background: linear-gradient(145deg, #166534, #22c55e);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px -6px rgba(34, 197, 94, 0.45);
}

.step-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--fr-mist);
}

.step-card p {
  font-size: 14px;
  color: rgba(236, 253, 245, 0.68);
  line-height: 1.65;
}

/* ═══════════════════════ 石标节点 ═══════════════════════ */
.nodes-section {
  padding: 80px 0;
  text-align: center;
}

.nodes-section > .container > .pop-in {
  text-align: center;
}

.nodes-section .fr-lead {
  margin: 12px auto 0;
  text-align: center;
}

.nodes-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}

.node-pill {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 13px;
  color: var(--fr-mist);
  border: 1px solid rgba(167, 243, 208, 0.18);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), border-color 0.3s ease;
}

.node-pill:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(134, 239, 172, 0.4);
}

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fr-moss);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
}

/* ═══════════════════════ 定价（工具栏 + 对比卡 · 克制强调） ═══════════════════════ */
.pricing-prev-section {
  position: relative;
  background: linear-gradient(180deg, rgba(8, 22, 17, 0.55) 0%, rgba(6, 16, 12, 0.85) 100%);
  border-radius: 28px 28px 0 0;
  padding: 72px 0 88px;
  margin-top: 28px;
  border: 1px solid rgba(167, 243, 208, 0.09);
  border-bottom: none;
  overflow: hidden;
}

.pricing-prev-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.2), transparent);
  pointer-events: none;
}

.pricing-prev-section > .container {
  position: relative;
  z-index: 1;
}

.pricing-prev-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 32px;
  margin-bottom: 22px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-prev-titles {
  flex: 1 1 260px;
  min-width: 0;
  text-align: left;
}

.pricing-prev-titles .fr-eyebrow {
  margin: 0 0 10px;
}

.pricing-prev-h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(24px, 3.2vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pricing-prev-lead {
  margin: 12px 0 0;
  text-align: left;
  max-width: 38em;
  color: rgba(236, 253, 245, 0.58);
  font-size: 14px;
  line-height: 1.65;
}

.pricing-prev-toolbar .period-toggle {
  margin: 0;
  flex-shrink: 0;
}

.period-toggle {
  display: inline-flex;
  gap: 2px;
  background: rgba(6, 20, 14, 0.65);
  border: 1px solid rgba(167, 243, 208, 0.12);
  border-radius: 14px;
  padding: 5px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.period-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  border: none;
  background: transparent;
  color: rgba(236, 253, 245, 0.45);
  cursor: pointer;
  font-family: inherit;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.period-btn:hover:not(.active) {
  color: rgba(236, 253, 245, 0.82);
  background: rgba(255, 255, 255, 0.04);
}

.period-btn.active {
  background: rgba(167, 243, 208, 0.14);
  color: #ecfdf5;
  box-shadow: inset 0 0 0 1px rgba(167, 243, 208, 0.22);
}

.pricing-prev-shared {
  margin: 0 auto 26px;
  max-width: 960px;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(236, 253, 245, 0.55);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(167, 243, 208, 0.08);
}

.pricing-prev-shared strong {
  color: rgba(236, 253, 245, 0.78);
  font-weight: 700;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: 26px 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(167, 243, 208, 0.11);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: 0 20px 48px -24px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    transform 0.3s cubic-bezier(0.34, 1.1, 0.64, 1),
    box-shadow 0.3s ease;
}

.plan-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

.plan-card:hover {
  border-color: rgba(167, 243, 208, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -22px rgba(6, 20, 14, 0.55);
}

.popular-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 8px;
  color: rgba(186, 247, 208, 0.75);
  background: rgba(6, 20, 14, 0.55);
  border: 1px solid rgba(167, 243, 208, 0.14);
  white-space: nowrap;
}

.plan-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex-shrink: 0;
}

.plan-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 6px;
}

.plan-name-row .plan-name {
  margin: 0;
}

.plan-chip {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  font-family: ui-monospace, 'SF Mono', monospace;
  letter-spacing: 0.05em;
  color: rgba(186, 247, 208, 0.75);
  background: rgba(6, 20, 14, 0.55);
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  margin-bottom: 12px;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--fr-mist);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}

.plan-spec {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(236, 253, 245, 0.55);
  margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(167, 243, 208, 0.1);
}

.plan-price-block {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-price {
  font-size: clamp(30px, 4.5vw, 38px);
  font-weight: 900;
  color: var(--fr-mist);
  display: flex;
  align-items: baseline;
  gap: 2px 6px;
  flex-wrap: wrap;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.plan-price span {
  font-size: 14px;
  color: rgba(167, 243, 208, 0.5);
  font-weight: 700;
}

.plan-note {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(236, 253, 245, 0.42);
  margin: 0;
}

.plan-features {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.plan-features li {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(236, 253, 245, 0.72);
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid rgba(167, 243, 208, 0.06);
}

.plan-features li:first-child {
  border-top: none;
  padding-top: 0;
}

.plan-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
  background: rgba(134, 239, 172, 0.65);
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.12);
}

.btn-plan {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  background: transparent;
  color: var(--fr-mist);
  border: 1px solid rgba(167, 243, 208, 0.22);
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  flex-shrink: 0;
  margin-top: 20px;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn-plan:hover {
  background: rgba(167, 243, 208, 0.1);
  border-color: rgba(167, 243, 208, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.pricing-more {
  text-align: center;
  margin-top: 36px;
}

.pricing-more a {
  color: rgba(167, 243, 208, 0.72);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.pricing-more a:hover {
  color: var(--fr-mist);
}

/* ═══════════════════════ 使用场景（外框 + 双栏子面板，分界清晰） ═══════════════════════ */
.usecases-section {
  padding: 80px 0 56px;
  border-top: 1px solid rgba(167, 243, 208, 0.1);
  border-bottom: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.12) 50%, transparent 100%);
}

/* Hero 与 bento 之间：与页中信任带同色，右→左无缝滚动 */
.mid-trust-strip {
  padding: 10px 0;
  background: rgba(8, 24, 18, 0.55);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  border-bottom: 1px solid rgba(74, 222, 128, 0.1);
}

.mid-trust-marquee {
  overflow: hidden;
  width: 100%;
  /* 两侧渐隐略窄，减轻与循环接缝叠在一起时像「断层」的观感 */
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.mid-trust-track {
  --mid-trust-item-gap: 32px;
  /* 一圈位移由 JS 写入 --mid-trust-shift（负像素）；未就绪前不播动画，避免 shift=0 的一帧 */
  --mid-trust-shift: 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--mid-trust-item-gap);
  width: max-content;
  will-change: transform;
}

.mid-trust-track.mid-trust-marquee-ready {
  animation: mid-trust-scroll 32s linear infinite;
}

.mid-trust-track.mid-trust-marquee-ready:hover {
  animation-play-state: paused;
}

/* 两段各 5 项 + 段内 gap；track 上两段之间再一段 gap → 总长 2W+9g，一圈位移 = W+5g = 50% + gap/2 */
.mid-trust-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--mid-trust-item-gap);
  flex-shrink: 0;
}

.mid-trust-group .trust-item {
  flex-shrink: 0;
  font-size: 12px;
  white-space: nowrap;
}

@keyframes mid-trust-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(var(--mid-trust-shift), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mid-trust-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .mid-trust-track,
  .mid-trust-track.mid-trust-marquee-ready {
    animation: none !important;
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 28px;
  }
  .mid-trust-track > .mid-trust-group:nth-child(2) {
    display: none;
  }
}

.usecase-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}

.usecase-lead {
  margin: 12px auto 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(236, 253, 245, 0.55);
}

.usecase-board {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 24px 20px;
  border-radius: 24px;
  border: 1px solid rgba(167, 243, 208, 0.16);
  background: rgba(4, 14, 10, 0.55);
  box-shadow:
    0 24px 56px -22px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(12px) saturate(1.05);
  backdrop-filter: blur(12px) saturate(1.05);
}

.usecase-board::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.22), transparent);
  pointer-events: none;
}

.usecase-board-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.usecase-col {
  padding: 20px 22px 18px;
  border-radius: 18px;
  border: 1px solid rgba(167, 243, 208, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(6, 20, 14, 0.72) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.usecase-col-kicker {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.42);
}

.usecase-stack {
  list-style: none;
  margin: 0;
  padding: 0;
}

.usecase-entry {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(167, 243, 208, 0.12);
}

.usecase-stack .usecase-entry:first-child {
  padding-top: 0;
}

.usecase-stack .usecase-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.usecase-idx {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(167, 243, 208, 0.32);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

.usecase-entry-body {
  min-width: 0;
}

.usecase-entry-title {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fr-mist);
}

.usecase-entry-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(236, 253, 245, 0.55);
}

.usecase-board-foot {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(167, 243, 208, 0.14);
  text-align: center;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.usecase-board-foot a {
  color: rgba(167, 243, 208, 0.72);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.usecase-board-foot a:hover {
  color: var(--fr-mist);
}

.usecase-foot-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(167, 243, 208, 0.35);
  flex-shrink: 0;
}

/* ═══════════════════════ 林间空地 CTA ═══════════════════════ */
.cta-section {
  position: relative;
  padding: 48px 0 100px;
  margin-top: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 85% 60% at 50% 0%, rgba(22, 101, 52, 0.14) 0%, transparent 55%);
}

.cta-section > .container {
  position: relative;
  z-index: 1;
}

/* 无玻璃底：文案与按钮直接叠在 section 背景 + 萤火虫上 */
.cta-inner {
  background: none;
  border-radius: 0;
  padding: 56px 24px 64px;
  text-align: center;
  border: none;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  box-shadow: none;
}

.cta-fireflies {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-fireflies span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(253, 230, 138, 0.85);
  box-shadow: 0 0 12px 2px rgba(253, 230, 138, 0.45);
  animation: fr-firefly 5s ease-in-out infinite;
}

.cta-fireflies span:nth-child(3n) {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 10px 1px rgba(253, 230, 138, 0.4);
}

.cta-fireflies span:nth-child(1) { left: 6%; top: 14%; animation-delay: 0s; animation-duration: 5.2s; }
.cta-fireflies span:nth-child(2) { left: 94%; top: 20%; animation-delay: 0.7s; animation-duration: 4.6s; }
.cta-fireflies span:nth-child(3) { left: 14%; top: 42%; animation-delay: 1.4s; animation-duration: 5.8s; }
.cta-fireflies span:nth-child(4) { left: 88%; top: 48%; animation-delay: 2.1s; animation-duration: 4.4s; }
.cta-fireflies span:nth-child(5) { left: 50%; top: 6%; animation-delay: 0.3s; animation-duration: 5.5s; }
.cta-fireflies span:nth-child(6) { left: 48%; top: 92%; animation-delay: 1.8s; animation-duration: 4.9s; }
.cta-fireflies span:nth-child(7) { left: 3%; top: 68%; animation-delay: 2.6s; animation-duration: 5.1s; }
.cta-fireflies span:nth-child(8) { left: 97%; top: 62%; animation-delay: 0.9s; animation-duration: 6s; }
.cta-fireflies span:nth-child(9) { left: 28%; top: 24%; animation-delay: 1.1s; animation-duration: 4.7s; }
.cta-fireflies span:nth-child(10) { left: 72%; top: 76%; animation-delay: 2.4s; animation-duration: 5.4s; }
.cta-fireflies span:nth-child(11) { left: 22%; top: 88%; animation-delay: 3s; animation-duration: 5.6s; }
.cta-fireflies span:nth-child(12) { left: 78%; top: 12%; animation-delay: 0.5s; animation-duration: 4.5s; }
.cta-fireflies span:nth-child(13) { left: 38%; top: 56%; animation-delay: 1.6s; animation-duration: 5.3s; }
.cta-fireflies span:nth-child(14) { left: 62%; top: 34%; animation-delay: 2.8s; animation-duration: 4.8s; }

@keyframes fr-firefly {
  0%, 100% { opacity: 0.2; transform: translate(0, 0) scale(0.8); }
  40% { opacity: 1; transform: translate(8px, -14px) scale(1.1); }
  70% { opacity: 0.45; transform: translate(-6px, 8px) scale(0.9); }
}

.cta-inner .fr-eyebrow {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fef9c3;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.cta-inner h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 900;
  margin-bottom: 14px;
  color: var(--fr-mist);
  text-shadow: 0 2px 28px rgba(6, 20, 14, 0.85), 0 1px 2px rgba(6, 20, 14, 0.5);
}

.cta-inner p {
  position: relative;
  z-index: 1;
  font-size: 16px;
  color: rgba(236, 253, 245, 0.88);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 20px rgba(6, 20, 14, 0.8), 0 1px 2px rgba(6, 20, 14, 0.45);
}

.cta-inner .fr-cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

body.home-forest .cta-inner .btn-primary {
  background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
  color: #14532d;
  box-shadow: 0 14px 36px -8px rgba(253, 230, 138, 0.45);
}
body.home-forest .cta-inner .btn-primary:hover {
  box-shadow: 0 18px 44px -8px rgba(253, 230, 138, 0.55);
}

body.home-forest .cta-inner .btn-clay {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fr-mist);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
body.home-forest .cta-inner .btn-clay:hover {
  background: rgba(255, 255, 255, 0.14);
}

main:has(.cta-section) + #main-footer {
  margin-top: 0;
}

/* 页脚 */
body.home-forest #main-footer.site-footer {
  background: linear-gradient(180deg, rgba(8, 22, 18, 0.98) 0%, rgba(4, 12, 10, 0.99) 100%);
  border-top: 1px solid rgba(74, 222, 128, 0.12);
  color: rgba(236, 253, 245, 0.78);
  box-shadow: 0 -20px 56px rgba(0, 0, 0, 0.45);
}

/* 页脚 logo 底与顶栏森林绿一致（index.css 全局加载，含控制台等未引 forest-nav 的页） */
body.home-forest #main-footer .brand-mark {
  background: linear-gradient(145deg, #14532d 0%, #15803d 50%, #4ade80 100%);
  box-shadow:
    0 0 0 1px rgba(134, 239, 172, 0.28),
    0 4px 18px rgba(34, 197, 94, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

body.home-forest #main-footer .brand-logo-img {
  width: 56%;
  height: auto;
}

body.home-forest #main-footer.site-footer::before {
  background: linear-gradient(90deg, #14532d 0%, #22c55e 40%, #4ade80 75%, #86efac 100%);
  opacity: 0.88;
}

body.home-forest .site-footer__primary {
  border-bottom-color: rgba(167, 243, 208, 0.12);
}

body.home-forest .site-footer__tagline {
  color: rgba(236, 253, 245, 0.5);
}

body.home-forest .site-footer__contact-mail a {
  color: rgba(134, 239, 172, 0.95);
}

body.home-forest .site-footer__contact-mail a:hover {
  color: #ecfdf5;
}

body.home-forest .footer-logo-text {
  background: linear-gradient(135deg, #ecfdf5, #86efac 45%, #4ade80);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.home-forest .site-footer__heading {
  color: rgba(167, 243, 208, 0.55);
}

body.home-forest .site-footer__list a {
  color: rgba(236, 253, 245, 0.82);
}
body.home-forest .site-footer__list a:hover {
  color: var(--fr-moss, #4ade80);
}

body.home-forest .site-footer__list--muted .site-footer__note {
  color: rgba(236, 253, 245, 0.45);
}

body.home-forest .site-footer__bar {
  border-top: none;
}

body.home-forest .site-footer__copy {
  color: rgba(236, 253, 245, 0.38);
}

body.home-forest .site-footer__legal a {
  color: rgba(236, 253, 245, 0.5);
}
body.home-forest .site-footer__legal a:hover {
  color: rgba(187, 247, 208, 0.95);
}

body.home-forest .mobile-nav-panel {
  background: rgba(12, 28, 22, 0.98);
  border: 1px solid rgba(167, 243, 208, 0.2);
  border-right: none;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
}

body.home-forest .mobile-nav-panel__links a {
  color: rgba(236, 253, 245, 0.9);
}

body.home-forest .mobile-nav-panel__links a:hover {
  background: rgba(74, 222, 128, 0.12);
  color: var(--fr-moss);
}

body.home-forest .mobile-nav-actions {
  border-top-color: rgba(167, 243, 208, 0.15);
}

/* ═══════════════════════ 入场与减弱动画 ═══════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .fr-hero-art {
    animation: fr-art-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .fr-hero-art::before {
    animation: fr-shimmer 9s ease-in-out infinite;
  }

  .fr-hero-art::after {
    animation: fr-edge-pulse 5.5s ease-in-out infinite;
  }

  .fr-sun {
    animation: fr-pulse-sun 7s ease-in-out infinite;
  }

  .fr-hill {
    animation: fr-hill-sway 16s ease-in-out infinite;
  }

  .fr-tree {
    animation: fr-sway 5s ease-in-out infinite;
  }

  .fr-tree--1 {
    animation-duration: 5.6s;
  }

  .fr-tree--2 {
    animation-duration: 4.7s;
  }

  .fr-tree--3 {
    animation-duration: 5.2s;
  }

  .fr-tree--4 {
    animation-duration: 4.2s;
  }

  .fr-mist-layer {
    animation: fr-mist-float 11s ease-in-out infinite;
  }

  .fr-hero-copy.pop-l.visible .fr-tags span {
    animation: fr-rise 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  }
  .fr-hero-copy.pop-l.visible .fr-tags span:nth-child(1) { animation-delay: 0.12s; }
  .fr-hero-copy.pop-l.visible .fr-tags span:nth-child(2) { animation-delay: 0.2s; }
  .fr-hero-copy.pop-l.visible .fr-tags span:nth-child(3) { animation-delay: 0.28s; }
  .fr-hero-copy.pop-l.visible .fr-tags span:nth-child(4) { animation-delay: 0.36s; }

  .fr-h1-accent::after {
    animation: fr-moss-glow 4s ease-in-out infinite;
  }

  .trust-inner .trust-item.pop-in:nth-child(1) { transition-delay: 0ms; }
  .trust-inner .trust-item.pop-in:nth-child(2) { transition-delay: 55ms; }
  .trust-inner .trust-item.pop-in:nth-child(3) { transition-delay: 110ms; }
  .trust-inner .trust-item.pop-in:nth-child(4) { transition-delay: 165ms; }
  .trust-inner .trust-item.pop-in:nth-child(5) { transition-delay: 220ms; }

  .bento-editorial > .pop-in:nth-child(1) { transition-delay: 0ms; }
  .bento-editorial > .pop-in:nth-child(2) { transition-delay: 60ms; }
  .bento-editorial > .pop-in:nth-child(3) { transition-delay: 120ms; }
  .bento-editorial > .pop-in:nth-child(4) { transition-delay: 180ms; }

  .steps-grid .step-card.pop-in:nth-child(1) { transition-delay: 0ms; }
  .steps-grid .step-card.pop-in:nth-child(2) { transition-delay: 70ms; }
  .steps-grid .step-card.pop-in:nth-child(3) { transition-delay: 140ms; }

  .nodes-grid .node-pill.pop-in:nth-child(1) { transition-delay: 0ms; }
  .nodes-grid .node-pill.pop-in:nth-child(2) { transition-delay: 50ms; }
  .nodes-grid .node-pill.pop-in:nth-child(3) { transition-delay: 100ms; }
  .nodes-grid .node-pill.pop-in:nth-child(4) { transition-delay: 150ms; }
  .nodes-grid .node-pill.pop-in:nth-child(5) { transition-delay: 200ms; }

  .plans-grid .plan-card.pop-in:nth-child(1) { transition-delay: 0ms; }
  .plans-grid .plan-card.pop-in:nth-child(2) { transition-delay: 90ms; }

  .usecase-col:first-child .usecase-entry.pop-in:nth-child(1) { transition-delay: 0ms; }
  .usecase-col:first-child .usecase-entry.pop-in:nth-child(2) { transition-delay: 40ms; }
  .usecase-col:first-child .usecase-entry.pop-in:nth-child(3) { transition-delay: 80ms; }
  .usecase-col:last-child .usecase-entry.pop-in:nth-child(1) { transition-delay: 120ms; }
  .usecase-col:last-child .usecase-entry.pop-in:nth-child(2) { transition-delay: 160ms; }
  .usecase-col:last-child .usecase-entry.pop-in:nth-child(3) { transition-delay: 200ms; }
}

@keyframes fr-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fr-moss-glow {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.95; }
}

/* ═══════════════════════ 响应式 ═══════════════════════ */
@media (max-width: 900px) {
  .fr-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fr-hero-art {
    order: -1;
    max-height: 320px;
  }
  .fr-hero-copy {
    text-align: center;
  }
  .fr-hero-copy .fr-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .fr-hero-cta {
    justify-content: center;
  }
  .fr-tags {
    justify-content: center;
  }
}

@media (max-width: 1100px) {
  .bento-editorial {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
  .bento-spotlight {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .bento-side--stat {
    grid-column: 1;
    grid-row: 2;
  }
  .bento-side--price {
    grid-column: 2;
    grid-row: 2;
  }
  .bento-ribbon {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 720px) {
  .pricing-prev-toolbar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .pricing-prev-titles {
    text-align: center;
  }
  .pricing-prev-h2,
  .pricing-prev-lead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-prev-toolbar .period-toggle {
    align-self: center;
    width: 100%;
    max-width: 400px;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .bento-ribbon {
    grid-template-columns: 1fr;
    padding: 22px 22px;
    gap: 18px;
  }
  .bento-ribbon-divider {
    display: none;
  }
  .bento-ribbon-item {
    padding: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(167, 243, 208, 0.08);
  }
  .bento-ribbon-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .fr-hero-wrap {
    padding-top: 88px;
    padding-bottom: 48px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps-grid::before {
    display: none;
  }
  .bento-editorial {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .bento-spotlight {
    grid-column: 1;
    grid-row: auto;
    padding: 26px 22px 28px;
  }
  .bento-side--stat,
  .bento-side--price {
    grid-column: 1;
    grid-row: auto;
  }
  .bento-ribbon {
    grid-column: 1;
    grid-row: auto;
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 20px;
  }
  .bento-ribbon-divider {
    display: none;
  }
  .bento-ribbon-item {
    padding: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(167, 243, 208, 0.08);
  }
  .bento-ribbon-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  .plans-grid {
    grid-template-columns: 1fr;
  }
  .usecase-board {
    padding: 22px 20px 18px;
  }
  .usecase-board-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .usecase-col:first-child {
    padding-right: 0;
    border-right: none;
  }
  .cta-inner {
    padding: 40px 20px 52px;
  }
}

@media (max-width: 480px) {
  .fr-h1 {
    font-size: 32px;
  }
  .period-toggle {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 6px;
    gap: 6px;
    max-width: 100%;
  }
  .period-btn {
    flex: 1 1 42%;
    min-width: 0;
    padding: 10px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-fireflies span,
  .fr-tree,
  .fr-sun,
  .fr-hill,
  .fr-mist-layer,
  .fr-hero-art,
  .fr-hero-art::before,
  .fr-hero-art::after {
    animation: none !important;
  }
  .fr-h1-accent::after {
    animation: none !important;
  }
  .plan-card:hover,
  .btn-plan:hover,
  .bento-spotlight:hover,
  .bento-side:hover {
    transform: none;
  }
}

/* ═══════════════════════ 极光背景光晕 ═══════════════════════ */
.fr-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.fr-aurora span {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.fr-aurora span:nth-child(1) {
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.11) 0%, transparent 70%);
  top: -18%;
  left: 10%;
  animation: aurora-drift-a 26s ease-in-out infinite;
}

.fr-aurora span:nth-child(2) {
  width: 580px;
  height: 420px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.07) 0%, transparent 70%);
  top: 38%;
  right: -8%;
  animation: aurora-drift-b 21s ease-in-out infinite;
  animation-delay: -9s;
}

.fr-aurora span:nth-child(3) {
  width: 520px;
  height: 360px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07) 0%, transparent 70%);
  bottom: 2%;
  left: -6%;
  animation: aurora-drift-a 30s ease-in-out infinite;
  animation-delay: -18s;
}

@keyframes aurora-drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  38%       { transform: translate(45px, -28px) scale(1.07); }
  72%       { transform: translate(-22px, 22px) scale(0.94); }
}

@keyframes aurora-drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  35%       { transform: translate(-38px, 28px) scale(1.06); }
  68%       { transform: translate(24px, -32px) scale(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  .fr-aurora span { animation: none !important; }
}

/* ═══════════════════════ Hero Art 浮光粒子 ═══════════════════════ */
.fr-hero-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 4;
}

.fr-spark {
  position: absolute;
  border-radius: 50%;
  background: rgba(134, 239, 172, 0.9);
  box-shadow: 0 0 7px 2px rgba(74, 222, 128, 0.45);
  animation: spark-float 7s ease-in-out infinite;
  opacity: 0;
}

@keyframes spark-float {
  0%   { opacity: 0;   transform: translateY(0)    translateX(0)                     scale(0.6); }
  15%  { opacity: 0.9; }
  85%  { opacity: 0.5; }
  100% { opacity: 0;   transform: translateY(-88px) translateX(var(--spark-dx, 14px)) scale(1); }
}

/* ═══════════════════════ 节点 dot 在线脉冲 ═══════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .nodes-grid .node-dot {
    animation: node-online-pulse 2.8s ease-in-out infinite;
  }
  .nodes-grid .node-pill:nth-child(1) .node-dot { animation-delay: 0s;    }
  .nodes-grid .node-pill:nth-child(2) .node-dot { animation-delay: 0.55s; }
  .nodes-grid .node-pill:nth-child(3) .node-dot { animation-delay: 1.1s;  }
  .nodes-grid .node-pill:nth-child(4) .node-dot { animation-delay: 1.65s; }
  .nodes-grid .node-pill:nth-child(5) .node-dot { animation-delay: 2.2s;  }

  .trust-dot {
    animation: node-online-pulse 3.2s ease-in-out infinite;
  }
  .trust-inner .trust-item:nth-child(1) .trust-dot { animation-delay: 0s;   }
  .trust-inner .trust-item:nth-child(2) .trust-dot { animation-delay: 0.6s; }
  .trust-inner .trust-item:nth-child(3) .trust-dot { animation-delay: 1.2s; }
  .trust-inner .trust-item:nth-child(4) .trust-dot { animation-delay: 1.8s; }
  .trust-inner .trust-item:nth-child(5) .trust-dot { animation-delay: 2.4s; }
}

@keyframes node-online-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(74, 222, 128, 0), 0 0 0 3px rgba(74, 222, 128, 0.52), 0 0 16px rgba(74, 222, 128, 0.35);
  }
}

/* ═══════════════════════ Hero eyebrow 扫光 ═══════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .fr-hero-copy .fr-eyebrow {
    position: relative;
    overflow: hidden;
  }
  .fr-hero-copy .fr-eyebrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    border-radius: inherit;
    animation: eyebrow-sweep 6s ease-in-out infinite;
    animation-delay: 1.5s;
    pointer-events: none;
  }
}

@keyframes eyebrow-sweep {
  0%, 70%, 100% { left: -60%; opacity: 0; }
  5%            { opacity: 1; }
  35%           { left: 120%; opacity: 0; }
}

/* ═══════════════════════ 步骤连线流光 ═══════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .steps-grid::after {
    content: '';
    position: absolute;
    left: max(48px, 10%);
    right: max(48px, 10%);
    top: calc(36px + 52px / 2);
    transform: translateY(-50%);
    height: 3px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(74, 222, 128, 0.9) 50%, transparent 100%);
    background-size: 200% 100%;
    animation: step-flow 3.5s linear infinite;
    opacity: 0.55;
  }
}

@keyframes step-flow {
  0%   { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

/* ═══════════════════════ 定价卡片高光扫过 ═══════════════════════ */
.plan-card--featured {
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .plan-card--featured::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(105deg, transparent, rgba(167, 243, 208, 0.1), transparent);
    transform: skewX(-18deg);
    animation: card-sheen 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
  }
}

@keyframes card-sheen {
  0%, 60%, 100% { left: -75%; opacity: 0; }
  5%            { opacity: 1; }
  30%           { left: 125%; opacity: 0; }
}

/* ═══════════════════════ 3D Tilt 动效强制 will-change ═══════════════════════ */
.fr-hero-art,
.bento-spotlight,
.plan-card--featured {
  will-change: transform;
}
