/* ========== APM × Sanity 设计系统 ========== */
/* 设计原则：极简克制、大量留白、清晰层级、柔和边界、精致排版 */

:root {
  --background: 0 0% 4.5%;
  --foreground: 0 0% 96%;
  --card: 0 0% 6.5%;
  --card-foreground: 0 0% 96%;
  --muted: 0 0% 12%;
  --muted-foreground: 0 0% 55%;
  --border: 0 0% 13%;
  --primary: 24 100% 50%;
  --primary-foreground: 0 0% 4%;
  --radius: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Aeonik', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: hsl(var(--foreground));
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- 导航 ---------- */
.site-nav {
  border-bottom: 1px solid hsl(var(--border) / 0.5);
  background: hsl(var(--background) / 0.88);
  backdrop-filter: blur(16px);
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: hsl(var(--foreground));
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 3px;
  background: #cdcdcd;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.nav-cta__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 4px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #bbbbbb 0%, #e3e3e3 100%);
  font-family: 'Host Grotesk', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-cta--dark {
  background: transparent;
}

.nav-cta--dark .nav-cta__inner {
  background: transparent;
  color: hsl(var(--muted-foreground));
}

.nav-cta:not(.nav-cta--dark):hover {
  background: #c0c0c0;
}

.nav-cta:not(.nav-cta--dark):hover .nav-cta__inner {
  background: linear-gradient(180deg, #c5c5c5 0%, #eaeaea 100%);
}

.nav-cta--dark:hover {
  background: rgba(35, 35, 35, 1);
}

.nav-cta--dark:hover .nav-cta__inner {
  background: none;
  color: #ffffff;
}

.nav-cta:active {
  transform: scale(0.97);
}

.nav-cta__login {
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.nav-cta__login:hover {
  background: rgba(75, 75, 75, 1) !important;
}

.nav-cta__login:active {
  transform: scale(0.97);
}

/* ---------- Hero：大标题 + 标签 + 双 CTA ---------- */
#start {
  gap: 0;
  position: relative;
  overflow: hidden;
}

.hero {
  padding-top: clamp(7rem, 14vw, 10rem);
  padding-bottom: clamp(5rem, 12vw, 7rem);
  overflow: hidden;
}

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

/* --- 入场动画 --- */
.hero-anim {
  opacity: 0;
  transform: translateY(24px);
  animation: hero-fade-up 0.8s ease-out forwards;
  animation-delay: calc(var(--anim-order, 0) * 0.12s + 0.1s);
}

@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- 标签 --- */
.hero-label {
  position: relative;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6e00;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255,110,0,0.35);
  border-radius: 9999px;
  background: rgba(255,110,0,0.06);
}

/* --- 标题 --- */
.hero-title {
  position: relative;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: hsl(var(--foreground));
  width: 864px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  cursor: default;
}

.hero-title__line {
  display: block;
}

.hero-word {
  display: inline-block;
}

.hero-title--scramble {
  color: #ff6e00 !important;
  -webkit-text-fill-color: #ff6e00 !important;
  background: none !important;
}

/* 渐变文字 + shimmer */
.hero-title__gradient {
  background: linear-gradient(
    90deg,
    #ff6e00 0%,
    #ff9a44 25%,
    #ffb86c 50%,
    #ff9a44 75%,
    #ff6e00 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hero-shimmer 4s ease-in-out infinite;
}

@keyframes hero-shimmer {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-desc {
  position: relative;
  font-size: 18px;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.25rem;
  min-height: 3.5rem;
  flex-shrink: 0;
  visibility: visible;
  opacity: 1;
}

.hero-cta-group .hyperlink-sq {
  cursor: pointer;
  min-width: 187px;
  min-height: 49px;
  flex-shrink: 0;
}

/* 主 CTA 按钮：Figma 节点 512-2220 设计实现（187×49px、圆角 8px） */
.w-inline-block {
  display: inline-block;
}

.hyperlink-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  min-width: 187px;
  min-height: 49px;
  padding: 0 1.5rem;
  border-radius: 8px;
  background: rgba(225, 225, 225, 1);
  color: rgba(0, 0, 0, 1);
  transition: background 0.2s ease, color 0.2s ease;
  box-sizing: border-box;
}

.hyperlink-sq:hover {
  background: rgba(200, 200, 200, 1);
  color: rgba(0, 0, 0, 1);
}

.div-block-812 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  min-height: 49px;
}

.text-block-789 {
  font-family: 'Aeonik', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 1);
  white-space: nowrap;
}

.hyperlink-sq .image-209 {
  width: 1em;
  height: 1em;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-hero-secondary:hover {
  border-color: hsl(var(--muted-foreground) / 0.4);
  background: hsl(var(--muted) / 0.5);
  color: hsl(var(--foreground));
}

.hero-direct {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.hero-direct a {
  color: hsl(var(--foreground));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hero-direct a:hover {
  color: hsl(var(--primary));
}

/* Hero 视频区：无背景、圆角统一 ---------- */
.hero-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 3.5rem;
  width: 100%;
  max-width: 56rem;
  border-radius: 1rem;
  overflow: hidden;
  border: none;
  padding-left: 12px;
  padding-right: 12px;
}

.hero-tabs-wrap {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 0.25rem;
  padding: 0.375rem;
  background: unset;
  border-radius: 0.75rem;
  position: relative;
}

.hero-tabs__indicator {
  position: absolute;
  top: 0.375rem;
  left: 0;
  height: calc(100% - 0.75rem);
  background: rgba(35, 35, 35, 1);
  border-radius: 12px;
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 0;
}

.hero-tabs__item {
  position: relative;
  z-index: 1;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s ease;
  background: transparent;
}

.hero-tabs__item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  width: calc(100% - 40px);
  height: 4px;
  background: #ff6e00;
  border-radius: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tabs__item:hover {
  color: hsl(var(--foreground));
}

.hero-tabs__item--active {
  color: #ffffff;
}

.hero-tabs__item--active::after {
  transform: scaleX(1);
}

.hero-block__video {
  display: block;
  width: 864px;
  max-width: 100%;
  min-height: 20rem;
  object-fit: cover;
  border: 1px solid hsl(var(--border) / 0.5);
  border-radius: 1rem;
}

/* ---------- 代码式区块标签：左边线 + mono + 打字机 ---------- */
.section-code-label {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--primary));
  padding-left: 1rem;
  margin-bottom: 1.25rem;
  border-left: 2px solid hsl(var(--primary) / 0.5);
}

.section-code-label .typewriter-text::after {
  content: '|';
  display: inline-block;
  color: hsl(var(--primary));
  animation: blink-caret 0.6s step-end infinite;
  margin-left: 1px;
  font-weight: 300;
}

@keyframes blink-caret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.section-heading {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.section-sub {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: hsl(var(--muted-foreground));
  max-width: 44ch;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
}

/* ---------- Section 通用间距 ---------- */
.section {
  padding: 120px 50px;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.section--alt {
  background: hsl(var(--muted) / 0.15);
}

/* ---------- 服务卡片：图标圈 + 标题 + 描述，hover 微动 ---------- */
.service-cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 864px;
  width: 100%;
}

.service-card {
  flex: 1 1 0;
  min-width: 14rem;
  max-width: 100%;
  width: 100%;
  height: auto;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem;
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--card));
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  text-align: left;
}

