:root {
  --home-primary: var(--primary, #00b377);
  --home-primary-dark: var(--primary-dark, #009966);
  --home-primary-soft: rgba(0, 179, 119, 0.12);
  --home-accent: #3b82f6;
  --home-accent-soft: rgba(59, 130, 246, 0.12);
  --home-old-dark: var(--dark, #0b1220);
  --home-old-panel: #111b2d;
  --home-bg: #111111;
  --home-bg-soft: #1a1a1a;
  --home-surface: #151c2b;
  --home-surface-elevated: #1a2335;
  --home-border: #2a2a2a;
  --home-text: #f3f4f6;
  --home-text-muted: #c4ccd6;
  --home-text-subtle: #6b7280;
  --home-max-w: 1440px;
  --home-ease: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --home-panel-radius: 16px;
  --home-panel-radius-mobile: 14px;
  --home-section-space-desktop: 96px;
  --home-section-space-tablet: 76px;
  --home-section-space-mobile: 58px;
  --home-heading-stack-gap: 14px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    Arial, sans-serif;
  background: var(--home-bg);
  color: var(--home-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.container {
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(20px, 3.2vw, 56px) !important;
  padding-right: clamp(20px, 3.2vw, 56px) !important;
}

#navbar {
  transition: var(--home-ease);
}

#scroll-top-trigger,
#scroll-top-trigger:hover,
#scroll-top-trigger:active {
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.hero-e2-image {
  background-image: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.hero-e2-image-flipped {
  transform: scaleX(-1);
}

.hero-media-inner.group:hover .hero-e2-image-flipped {
  transform: scaleX(-1) scale(1.05);
}

.mobile-menu-panel {
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  z-index: 45;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--home-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px 14px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: var(--home-ease);
}

.mobile-menu-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-link {
  display: block;
  padding: 10px 8px;
  font-size: 14px;
  color: var(--home-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.mobile-menu-link:hover {
  color: #fff;
}

.mobile-menu-link-cta {
  background: var(--home-primary);
  color: #fff;
  border-radius: 8px;
  margin-top: 6px;
  text-align: center;
}

.mobile-menu-link-cta:hover {
  background: var(--home-primary-dark);
}

.gradient-blur {
  position: absolute;
  width: 46%;
  height: 46%;
  filter: blur(132px);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  animation: heroGlowPulse 9s ease-in-out infinite;
}

.emerald-glow {
  background: rgba(15, 118, 110, 0.08);
  animation-name: heroGlowDriftEmerald;
  animation-duration: 16s;
}
.blue-glow {
  background: rgba(59, 130, 246, 0.07);
  animation-name: heroGlowDriftBlue;
  animation-duration: 18s;
}

.film-sunlight-glow,
.film-sunlight-beam {
  position: absolute;
  pointer-events: none;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}

.film-sunlight-glow {
  display: none;
  width: clamp(340px, 40vw, 760px);
  height: clamp(260px, 34vw, 560px);
  top: -6%;
  left: -2%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 38% 34%,
    rgba(255, 255, 255, 0.44) 0%,
    rgba(250, 253, 255, 0.24) 18%,
    rgba(240, 248, 255, 0.1) 34%,
    rgba(232, 244, 255, 0) 48%
  );
  filter: blur(3px);
  opacity: 0.56;
  animation: filmSunlightDrift 12s ease-in-out infinite;
}

.film-sunlight-beam {
  display: none;
  width: 86%;
  height: clamp(140px, 20vh, 260px);
  left: 2%;
  top: 5%;
  background: linear-gradient(
    122deg,
    rgba(241, 248, 255, 0) 30%,
    rgba(246, 251, 255, 0.04) 44%,
    rgba(255, 255, 255, 0.16) 50%,
    rgba(246, 251, 255, 0.03) 56%,
    rgba(241, 248, 255, 0) 70%
  );
  filter: blur(6px);
  opacity: 0.3;
  transform: rotate(-12deg);
  animation: filmSunlightSweep 14s ease-in-out infinite;
}

#hero::before {
  content: none;
}

@keyframes heroGlowPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

@keyframes heroGlowDriftEmerald {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  40% {
    transform: translate3d(14px, -10px, 0) scale(1.07);
  }

  70% {
    transform: translate3d(4px, 8px, 0) scale(1.02);
  }
}

@keyframes heroGlowDriftBlue {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  35% {
    transform: translate3d(-18px, 10px, 0) scale(1.06);
  }

  72% {
    transform: translate3d(-6px, -8px, 0) scale(1.01);
  }
}

@keyframes heroAuroraShift {
  0% {
    transform: translate3d(-1.2%, -0.8%, 0);
    opacity: 0.48;
  }

  100% {
    transform: translate3d(1.4%, 1%, 0);
    opacity: 0.74;
  }
}

@keyframes filmSunlightDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.5;
  }

  28% {
    transform: translate3d(28px, -14px, 0) scale(1.08);
    opacity: 0.66;
  }

  62% {
    transform: translate3d(52px, -10px, 0) scale(1.13);
    opacity: 0.62;
  }

  82% {
    transform: translate3d(22px, 10px, 0) scale(1.05);
    opacity: 0.52;
  }
}

@keyframes filmSunlightSweep {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
    opacity: 0.4;
  }

  35% {
    transform: translate3d(42px, -10px, 0) rotate(-8deg);
    opacity: 0.72;
  }

  68% {
    transform: translate3d(-16px, 16px, 0) rotate(-13deg);
    opacity: 0.5;
  }
}

/* Custom Tooltip Animation */
.tooltip-box {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.group:hover .tooltip-box {
  opacity: 1;
  transform: translateY(0);
}

.tooltip-box.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chart-tooltip-trigger {
  width: 100%;
  text-align: left;
}

.chart-bar-fill {
  transition: width 620ms cubic-bezier(0.2, 0.8, 0.25, 1);
}

a:focus-visible,
button:focus-visible,
.mobile-menu-link:focus-visible,
.chart-tooltip-trigger:focus-visible,
#scroll-top-trigger:focus-visible {
  outline: 2px solid var(--home-primary);
  outline-offset: 2px;
  border-radius: 8px;
}

#navbar .lg\:flex a.is-active {
  color: #fff !important;
}

#mobile-menu .mobile-menu-link.is-active {
  color: #fff;
}

