/* GateRouter — Landing page styles */

/* ============================================================
   样式隔离契约（重要，请严格遵守）
   ------------------------------------------------------------
   ▸ 默认区块（无 @media 包裹）= Web 端（≥769px）基线
       - 改 Web 端时只动这里
       - 禁止在此处加任何只服务移动端的样式
   ▸ @media (max-width: 768px) { ... } = 移动端（≤768px）专属
       - 改移动端时只动 768 媒体查询块内的规则
       - 禁止修改默认区块的属性值；如需差异化，用 768 媒体查询块覆盖
   ▸ @media (max-width: 980px) 等其他断点 = Web 端的响应式微调
       - 属于 Web 范畴，调整移动端时不要动
   ▸ 新增移动端独有的 class/规则，统一写在文件末尾的 768 块内
   ▸ 任何会影响两端的全局改动（颜色、字体、token），需明确说明
   ============================================================ */

:where(.landing-page, .landing-page *) {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.landing-page {
  --gate-blue: #0055FF;
  --gate-blue-deep: #1F33FF;
  --ink: #0a0a0f;
  --ink-2: #5a5a62;
  --ink-3: #9a9aa3;
  --line: #e6e6ec;
  --line-soft: #f0f0f4;
  --paper: #ffffff;
  --paper-2: #f7f8fb;
  --feature-active-bg: #FAFAFA;
  --green-tag: #16a34a;
  --green-tag-bg: #dcfce7;
}

.landing-page {
  scroll-behavior: smooth;
  font-family: "Switzer", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
:where(.landing-page a) { color: inherit; text-decoration: none; }
:where(.landing-page button) { font: inherit; cursor: pointer; border: none; background: none; }

/* ─────────── Hero shell with gradient ─────────── */
.hero-shell {
  position: relative;
  min-height: 980px;
  height: 980px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background-color: #2042c5;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.hero-bg-image--mobile { display: none; }
.hero-shell::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, #ffffff 100%);
  pointer-events: none;
  z-index: 2;
}
.ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  background: transparent;
  opacity: 0.6;
}

/* Hero variant toggle */
.hero-variant { transition: opacity 350ms ease; }
.hero-shell[data-hero-variant="ripple"] .hero-variant--globe { opacity: 0; pointer-events: none; }
.hero-shell[data-hero-variant="globe"]  .hero-variant--ripple { opacity: 0; pointer-events: none; }
.hero-shell[data-hero-variant="globe"]  .hero-variant--globe  { opacity: 1; }
.hero-shell[data-hero-variant="ripple"] .hero-variant--ripple { opacity: 1; }

/* Globe iframe for v2 hero */
.hero-globe-iframe {
  position: absolute;
  top: -64px;
  left: 0;
  right: 0;
  bottom: 64px;
  width: 100%; height: 100%;
  border: 0;
  z-index: 0;
  pointer-events: none;
}

/* Variant switcher tab — fixed top-right edge of hero */
.hero-variant-tab {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 30, 90, 0.10);
  transition: all 200ms cubic-bezier(0.4,0,0.2,1);
}
.hero-variant-tab:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 30, 90, 0.18);
}
.hero-variant-tab .hvt-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0055FF 0%, #7c4dff 100%);
}
/* Square-ish small button sitting BELOW the variant tab on the right */
.hero-header-tab {
  top: calc(50% + 28px);
  min-width: 36px;
  height: 32px;
  padding: 0 12px;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}
/* Adjust the Ripple/Globe tab to sit just above the header tab */
.hero-variant-tab#heroVariantToggle { top: calc(50% - 28px); }
.hero-shell::after { display: none; }

/* ─────────── Header variant toggle (v1 ↔ v2) ─────────── */
/* Default: show v1, hide v2 */
.nav.nav-v2 { display: none !important; }
/* When variant = 2: hide v1, show v2 */
body[data-header-variant="2"] .nav.nav-v1 { display: none !important; }
body[data-header-variant="2"] .nav.nav-v2 { display: flex !important; }

/* ─────────── Nav V2 (flat, transparent over hero) ─────────── */
.nav-v2 {
  position: relative;
  z-index: 10;
  padding: 24px 24px 0;
  justify-content: center;
}
.navv2-inner {
  width: 1200px;
  max-width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.navv2-left {
  display: flex;
  align-items: center;
  gap: 48px;
}
.navv2-brand { display: inline-flex; align-items: center; }
.navv2-brand img { display: block; height: 32px; width: auto; filter: brightness(0) invert(1); }
.navv2-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.navv2-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 0;
  font-family: 'Switzer', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.navv2-link.active { font-weight: 600; }
.navv2-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 16px;
  height: 3px;
  border-radius: 1px;
  background: #ffffff;
  transform: translateX(-50%);
}
.navv2-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navv2-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 4px 10px 4px 4px;
  background: #ffffff;
  border-radius: 999px;
  font-family: 'Switzer', -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #070808;
  text-decoration: none;
  cursor: pointer;
}
.navv2-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.navv2-caret { width: 8px; height: 6px; opacity: 0.7; }
.navv2-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
}
.navv2-lang {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.navv2-lang img { width: 22px; height: 22px; filter: brightness(0) invert(1); }

/* ─────────── Nav ─────────── */
.nav {
  position: relative; z-index: 10;
  padding: 18px 24px 0;
  display: flex; justify-content: center;
}
.nav-card {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: calc(100% - 16px);
  max-width: 1200px;
  padding: 12px 24px 12px 28px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.nav-brand {
  display: flex; align-items: center; gap: 8px;
  font-size: 20px; font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.nav-brand .ic {
  width: 30px; height: 30px;
  background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gate-blue); font-size: 26px;
  position: relative;
}
.nav-brand .ic::after { display: none; }
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 15px; color: var(--ink); font-weight: 500;
}
.nav-links a {
  opacity: 0.85; transition: opacity 150ms;
  padding-bottom: 4px;
  position: relative;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { color: var(--ink); opacity: 1; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--ink);
  border-radius: 2px;
}
.nav-right { display: flex; gap: 14px; align-items: center; justify-content: flex-end; }
.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 150ms;
}
.nav-account:hover { background: rgba(0,0,0,0.04); }
.nav-avatar {
  width: 28px; height: 28px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}
