/* ============================================================
   Solana MEV Bot — 落地页样式
   目录：
   1. 变量与基础
   2. 背景层
   3. 通用组件（按钮 / 标题 / 标签）
   4. 导航
   5. Hero 与扫描器视觉
   6. 数据条
   7. 功能网格
   8. 步骤
   9. 日志终端
   10. FAQ
   11. 底部行动区 / 页脚
   12. 动效与响应式
   ============================================================ */

/* ---------- 1. 变量与基础 ---------- */
:root {
  --bg: #05060a;
  --bg-alt: #080a11;
  --surface: rgba(255, 255, 255, 0.032);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #eceefb;
  --text-dim: #a2a7bd;
  --text-mute: #6c7288;

  --purple: #9945ff;
  --green: #14f195;
  --cyan: #19fb9b;

  --grad: linear-gradient(100deg, #9945ff 0%, #7d5bff 42%, #14f195 100%);
  --grad-soft: linear-gradient(100deg, rgba(153, 69, 255, 0.16), rgba(20, 241, 149, 0.16));

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --wrap: 1180px;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.75);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

code {
  font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.1em 0.42em;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.wrap--narrow { max-width: 820px; }

/* ---------- 2. 背景层 ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg__grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 76%);
}

.bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.5;
}

.bg__glow--purple {
  width: 620px;
  height: 620px;
  top: -260px;
  left: -120px;
  background: radial-gradient(circle, rgba(153, 69, 255, 0.55), transparent 68%);
  animation: drift 22s var(--ease) infinite alternate;
}

.bg__glow--green {
  width: 560px;
  height: 560px;
  top: 8%;
  right: -200px;
  background: radial-gradient(circle, rgba(20, 241, 149, 0.34), transparent 68%);
  animation: drift 28s var(--ease) infinite alternate-reverse;
}

.bg__noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, 50px, 0) scale(1.14); }
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ---------- 3. 通用组件 ---------- */
.btn {
  --btn-bg: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease), background 0.25s var(--ease), opacity 0.2s;
}

.btn--primary {
  background: var(--grad);
  border-color: transparent;
  color: #06070c;
  box-shadow: 0 12px 34px -12px rgba(153, 69, 255, 0.7), 0 4px 18px -8px rgba(20, 241, 149, 0.5);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 46px -14px rgba(153, 69, 255, 0.85), 0 8px 26px -10px rgba(20, 241, 149, 0.6);
}

.btn--ghost { background: transparent; }
.btn--ghost:hover { background: var(--surface); border-color: var(--border-strong); transform: translateY(-2px); }

.btn--sm { padding: 9px 17px; font-size: 14px; }
.btn--lg { padding: 16px 30px; font-size: 16.5px; }
.btn--xl { padding: 19px 38px; font-size: 18px; }

.btn:active { transform: translateY(0) scale(0.985); }

.btn__icon { display: grid; place-items: center; }
.btn__arrow { transition: transform 0.22s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  color: var(--text-dim);
  backdrop-filter: blur(8px);
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(20, 241, 149, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 9px rgba(20, 241, 149, 0); }
  100% { box-shadow: 0 0 0 0 rgba(20, 241, 149, 0); }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 110px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  /* 锚点跳转时给粘性导航留出空间，避免标题被遮住 */
  scroll-margin-top: 88px;
}

section[id] { scroll-margin-top: 88px; }

.section--alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.016) 18%, rgba(255, 255, 255, 0.016) 82%, transparent); }

.section__head {
  max-width: 680px;
  margin-bottom: 58px;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}

.section__sub {
  color: var(--text-dim);
  font-size: 17px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--border);
}

.chip--ok {
  color: var(--green);
  border-color: rgba(20, 241, 149, 0.32);
  background: rgba(20, 241, 149, 0.09);
}

/* ---------- 4. 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  padding: 10px 0;
  background: rgba(5, 6, 10, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad);
  color: #06070c;
  box-shadow: 0 6px 20px -8px rgba(153, 69, 255, 0.8);
}

.brand__name b { font-weight: 800; }

.nav__links {
  display: flex;
  gap: 26px;
  margin-left: auto;
}

.nav__link {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); }

/* 语言切换：EN / 中文 */
.lang {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}

.lang__btn {
  border: 0;
  background: none;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-mute);
  cursor: pointer;
  transition: color 0.2s, background 0.25s var(--ease);
}

.lang__btn:hover { color: var(--text); }

.lang__btn.is-active {
  color: #06070c;
  background: var(--grad);
  box-shadow: 0 4px 14px -6px rgba(153, 69, 255, 0.75);
}

/* ---------- 5. Hero ---------- */
.hero {
  padding: 76px 0 96px;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero__title {
  font-size: clamp(34px, 4.4vw, 52px);
  margin: 24px 0 22px;
  letter-spacing: -0.035em;
}

.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  color: var(--text-dim);
  font-size: 17.5px;
  max-width: 30em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mute);
}