@media (hover: hover) {
  button[data-scroll-target="reserve"]:hover,
  #reserve button:hover {
    transform: none;
  }

  .mobile-menu-link-cta:hover {
    transform: translateY(-1px);
  }
}

/* Back-to-top button */
#back-to-top {
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}

/* CTA 呼吸光晕（Reserve for $99） */
@keyframes ctaPulse {
  0%,
  100% {
    box-shadow:
      0 8px 20px rgba(16, 185, 129, 0.22),
      0 0 0 0 rgba(16, 185, 129, 0.36);
  }

  50% {
    box-shadow:
      0 10px 26px rgba(16, 185, 129, 0.28),
      0 0 0 6px rgba(16, 185, 129, 0.06);
  }
}

#hero button[data-scroll-target="reserve"] {
  animation: ctaPulse 3.2s ease-in-out infinite;
}

#reserve button[data-scroll-target="reserve"] {
  animation: none !important;
}

#navbar > .container > button[data-scroll-target="reserve"] {
  animation: ctaPulse 3.6s ease-in-out infinite;
}

/* Hero 信任信息条：分组容器 */
.hero-trust-strip {
  width: fit-content;
  max-width: 100%;
  margin-top: 2.75rem;
  padding: 12px 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.015)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-trust-strip .h-8.w-px.bg-slate-800 {
  opacity: 0.65;
}

.hero-trust-strip
  .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium {
  margin-top: 0 !important;
}

/* 页面“活力感”：滚动 reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 460ms ease,
    transform 460ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* The Process 流程感增强 */
section#how-it-works .steps-grid {
  gap: 18px !important;
}

section#how-it-works .steps-grid .group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  border-radius: 14px;
  padding: 18px 16px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

section#how-it-works .steps-grid .group:hover {
  transform: translateY(-2px);
  border-color: rgba(16, 185, 129, 0.45);
  background: linear-gradient(
    180deg,
    rgba(16, 185, 129, 0.1),
    rgba(16, 185, 129, 0.04)
  );
}