.nav-caret { width: 8px; height: 6px; margin-left: 4px; display: inline-block; }
.nav-login { font-size: 15px; color: var(--ink); font-weight: 500; padding: 6px 8px; }
.nav-signup {
  background: #D5FF5F; color: var(--ink);
  padding: 9px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav-lang {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: none;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  font-size: 16px;
  margin-left: 4px;
  border-left: 1px solid rgba(0,0,0,0.08);
  padding-left: 14px;
  border-radius: 0;
  width: auto; height: 36px;
}

/* ─────────── Hero content ─────────── */
.hero {
  position: relative; z-index: 5;
  width: 100%;
  min-height: min(100vh, 980px);
  min-height: min(100dvh, 980px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 40px;
}
.hero .eyebrow {
  font-size: 32px; font-weight: 600;
  color: #D5FF5F;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.hero h1 {
  font-size: 96px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #ffffff;
}
.hero .sub {
  margin-top: 32px;
  font-size: 32px;
  color: #ffffff;
  font-weight: 400;
  letter-spacing: -0.005em;
  opacity: 0.9;
}
.hero-cta {
  margin-top: 50px;
  line-height: 1;
  display: inline-flex; gap: 16px; flex-wrap: wrap; justify-content: center;
}
.btn-dark {
  width: 204px; height: 56px;
  background: var(--ink); color: white;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 0 12px 0 24px;
}
.btn-dark .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
}
.btn-dark .arrow svg { width: 16px; height: 16px; display: block; }

/* Button label / v2 arrow visibility */
.btn-label--v2 { display: none; }
.btn-arrow-circle { display: none; }

/* ─────────── Buttons in header variant 2 (per Figma 178:48781) ─────────── */
body[data-header-variant="2"] .hero-cta { gap: 16px; }

body[data-header-variant="2"] .btn-dark {
  width: auto;
  height: 56px;
  background: #070808;
  color: #ffffff;
  padding: 0 8px 0 32px;
  gap: 16px;
  font-family: 'Switzer', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
body[data-header-variant="2"] .btn-dark .btn-label--v1 { display: none; }
body[data-header-variant="2"] .btn-dark .btn-label--v2 { display: inline; }
body[data-header-variant="2"] .btn-dark .arrow { display: none; }
body[data-header-variant="2"] .btn-dark .btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
}
body[data-header-variant="2"] .btn-dark .btn-arrow-circle svg {
  width: 18px;
  height: 18px;
  display: block;
}

body[data-header-variant="2"] .btn-outline {
  width: auto;
  height: 56px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.81);
  color: #070808;
  border: 0;
  font-family: 'Switzer', -apple-system, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.btn-outline {
  width: 204px; height: 56px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

/* Stats row */
.stats {
  margin: 90px auto 0;
  max-width: 1200px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 24px;
}
.stat {
  text-align: center;
}
.stat .v {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
  color: #ffffff;
}
.stat .l {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ─────────── Sections ─────────── */
.section {
  padding: 100px 24px;
  position: relative;
}
.wrap { max-width: 1200px; margin: 0 auto; }

.eyebrow-blue {
  font-size: 14px; font-weight: 600;
  color: var(--gate-blue);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
  text-align: left;
}
.section h2 {
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  max-width: 900px;
  text-align: left;
}
.section h2 + .section-sub {
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 600px;
  line-height: 1.55;
  text-align: left;
}

/* Pricing cards */
.pricing-grid {
  margin: 40px auto 0;
  display: grid; grid-template-columns: 560px 560px; gap: 20px;
  max-width: 1200px;
  justify-content: center;
  align-items: end;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  position: relative;
  transition: all 200ms;
  height: 280px;
  display: flex;
  flex-direction: column;
}
/* Featured: blue OUTER container with white inner card */
.price-card.featured {
  background: var(--gate-blue);
  border-color: var(--gate-blue);
  padding: 0;
  overflow: hidden;
  box-shadow: none;
  height: 340px;
  display: flex;
  flex-direction: column;
}
.price-card.featured .ribbon {
  height: 56px;
  flex-shrink: 0;
  font-size: 16px; font-weight: 500;
  color: white;
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.price-card.featured .ribbon svg { width: 16px; height: 16px; }
.price-card.featured .inner {
  background: white;
  border-radius: 20px;
  margin: 0 6px 6px;
  padding: 24px;
  color: var(--ink);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Icon row */
.price-card .top-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  margin-bottom: 14px;
}
.price-card .top-icon img,
.price-card .top-icon svg { width: 32px; height: 32px; }

.price-card .tier-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  font-size: 16px;
}
.price-card .tier {
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.price-card .badge {
  display: inline-block;
  font-size: 13px; font-weight: 500;
  background: #C6F84A;
  color: var(--ink);
  padding: 3px 10px;
  border-radius: 6px;
  letter-spacing: -0.005em;
}

.price-card h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 6px 0 18px;
  color: var(--ink);
}

.price-card .cta-btn {
  display: flex;
  align-items: center; justify-content: center;
  width: 100%;
  height: 52px;
  min-height: 52px;
  flex-shrink: 0;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.price-card.featured .cta-btn {
  background: #2a2a2e;
  color: white;
}
.price-card:not(.featured) .cta-btn {
  background: #f0f0f4;
  color: var(--ink);
}

.price-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  padding-top: 0;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-features li {
  font-size: 16px;
  color: var(--ink-2);
  line-height: 1.5;
  letter-spacing: -0.005em;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 0;
}
.price-features li::before {
  content: '✓';
  color: var(--ink);
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1.5;
}
.price-features li strong {
  color: var(--ink);
  font-weight: 700;
}
.price-card .price-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.price-card .price-sub strong { color: var(--ink); font-weight: 600; }
.price-card li {
  font-size: 16px;
  color: var(--ink-2);
  display: flex; align-items: flex-start; gap: 12px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.price-card li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2384888C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.price-card li strong { color: var(--ink); font-weight: 600; }

/* Infra grid */
.infra-section > .wrap:first-of-type + .infra-divider { margin-top: 64px; }
.infra-divider {
  height: 1px;
  background: var(--line);
  width: 100%;
  margin: 0;
}
.infra-row-wrap {
  padding-left: 24px;
  padding-right: 24px;
}
.infra-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.infra-card {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 36px;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  transition: all 200ms;
  display: flex;
  flex-direction: column;
}
.infra-card.dark {
  background: #ffffff;
  color: var(--ink);
  border-color: transparent;
}
.infra-card--scheme-6 {
  isolation: isolate;
  transition: background-color 0.35s ease;
}
.infra-card--scheme-6::before,
.infra-card--scheme-6::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  background-size: 10px 10px;
}
.infra-card--scheme-6::before {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.13) 0.6px, transparent 0.6px);
  -webkit-mask-image: radial-gradient(circle 220px at 55% 72%, #000 0%, #000 38%, transparent 72%);
  mask-image: radial-gradient(circle 220px at 55% 72%, #000 0%, #000 38%, transparent 72%);
  transition: opacity 0.4s ease;
}
.infra-card--scheme-6::after {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.09) 0.5px, transparent 0.5px);
  background-position: 5px 5px;
  -webkit-mask-image: radial-gradient(circle 170px at calc(100% - 60px) calc(100% - 56px), #000 0%, #000 50%, transparent 76%);
  mask-image: radial-gradient(circle 170px at calc(100% - 60px) calc(100% - 56px), #000 0%, #000 50%, transparent 76%);
  transition: opacity 0.45s ease 0.08s;
}
.infra-card--scheme-6 > * {
  position: relative;
  z-index: 1;
}
.infra-card .ic-box {
  width: 48px; height: 48px;
  background: var(--ink);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  margin-bottom: 60px;
}
.infra-card--scheme-6 .ic-box {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.35s ease;
}
.infra-card .ic-box svg { width: 22px; height: 22px; }
.infra-card.dark .ic-box {
  background: var(--ink);
  color: white;
}
.infra-card .ic-box img.infra-icon--invert { filter: invert(1); }
.infra-card .ic-box img { width: 22px; height: 22px; }
.infra-card h4 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
.infra-card--scheme-6 h4,
.infra-card--scheme-6 p {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease, color 0.35s ease;
}
.infra-card.dark h4 { color: var(--ink); }
.infra-card p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 380px;
}
.infra-card--scheme-6 p { opacity: 0.85; }
.infra-card.dark p { color: var(--ink-2); }
@media (hover: hover) {
  .infra-card--scheme-6:hover {
    background: var(--feature-active-bg);
  }
  .infra-card--scheme-6:hover .ic-box {
    background: var(--gate-blue);
  }
  .infra-card--scheme-6:hover h4 {
    color: var(--gate-blue);
    transform: translateY(-6px);
  }
  .infra-card--scheme-6:hover p {
    transform: translateY(-6px);
    opacity: 1;
  }
  .infra-card--scheme-6:hover::before {
    opacity: 0.26;
  }
  .infra-card--scheme-6:hover::after {
    opacity: 0.24;
  }
}

/* Usage scenario / orbit visual */
.scenario {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  min-height: 480px;
}
.scenario-copy h3 {
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  max-width: 380px;
}
.scenario-copy .sub-sm {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 360px;
}
.orbit-stage {
  position: relative;
  height: 440px;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-ring.r1 { width: 200px; height: 200px; border: 1.5px solid #ff8a8a; opacity: 0.6; }
.orbit-ring.r2 { width: 320px; height: 320px; border: 1.5px solid #ffb88a; opacity: 0.45; }
.orbit-ring.r3 { width: 440px; height: 440px; border: 1.5px solid #ffd58a; opacity: 0.3; }
.orbit-center {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 999px;
  background: var(--gate-blue);
  display: flex; align-items: center; justify-content: center;
  color: white;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,85,255,0.35);
}
.orbit-node {
  position: absolute;
  width: 36px; height: 36px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600;
  color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 3;
}
.orbit-node.blue { background: var(--gate-blue); color: white; border-color: var(--gate-blue); }
.orbit-node.dark { background: var(--ink); color: white; border-color: var(--ink); }
/* node positions (around center) */
.orbit-node.n1 { left: 50%; top: 50%; transform: translate(-160px, -10px); }   /* M1 inner left */
.orbit-node.n2 { left: 50%; top: 50%; transform: translate(60px, -80px); }     /* M2 inner top-right (dark) */
.orbit-node.n3 { left: 50%; top: 50%; transform: translate(80px, 30px); }      /* M3 inner right (blue) */
.orbit-node.n4 { left: 50%; top: 50%; transform: translate(200px, -130px); }   /* M4 far right top */
.orbit-node.n5 { left: 50%; top: 50%; transform: translate(160px, 80px); }     /* M5 far right bottom */
.orbit-node.n6 { left: 50%; top: 50%; transform: translate(-220px, 60px); }    /* M6 far left bottom */

/* Scenario row: 4 items + orbit */
.scenario-section {
  position: relative;
  border-top: none;
  padding-top: 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 16.666% 100%;
  background-position: 0 0;
  background-repeat: repeat-x;
}
.scenario-section .eyebrow-blue { text-align: left; }
.scenario-section h2 { text-align: left; margin: 0; max-width: 900px; }
.scenario-divider {
  display: none;
}
.deploy-section .eyebrow-blue { text-align: left; }
.deploy-section h2 { text-align: left; margin: 0; max-width: none; }
.scenario-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  min-height: 360px;
}
.feat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: none;
}
.feat-list li {
  display: flex;
  gap: 24px;
  padding: 12px 24px;
  border-radius: 0;
  align-items: flex-start;
  transition: all 200ms;
  cursor: pointer;
  position: relative;
  margin-left: -1px;
  border-left: 1px solid transparent;
}
.feat-list li.active {
  background: rgb(250, 250, 250);
  border-left: 4px solid #0055FF;
  padding-left: 21px;
}
.feat-list li p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 250ms, opacity 250ms, margin-top 250ms;
  margin-top: 0;
}
.feat-list li.active p {
  max-height: 100px;
  opacity: 1;
  margin-top: 8px;
}
.feat-list li:hover:not(.active) {
  background: rgba(0,0,0,0.02);
}

/* Feature illustration carousel (replaces orbit visual) */
.feat-illu-wrap {
  position: relative;
  width: 560px;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-illu {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.985);
  width: 412px; height: 412px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 600ms var(--ease-out-expo), transform 800ms var(--ease-out-expo);
  pointer-events: none;
}
.feat-illu[data-illu="price"] {
  width: 388px; height: 388px;
}
.feat-illu.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.feat-list li.active {
  background: var(--feature-active-bg);
}
.feat-list .feat-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
}
.feat-list li.active .feat-icon {
  background: var(--ink); color: white; border-color: var(--ink);
}
.feat-list h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.feat-list p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 360px;
}

/* Globe placeholder */
.globe-placeholder {
  margin: 200px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
  padding: 200px 0;
}

/* Sphere placeholder image */
.sphere-placeholder {
  margin: 180px auto 0;
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sphere-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 720px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6f6f9 0%, #e4e6ef 100%);
  border: 1px dashed var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  font-size: 14px;
  position: relative;
}
.sphere-img::before {
  content: '球图占位';
  display: block;
}

@media (max-width: 900px) {
  .scenario-row { grid-template-columns: 1fr; gap: 32px; }
}

/* ─────────── Models galaxy section ─────────── */
.galaxy {
  padding: 140px 24px 100px;
  text-align: center;
  background: var(--paper);
}
.galaxy-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 auto 80px;
  max-width: 900px;
  line-height: 1.2;
}
.galaxy-stage {
  position: relative;
  width: 900px;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
}
.galaxy-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  border-radius: 999px;
  background: #ECEAFE;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #4949ff;
  border: 1px solid #C9C2FF;
}
.galaxy-center .num {
  font-size: 44px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1;
}
.galaxy-center .lbl {
  font-size: 16px; color: #6a6acc;
  margin-top: 8px;
}
.model-orb {
  position: absolute;
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  transform: translate(-50%, -50%);
}
.model-orb .badge-circle {
  width: 84px; height: 84px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  overflow: hidden;
}
.model-orb .badge-circle img {
  width: 56%; height: 56%; object-fit: contain;
}
.model-orb .name {
  font-size: 14px;
  color: var(--ink-2);
  font-weight: 500;
}
.model-orb.large .badge-circle { width: 104px; height: 104px; }
.model-orb.small .badge-circle { width: 64px; height: 64px; }
.model-orb.dark .badge-circle { background: var(--ink); }
.model-orb.dark .badge-circle img { filter: invert(1) brightness(1.4); }

