/* ============================================================
   AdDATA平台 - HeartBeat呈现 · 展示页 (landing v1.1)
   深色科技风 / 纯手写 CSS，无外部依赖
   ============================================================ */
:root {
  --bg: #06070b;
  --bg-2: #0a0c13;
  --panel: rgba(17, 20, 30, 0.72);
  --panel-2: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #e9ecf5;
  --muted: #8d95ab;
  --faint: #5b6377;
  --brand: #e02424;
  --brand-2: #ff6a3d;
  --brand-soft: rgba(224, 36, 36, 0.14);
  --cyan: #3ad2ff;
  --green: #2bd67b;
  --amber: #ffb020;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(224, 36, 36, 0.35); color: #fff; }

.wrap { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }

/* ---------------- 背景层 ---------------- */
#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; opacity: 0.55; pointer-events: none;
}
.aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.orb-a {
  width: 620px; height: 620px; left: -180px; top: -160px;
  background: radial-gradient(circle, rgba(224, 36, 36, 0.55), transparent 68%);
  animation: float-a 22s ease-in-out infinite;
}
.orb-b {
  width: 520px; height: 520px; right: -140px; top: 120px;
  background: radial-gradient(circle, rgba(58, 210, 255, 0.32), transparent 68%);
  animation: float-b 26s ease-in-out infinite;
}
.orb-c {
  width: 700px; height: 700px; left: 34%; bottom: -320px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.26), transparent 70%);
  animation: float-c 30s ease-in-out infinite;
}
@keyframes float-a { 50% { transform: translate(120px, 90px) scale(1.12); } }
@keyframes float-b { 50% { transform: translate(-90px, 130px) scale(1.08); } }
@keyframes float-c { 50% { transform: translate(80px, -110px) scale(1.15); } }

.grid-overlay {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 15%, transparent 78%);
}
.noise {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.035;
  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");
}
header, main, footer { position: relative; z-index: 2; }

/* ---------------- 通用按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; font-weight: 600; }
.btn-block { width: 100%; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #b31717 55%, #8c0f0f 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(224, 36, 36, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 42px rgba(224, 36, 36, 0.46); }
.btn-outline {
  border: 1px solid var(--line-2); color: var(--text);
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.07); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------------- 导航（长期固定：滚动全程钉在视口顶部） ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 7, 11, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
/* v1.2：不支持毛玻璃的浏览器（老版 Safari / 部分国产内核）退回高不透明底色，
   保证导航在任意滚动位置都清晰可读，不会“看着像没固定/看不清” */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .nav.scrolled { background: rgba(6, 7, 11, 0.96); }
}
/* v1.2：锚点跳转时给固定导航留出 88px 余量，标题不会被导航压住 */
#top, #features, #flow, #data, #apply { scroll-margin-top: 88px; }
.nav-inner {
  width: min(1240px, calc(100% - 48px)); margin: 0 auto;
  height: 72px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
/* v1.1：改用 HeartBeat 2026 横版字标；v1.2：字标换成扫描动图 GIF（透明底，画布 393x80 与旧 PNG 同比） */
.brand-logo {
  height: 30px; width: auto; display: block; flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(224, 36, 36, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 15.5px; letter-spacing: 0.5px; white-space: nowrap; }
.brand-text i { font-style: normal; font-size: 9.5px; letter-spacing: 1.6px; color: var(--faint); }

.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a { position: relative; transition: color 0.2s; white-space: nowrap; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--brand-2); transition: width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-actions { display: flex; gap: 10px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

/* ---------------- HERO ---------------- */
.hero { position: relative; padding: 168px 0 90px; text-align: center; }
.hero-glow {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 900px; height: 460px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(224, 36, 36, 0.18), transparent 66%);
  filter: blur(30px);
}
.hero-inner { position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 34px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  font-size: 13px; color: #c6ccdd; backdrop-filter: blur(8px);
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(43, 214, 123, 0.7); animation: ping 2s infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 8px rgba(43, 214, 123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(43, 214, 123, 0); }
}
.hero h1 {
  margin: 26px 0 22px; font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.14; letter-spacing: -1px; font-weight: 800;
}
.grad {
  background: linear-gradient(100deg, #ff6a3d 0%, #e02424 42%, #ff9a5c 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede {
  max-width: 720px; margin: 0 auto; color: var(--muted); font-size: 17px;
}
.lede b { color: #cfd5e6; font-weight: 600; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin: 34px 0 54px; flex-wrap: wrap; }
.hero-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  max-width: 900px; margin: 0 auto;
}
.hs {
  padding: 16px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--panel-2);
  backdrop-filter: blur(10px);
}
.hs b {
  display: block; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, #a9b2c8);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hs span { font-size: 12.5px; color: var(--faint); }

/* ---------------- 区块 ---------------- */
.section { padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, transparent); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 54px; }
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand-2); margin-bottom: 14px; font-weight: 600;
}
.sec-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.28; font-weight: 750; letter-spacing: -0.5px; }
.sec-head p { margin-top: 16px; color: var(--muted); }