section#how-it-works .step-number {
  width: 34px !important;
  height: 34px !important;
  font-size: 12px !important;
}

@media (min-width: 1024px) {
  section#how-it-works .steps-grid {
    gap: 14px !important;
  }

  section#how-it-works .steps-grid .group {
    position: relative;
    min-height: 100%;
  }

  section#how-it-works .steps-grid .group:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    right: -14px;
    width: 12px;
    height: 2px;
    background: rgba(16, 185, 129, 0.65);
    z-index: 2;
  }

  section#how-it-works .steps-grid .group:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 30px;
    right: -14px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 6px solid rgba(16, 185, 129, 0.72);
    z-index: 3;
  }
}

@media (max-width: 767px) {
  section#how-it-works .steps-grid {
    gap: 12px !important;
  }

  section#how-it-works .steps-grid .group {
    padding: 14px 14px 12px;
  }

  section#how-it-works .steps-grid .group:not(:last-child) {
    border-left: 2px solid rgba(16, 185, 129, 0.42);
  }
}

/* Revenue Flow 布局优化 */
.revenue-flow-grid {
  gap: 14px !important;
}

.revenue-flow-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 14px;
  padding: 16px 16px 14px;
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    background-color 220ms ease;
}

.revenue-flow-item:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
  transform: translateY(-2px);
}

.revenue-flow-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.revenue-flow-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #022c22;
  background: rgba(16, 185, 129, 0.95);
}

/* The E2 规格亮点聚焦动画 */
.spec-highlight {
  position: relative;
  transition:
    border-color 320ms ease,
    background-color 320ms ease;
}

/* The E2 / Security 卡片：渐变边框光晕 */
section#the-e2 .grid.md\:grid-cols-2 > .group,
section#security .grid.md\:grid-cols-3 > .group {
  position: relative;
  isolation: isolate;
  border: 1px solid transparent !important;
  background:
    linear-gradient(180deg, rgba(26, 35, 53, 0.9), rgba(16, 24, 40, 0.92))
      padding-box,
    linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.04))
      border-box;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

section#the-e2 .grid.md\:grid-cols-2 > .group:hover,
section#security .grid.md\:grid-cols-3 > .group:hover {
  background:
    linear-gradient(180deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.96))
      padding-box,
    linear-gradient(135deg, rgba(16, 185, 129, 0.72), rgba(59, 130, 246, 0.58))
      border-box;
  box-shadow:
    0 10px 28px rgba(2, 6, 23, 0.34),
    0 0 0 1px rgba(16, 185, 129, 0.16);
}

section#the-e2 .group .w-12.h-12,
section#security .group .w-12.h-12 {
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    color 220ms ease;
}

section#the-e2 .group:hover .w-12.h-12,
section#security .group:hover .w-12.h-12 {
  transform: translateY(-2px);
}

/* ---- 复用旧站灰阶视觉（不改文案，仅改风格） ---- */
.bg-slate-950 {
  background-color: var(--home-bg) !important;
}

.bg-slate-900 {
  background-color: var(--home-bg-soft) !important;
}

/* section 背景色 — 深色区 */
section#how-it-works,
section#security {
  background:
    linear-gradient(180deg, #090f1a 0%, #0b1220 100%),
    radial-gradient(
      680px circle at 12% 10%,
      rgba(59, 130, 246, 0.05),
      transparent 55%
    ) !important;
}

section#the-e2,
section#reserve {
  background:
    linear-gradient(160deg, #0a1018 0%, #0d1626 100%),
    radial-gradient(
      700px circle at 80% 90%,
      rgba(59, 130, 246, 0.04),
      transparent 52%
    ) !important;
}

/* section 分割：渐变线替代 border */
section[id] + section[id] {
  border-top: none !important;
}

.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 30%,
    rgba(255, 255, 255, 0.06) 70%,
    transparent 100%
  );
  border: none;
}