/* Galaxy positions (percentages relative to stage) */
.pos-claude    { left: 50%; top: 18%; }
.pos-gpt       { left: 78%; top: 28%; }
.pos-grok      { left: 88%; top: 48%; }
.pos-deepseek  { left: 82%; top: 70%; }
.pos-kimi      { left: 60%; top: 82%; }
.pos-qwen      { left: 40%; top: 82%; }
.pos-glm       { left: 22%; top: 70%; }
.pos-mimo      { left: 12%; top: 50%; }
.pos-minimax   { left: 16%; top: 32%; }
.pos-nemo      { left: 32%; top: 18%; }

.galaxy-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center; gap: 10px;
  padding: 14px 28px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

@media (max-width: 900px) {
  .galaxy-stage { height: 500px; }
  .model-orb .badge-circle { width: 56px; height: 56px; font-size: 18px; }
  .model-orb.large .badge-circle { width: 64px; height: 64px; font-size: 20px; }
  .galaxy-center { width: 130px; height: 130px; }
  .galaxy-center .num { font-size: 32px; }
}
/* ─────────── Logo Constellation (antimetal-style, vertical-right) ─────────── */
.constellation {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 760;
  margin: 0;
}
.constellation-links {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.logo-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 12px 28px rgba(20, 40, 90, 0.10);
  display: flex; align-items: center; justify-content: center;
  animation: nodeFloat 6s ease-in-out infinite;
  will-change: transform;
}
.logo-node.sm { width: 56px; height: 56px; }
.logo-node.lg { width: 132px; height: 132px; }
.logo-node img {
  width: 50%; height: 50%; object-fit: contain;
}
.logo-node.dark { background: #0d0d12; }
.logo-node.dark img { filter: invert(1) brightness(1.4); }

.logo-node.lg-1  { animation-delay: 0s; }
.logo-node.lg-2  { animation-delay: 0.4s; }
.logo-node.lg-3  { animation-delay: 0.8s; }
.logo-node.lg-4  { animation-delay: 1.2s; }
.logo-node.lg-5  { animation-delay: 1.6s; }
.logo-node.lg-6  { animation-delay: 2.0s; }
.logo-node.lg-7  { animation-delay: 2.4s; }
.logo-node.lg-8  { animation-delay: 2.8s; }
.logo-node.lg-9  { animation-delay: 3.2s; }
.logo-node.lg-10 { animation-delay: 3.6s; }

@keyframes nodeFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%      { transform: translate(-50%, -50%) translateY(-8px); }
}