.trust-item svg { color: var(--green); flex: none; }

/* 扫描器视觉 */
.hero__visual { position: relative; }

.scanner {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.scanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0.5;
  pointer-events: none;
}

.scanner__head,
.scanner__foot {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
}

.scanner__head { border-bottom: 1px solid var(--border); }
.scanner__foot { border-top: 1px solid var(--border); justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px 2px rgba(20, 241, 149, 0.7);
  animation: pulse 2s infinite;
  flex: none;
}

.scanner__title { font-size: 14px; font-weight: 600; }

.scanner__slot {
  margin-left: auto;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--text-mute);
  transition: color 0.4s;
}

.scanner__slot.is-tick { color: var(--green); }

.scanner__list { position: relative; padding: 8px 12px; }

.scan-row {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 10px;
  border-radius: var(--radius-sm);
  transition: background 0.25s;
  animation: rowIn 0.5s var(--ease) backwards;
}

.scan-row:nth-child(1) { animation-delay: 0.05s; }
.scan-row:nth-child(2) { animation-delay: 0.12s; }
.scan-row:nth-child(3) { animation-delay: 0.19s; }
.scan-row:nth-child(4) { animation-delay: 0.26s; }

.scan-row:hover { background: var(--surface); }
.scan-row--muted { opacity: 0.62; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.scan-row__pair {
  font-size: 14px;
  font-weight: 600;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.scan-row__route { font-size: 12.5px; color: var(--text-mute); }

.scan-row__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.scan-row__bar i {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  border-radius: 999px;
  background: var(--grad);
  transition: width 0.7s var(--ease);
  animation: barGrow 1.1s var(--ease) backwards;
}

@keyframes barGrow { from { width: 0; } }

.scan-row__spread {
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  transition: color 0.4s, text-shadow 0.4s;
}

.scan-row__spread--low { color: var(--text-mute); }

/* 价差刷新瞬间的高亮闪烁 */
.scan-row.is-tick { background: rgba(20, 241, 149, 0.07); }
.scan-row__spread.is-tick {
  color: #7dffb8;
  text-shadow: 0 0 14px rgba(20, 241, 149, 0.55);
}
.scan-row__spread--low.is-tick {
  color: var(--text-dim);
  text-shadow: none;
}

.scanner__meta {
  display: flex;
  gap: 18px;
  font-size: 12.5px;
  color: var(--text-mute);
}

.scanner__meta b { color: var(--text-dim); font-weight: 600; }

.float-card {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 11px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: rgba(10, 12, 20, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.9);
  font-size: 12px;
}

.float-card__label { color: var(--text-mute); }
.float-card__value { font-size: 15px; font-weight: 700; font-family: "SF Mono", Menlo, Consolas, monospace; }

/* 悬浮小卡只压住面板圆角约 6px；卡片高约 70px 且带上下浮动动画，
   偏移量按实测几何取值，确保不会盖住区块号与底部状态文字 */
.float-card--a {
  top: -64px;
  right: -16px;
  color: var(--green);
  animation: floaty 6s ease-in-out infinite;
}

.float-card--b {
  bottom: -64px;
  left: -20px;
  color: var(--text);
  animation: floaty 7.5s ease-in-out infinite reverse;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- 6. 数据条 ---------- */
.stats {
  padding: 12px 0 20px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  display: grid;
  gap: 4px;
  padding: 26px 24px;
  background: var(--bg);
  text-align: center;
}

.stat__value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label { font-size: 13.5px; color: var(--text-mute); }

/* ---------- 7. 功能网格 ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.feature:hover::after { opacity: 1; }

.feature__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid rgba(20, 241, 149, 0.24);
  background: rgba(20, 241, 149, 0.08);
  color: var(--green);
}

.feature__title { font-size: 17px; margin-bottom: 9px; }
.feature__text { font-size: 14.5px; color: var(--text-dim); }

/* ---------- 8. 步骤 ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.step__num {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step__title { font-size: 17.5px; margin-bottom: 9px; }
.step__text { font-size: 14.5px; color: var(--text-dim); }

.steps__cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.steps__hint { font-size: 14px; color: var(--text-mute); }

/* ---------- 9. 日志终端 ---------- */
.terminal__wrap {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.terminal {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(3, 4, 8, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.terminal__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.022);
}

.terminal__dots { display: flex; gap: 6px; }
.terminal__dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}
.terminal__dots i:first-child { background: rgba(255, 95, 86, 0.6); }
.terminal__dots i:nth-child(2) { background: rgba(255, 189, 46, 0.6); }
.terminal__dots i:nth-child(3) { background: rgba(39, 201, 63, 0.6); }

.terminal__title { font-size: 12.5px; color: var(--text-mute); font-family: "SF Mono", Menlo, Consolas, monospace; }

.terminal__body {
  padding: 16px 18px 20px;
  display: grid;
  gap: 9px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
  font-size: 13px;
}

.log-line {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: baseline;
  animation: logIn 0.45s var(--ease) backwards;
}

@keyframes logIn {
  from { opacity: 0; transform: translateX(-6px); }
  to { opacity: 1; transform: none; }
}

.log-line__t { color: var(--text-mute); font-size: 12px; }
.log-line__tag { font-size: 11px; font-weight: 700; color: var(--purple); letter-spacing: 0.04em; }
.log-line__tag--ok { color: var(--green); }
.log-line__msg { color: var(--text-dim); }

.terminal__side-title { font-size: 22px; margin-bottom: 20px; }

.checklist { display: grid; gap: 13px; }

.checklist li {
  position: relative;
  padding-left: 27px;
  font-size: 15px;
  color: var(--text-dim);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(20, 241, 149, 0.13);
  border: 1px solid rgba(20, 241, 149, 0.4);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.72em;
  width: 4px;
  height: 7px;
  border: solid var(--green);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}

/* ---------- 10. FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.25s, background 0.25s;
}

.faq__item[open] { border-color: var(--border-strong); background: var(--surface-2); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 22px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__chev {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  transition: transform 0.3s var(--ease), background 0.25s;
}

.faq__chev::before,
.faq__chev::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--text-dim);
  transform: translate(-50%, -50%);
}

.faq__chev::before { width: 9px; height: 1.5px; }
.faq__chev::after { width: 1.5px; height: 9px; transition: opacity 0.25s; }

.faq__item[open] .faq__chev { background: rgba(20, 241, 149, 0.12); border-color: rgba(20, 241, 149, 0.4); }
.faq__item[open] .faq__chev::after { opacity: 0; }
.faq__item[open] .faq__chev::before { background: var(--green); }

.faq__body {
  padding: 0 22px 22px;
  color: var(--text-dim);
  font-size: 15px;
}

/* ---------- 11. 底部行动区 / 页脚 ---------- */
.cta-band { padding: 110px 0; }

.cta-card {
  position: relative;
  padding: 68px 40px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(153, 69, 255, 0.14), rgba(20, 241, 149, 0.09));
  text-align: center;
  overflow: hidden;
}

.cta-card__glow {
  position: absolute;
  top: -60%;
  left: 50%;
  width: 560px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(153, 69, 255, 0.42), transparent 68%);
  filter: blur(70px);
  pointer-events: none;
}

.cta-card__title {
  position: relative;
  font-size: clamp(26px, 3.6vw, 38px);
  margin-bottom: 14px;
}

.cta-card__sub {
  position: relative;
  color: var(--text-dim);
  font-size: 17px;
  margin-bottom: 34px;
}

.cta-card__note {
  position: relative;
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-mute);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 62px 0 38px;
  background: var(--bg-alt);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer__blurb {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
  color: var(--text-mute);
}

.footer__col { display: grid; gap: 12px; align-content: start; }

.footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 4px;
}