/* Hero：更正式、克制的商务背景层次 */
section.min-h-screen {
  background:
    radial-gradient(
      1100px circle at 10% 14%,
      rgba(16, 185, 129, 0.1) 0%,
      rgba(16, 185, 129, 0) 48%
    ),
    radial-gradient(
      900px circle at 92% 6%,
      rgba(59, 130, 246, 0.08) 0%,
      rgba(59, 130, 246, 0) 44%
    ),
    linear-gradient(150deg, #0a0f16 0%, #111827 56%, #1b2330 100%) !important;
}

section.min-h-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 62%,
      rgba(16, 185, 129, 0.06),
      transparent 38%
    ),
    radial-gradient(
      circle at 82% 28%,
      rgba(59, 130, 246, 0.06),
      transparent 34%
    );
  animation: hero-atmos-shift 22s ease-in-out infinite alternate;
}

section.min-h-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.8) 0.45px,
    transparent 0.45px
  );
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
}

.emerald-glow {
  animation: hero-glow-float 20s ease-in-out infinite;
}

.blue-glow {
  animation: hero-glow-float 22s ease-in-out infinite reverse;
}

@keyframes hero-glow-float {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -14px, 0) scale(1.08);
  }
}

@keyframes hero-atmos-shift {
  0% {
    transform: translate3d(-0.8%, 0, 0);
  }
  100% {
    transform: translate3d(0.8%, -0.6%, 0);
  }
}

section#economics {
  background:
    linear-gradient(175deg, #141e33 0%, #101828 100%),
    radial-gradient(
      760px circle at 86% 10%,
      rgba(16, 185, 129, 0.06),
      transparent 58%
    ) !important;
}

section#cloud-fleet {
  background:
    linear-gradient(185deg, #111c2e 0%, #0e1726 100%),
    radial-gradient(
      800px circle at 14% 88%,
      rgba(59, 130, 246, 0.05),
      transparent 50%
    ) !important;
}

.border-slate-900,
.border-slate-800,
.border-slate-700 {
  border-color: var(--home-border) !important;
}

.text-slate-400 {
  color: var(--home-text-muted) !important;
}

.text-slate-500,
.text-slate-600 {
  color: var(--home-text-subtle) !important;
}

.bg-emerald-500 {
  background-color: var(--home-primary) !important;
}

.hover\:bg-emerald-600:hover {
  background-color: var(--home-primary-dark) !important;
}

/* 更接近老首页的控件节奏 */
.rounded-3xl {
  border-radius: 1rem !important;
}

/* 统一外边框圆角（与卡片体系一致） */
.hero-media-outer,
.hero-media-inner,
section#cloud-fleet
  > div
  > div.relative
  > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl {
  border-radius: var(--home-panel-radius) !important;
}

/* Cloud Fleet 内层上下边保持与外框视觉一致 */
section#cloud-fleet
  > div
  > div.relative
  > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
  > .p-4.bg-slate-800.rounded-2xl,
section#cloud-fleet
  > div
  > div.relative
  > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
  > .p-8.bg-slate-900.rounded-2xl.border.border-slate-800 {
  border-radius: var(--home-panel-radius) !important;
}

.rounded-2xl,
.rounded-xl {
  border-radius: 0.75rem !important;
}

.shadow-2xl,
.shadow-xl,
.shadow-lg {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22) !important;
}

/* ---- 更像旧版首页：排版与组件节奏 ---- */
#navbar {
  height: 60px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

#navbar > .container {
  height: 60px;
}

#navbar.border-b {
  background: rgba(10, 15, 22, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.16) !important;
  backdrop-filter: saturate(125%) blur(8px);
  -webkit-backdrop-filter: saturate(125%) blur(8px);
}

#navbar .lg\:flex a {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.4px !important;
  position: relative;
  padding-bottom: 6px;
  color: rgba(255, 255, 255, 0.78) !important;
  transition: color 220ms ease;
}

#navbar .lg\:flex a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms ease;
}

#navbar .lg\:flex a:hover {
  color: #fff !important;
}

#navbar .lg\:flex a:hover::after,
#navbar .lg\:flex a.is-active::after {
  transform: scaleX(1);
}

#navbar > .container > button[data-scroll-target="reserve"] {
  background: var(--home-primary) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 9px 22px !important;
  letter-spacing: 0.3px !important;
}