.service-card:hover {
  border-color: hsl(var(--border));
  box-shadow: 0 16px 48px -12px hsl(0 0% 0% / 0.4);
  transform: translateY(-4px);
}

.service-card__anim-wrap {
  width: 100%;
  height: 120px;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card__canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.service-card__icon-wrap {
  width: 100%;
  height: 120px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
  overflow: visible;
}

.service-card__icon-wrap .card-anim {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── Card 1: Ultra-Fast Execution — network pulse ── */
.anim-exec-line {
  stroke: #ff6e00;
  stroke-width: 0.75;
  stroke-dasharray: 4 6;
  animation: exec-flow 1.5s linear infinite;
}
.anim-exec-line--2 { animation-delay: -0.25s; }
.anim-exec-line--3 { animation-delay: -0.5s; }
.anim-exec-line--4 { animation-delay: -0.75s; }
.anim-exec-line--5 { animation-delay: -1s; }
.anim-exec-line--6 { animation-delay: -1.25s; }

.anim-exec-ring {
  stroke: #ff6e00;
  fill: none;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: exec-pulse 2.4s ease-out infinite;
}
.anim-exec-ring--2 { animation-delay: 0.8s; }
.anim-exec-ring--3 { animation-delay: 1.6s; }

.anim-exec-node {
  fill: #ff6e00;
  transform-box: fill-box;
  transform-origin: center;
  animation: exec-node-blink 3s ease-in-out infinite;
}
.anim-exec-node--2 { animation-delay: 0.5s; }
.anim-exec-node--3 { animation-delay: 1s; }
.anim-exec-node--4 { animation-delay: 1.5s; }
.anim-exec-node--5 { animation-delay: 2s; }
.anim-exec-node--6 { animation-delay: 2.5s; }

.anim-exec-core {
  fill: #ff6e00;
  filter: drop-shadow(0 0 4px rgba(255,110,0,0.5));
  animation: exec-glow 2s ease-in-out infinite;
}

.anim-exec-bolt { fill: hsl(var(--card)); }

@keyframes exec-flow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -10; }
}

@keyframes exec-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(4.5); opacity: 0; }
}

