/* =========================================================
   NEO — single-viewport video landing
   ========================================================= */

/* ---------- Geist Pixel Circle (local fallback display face) ---------- */
@font-face {
  font-family: "Geist Pixel Circle";
  src: url("fonts/GeistPixel-Circle.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #000000;
  --text: #ffffff;
  --muted: #8e8e8e;
  --nav-text: #2e2e2e;
  --pill-dark: #28282a;
  --sign-in-text: #c8c8c8;
  --nav-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  --trust-bg: #28282a;
  --trust-border: rgba(255, 255, 255, 0.4);
  --trust-text: #c4c2c3;
  --trust-size: clamp(36px, 4.5vw, 42px);

  --font-sans: "Inter", "Segoe UI", system-ui, sans-serif;
  /* 中文补充：Bubbledot / Geist 仅覆盖拉丁字符，中文回退到系统中文字体 */
  --font-display: "BubbledotICG-FinePos", "Geist Pixel Circle",
                  "PingFang SC", "Microsoft YaHei", monospace;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; }

/* =========================================================
   Background video
   ========================================================= */
.bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  /* 视频加载期间的兜底：极光渐变，避免首屏纯黑 */
  background:
    radial-gradient(ellipse 70% 55% at 50% 105%, rgba(254, 44, 85, 0.22), transparent 62%),
    radial-gradient(ellipse 50% 42% at 14% 10%, rgba(74, 91, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 46% 38% at 86% 16%, rgba(255, 107, 74, 0.11), transparent 60%),
    #000;
  will-change: transform, opacity;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  filter: saturate(0.9) contrast(1.02);
}
/* 视频之上压一层暗幕，保证白字可读（不改变视频本身） */
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 45%, rgba(0,0,0,.28), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 40%, rgba(0,0,0,.62) 100%);
  z-index: 1;
  pointer-events: none;
}

/* =========================================================
   Page shell
   ========================================================= */
/* 首屏容器：视频背景只覆盖这一块，向下滚动后交还给纯黑 */
.hero-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(14px, 3vw, 32px) clamp(24px, 3.4vh, 44px);
  min-height: calc(100vh - var(--hh, 104px));
  min-height: calc(100dvh - var(--hh, 104px));
  /* 裁剪视差下沉的视频，别让它溢到下面的内容区 */
  overflow: hidden;
}

/* =========================================================
   1) Header
   ========================================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* 必须全宽：滚动后出现的背景层用的是 inset:0，
     一旦这里加 max-width，背景就会缩成一块可见的矩形贴片。
     内容居中靠 flex + 各元素自身的尺寸限制，不靠容器宽度。 */
  width: 100%;
  padding: clamp(14px, 2.2vh, 24px) clamp(14px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 28px);
}
/* 滚动后浮现的暗底，保证导航在长页面上始终清晰。
   优先用原生滚动驱动动画（零 JS、不依赖 scroll 事件），
   旧的 .scrolled 类保留给不支持的浏览器兜底。 */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.3s ease;
}
.header.scrolled::before { opacity: 1; }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .header::before {
      animation: headerFade linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 120px;
    }
  }
}
@keyframes headerFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* --- logo --- */
.logo {
  width: clamp(40px, 4.4vw, 46px);
  height: clamp(40px, 4.4vw, 46px);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--nav-shadow);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.logo:hover { transform: scale(1.04); }
.logo img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

/* --- nav pill --- */
.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: clamp(44px, 5.2vw, 48px);
  max-width: 430px;
  flex: 1 1 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--nav-shadow);
}
.nav-pill a {
  position: relative;
  flex: 1 1 auto;
  text-align: center;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px);
  letter-spacing: -0.01em;
  color: var(--nav-text);
  opacity: 0.58;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}
.nav-pill a:hover { opacity: 0.8; }
.nav-pill a.is-active {
  opacity: 1;
  /* 原来这里下方有三个小黑点做选中标识，已按要求去掉。
     改用字重区分——不用加装饰元素。 */
  font-weight: 600;
}

/* --- sign in --- */
.signin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(44px, 5.2vw, 48px);
  padding: 0 clamp(16px, 2vw, 22px);
  border-radius: 999px;
  background: var(--pill-dark);
  color: var(--sign-in-text);
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 500;
  box-shadow: var(--nav-shadow);
  white-space: nowrap;
  flex: 0 0 auto;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.signin:hover {
  background: #323234;
  color: #fff;
  transform: translateY(-1px);
}