#navbar > .container > button[data-scroll-target="reserve"]:hover {
  background: var(--home-primary-dark) !important;
}

#navbar .tracking-tighter.uppercase {
  letter-spacing: 0.2px !important;
}

section[id],
section.py-24 {
  padding-top: var(--home-section-space-desktop) !important;
  padding-bottom: var(--home-section-space-desktop) !important;
}

section .text-center.mb-16 > h2 {
  margin-top: var(--home-heading-stack-gap) !important;
}

section .text-center.mb-16 > p {
  margin-top: calc(var(--home-heading-stack-gap) - 2px) !important;
}

h1,
h2,
h3,
h4 {
  letter-spacing: normal !important;
}

h2.text-5xl {
  font-size: clamp(30px, 3.2vw, 42px) !important;
  line-height: 1.22 !important;
  font-weight: 700 !important;
}

h3.text-2xl,
h3.text-3xl {
  font-size: clamp(22px, 2vw, 30px) !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
}

.text-6xl,
.text-7xl {
  font-size: clamp(42px, 5.5vw, 66px) !important;
  line-height: 1.08 !important;
}

p.text-xl {
  font-size: 18px !important;
  line-height: 1.65 !important;
}

.text-lg {
  font-size: 16px !important;
}

.rounded-full {
  border-radius: 9999px !important;
}

.bg-white.text-slate-950.rounded-3xl,
.bg-slate-900.border.border-slate-800.rounded-3xl,
.bg-slate-900\/40.border.border-slate-800.rounded-3xl,
.bg-slate-950\/50.border.border-slate-800.rounded-3xl {
  border-width: 1px !important;
  border-color: var(--home-border) !important;
}

/* ---- Layout & color optimization pass ---- */
.bg-slate-900.border.border-slate-800.rounded-3xl,
.bg-slate-900\/40.border.border-slate-800.rounded-3xl,
.bg-slate-950\/50.border.border-slate-800.rounded-3xl {
  background: linear-gradient(
    180deg,
    rgba(26, 35, 53, 0.9),
    rgba(16, 24, 40, 0.92)
  ) !important;
}

/* ---- Section heading system（统一 badge + title + subtitle 节奏） ---- */
section#economics .text-center.mb-16,
section#the-e2 .text-center.mb-16,
section#security .text-center.mb-16 {
  margin-bottom: clamp(40px, 5.2vw, 64px) !important;
}

section#economics .text-center.mb-16 > span,
section#how-it-works > .container > span:first-child,
section#the-e2 .text-center.mb-16 > span,
section#security .text-center.mb-16 > span,
section#reserve > .container > span:first-child,
section#cloud-fleet > div > div:first-child > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding-inline: 12px;
  border-radius: 999px;
  letter-spacing: 0.08em !important;
  border: 1px solid rgba(148, 163, 184, 0.26) !important;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.055),
    rgba(255, 255, 255, 0.02)
  ) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

section#how-it-works > .container > h2,
section#economics .text-center.mb-16 > h2,
section#the-e2 .text-center.mb-16 > h2,
section#security .text-center.mb-16 > h2,
section#reserve > .container > h2,
section#cloud-fleet > div > div:first-child > h2 {
  max-width: 14.5ch;
  margin-inline: auto;
  text-wrap: balance;
}

section#cloud-fleet > div > div:first-child > h2 {
  margin-inline: 0;
}

section#how-it-works > .container > p,
section#economics .text-center.mb-16 > p,
section#the-e2 .text-center.mb-16 > p,
section#security .text-center.mb-16 > p,
section#reserve > .container > p,
section#cloud-fleet > div > div:first-child > p {
  max-width: 62ch !important;
  color: #b8c3d3 !important;
}

section#cloud-fleet > div > div:first-child > p {
  max-width: 54ch !important;
}

section#how-it-works > .container > p,
section#reserve > .container > p {
  margin-inline: auto;
}

section#how-it-works > .container > span:first-child,
section#economics .text-center.mb-16 > span,
section#the-e2 .text-center.mb-16 > span,
section#security .text-center.mb-16 > span,
section#reserve > .container > span:first-child {
  display: flex !important;
  width: fit-content;
  margin-inline: auto !important;
}