@media (max-width: 900px) {
  .logo-node { width: 56px; height: 56px; }
  .logo-node.sm { width: 44px; height: 44px; }
  .logo-node.lg { width: 96px; height: 96px; }
}

.d3-card--img {
  padding: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
}
.d3-card--img::before,
.d3-card--img::after { display: none !important; content: none !important; }
.d3-card--img .d3-card-stack { display: none !important; }
.d3-card--img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ─────── How to Deploy v2: 3-column layout ─────── */
.deploy-section--v2 .deploy-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 80px;
}
.d3-step { display: flex; flex-direction: column; gap: 16px; }
.d3-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.d3-num {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1.5px solid rgba(0,0,0,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.d3-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--ink);
}
@media (min-width: 981px) {
  html[lang="en"] .deploy-section--v2 .d3-head {
    align-items: flex-start;
    min-height: 56px;
  }
}
.d3-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.45);
  line-height: 1.55;
  margin: 0;
  min-height: 56px;
}

/* Illustration card — fixed height across all 3 */
.d3-card {
  position: relative;
  margin-top: 8px;
  border: 1px solid #e5e7ec;
  border-radius: 18px;
  background: #ffffff;
  padding: 32px 28px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.d3-card-stack,
.d3-card-stack--mid { display: none; }

/* STEP 1: API Key illustration */
.d3-key-row {
  display: flex; align-items: center; gap: 10px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  width: fit-content;
  margin: 0 auto;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.d3-key-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #e6efff;
  color: #0055FF;
  flex-shrink: 0;
}
.d3-key-icon img { width: 14px; height: 14px; }
.d3-key-label {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.d3-key-line {
  height: 44px;
  width: 2px;
  background: linear-gradient(180deg, #0055FF 0%, #b1ff5f 100%);
  margin: 8px auto;
}
.d3-key-dots {
  text-align: center;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: #0055FF;
  padding: 14px 18px;
  border: 1.5px dashed #b3c7ff;
  border-radius: 12px;
  background: #f4f7ff;
  overflow: hidden;
}

/* STEP 2: Payment illustration */
.d3-pay-row {
  display: flex; align-items: center; gap: 12px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.d3-visa {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 26px;
  background: #1a1f71;
  border-radius: 4px;
  flex-shrink: 0;
  color: #fff;
  font-family: ui-serif, Georgia, serif;
  font-weight: 900;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.d3-pay-txt {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.d3-pay-check { flex-shrink: 0; display: inline-flex; align-items: center; }

.d3-pay-fork {
  height: 28px;
  margin: 4px 0;
}
.d3-pay-fork svg { width: 100%; height: 100%; display: block; }

.d3-pay-line {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: #fafafa;
  border-radius: 12px;
  margin-bottom: 6px;
}
.d3-pay-line:last-child { margin-bottom: 0; }
.d3-pay-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.d3-pay-dot--blue { background: #0055FF; }
.d3-pay-dot--purple { background: #b46fff; }
.d3-pay-date { flex: 1; font-size: 14px; color: var(--ink); }
.d3-pay-amt {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* STEP 3: Config illustration */
.d3-card--config {
  padding: 0;
  overflow: hidden;
}
.d3-card-body--config {
  background: linear-gradient(180deg, #e8f1ff 0%, #ffffff 60%);
  padding: 24px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}
.d3-cfg-row {
  display: flex; align-items: center; gap: 8px;
  padding: 0;
  font-size: 12px;
  flex-wrap: wrap;
}
.d3-cfg-row--strong { padding: 0 0 6px; }
.d3-cfg-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.d3-cfg-dot--blue { background: #0055FF; }
.d3-cfg-label {
  font-size: 12px;
  color: rgba(0,0,0,0.55);
  font-weight: 500;
}
.d3-cfg-mono {
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.d3-cfg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #ffffff;
  border: 1px solid #e5e7ec;
  border-radius: 999px;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
}
.d3-cfg-pill--right { margin-left: auto; }
.d3-cfg-pill--region {
  margin-left: auto;
}
.d3-cfg-pill-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: #b46fff;
}
.d3-cfg-pill-dot--cyan { background: #00c2c7; }
.d3-cfg-pill-dot--red { background: #ff4f4f; }

@media (max-width: 980px) {
  .deploy-section--v2 .deploy-3col { grid-template-columns: 1fr; gap: 64px; }
  .d3-card { height: auto; min-height: 240px; }
}
.deploy-section {
  background: var(--paper);
  padding-left: 0;
  padding-right: 0;
}
.deploy-section .wrap {
  padding-left: 24px;
  padding-right: 24px;
}
.deploy-steps {
  margin: 60px auto 40px;
  max-width: 1200px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.deploy-step {
  flex: 0 0 auto;
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.deploy-steps .step-line-1,
.deploy-steps .step-line-2 {
  flex: 1 1 auto;
  height: 1px;
  background: rgba(0,0,0,0.12);
  margin-top: 27px;
  transition: background 300ms, height 300ms;
}
.deploy-steps[data-active="2"] .step-line-1,
.deploy-steps[data-active="3"] .step-line-1,
.deploy-steps[data-active="3"] .step-line-2 {
  background: var(--ink);
  height: 1.5px;
}

.deploy-step .step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.18);
  margin: 0 auto 14px;
  overflow: visible;
  transition: all 250ms var(--ease-apple);
}
.deploy-step .step-num span {
  font-family: var(--font-sans), sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: rgba(0,0,0,0.32);
  line-height: 1;
}
.deploy-step.active .step-num {
  border-color: var(--ink);
}
.deploy-step.active .step-num span {
  color: var(--ink);
}
.deploy-step .step-label {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0,0,0,0.42);
  letter-spacing: -0.005em;
  transition: color 250ms, font-weight 250ms;
}
.deploy-step.active .step-label {
  color: var(--ink);
  font-weight: 700;
}

/* Deploy card */
/* Deploy card wrap: stack 3 cards, fade between */
.deploy-card-wrap {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  min-height: 560px;
}
.deploy-card {
  position: absolute;
  inset: 0;
  background: var(--paper-2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease-out-expo), transform 600ms var(--ease-out-expo);
  pointer-events: none;
}
.deploy-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Step 2: amount grid */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amount-btn {
  height: 48px;
  background: #ffffff;
  border-radius: 10px;
  border: none;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 150ms;
}
.amount-btn:hover { background: var(--paper-3, #f0f0f4); }
.amount-btn.active {
  background: var(--ink); color: white;
}

/* Step 2: payment method input */
.deploy-input .visa-pill {
  background: transparent;
  width: auto;
  border-radius: 4px;
  padding: 0;
}
.visa-text {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  font-style: italic;
  background: #1A1F71;
  color: white;
  padding: 4px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.deploy-input-check {
  margin-left: auto;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

/* Step 3: success state */
.deploy-success {
  text-align: center;
  padding: 12px 0 8px;
}
.deploy-success-ic {
  width: 88px; height: 88px;
  border-radius: 999px;
  background: #d1fae5;
  color: #059669;
  margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.deploy-success-text {
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 6px;
}
.deploy-success-sub {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}

.deploy-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--paper-2);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.deploy-card-title {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 22px;
}
.deploy-field { margin-bottom: 18px; }
.deploy-label {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.deploy-input {
  background: white;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.deploy-input-icon {
  width: 28px; height: 28px;
  background: var(--paper-2);
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2);
  flex-shrink: 0;
}
.deploy-input-icon-usdt { background: transparent; padding: 0; width: auto; }
.deploy-input-icon-usdt svg,
.deploy-input-icon-usdt img { width: 28px; height: 28px; display: block; }
.deploy-input-icon img { width: 20px; height: 20px; display: block; }
.deploy-input-text {
  flex: 1; color: var(--ink); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.deploy-input-suffix { color: var(--ink-3); font-size: 13px; }
.deploy-input-suffix strong { color: var(--ink); font-weight: 600; margin-right: 4px; }

.deploy-schedule {
  width: 100%;
  background: white;
  border-radius: 12px;
  padding: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
  border: none; cursor: pointer;
}

.deploy-confirm {
  width: 100%;
  height: 56px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: none; cursor: pointer;
  margin-top: 8px;
  transition: all 200ms;
}
.deploy-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.final-cta {
  background: var(--gate-blue);
  color: white;
  padding: 96px 0 96px;
  position: relative;
  overflow: hidden;  text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.18) 1px, transparent 1.5px);
  background-size: 22px 22px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 80%);
}
.final-cta > *:not(.cta-ripple-canvas) { position: relative; z-index: 2; }
.final-cta h2 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.final-cta p {
  margin: 16px auto 0;
  max-width: 480px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}
.final-cta .actions {
  margin-top: 32px;
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.btn-white {
  background: white; color: var(--ink);
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  cursor: pointer;
}

.btn-ghost-light {
  background: #ffffff;
  color: var(--ink);
  padding: 11px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  border: none;
  cursor: pointer;
}

.cta-ripple-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.55) 1px, transparent 1.6px);
  background-size: 24px 24px;
  background-position: 0 0;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image:
    radial-gradient(ellipse 38% 50% at 6% 50%, black 0%, rgba(0,0,0,0.4) 40%, transparent 75%),
    radial-gradient(ellipse 32% 50% at 94% 50%, black 0%, rgba(0,0,0,0.4) 40%, transparent 75%);
  mask-image:
    radial-gradient(ellipse 38% 50% at 6% 50%, black 0%, rgba(0,0,0,0.4) 40%, transparent 75%),
    radial-gradient(ellipse 32% 50% at 94% 50%, black 0%, rgba(0,0,0,0.4) 40%, transparent 75%);
  -webkit-mask-composite: source-over;
  mask-composite: add;
  animation: ctaParticles 6s ease-in-out infinite;
}
@keyframes ctaParticles {
  0%, 100% { opacity: 0.30; }
  50%      { opacity: 0.60; }
}
.final-cta > h2, .final-cta > p, .final-cta > .actions, .final-cta > .cta-marquee {
  position: relative; z-index: 2;
}
.final-cta > h2, .final-cta > p, .final-cta > .actions, .final-cta > .cta-marquee {
  position: relative; z-index: 2;
}

/* ─────────── Final CTA marquee strip ─────────── */
.cta-marquee {
  position: relative;
  margin-top: 80px;
  background: #0055FF;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 26px 0;
  overflow: hidden;
  z-index: 2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}
.cta-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: ctaScroll 40s linear infinite;
}
.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.cta-pill-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.16);
  color: white;
  flex-shrink: 0;
  animation: ctaBob 3.4s ease-in-out infinite;
}
.cta-pill-ic svg { width: 18px; height: 18px; }
/* Stagger bobbing */
.cta-pill:nth-child(1)  .cta-pill-ic { animation-delay: 0s; }
.cta-pill:nth-child(2)  .cta-pill-ic { animation-delay: 0.3s; }
.cta-pill:nth-child(3)  .cta-pill-ic { animation-delay: 0.6s; }
.cta-pill:nth-child(4)  .cta-pill-ic { animation-delay: 0.9s; }
.cta-pill:nth-child(5)  .cta-pill-ic { animation-delay: 1.2s; }
.cta-pill:nth-child(6)  .cta-pill-ic { animation-delay: 1.5s; }
.cta-pill:nth-child(7)  .cta-pill-ic { animation-delay: 1.8s; }
.cta-pill:nth-child(8)  .cta-pill-ic { animation-delay: 2.1s; }
.cta-pill:nth-child(9)  .cta-pill-ic { animation-delay: 2.4s; }
.cta-pill:nth-child(10) .cta-pill-ic { animation-delay: 2.7s; }
.cta-pill:nth-child(11) .cta-pill-ic { animation-delay: 3.0s; }
.cta-pill:nth-child(12) .cta-pill-ic { animation-delay: 3.3s; }

@keyframes ctaScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes ctaBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

@media (prefers-reduced-motion: reduce) {
  .cta-marquee-track { animation: none; }
  .cta-pill-ic { animation: none; }
}

/* ─────────── Model Library ─────────── */
.model-library {
  background: #f3f5f8;
  padding: 120px 24px;
}
.library-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.library-copy .eyebrow-blue { text-align: left; }
.library-copy h2 {
  text-align: left;
  margin: 0 0 32px;
  max-width: 520px;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.25;
}
.library-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
}
.library-cta .arrow { font-size: 13px; }

.library-arc {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 720px;
  margin-left: auto;
}

/* Text-only tile (Xiaomi MIMO label inside a circle) */
.arc-node.text-tile {
  font-family: var(--font-sans), sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  text-align: center;
}
.arc-node-text-only {
  position: absolute;
  transform: translate(-50%, 0);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  text-align: center;
  pointer-events: none;
}
.arc-line {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: dashFlow 28s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -240; }
}

.arc-pill {
  position: absolute;
  left: 76%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px;
  background: rgba(0, 85, 255, 0.04);
  border-radius: 999px;
  z-index: 2;
  box-shadow: inset 0 0 0 1.5px rgba(0, 85, 255, 0.32);
}
.arc-pill-slot {
  width: 112px; height: 112px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow:
    0 0 24px 4px rgba(75, 228, 255, 0.10),
    2px 4px 24px 0 rgba(0, 146, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
}
.arc-pill-slot img { width: 58%; height: 58%; object-fit: contain; }

.arc-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 76px; height: 76px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #F2F3F4;
  box-shadow:
    0 0 24px 4px rgba(75, 228, 255, 0.10),
    2px 4px 24px 0 rgba(0, 146, 255, 0.10);
  display: flex; align-items: center; justify-content: center;
  animation: nodeFloat 5.5s ease-in-out infinite;
}
.arc-node img { width: 50%; height: 50%; object-fit: contain; }
.arc-node.sm { width: 56px; height: 56px; }
.arc-node.md { width: 76px; height: 76px; }
.arc-node.lg { width: 100px; height: 100px; }
.arc-node.dark { background: #0d0d12; box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 14px 32px rgba(0,0,0,0.20); }
.arc-node.dark img { filter: invert(1) brightness(1.4); }

.arc-node.with-label .arc-node-label {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 12px);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.arc-node.lg-1 { animation-delay: 0.0s; }
.arc-node.lg-2 { animation-delay: 0.5s; }
.arc-node.lg-3 { animation-delay: 1.0s; }
.arc-node.lg-4 { animation-delay: 1.5s; }
.arc-node.lg-5 { animation-delay: 2.0s; }
.arc-node.lg-6 { animation-delay: 2.5s; }
.arc-node.sat-1 { animation-delay: 3.0s; }

/* Pill subtly breathes */
.arc-pill { animation: pillPulse 4s ease-in-out infinite; }
@keyframes pillPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 85, 255, 0.0); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 85, 255, 0.06); }
}

@media (prefers-reduced-motion: reduce) {
  .arc-line, .arc-node, .arc-pill { animation: none; }
}

@media (max-width: 900px) {
  .library-row { grid-template-columns: 1fr; }
  .library-arc { margin: 0 auto; }
}

/* ─────────── Footer ─────────── */
.footer {
  background: white;
  padding: 56px 24px 32px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand h4 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 280px;
}
.footer-col h5 {
  font-size: 11px; font-weight: 600;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li { font-size: 13px; color: var(--ink); }
.footer-col a:hover { color: var(--gate-blue); }
.footer-copy {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

@media (max-width: 900px) {
  .nav-card { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .pricing-grid, .infra-grid { grid-template-columns: 1fr; }
  .scenario { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .landing-page {
    --h5-page-x: 20px;
    --h5-d3: 40px;
    --h5-h1: 32px;
    --h5-h2: 28px;
    --h5-h3: 24px;
    --h5-h3-1: 20px;
    --h5-h4: 18px;
    --h5-body: 14px;
    --h5-caption: 12px;
    --h5-section-y: 72px;
    --h5-section-y-sm: 56px;
    --h5-card-radius: 20px;
  }

  .landing-page .wrap {
    padding-left: var(--h5-page-x);
    padding-right: var(--h5-page-x);
  }

  .landing-page .hero-shell .hero {
    padding-left: var(--h5-page-x) !important;
    padding-right: var(--h5-page-x) !important;
  }

  .landing-page .scenario-section,
  .landing-page .section,
  .landing-page .deploy-section,
  .landing-page .infra-section {
    padding-left: var(--h5-page-x) !important;
    padding-right: var(--h5-page-x) !important;
  }

  .landing-page .footer,
  .landing-page .final-cta {
    padding-left: var(--h5-page-x);
    padding-right: var(--h5-page-x);
  }

  .landing-page .hero-shell {
    min-height: 712px;
    height: 712px;
    background-color: #ffffff;
  }

  .landing-page .hero-bg-image--desktop { display: none; }
  .landing-page .hero-bg-image--mobile { display: block; }

  .landing-page .hero-shell::after {
    display: block;
    height: 200px;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.25) 28%,
      rgba(255, 255, 255, 0.72) 62%,
      #ffffff 100%
    );
  }

  .landing-page .hero-shell .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: min(100vh, 712px);
    min-height: min(100dvh, 712px);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    text-align: center;
  }

  .landing-page .hero h1 {
    max-width: 100%;
    color: #ffffff;
    font-size: 64px !important;
    font-weight: 600;
    line-height: 64px;
    letter-spacing: 0;
    text-shadow: 0 1.464px 21.965px rgba(255, 255, 255, 0.15);
  }

  .landing-page .hero .sub {
    max-width: 100%;
    margin-top: 15px !important;
    color: rgba(255, 255, 255, 0.95);
    font-size: 14px !important;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0;
    white-space: normal;
  }

  .landing-page .hero-cta {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px !important;
    margin-top: 32px !important;
  }

  .landing-page .hero-cta .btn-dark,
  .landing-page .hero-cta .btn-outline {
    box-sizing: border-box;
    width: 240px;
    max-width: 100%;
    height: 56px !important;
    justify-content: center;
    font-size: 16px !important;
    font-weight: 600;
    line-height: 1.3;
  }

  .landing-page .hero-cta .btn-dark {
    gap: 16px;
    padding: 0 8px 0 32px !important;
    background: #070808;
    color: #ffffff;
  }

  .landing-page .hero-cta .btn-dark .btn-arrow-circle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .landing-page .hero-cta .btn-dark .btn-arrow-circle svg {
    width: 14px;
    height: 14px;
  }

  .landing-page .hero-cta .btn-outline {
    padding: 0 32px !important;
    background: rgba(255, 255, 255, 0.81);
    color: #070808;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
  }

  .landing-page .eyebrow-blue,
  .landing-page .scenario-section .eyebrow-blue,
  .landing-page .section .eyebrow-blue,
  .landing-page .infra-section .eyebrow-blue {
    margin-bottom: 10px !important;
    font-size: var(--h5-caption) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }

  .landing-page .section h2,
  .landing-page .scenario-section h2,
  .landing-page .infra-section h2,
  .landing-page .deploy-section h2 {
    font-size: var(--h5-h2) !important;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: -0.025em;
  }

  .landing-page .scenario-section {
    margin-top: 0 !important;
    padding-top: 48px !important;
    padding-bottom: 64px !important;
    border-top: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    background-image: none;
  }

  .landing-page .scenario-section .eyebrow-blue {
    margin-bottom: 8px !important;
  }

  .landing-page .scenario-row {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: 0;
    margin-top: 32px;
  }

  .landing-page .feat-list {
    gap: 4px;
  }

  .landing-page .feat-list li {
    gap: 16px;
    padding: 16px 16px 16px 20px;
  }

  .landing-page .feat-list h4,
  .landing-page .feat-list .feat-body h4 {
    font-size: var(--h5-h4) !important;
    font-weight: 600;
    line-height: 1.35;
  }

  .landing-page .feat-list p,
  .landing-page .feat-list .feat-body p {
    margin-top: 0;
    font-size: var(--h5-body) !important;
    line-height: 1.55;
  }

  .landing-page .feat-list li.active p {
    max-height: none;
    min-height: 0;
    margin-top: 8px;
  }

  .landing-page .feat-list .feat-icon {
    width: 32px;
    height: 32px;
  }

  .landing-page .feat-illu-wrap {
    width: min(560px, 100%);
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .landing-page #pricing.section,
  .landing-page .section.infra-section,
  .landing-page .section.deploy-section {
    padding-top: var(--h5-section-y) !important;
    padding-bottom: var(--h5-section-y) !important;
  }

  .landing-page .section h2 {
    margin-top: 0;
  }

  .landing-page .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 100%;
    margin: 32px 0 0 !important;
  }

  .landing-page .price-card {
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--h5-card-radius);
  }

  .landing-page .price-card:not(.featured) {
    padding: 24px !important;
  }

  .landing-page .price-card .ribbon {
    height: auto !important;
    min-height: 52px;
    gap: 8px;
    padding: 14px 20px;
    font-size: var(--h5-h4) !important;
  }

  .landing-page .price-card .ribbon svg {
    width: 18px !important;
    height: 18px !important;
  }

  .landing-page .price-card .inner {
    margin: 0 6px 6px !important;
    padding: 24px !important;
    border-radius: 16px !important;
  }

  .landing-page .price-card .top-icon img {
    width: 40px !important;
    height: 40px !important;
  }

  .landing-page .price-card h3 {
    margin: 16px 0 8px !important;
    font-size: var(--h5-h2) !important;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  .landing-page .price-features {
    gap: 10px !important;
    margin: 12px 0 24px !important;
  }

  .landing-page .price-features li {
    gap: 8px !important;
    font-size: var(--h5-body);
    line-height: 1.55;
  }

  .landing-page .price-card .cta-btn {
    height: 52px !important;
    margin: 0 !important;
    font-size: var(--h5-h4) !important;
  }

  .landing-page .section.infra-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .landing-page .infra-section > .wrap[style] {
    padding-left: var(--h5-page-x) !important;
    padding-right: var(--h5-page-x) !important;
  }

  .landing-page .infra-section > .wrap:first-of-type + .infra-divider {
    margin-top: 32px;
  }

  .landing-page .infra-divider {
    margin-top: 0;
  }

  .landing-page .infra-row-wrap {
    padding-left: var(--h5-page-x);
    padding-right: var(--h5-page-x);
  }

  .landing-page .infra-row {
    grid-template-columns: 1fr !important;
    gap: 1px !important;
  }

  .landing-page .infra-card {
    margin-bottom: 0 !important;
    padding: 24px !important;
    border-radius: 0;
  }

  .landing-page .infra-card .ic-box {
    margin-bottom: 16px;
  }

  .landing-page .infra-card h4 {
    margin-bottom: 8px;
    font-size: var(--h5-h3-1) !important;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.015em;
  }

  .landing-page .infra-card p {
    font-size: var(--h5-body) !important;
    line-height: 1.55;
  }

  .landing-page .deploy-section--v2 .deploy-3col {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-top: 32px !important;
  }

  .landing-page .d3-step {
    gap: 12px;
  }

  .landing-page .d3-head {
    gap: 12px;
  }

  .landing-page .d3-num {
    width: 28px;
    height: 28px;
    font-size: var(--h5-body);
  }

  .landing-page .d3-title {
    font-size: var(--h5-h3-1);
    font-weight: 600;
    line-height: 1.3;
  }

  .landing-page .d3-desc {
    min-height: 0;
    font-size: var(--h5-body);
    line-height: 1.55;
  }

  .landing-page .d3-card {
    height: auto;
    min-height: 200px;
    margin-top: 8px;
    padding: 24px;
    border-radius: 16px;
  }

  .landing-page .final-cta {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .landing-page .final-cta h2 {
    font-size: var(--h5-h2);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -0.03em;
  }

  .landing-page .final-cta p {
    margin: 12px auto 0;
    font-size: var(--h5-body);
    line-height: 1.55;
  }

  .landing-page .final-cta .actions {
    gap: 12px;
    margin-top: 24px;
  }

  .landing-page .final-cta .btn-white,
  .landing-page .final-cta .btn-ghost-light {
    padding: 14px 24px;
    font-size: var(--h5-h4);
  }

  .landing-page .footer {
    padding-top: 48px;
    padding-bottom: 24px;
  }

  .landing-page .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 24px !important;
  }

  .landing-page .footer-brand {
    grid-column: 1 / -1;
  }

  .landing-page .footer-brand h4 {
    margin-bottom: 8px;
    font-size: var(--h5-h4);
    font-weight: 600;
  }

  .landing-page .footer-brand p {
    font-size: var(--h5-body);
    line-height: 1.55;
  }

  .landing-page .footer-col h5 {
    margin-bottom: 12px;
    font-size: var(--h5-caption);
  }

  .landing-page .footer-col ul {
    gap: 8px;
  }

  .landing-page .footer-col li {
    font-size: var(--h5-body);
  }

  .landing-page .footer-copy {
    margin-top: 32px;
    padding-top: 20px;
    font-size: var(--h5-caption);
  }
}