/* --- burger (desktop hidden) --- */
.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--pill-dark);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
  box-shadow: var(--nav-shadow);
  transition: background 0.25s ease;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.25s ease;
}

/* =========================================================
   2) Hero
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

/* --- trust row --- */
.trust {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(16px, 2.5vh, 26px);
}
.avatar {
  position: relative;
  width: var(--trust-size);
  height: var(--trust-size);
  border-radius: 50%;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  padding: 5px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.avatar::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.avatar svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 40%;
  height: 40%;
  color: #111;
}
.avatar.a1 { z-index: 1; }
.avatar.a2 { z-index: 2; margin-left: calc(var(--trust-size) * -0.42); }
.avatar.a3 { z-index: 4; margin-left: calc(var(--trust-size) * -0.42); }
.trust:hover .a1 { transform: translateY(-2px); }
.trust:hover .a2 { transform: translateY(-4px); }
.trust:hover .a3 { transform: translateY(-2px); }

.trust-pill {
  height: var(--trust-size);
  display: inline-flex;
  align-items: center;
  margin-left: calc(var(--trust-size) * -0.42);
  padding-left: calc(var(--trust-size) * 0.58);
  padding-right: clamp(14px, 1.6vw, 18px);
  border-radius: 999px;
  background: var(--trust-bg);
  border: 1px solid var(--trust-border);
  color: var(--trust-text);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(12px, 1.4vw, 13.5px);
  letter-spacing: -0.01em;
  white-space: nowrap;
  z-index: 3;
}

/* --- headline --- */
.headline {
  font-family: var(--font-display);
  font-weight: 400;
  color: #ffffff;
  font-size: clamp(28px, 6.2vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.12;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hl-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: headlineFade 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}

/* --- subhead --- */
.subhead {
  max-width: min(500px, 92%);
  margin-top: clamp(12px, 1.8vh, 18px);
  font-size: clamp(calc(13.5px + 2pt), calc(1.55vw + 2pt), calc(16.5px + 2pt));
  color: #d0d0d0;
  opacity: 0.8;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* --- CTA --- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(11px, 1.6vh, 13px) clamp(22px, 3vw, 28px);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(13.5px, 1.5vw, 14.5px);
  letter-spacing: -0.01em;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 0 22px rgba(255, 255, 255, 0.32),
    0 0 44px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28),
    0 0 30px rgba(255, 255, 255, 0.45),
    0 0 62px rgba(255, 255, 255, 0.2);
}

/* =========================================================
   3) Stats
   ========================================================= */
.stats {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 24px);
  padding-bottom: env(safe-area-inset-bottom);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.stat-icon {
  font-family: var(--font-display);
  color: #ffffff;
  font-size: clamp(22px, 3vw, 33px);
  line-height: 1.1;
}
.stat-value {
  font-family: var(--font-sans);
  color: #ffffff;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  color: var(--muted);
  font-size: clamp(11px, 1.2vw, 12.5px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* =========================================================
   Shared entrance animation
   ========================================================= */
.anim {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  filter: blur(6px);
  animation: reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
/* headline parent 自身不做揭示动画，交给 .hl-line */
.headline.anim {
  opacity: 1;
  transform: none;
  filter: none;
  animation: none;
}

@keyframes reveal {
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes revealPulse {
  0%   { opacity: 0; transform: translateY(22px) scale(0.98); filter: blur(6px); }
  70%  { opacity: 1; transform: translateY(0) scale(1.015);   filter: blur(0); }
  100% { opacity: 1; transform: none;                          filter: blur(0); }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-18px); filter: blur(6px); }
  to   { opacity: 1; transform: none;                filter: blur(0); }
}
@keyframes headlineFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* 各自的入场方式 */
.header .logo,
.header .nav-pill,
.header .signin,
.header .burger { animation-name: slideDown; animation-duration: 0.7s; }
.cta { animation-name: revealPulse; }

/* =========================================================
   Mobile menu
   ========================================================= */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.28s ease both;
}
@keyframes overlayIn { from { opacity: 0 } to { opacity: 1 } }

.sheet {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  top: calc(clamp(16px, 2.4vh, 28px) + 60px);
  width: min(420px, calc(100% - 28px));
  z-index: 50;
  background: #fff;
  border-radius: 28px;
  padding: 22px 18px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  animation: menuIn 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes menuIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(0.98); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.sheet-nav { display: flex; flex-direction: column; }
.sheet-nav a {
  position: relative;
  padding: 14px 12px;
  text-align: center;
  color: var(--nav-text);
  font-weight: 500;
  font-size: 16px;
  opacity: 0.5;
  animation: linkIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--ld, 0.04s);
}
.sheet-nav a.is-active {
  opacity: 1;
  font-weight: 600;
}
@keyframes linkIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 0.5; transform: none; }
}
.sheet-nav a.is-active { animation-name: linkInActive; }
@keyframes linkInActive {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.sheet-signin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  padding: 12px;
  border-radius: 999px;
  background: var(--pill-dark);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  animation: linkInActive 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}