section#cloud-fleet > div > div:first-child > span:first-child {
  margin-inline: 0 !important;
}

#hero
  .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium
  > .flex.flex-col {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  min-width: auto;
}

#hero .h-8.w-px.bg-slate-800 {
  opacity: 0.7;
}

.grid.lg\:grid-cols-2.gap-16.items-start,
.container.mx-auto.px-6.grid.lg\:grid-cols-2.gap-16.items-center {
  align-items: stretch !important;
}

section#economics .grid.gap-8,
section#economics
  .bg-slate-950\/50.border.border-slate-800.rounded-3xl.p-8.relative {
  height: 100%;
}

section#economics .bg-emerald-500.text-slate-950.p-8.rounded-3xl {
  background: linear-gradient(135deg, #10b981 0%, #0ea271 100%) !important;
  box-shadow: 0 14px 36px rgba(16, 185, 129, 0.24);
}

/* The Driver Incentive：背景图增强版 */
section#economics .driver-incentive-card {
  position: relative;
  overflow: hidden;
  color: #f8fafc !important;
  background:
    linear-gradient(
      120deg,
      rgba(6, 78, 59, 0.92) 0%,
      rgba(15, 23, 42, 0.78) 58%
    ),
    url("https://www.bingotech.io/assets/images/hero-bg@2x.png") center/cover
      no-repeat !important;
  box-shadow:
    0 14px 36px rgba(2, 6, 23, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

section#economics .driver-incentive-card > * {
  position: relative;
  z-index: 1;
}

section#economics .driver-incentive-card h4 {
  color: #ecfeff;
}

section#economics .driver-incentive-card p {
  color: rgba(248, 250, 252, 0.96);
}

section#economics .driver-incentive-card .w-10.h-10.rounded-full.bg-white\/20 {
  background: rgba(248, 250, 252, 0.18) !important;
  border: 1px solid rgba(248, 250, 252, 0.24);
}

section#reserve .flex-1.bg-white.text-slate-950.rounded-3xl.p-8 {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%) !important;
  box-shadow: 0 16px 44px rgba(2, 6, 23, 0.2) !important;
}

section#reserve .flex-1.bg-slate-900.border.border-slate-800.rounded-3xl.p-8 {
  background: linear-gradient(180deg, #1b2436 0%, #121a29 100%) !important;
}

.group,
button,
a {
  transition: var(--home-ease);
}

/* 最小字号限制：不小于 12px */
.text-xs,
.text-\[10px\],
.text-\[11px\] {
  font-size: 12px !important;
  line-height: 1.4 !important;
}

@media (max-width: 1024px) {
  .container {
    padding-left: clamp(16px, 3.5vw, 28px) !important;
    padding-right: clamp(16px, 3.5vw, 28px) !important;
  }

  #navbar {
    height: 56px;
  }

  #navbar > .container {
    height: 56px;
  }

  .text-6xl,
  .text-7xl {
    font-size: clamp(36px, 9vw, 52px) !important;
  }

  section[id],
  section.py-24 {
    padding-top: var(--home-section-space-tablet) !important;
    padding-bottom: var(--home-section-space-tablet) !important;
  }
}