@keyframes exec-node-blink {
  0%, 70%, 100% { opacity: 0.3; transform: scale(1); }
  35%           { opacity: 1; transform: scale(1.4); }
}

@keyframes exec-glow {
  0%, 100% { filter: drop-shadow(0 0 3px rgba(255,110,0,0.4)); }
  50%      { filter: drop-shadow(0 0 10px rgba(255,110,0,0.8)); }
}

/* ── Card 2: Pure Automation — orbital cycle ── */
.anim-auto-orbit  { transform-origin: 60px 50px; }
.anim-auto-orbit--1 { animation: auto-spin 5s linear infinite; }
.anim-auto-orbit--2 { animation: auto-spin 3.5s linear infinite reverse; }
.anim-auto-orbit--3 { animation: auto-spin 7s linear infinite; }

.anim-auto-center {
  animation: auto-center-pulse 2s ease-in-out infinite;
}

.anim-auto-arrows {
  transform-origin: 60px 50px;
  animation: auto-spin 12s linear infinite;
}

@keyframes auto-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes auto-center-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.6; }
}

/* ── Card 3: MEV-Shielded — layered defense ── */
.anim-shield-layer {
  stroke: #ff6e00;
  fill: none;
  transform-origin: 60px 46px;
}
.anim-shield-layer--1 { stroke-width: 1.2; opacity: 0.5; animation: shield-breathe 3s ease-in-out infinite; }
.anim-shield-layer--2 { stroke-width: 0.8; opacity: 0.25; animation: shield-breathe 3s ease-in-out 0.3s infinite; }
.anim-shield-layer--3 { stroke-width: 0.6; opacity: 0.12; animation: shield-breathe 3s ease-in-out 0.6s infinite; }

.anim-shield-keyhole { fill: hsl(var(--card)); }

.anim-shield-scan {
  animation: shield-sweep 3.5s ease-in-out infinite;
}

@keyframes shield-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

@keyframes shield-sweep {
  0%   { transform: translateX(-30px); opacity: 0; }
  50%  { opacity: 0.06; }
  100% { transform: translateX(120px); opacity: 0; }
}

.service-card__title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  flex: 1;
  margin-bottom: 0;
}

/* ---------- 流程步骤：大号数字 + 左线 ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 64rem;
  width: 100%;
}

.process-step {
  padding-left: 1.5rem;
  border-left: 2px solid hsl(var(--primary) / 0.4);
  transition: border-color 0.2s ease;
}

.process-step:hover {
  border-left-color: hsl(var(--primary) / 0.8);
}

.process-step__number {
  font-family: ui-monospace, 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: hsl(var(--primary));
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.75rem;
}

.process-step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.35rem;
}

.process-step__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: hsl(var(--muted-foreground));
}

/* ---------- 平台按钮：简洁块 ---------- */
.platform-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 3rem;
  max-width: 864px;
}

.platform-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.platform-btn__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.platform-btn__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-btn:hover {
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.6);
  transform: translateY(-2px);
}

/* ---------- Why 区块：大标题 + 长文 + CTA ---------- */
.why-title {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: hsl(var(--foreground));
}

.why-body {
  max-width: 864px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  text-align: left;
}

.why-body p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.why-body p:last-child {
  margin-bottom: 0;
}

.why-body + .text-center {
  margin-top: 2.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 0.75rem;
  border: 1px solid hsl(var(--border) / 0.7);
  color: hsl(var(--foreground));
  background: hsl(var(--card));
  margin-top: 2.5rem;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.btn-outline:hover {
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.5);
  transform: translateY(-2px);
}

/* ---------- FAQ 手风琴 ---------- */
.faq-wrap {
  width: 100%;
  max-width: 864px;
  margin-top: 3rem;
  border-radius: 1.25rem;
  border: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--card));
  overflow: hidden;
}

.faq-item {
  width: 100%;
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.75rem;
  font-size: 1.0625rem;
  font-weight: 500;
  text-align: left;
  color: hsl(var(--foreground));
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.faq-trigger:hover {
  background: hsl(var(--muted) / 0.3);
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
  font-size: 0;
  color: transparent;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: hsl(var(--muted-foreground));
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease;
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%) scaleY(1);
}

.faq-accordion__item--open .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.25s ease;
}

.faq-accordion__item--open .faq-panel {
  max-height: 20rem;
}

.faq-panel p {
  padding: 0 1.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
  text-align: left;
}

/* ---------- Footer CTA ---------- */
.footer-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding-top: 120px;
  padding-bottom: 120px;
  padding-left: 50px;
  padding-right: 50px;
  border-top: 1px solid hsl(var(--border) / 0.5);
  text-align: center;
}

.footer-cta-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 0;
}

.footer-cta-title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: hsl(var(--foreground));
  max-width: 20ch;
}