body.menu-open { overflow: hidden; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 720px) {
  .nav-pill, .signin { display: none; }
  .burger { display: grid; }

  .header {
    justify-content: space-between;
    max-width: none;
    gap: 8px;
  }
  .logo {
    width: 48px;
    height: 48px;
  }

  body.menu-open .burger {
    background: #fff;
  }
  body.menu-open .burger span { background: #111; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .headline {
    letter-spacing: -0.08em;
    line-height: 1.05;
  }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px 12px; }
}

@media (max-width: 420px) {
  :root { --trust-size: 34px; }
  .headline {
    letter-spacing: -0.09em;
    line-height: 1.04;
  }
  .trust-pill { font-size: 12px; }
}

/* 矮视口：压缩纵向节奏，保证首屏内容放得下 */
@media (min-width: 901px) and (max-height: 880px) {
  .headline { font-size: clamp(28px, 4.8vw, 58px); }
  .trust { margin-bottom: 14px; }
  .subhead { margin-top: 12px; }
  .hero-actions { margin-top: 18px; }
  .stat-icon { font-size: clamp(20px, 2.4vw, 26px); }
  .stat-value { font-size: clamp(16px, 1.8vw, 21px); }
}
@media (min-width: 901px) and (max-height: 720px) {
  .headline { font-size: clamp(24px, 3.8vw, 46px); }
  .trust { margin-bottom: 10px; }
  .subhead { margin-top: 8px; }
  .hero-actions { margin-top: 12px; }
  .stat-label { font-size: 11px; }
}

/* =========================================================
   Long-page content
   ========================================================= */
.content { position: relative; z-index: 2; background: var(--bg); }

/* --- 背景质感层：噪声 + 细网格，让纯黑有肌理 --- */
.content-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* 两团全局冷光，补住区块之间的空档 */
  background:
    radial-gradient(620px 620px at 6% 10%, rgba(74, 91, 255, 0.13), transparent 66%),
    radial-gradient(680px 680px at 94% 44%, rgba(255, 107, 74, 0.10), transparent 66%);
}
.content-fx::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.05;
}
.content-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.021) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.021) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 11vh, 132px) clamp(20px, 4vw, 40px);
  scroll-margin-top: calc(var(--hh, 104px) + 12px);
}
.section-alt { background: rgba(255, 255, 255, 0.014); }

/* 区块分隔：一条中间亮、两端淡的光，比实线精致 */
.section + .section { border-top: 0; }
.section + .section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

/* 每个区块一团极光，位置与色相错开，避免整页单调 */
.section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}
#features::after {
  width: 760px; height: 760px; top: -140px; right: -200px;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.22), transparent 64%);
}
#how::after {
  width: 700px; height: 700px; top: 12%; left: -240px;
  background: radial-gradient(circle, rgba(74, 91, 255, 0.19), transparent 64%);
}
#compliance::after {
  width: 740px; height: 740px; top: -100px; left: 34%;
  background: radial-gradient(circle, rgba(254, 44, 85, 0.16), transparent 64%);
}
#pricing::after {
  width: 720px; height: 720px; top: 18%; right: -220px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.16), transparent 64%);
}
#faq::after {
  width: 640px; height: 640px; top: 6%; left: -180px;
  background: radial-gradient(circle, rgba(74, 91, 255, 0.14), transparent 64%);
}
#download::after {
  width: 880px; height: 620px; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(254, 44, 85, 0.24), transparent 66%);
}