/* ---- 移动端适配（参考老首页节奏） ---- */
@media (max-width: 767px) {
  html,
  body {
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #navbar {
    height: 56px;
  }

  #navbar > .container {
    height: 56px;
    gap: 10px;
  }

  #mobile-menu-toggle {
    order: 1;
    flex: 0 0 auto;
  }

  #navbar > .container > #scroll-top-trigger {
    order: 2;
  }

  #navbar > .container > button[data-scroll-target="reserve"] {
    order: 3;
    margin-left: auto;
  }

  #navbar > .container > #scroll-top-trigger img {
    width: 72px;
    height: auto;
  }

  #navbar > .container > button[data-scroll-target="reserve"] {
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  section.min-h-screen {
    min-height: auto;
    padding-top: 88px !important;
    padding-bottom: 56px !important;
  }

  /* Hero 移动端专用优化 */
  #hero > .container {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
    align-items: start !important;
  }

  #hero h1 {
    margin-top: 14px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.02em !important;
  }

  #hero p.text-xl {
    margin-top: 14px !important;
    max-width: none !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  #hero .mt-10 {
    margin-top: 16px !important;
  }

  #hero .mt-10 > button {
    width: 100%;
    min-height: 46px;
  }

  #hero .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium {
    margin-top: 18px !important;
    flex-wrap: wrap;
    gap: 10px 14px !important;
    align-items: flex-start !important;
  }

  #hero
    .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium
    .h-8.w-px.bg-slate-800 {
    display: none;
  }

  #hero .hero-media-outer {
    margin-top: 4px;
    padding: 3px !important;
  }

  #hero .hero-e2-image {
    padding: 0 !important;
  }

  #hero .absolute.bottom-8.left-8.right-8 {
    left: 14px !important;
    right: 14px !important;
    bottom: 12px !important;
  }

  #hero .absolute.bottom-8.left-8.right-8 > p.text-white {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  section[id],
  section.py-24 {
    padding-top: var(--home-section-space-mobile) !important;
    padding-bottom: var(--home-section-space-mobile) !important;
  }

  .text-6xl,
  .text-7xl {
    font-size: clamp(34px, 10vw, 44px) !important;
    line-height: 1.1 !important;
  }

  h2.text-5xl {
    font-size: clamp(28px, 7.2vw, 34px) !important;
    line-height: 1.2 !important;
  }

  h3.text-2xl,
  h3.text-3xl {
    font-size: clamp(20px, 6vw, 26px) !important;
    line-height: 1.28 !important;
  }

  p.text-xl {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  section#how-it-works > .container > h2,
  section#economics .text-center.mb-16 > h2,
  section#the-e2 .text-center.mb-16 > h2,
  section#security .text-center.mb-16 > h2,
  section#reserve > .container > h2,
  section#cloud-fleet > div > div:first-child > h2 {
    max-width: 100%;
  }

  section#how-it-works > .container > p,
  section#economics .text-center.mb-16 > p,
  section#the-e2 .text-center.mb-16 > p,
  section#security .text-center.mb-16 > p,
  section#reserve > .container > p,
  section#cloud-fleet > div > div:first-child > p {
    max-width: 100% !important;
  }

  .max-w-4xl.mx-auto.mb-24 {
    margin-bottom: 56px !important;
  }

  .revenue-flow-item {
    padding: 14px 14px 12px;
  }

  .revenue-flow-head {
    margin-bottom: 6px;
  }

  .grid.lg\:grid-cols-2.gap-16.items-start,
  .container.mx-auto.px-6.grid.lg\:grid-cols-2.gap-16.items-center {
    gap: 28px !important;
  }

  .bg-slate-900.border.border-slate-800.rounded-3xl.p-8,
  .bg-slate-900\/40.border.border-slate-800.rounded-3xl.p-8,
  .bg-slate-950\/50.border.border-slate-800.rounded-3xl.p-8.relative,
  .flex-1.bg-slate-900.border.border-slate-800.rounded-3xl.p-8,
  .flex-1.bg-white.text-slate-950.rounded-3xl.p-8 {
    padding: 20px !important;
  }

  .bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl {
    padding: 16px !important;
  }

  .absolute.bottom-8.left-8.right-8 {
    left: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
  }

  /* Hero 图片背景圆角统一（修复移动端 white@2x.png 圆角问题） */
  .hero-media-outer,
  .hero-media-inner,
  .hero-media-inner > img,
  .hero-media-overlay,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
    > .p-4.bg-slate-800.rounded-2xl,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
    > .p-8.bg-slate-900.rounded-2xl.border.border-slate-800 {
    border-radius: var(--home-panel-radius-mobile) !important;
  }

  #chart-container .tooltip-box {
    left: 0 !important;
    right: 0;
    top: calc(100% + 6px) !important;
    white-space: normal;
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  #chart-container .tooltip-box .absolute.-bottom-1 {
    display: none;
  }

  footer .grid.md\:grid-cols-4 {
    gap: 24px !important;
    margin-bottom: 36px !important;
  }

  footer .pt-10.border-t {
    padding-top: 20px !important;
    gap: 10px !important;
  }
}