/* ---------------- 轮播 ---------------- */
.carousel { position: relative; }
.car-viewport { overflow: hidden; border-radius: 24px; }
.car-track {
  display: flex; will-change: transform;
  transition: transform 0.78s cubic-bezier(0.22, 0.61, 0.24, 1);
}
.slide {
  flex: 0 0 100%; min-width: 0;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.78s cubic-bezier(0.22, 0.61, 0.24, 1);
  opacity: 0.22; filter: blur(5px); transform: scale(0.965);
}
.slide.active { opacity: 1; filter: none; transform: scale(1); }

.slide-grid {
  display: grid; grid-template-columns: 1.32fr 1fr; gap: 40px; align-items: center;
  padding: 30px; border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(224, 36, 36, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(20, 23, 34, 0.92), rgba(10, 12, 18, 0.92));
  box-shadow: var(--shadow);
}

/* --- 看板截图容器 --- */
.shot {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0e1119, #0a0c12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.shot-top {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.026);
}
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.shot-title { font-size: 12px; color: var(--muted); letter-spacing: 0.3px; }
.live {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; letter-spacing: 1px; color: var(--green);
  border: 1px solid rgba(43, 214, 123, 0.34); background: rgba(43, 214, 123, 0.1);
  padding: 2px 8px; border-radius: 999px;
}
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: blink 1.4s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.shot-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }

.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi {
  padding: 11px 12px; border-radius: 11px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.kpi label { display: block; font-size: 11px; color: var(--faint); margin-bottom: 4px; }
.kpi b { display: block; font-size: 16.5px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.kpi em { font-style: normal; font-size: 10.5px; }
.kpi .up { color: var(--brand-2); }
.kpi .down { color: var(--green); }

.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: var(--faint);
}
.chart-live { color: var(--cyan); }

/* 柱状图 */
.bars {
  display: flex; align-items: flex-end; gap: 4px; height: 108px;
  padding: 8px 4px 0; border-bottom: 1px solid var(--line);
}
.bars i {
  flex: 1; border-radius: 3px 3px 0 0; min-height: 4px;
  background: linear-gradient(180deg, rgba(255, 106, 61, 0.95), rgba(224, 36, 36, 0.35));
  animation: grow 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  transform-origin: bottom;
}
.bars i:nth-child(3n) { background: linear-gradient(180deg, rgba(58, 210, 255, 0.9), rgba(58, 210, 255, 0.22)); }
.bars i:nth-child(5n+1) { background: linear-gradient(180deg, rgba(255, 176, 32, 0.9), rgba(255, 176, 32, 0.2)); }
@keyframes grow { from { transform: scaleY(0.04); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.legend { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--faint); flex-wrap: wrap; }
.legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-left: 8px; }
.legend i:first-child { margin-left: 0; }
.legend .c1 { background: var(--brand-2); }
.legend .c2 { background: var(--cyan); }
.legend .c3 { background: var(--amber); }

/* 环形 + 排行 */
.split { display: grid; grid-template-columns: 148px 1fr; gap: 16px; align-items: center; }
.donut-wrap { position: relative; display: grid; place-items: center; }
.donut {
  width: 130px; height: 130px; border-radius: 50%;
  background: conic-gradient(var(--brand-2) calc(var(--p) * 1%), rgba(255, 255, 255, 0.07) 0);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
  animation: spin-in 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 0 14px rgba(255, 106, 61, 0.35));
}
@keyframes spin-in { from { transform: rotate(-140deg) scale(0.7); opacity: 0; } to { transform: none; opacity: 1; } }
.donut-cap { position: absolute; text-align: center; }
.donut-cap b { display: block; font-size: 21px; font-weight: 750; }
.donut-cap small { font-size: 10.5px; color: var(--faint); }
.rank { display: flex; flex-direction: column; gap: 9px; }
.rank-row {
  display: grid; grid-template-columns: 108px 1fr 74px; align-items: center; gap: 10px;
  font-size: 11.5px;
}
.rank-row span { color: #c2c9db; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row b { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.rank-row i {
  height: 6px; border-radius: 999px; display: block;
  width: var(--w);
  background: linear-gradient(90deg, rgba(224, 36, 36, 0.95), rgba(255, 106, 61, 0.5));
  animation: wid 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  transform-origin: left;
}
@keyframes wid { from { transform: scaleX(0.05); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

.ticker, .logline, .stream div {
  font-family: var(--mono); font-size: 11px; color: var(--cyan);
  padding: 8px 10px; border-radius: 8px;
  border: 1px solid rgba(58, 210, 255, 0.2); background: rgba(58, 210, 255, 0.07);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.stream { display: flex; flex-direction: column; gap: 6px; }
.stream div { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, 0.03); }
.stream div:first-child { color: var(--amber); border-color: rgba(255, 176, 32, 0.24); background: rgba(255, 176, 32, 0.07); }

/* 队列 / 进度 */
.queue { display: flex; flex-direction: column; gap: 9px; }
.q-row { display: grid; grid-template-columns: 150px 1fr 42px; align-items: center; gap: 10px; font-size: 11.5px; }
.q-row span { color: #c2c9db; }
.q-row b { text-align: right; color: var(--green); font-size: 11px; font-weight: 600; }
.q-row i {
  display: block; height: 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07);
  position: relative; overflow: hidden;
}
.q-row i::after {
  content: ""; position: absolute; inset: 0; width: var(--p); border-radius: 999px;
  background: linear-gradient(90deg, #2bd67b, #8ef0b6);
  animation: wid 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  transform-origin: left;
}
.q-row:nth-child(3) i::after { background: linear-gradient(90deg, var(--brand-2), #ffc39a); }
.q-row:nth-child(4) i::after { background: linear-gradient(90deg, var(--amber), #ffe0a3); }

/* 素材网格 */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.tile {
  aspect-ratio: 16 / 9; border-radius: 8px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 18%, rgba(255, 255, 255, 0.16) 46%, transparent 74%);
  transform: translateX(-110%);
  animation: sweep 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.tile:nth-child(2)::after { animation-delay: 0.22s; }
.tile:nth-child(3)::after { animation-delay: 0.44s; }
.tile:nth-child(4)::after { animation-delay: 0.66s; }
.tile:nth-child(5)::after { animation-delay: 0.88s; }
.tile:nth-child(6)::after { animation-delay: 1.1s; }
.tile:nth-child(7)::after { animation-delay: 1.32s; }
.tile:nth-child(8)::after { animation-delay: 1.54s; }
@keyframes sweep { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(110%); } }
.tile::before {
  content: "MP4"; position: absolute; left: 8px; bottom: 6px;
  font-family: var(--mono); font-size: 9px; color: var(--faint); letter-spacing: 1px;
}

/* 折线图 */
.line-chart { width: 100%; height: 116px; display: block; }
.line-chart .line {
  fill: none; stroke: var(--brand-2); stroke-width: 2.4;
  stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(255, 106, 61, 0.55));
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  animation: draw 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.line-chart .line-2 { stroke: var(--cyan); stroke-width: 1.8; animation-delay: 0.3s; filter: drop-shadow(0 0 7px rgba(58, 210, 255, 0.45)); }
.line-chart .area { animation: fadein 1.6s ease 0.6s backwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } }

.table-mini { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; }
.tm-head, .tm-row { display: grid; grid-template-columns: 1fr 92px 78px; gap: 10px; padding: 6px 9px; border-radius: 7px; }
.tm-head { color: var(--faint); font-size: 10.5px; }
.tm-row { background: rgba(255, 255, 255, 0.032); color: #c9d0e0; }
.tm-row span:nth-child(2), .tm-head span:nth-child(2) { text-align: right; }
.tm-row span:nth-child(3), .tm-head span:nth-child(3) { text-align: right; }
.tm-row .good { color: var(--green); font-variant-numeric: tabular-nums; }

/* --- 文案列 --- */
.desc .tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: 1.4px;
  color: var(--brand-2); border: 1px solid rgba(255, 106, 61, 0.32);
  background: rgba(224, 36, 36, 0.1); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px;
}
.desc h3 { font-size: clamp(21px, 2.3vw, 28px); font-weight: 750; letter-spacing: -0.4px; margin-bottom: 12px; }
.desc > p { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.points { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.points li { position: relative; padding-left: 26px; font-size: 13.5px; color: #c3cadb; }
.points li::before {
  content: ""; position: absolute; left: 4px; top: 8px;
  width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 0 10px rgba(224, 36, 36, 0.6);
}
.mini-kpis { display: flex; gap: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.mini-kpis span { display: flex; flex-direction: column; }
.mini-kpis b { font-size: 19px; font-weight: 750; color: #fff; font-variant-numeric: tabular-nums; }
.mini-kpis small { font-size: 11.5px; color: var(--faint); }

/* --- 轮播控件 --- */
.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(10, 12, 18, 0.72);
  color: #dfe4f0; backdrop-filter: blur(10px);
  transition: background 0.22s, transform 0.22s, border-color 0.22s;
}
.car-nav:hover { background: rgba(224, 36, 36, 0.9); border-color: transparent; transform: translateY(-50%) scale(1.08); }
.car-nav.prev { left: -22px; }
.car-nav.next { right: -22px; }

.car-foot { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.car-dots { display: flex; gap: 9px; }
.car-dots button {
  width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.2);
  transition: width 0.34s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s;
}
.car-dots button.on { width: 30px; background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.car-progress { flex: 1; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.car-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}
.car-progress i.run { animation: pg 3s linear forwards; }
@keyframes pg { from { width: 0; } to { width: 100%; } }
.car-count { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.car-count b { color: var(--text); font-size: 15px; }

/* ---------------- 工作流 ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.flow-line { position: absolute; left: 4%; right: 4%; top: 26px; height: 1px; background: var(--line); }
.flow-line i {
  display: block; height: 100%; width: 32%;
  background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
  animation: flow 3.4s linear infinite;
}
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(340%); } }
.flow-step {
  position: relative; padding: 52px 20px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--panel-2); backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}
.flow-step:hover { transform: translateY(-6px); border-color: rgba(224, 36, 36, 0.5); background: rgba(224, 36, 36, 0.05); }
.fs-idx {
  position: absolute; top: -14px; left: 20px;
  font-family: var(--mono); font-size: 13px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), #8c0f0f);
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(224, 36, 36, 0.4);
}
.flow-step h4 { font-size: 16.5px; margin-bottom: 8px; }
.flow-step p { font-size: 13.5px; color: var(--muted); }

/* ---------------- 指标带 ---------------- */
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  border: 1px solid var(--line); border-radius: 22px; padding: 34px 20px;
  background:
    radial-gradient(700px 200px at 50% 0%, rgba(224, 36, 36, 0.12), transparent 70%),
    var(--panel-2);
  backdrop-filter: blur(10px);
}
.metric { text-align: center; position: relative; }
.metric + .metric::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px; background: var(--line);
}
.metric b {
  display: block; font-size: clamp(26px, 3.3vw, 40px); font-weight: 800; letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #ffffff 10%, #ff8a6a 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric span { font-size: 13px; color: var(--muted); }

/* ---------------- 申请 ---------------- */
.section-apply {
  background:
    radial-gradient(900px 400px at 12% 20%, rgba(224, 36, 36, 0.14), transparent 65%),
    radial-gradient(700px 400px at 88% 80%, rgba(58, 210, 255, 0.09), transparent 65%);
}
.apply-grid { display: grid; grid-template-columns: 1fr 460px; gap: 56px; align-items: center; }
.apply-copy h2 { font-size: clamp(25px, 3vw, 37px); line-height: 1.3; font-weight: 750; letter-spacing: -0.5px; margin-bottom: 16px; }
.apply-copy > p { color: var(--muted); margin-bottom: 22px; max-width: 520px; }
.apply-points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.apply-points li { padding-left: 26px; position: relative; font-size: 14px; color: #c3cadb; }
.apply-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 700;
}
.apply-card {
  padding: 30px; border-radius: 22px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 23, 34, 0.94), rgba(10, 12, 18, 0.94));
  box-shadow: var(--shadow); backdrop-filter: blur(14px);
}
.apply-card h3 { font-size: 21px; margin-bottom: 6px; }
.ac-sub { font-size: 13px; color: var(--faint); margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; }
.field > span i { color: var(--brand-2); font-style: normal; }
.field > span em { color: var(--faint); font-style: normal; font-size: 12px; }
.field input {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04);
  color: var(--text); outline: none; transition: border-color 0.22s, box-shadow 0.22s, background 0.22s;
}
.field input::placeholder { color: #4d5466; }
.field input:focus {
  border-color: rgba(224, 36, 36, 0.7); background: rgba(224, 36, 36, 0.06);
  box-shadow: 0 0 0 4px rgba(224, 36, 36, 0.13);
}
.field input.err { border-color: #ff5b5b; box-shadow: 0 0 0 4px rgba(255, 91, 91, 0.14); }
.form-tip { margin-top: 12px; font-size: 11.5px; color: var(--faint); text-align: center; }
.form-tip.ok { color: var(--green); }
.form-tip.bad { color: #ff6b6b; }

/* ---------------- 页脚 ---------------- */
.foot { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); padding: 40px 0 30px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.foot-brand img { height: 26px; width: auto; display: block; opacity: 0.85; }
.foot-brand b { display: block; font-size: 14px; }
.foot-brand small { color: var(--faint); font-size: 11.5px; }
.foot-links { display: flex; gap: 22px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.foot-note { width: 100%; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 24px);
  z-index: 200; padding: 13px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(14, 16, 24, 0.95);
  backdrop-filter: blur(14px); font-size: 14px; opacity: 0;
  transition: opacity 0.3s, transform 0.3s; pointer-events: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-color: rgba(43, 214, 123, 0.5); color: #b9f5d5; }
.toast.bad { border-color: rgba(255, 107, 107, 0.5); color: #ffc9c9; }

/* ---------------- 入场动画 ---------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .slide-grid { grid-template-columns: 1fr; gap: 26px; }
  .apply-grid { grid-template-columns: 1fr; gap: 36px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-line { display: none; }
}
@media (max-width: 1120px) {
  /* 导航链接与品牌文字同时在场的宽度区间放不下：收起品牌文字，只留字标，导航间距收紧 */
  .brand-text { display: none; }
  .brand-logo { height: 26px; }
  .nav-links { gap: 20px; }
}
@media (min-width: 561px) and (max-width: 860px) {
  /* 这一段导航链接已收起，宽度反而够用，恢复品牌文字 */
  .brand-text { display: flex; }
  .brand-logo { height: 30px; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-actions #login-top { display: none; }
  .nav-burger { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    padding: 18px 24px 24px; gap: 16px; background: rgba(6, 7, 11, 0.97);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
  }
  .hero { padding: 128px 0 64px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3)::before { display: none; }
  .car-nav { display: none; }
  .section { padding: 68px 0; }
  .slide-grid { padding: 20px; }
  .split { grid-template-columns: 1fr; }
  .donut-wrap { justify-self: center; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .wrap, .nav-inner { width: calc(100% - 32px); }
  /* v1.1：窄屏只留字标，隐藏两行品牌文字，避免与按钮挤在一起 */
  .brand-text { display: none; }
  .brand-logo { height: 26px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .kpi-row { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric + .metric::before { display: none; }
  .carousel { margin: 0 -4px; }
  .mini-kpis { gap: 18px; }
  .rank-row { grid-template-columns: 88px 1fr 62px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