.inner { max-width: 1080px; margin: 0 auto; }

.sec-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.07) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 编号背后透一点红，和区块光斑呼应 */
  filter: drop-shadow(0 0 26px rgba(254, 44, 85, 0.38));
}
.sec-title {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin-bottom: 14px;
}
.sec-lead {
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: clamp(34px, 5vh, 56px);
}

/* --- cards --- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, box-shadow 0.35s ease;
}
/* 悬停时从顶部透进一层微光 */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px circle at 50% -12%, rgba(255, 255, 255, 0.09), transparent 70%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.card > * { position: relative; z-index: 1; }
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 54px -26px rgba(0, 0, 0, 0.95);
}
.card:hover::after { opacity: 1; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.card-hero {
  grid-column: span 2;
  border-color: rgba(254, 44, 85, 0.28);
  background: linear-gradient(135deg, rgba(254,44,85,.10), rgba(255,255,255,.02) 60%);
}
.card .tag {
  display: inline-block;
  background: #FE2C55;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}

/* --- steps --- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: #fff; color: #111;
  font-weight: 600; font-size: 17px;
  margin-bottom: 14px;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
}
.step h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* =========================================================
   02 怎么用 · 滚动驱动的产品演示
   外层 300vh 提供滚动距离，内层 sticky 固定住演示区，
   滚动进度切换步骤和右侧界面。
   ========================================================= */
.how-scroll { position: relative; height: 300vh; }
.how-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 4vw, 40px);
}
.how-grid {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

/* --- 左：步骤 --- */
.how-steps { display: flex; flex-direction: column; gap: 4px; }
.how-step {
  padding: 16px 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0.34;
  transition: opacity 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}
.how-step.is-on {
  opacity: 1;
  border-left-color: #fff;
  transform: translateX(4px);
}
.how-step h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 7px; }
.how-step p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.how-step .step-num { margin-bottom: 12px; }
.how-step:not(.is-on) .step-num {
  background: rgba(255, 255, 255, 0.09);
  color: #8e8e8e;
  box-shadow: none;
}