.footer__col a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s;
  width: fit-content;
}

.footer__col a:hover { color: var(--green); }

.footer__bottom { padding-top: 28px; display: grid; gap: 16px; }

.disclaimer {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-mute);
  max-width: 92ch;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 2px solid rgba(255, 189, 46, 0.5);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 189, 46, 0.035);
}

.disclaimer strong { color: #ffbd2e; font-weight: 700; }

.copyright { font-size: 13px; color: var(--text-mute); }

/* 开发提示条 */




/* ---------- 12. 动效与响应式 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}

.reveal.is-visible { opacity: 1; transform: none; }

body.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 620px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .terminal__wrap { grid-template-columns: 1fr; gap: 36px; }
  .nav__links { display: none; }
  /* 导航链接隐藏后，由语言切换接管右对齐 */
  .lang { margin-left: auto; }
}

@media (max-width: 720px) {
  .wrap { padding-inline: 18px; }
  .section { padding: 76px 0; }
  .hero { padding: 44px 0 68px; }
  .features { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .float-card { display: none; }
  .scan-row { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .scan-row__route { grid-column: 1 / -1; }
  .scan-row__bar { display: none; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-card { padding: 48px 22px; }
  .btn--xl { padding: 16px 24px; font-size: 16.5px; }
  .hero__actions .btn { width: 100%; }
}

@media (max-width: 560px) {
  /* 窄屏下只保留品牌图标，把宽度让给语言切换和行动按钮 */
  .brand__name { display: none; }
  .nav__inner { gap: 12px; }
}

@media (max-width: 420px) {
  .lang__btn { padding: 5px 9px; font-size: 12.5px; }
}

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