.footer-cta-sub {
  font-size: 18px;
  line-height: 1.55;
  color: hsl(var(--muted-foreground));
}

.footer-cta-email {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: hsl(var(--muted-foreground));
}

.footer-cta-email a {
  color: hsl(var(--foreground));
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cta-email a:hover {
  color: hsl(var(--primary));
}

/* Footer CTA 按钮 — 精确还原 Figma node 518:2236 */
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4.5px;
  margin-top: 2.5rem;
  background: #cdcdcd;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.footer-cta-btn__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 51px;
  padding: 5px 17px;
  border-radius: 20px;
  background: linear-gradient(180deg, #bbbbbb 0%, #e3e3e3 100%);
  font-family: 'Host Grotesk', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer-cta-btn:hover {
  background: #c0c0c0;
}

.footer-cta-btn:hover .footer-cta-btn__inner {
  background: linear-gradient(180deg, #c5c5c5 0%, #eaeaea 100%);
}

.footer-cta-btn:active {
  transform: scale(0.97);
}

.footer-cta-video {
  max-width: 864px;
  margin-top: 4rem;
}

@media (max-width: 480px) {
  .footer-cta-btn {
    width: 100%;
  }
  .footer-cta-btn__inner {
    width: 100%;
    font-size: 16px;
  }
}

.footer-legal {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
}

.footer-legal a {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 页脚链接区 ---------- */
.footer-block {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding-top: 100px;
  padding-bottom: 50px;
  padding-left: 50px;
  padding-right: 50px;
}

.footer-block__desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.footer-block__social a {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.footer-block__social a:hover {
  color: hsl(var(--foreground));
}

.footer-block__col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.footer-block__col a {
  font-size: 0.8125rem;
  color: hsl(var(--muted-foreground));
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-block__col a:hover {
  color: hsl(var(--foreground));
}

/* ========== 滚动揭示动画系统 ========== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.reveal-child {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal--visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

.reveal--visible .reveal-child:nth-child(1) { transition-delay: 0.05s; }
.reveal--visible .reveal-child:nth-child(2) { transition-delay: 0.10s; }
.reveal--visible .reveal-child:nth-child(3) { transition-delay: 0.15s; }
.reveal--visible .reveal-child:nth-child(4) { transition-delay: 0.20s; }
.reveal--visible .reveal-child:nth-child(5) { transition-delay: 0.25s; }
.reveal--visible .reveal-child:nth-child(6) { transition-delay: 0.30s; }
.reveal--visible .reveal-child:nth-child(n+7) { transition-delay: 0.35s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal--visible .reveal-scale,
.reveal-scale.reveal--visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ========== 全局噪点纹理 ========== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ========== 区域间渐变过渡 ========== */
.section {
  position: relative;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, hsl(var(--background)), transparent);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
}

.section--alt::before {
  opacity: 0.5;
}

/* ========== 区域光晕背景 ========== */
.section-glow {
  position: absolute;
  pointer-events: none;
  width: 600px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.section-glow--orange {
  background: radial-gradient(circle, rgba(255, 110, 0, 0.08) 0%, transparent 70%);
}

.section-glow--blue {
  background: radial-gradient(circle, rgba(0, 160, 255, 0.06) 0%, transparent 70%);
}

.reveal--visible .section-glow {
  opacity: 1;
}

/* ========== 增强卡片悬停：局部 dither 点阵 ========== */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  background-image:
    radial-gradient(circle, rgba(255, 110, 0, 0.55) 0.6px, transparent 0.6px),
    radial-gradient(circle, rgba(255, 110, 0, 0.30) 0.5px, transparent 0.5px);
  background-size: 5px 5px, 7px 7px;
  background-position: 0 0, 2.5px 2.5px;
  -webkit-mask-image: radial-gradient(
    160px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    black 0%, transparent 70%
  );
  mask-image: radial-gradient(
    160px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    black 0%, transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

/* ========== 按钮悬停增强 ========== */
.platform-btn {
  position: relative;
  overflow: hidden;
}

.platform-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.04),
    transparent 70%
  );
  pointer-events: none;
}

.platform-btn:hover::after {
  opacity: 1;
}

/* ========== Footer CTA 区域光晕 ========== */
.footer-cta-wrap {
  position: relative;
  overflow: hidden;
}

.footer-cta-wrap::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  translate: -50% 0;
  width: 700px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 110, 0, 0.04) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  animation: cta-glow-pulse 8s ease-in-out infinite alternate;
}

@keyframes cta-glow-pulse {
  0%   { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0.6; transform: scale(1.08); }
}

/* Logo */
.logo svg {
  display: block;
  width: 3.75rem;
  height: 1rem;
}

.logo svg path {
  fill: currentColor;
}