/* --- 右：界面演示 --- */
.how-demo { position: relative; }
.demo-frame {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #101320, #0b0d14);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
.demo-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}
.demo-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); display: block;
}
.demo-title { margin-left: 8px; font-size: 12px; color: var(--muted); }
.demo-step-tag {
  margin-left: auto; font-size: 11.5px; color: var(--muted);
  font-variant-numeric: tabular-nums;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px; padding: 1px 7px;
}
.demo-screen { position: relative; aspect-ratio: 16 / 10; }
.demo-pane {
  position: absolute; inset: 0;
  padding: clamp(16px, 2.4vw, 26px);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.demo-pane.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* 画面 1 */
.d-input {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px; padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
}
.d-input svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }
.d-url {
  font-size: 12.5px; color: #b9c0cc; flex: 1;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.d-btn-mini {
  font-size: 12px; padding: 4px 12px; border-radius: 6px;
  background: #fff; color: #111; font-weight: 600; flex: 0 0 auto;
}
.d-product {
  display: flex; gap: 12px; align-items: center;
  margin-top: 14px; padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; background: rgba(255, 255, 255, 0.02);
}
.d-thumb {
  width: 46px; height: 46px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(254, 44, 85, 0.55), rgba(255, 107, 74, 0.35));
}
.d-meta strong { display: block; font-size: 13.5px; margin-bottom: 4px; }
.d-price { color: #FF8A9B; font-size: 13px; font-weight: 600; margin-right: 10px; }
.d-sold { color: var(--muted); font-size: 12px; }
.d-tags { display: flex; gap: 7px; margin-top: 12px; }
.d-tags span {
  font-size: 11.5px; color: #b9c0cc;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px; padding: 2px 10px;
}

/* 画面 2 */
.d-label { font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; margin-bottom: 8px; }
.d-choice { display: flex; gap: 8px; margin-bottom: 14px; }
.d-opt {
  font-size: 13px; padding: 7px 18px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14); color: #b9c0cc;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.d-opt.is-on { background: #fff; color: #111; border-color: #fff; font-weight: 600; }
.d-rows { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.d-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12.5px; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; background: rgba(255, 255, 255, 0.03);
}
.d-row b { color: #e6e9ef; font-weight: 500; font-size: 12.5px; }
.d-btn-full {
  text-align: center; font-size: 13.5px; font-weight: 600;
  padding: 11px; border-radius: 9px;
  background: rgba(255, 255, 255, 0.1); color: #7d7d7d;
  transition: background 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

/* 画面 3 · 检查项随 pane 激活依次打勾（纯 CSS 错落，无需 JS 计时） */
.d-check { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.d-check li {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: #d0d0d0;
  padding: 9px 12px; border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.d-check li i {
  width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: border-color 0.4s ease, background 0.4s ease;
}
.d-check li span { margin-left: auto; color: var(--muted); font-size: 11.5px; }

.demo-pane[data-pane="2"] .d-check li { opacity: 0.28; transform: translateX(-6px); }
.demo-pane[data-pane="2"].is-on .d-check li { opacity: 1; transform: none; }
.demo-pane[data-pane="2"].is-on .d-check li:nth-child(1) { transition-delay: 0.10s; }
.demo-pane[data-pane="2"].is-on .d-check li:nth-child(2) { transition-delay: 0.28s; }
.demo-pane[data-pane="2"].is-on .d-check li:nth-child(3) { transition-delay: 0.46s; }
.demo-pane[data-pane="2"].is-on .d-check li:nth-child(4) { transition-delay: 0.64s; }
.demo-pane[data-pane="2"].is-on .d-check li i {
  border-color: #3DD68C;
  background: rgba(61, 214, 140, 0.16);
}
.demo-pane[data-pane="2"].is-on .d-check li i::after {
  content: ""; position: absolute; left: 3.5px; top: 2px;
  width: 4px; height: 7px;
  border-right: 1.5px solid #3DD68C; border-bottom: 1.5px solid #3DD68C;
  transform: rotate(45deg);
}
/* 四项都打完，导出按钮才亮 */
.demo-pane[data-pane="2"].is-on .d-btn-full {
  transition-delay: 0.92s;
  background: #fff; color: #111;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.28);
}

/* 进度条 */
.how-progress {
  position: absolute; left: 0; right: 0; bottom: -22px;
  height: 2px; background: rgba(255, 255, 255, 0.08);
  border-radius: 2px; overflow: hidden;
}
.how-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #FE2C55, #FF6B4A);
  transition: width 0.25s ease;
}

/* --- risks --- */
.risks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.risk {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-left: 2px solid #FE2C55;
  border-radius: 14px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.02);
}
.risk-key {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: #FF8A9B; letter-spacing: -0.01em; margin-bottom: 6px;
}
.risk-val {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1; color: #fff; margin-bottom: 8px;
}
.risk p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: #fff; font-size: 14.5px; font-weight: 500;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateX(3px);
}

/* --- plans --- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 28px 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s ease;
}
.plan:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.plan-hot {
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 24px 70px -30px rgba(255,255,255,.35);
}
.plan-ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #fff; color: #111;
  font-size: 12px; font-weight: 600;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: 13px; margin-bottom: 16px; min-height: 34px; }
.plan-price { font-size: 44px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan-price small { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-unit { color: var(--muted); font-size: 12.5px; margin: 6px 0 20px; }
.plan ul { list-style: none; margin-bottom: 24px; flex: 1; }
.plan li { color: #d0d0d0; font-size: 14px; padding-left: 22px; position: relative; margin-bottom: 10px; }
.plan li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.plan-btn {
  display: flex; align-items: center; justify-content: center;
  height: 44px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px; font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.plan-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255,255,255,.45); }
.plan-btn-solid { background: #fff; color: #111; border-color: #fff; }
.plan-btn-solid:hover { background: #f0f0f0; }

/* --- faq --- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--muted); font-size: 20px; font-weight: 400; flex: 0 0 auto;
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); color: #fff; }
.faq details p {
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
  padding-bottom: 20px; max-width: 640px;
}

/* --- final --- */
.final { text-align: center; }
.final .inner { max-width: 720px; }
.final-title {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.12;
  margin-bottom: 14px;
}
.final-lead { color: var(--muted); font-size: clamp(14px, 1.5vw, 17px); margin-bottom: 28px; }
.final-note { color: #6a6a6a; font-size: 13px; margin-top: 16px; }

/* --- hero secondary button --- */
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.cta-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: clamp(11px, 1.6vh, 13px) clamp(20px, 2.6vw, 26px);
  border-radius: 999px;
  border: 1px solid rgba(198, 198, 198, 0.55);
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(0,0,0,.5) 46%, rgba(150,170,200,.1));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff; font-weight: 500; font-size: clamp(13.5px, 1.5vw, 14.5px);
  transition: transform 0.3s cubic-bezier(.22,1,.36,1), border-color 0.3s ease, box-shadow 0.3s ease;
}
.cta-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(220, 230, 255, 0.8);
  box-shadow: 0 0 24px rgba(170, 200, 255, 0.28);
}