@media (min-width: 1536px) {
  .container {
    padding-left: clamp(40px, 4vw, 84px) !important;
    padding-right: clamp(40px, 4vw, 84px) !important;
  }
}

/* ---- iPhone 尺寸微调（390/393/430 等） ---- */
@media (max-width: 430px) {
  #navbar > .container {
    padding-left: max(14px, env(safe-area-inset-left)) !important;
    padding-right: max(14px, env(safe-area-inset-right)) !important;
  }

  #navbar > .container > button[data-scroll-target="reserve"] {
    padding: 8px 10px !important;
    letter-spacing: 0 !important;
  }

  .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium {
    flex-wrap: wrap;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium
    .h-8.w-px.bg-slate-800 {
    display: none;
  }

  #hero h1 {
    font-size: clamp(32px, 10vw, 40px) !important;
  }

  #hero .mt-10 > button {
    min-height: 44px;
    font-size: 14px !important;
  }

  section#economics .grid.grid-cols-2.gap-4 {
    grid-template-columns: 1fr !important;
  }

  footer .pt-10.border-t .flex.gap-6 {
    flex-wrap: wrap;
    gap: 12px !important;
  }
}

@media (max-width: 390px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .text-6xl,
  .text-7xl {
    font-size: clamp(30px, 9.5vw, 38px) !important;
  }

  #navbar > .container > button[data-scroll-target="reserve"] {
    padding: 8px 9px !important;
    font-size: 12px !important;
  }

  .hero-media-outer,
  .hero-media-inner,
  .hero-media-inner > img,
  .hero-media-overlay,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
    > .p-4.bg-slate-800.rounded-2xl,
  section#cloud-fleet
    > div
    > div.relative
    > div.bg-slate-950.p-6.border.border-slate-700.rounded-3xl.shadow-2xl
    > .p-8.bg-slate-900.rounded-2xl.border.border-slate-800 {
    border-radius: 14px !important;
  }
}

/* ---- 第二步优化包：色彩语义统一 + 移动端排版微调 ---- */

/* 色彩语义统一（正向收益 / 风险项 / 中性信息） */
section#economics .text-emerald-400,
section#cloud-fleet .text-emerald-400,
section#reserve .text-emerald-500 {
  color: #34d399 !important;
}

section#economics .bg-emerald-500,
section#reserve button.bg-emerald-500,
section#hero button.bg-emerald-500 {
  background-color: #10b981 !important;
}

section#economics .bg-emerald-500:hover,
section#reserve button.bg-emerald-500:hover,
section#hero button.bg-emerald-500:hover {
  background-color: var(--home-primary-dark) !important;
}

section#economics .text-red-400 {
  color: #f87171 !important;
}

section#economics .bg-red-500\/20 {
  background-color: rgba(239, 68, 68, 0.18) !important;
}

/* 对比卡语义更明确：劣势卡降低饱和度，优势卡更清晰 */
section#economics
  .bg-slate-900\/90.border.border-slate-700.rounded-3xl.p-6.opacity-85 {
  opacity: 0.7;
  filter: saturate(0.58);
}

/* 移动端排版微调（提升可读性） */
@media (max-width: 767px) {
  section p.text-sm,
  section .text-sm {
    line-height: 1.62 !important;
  }

  section .text-\[10px\] {
    letter-spacing: 0.035em !important;
    line-height: 1.45 !important;
  }

  section .text-center.mb-16 > p,
  section#reserve > .container > p {
    margin-top: 12px !important;
  }

  /* Hero 信任条在小屏下改为 2 列流式，更易读 */
  #hero .hero-trust-strip {
    width: 100%;
    padding: 12px 12px;
  }

  #hero
    .hero-trust-strip
    .flex.items-center.gap-5.mt-12.text-slate-500.text-sm.font-medium {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px !important;
    margin-top: 0 !important;
  }

  #hero .hero-trust-strip .h-8.w-px.bg-slate-800 {
    display: none;
  }

  #hero .hero-trust-strip .flex.flex-col {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