/* --- site footer --- */
.site-foot {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #050505;
  padding: clamp(48px, 7vh, 72px) clamp(20px, 4vw, 40px) 32px;
}
.foot-top {
  display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  max-width: 1080px; margin: 0 auto 36px;
}
.foot-brand { max-width: 260px; }
.foot-logo {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%; background: #fff;
  margin-bottom: 14px;
}
.foot-logo img { width: 72%; height: 72%; object-fit: contain; }
.foot-brand p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.foot-cols { display: flex; gap: clamp(32px, 6vw, 72px); flex-wrap: wrap; }
.foot-cols h4 { font-size: 13px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.foot-cols a {
  display: block; color: var(--muted); font-size: 13.5px; margin-bottom: 9px;
  transition: color 0.2s ease;
}
.foot-cols a:hover { color: #fff; }
.foot-disc {
  max-width: 1080px; margin: 0 auto 24px;
  color: #7d7d7d; font-size: 12.5px; line-height: 1.75;
  border-left: 2px solid rgba(255, 255, 255, 0.12); padding-left: 14px;
}
.foot-copy {
  max-width: 1080px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: #5e5e5e; font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 20px;
}

/* --- scroll reveal --- */
.rv {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity 0.8s cubic-bezier(.22,1,.36,1),
              transform 0.8s cubic-bezier(.22,1,.36,1),
              filter 0.8s cubic-bezier(.22,1,.36,1);
}
.rv.in { opacity: 1; transform: none; filter: none; }

/* --- content responsive --- */
@media (max-width: 900px) {
  .cards, .steps, .risks, .plans { grid-template-columns: 1fr; }
  .card-hero { grid-column: span 1; }
  .foot-top { flex-direction: column; gap: 28px; }

  /* 「怎么用」在窄屏不做滚动驱动，直接铺开成静态流程 */
  .how-scroll { height: auto; }
  .how-sticky { position: static; height: auto; padding: 0; }
  .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .how-step {
    opacity: 1;
    transform: none;
    border-left-color: rgba(255, 255, 255, 0.14);
  }
  .how-step:not(.is-on) .step-num {
    background: #fff;
    color: #111;
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.18);
  }
  .demo-screen { aspect-ratio: auto; }
  .demo-pane {
    position: relative;
    inset: auto;
    display: block;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .demo-pane:last-child { border-bottom: 0; }
  /* 静态展示终态：检查项全勾、按钮可点 */
  .demo-pane .d-check li { opacity: 1; transform: none; }
  .demo-pane .d-check li i { border-color: #3DD68C; background: rgba(61, 214, 140, 0.16); }
  .demo-pane .d-check li i::after {
    content: "";
    position: absolute; left: 3.5px; top: 2px;
    width: 4px; height: 7px;
    border-right: 1.5px solid #3DD68C;
    border-bottom: 1.5px solid #3DD68C;
    transform: rotate(45deg);
  }
  .demo-pane .d-btn-full { background: #fff; color: #111; }
  .how-progress { display: none; }
}
@media (max-width: 560px) {
  .foot-cols { gap: 28px; }
}

/* =========================================================
   首屏滚动交互 · 视频视差下沉
   向下滚时视频缓慢下移 + 轻微放大 + 淡出，让位给黑色内容区。
   用原生 scroll-driven animation（Chrome/Edge 115+）：
   零 JS、跑在合成层、不阻塞滚动。旧浏览器由 main.js 兜底。
   ========================================================= */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .bg {
      animation: heroSink linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 100vh;
    }
  }
}
@keyframes heroSink {
  from { transform: translateY(0) scale(1);         opacity: 1; }
  to   { transform: translateY(20vh) scale(1.16);   opacity: 0; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .anim, .hl-line, .rv {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .headline { color: #ffffff; }
}
