/* =========================================================
   跑马辅助工作台 · 官网原型 v1.0
   ========================================================= */
:root {
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  --navy: #08162b;
  --navy-2: #0c203d;
  --ink: #0b1b33;
  --muted: #5b6b82;
  --muted-2: #8b99ad;
  --line: #e3e9f2;
  --bg: #f6f8fc;
  --brand: #1d4ed8;
  --brand-2: #2563eb;
  --brand-soft: #eaf0ff;
  --teal: #0f766e;
  --teal-soft: #e6f6f2;
  --amber: #d97706;
  --amber-soft: #fff4e3;
  --violet: #6d28d9;
  --violet-soft: #f1ecfd;
  --green: #15803d;
  --green-soft: #e8f7ee;
  --slate-soft: #eef2f7;
  --radius: 16px;
  --shadow-sm: 0 8px 26px -18px rgba(11, 27, 51, .35);
  --shadow-md: 0 22px 60px -34px rgba(11, 27, 51, .4);
  --shadow-lg: 0 40px 100px -45px rgba(4, 16, 36, .75);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 15px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 26px; }

/* ---------- top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.66);
  font-size: 12px;
  letter-spacing: .01em;
}
.topbar-inner { height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-inner b { color: #9fc0ff; font-weight: 700; }
.topbar-inner a { display: inline-flex; align-items: center; gap: 5px; color: #9fc0ff; }
.topbar-inner a:hover { color: #fff; }
.topbar .icon { width: 13px; height: 13px; }

/* ---------- nav ---------- */
.site-header { position: relative; z-index: 30; }
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11,27,51,.35); }
.nav-inner { height: 72px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  border-radius: 11px;
  background: linear-gradient(145deg, #2c5bea, #17328f);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 10px 22px -12px rgba(29,78,216,.9);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 15px; font-weight: 800; letter-spacing: -.01em; }
.brand-text small { margin-top: 3px; color: var(--muted-2); font-size: 9px; font-weight: 650; letter-spacing: .14em; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: 10px; }
.nav-links a { color: var(--muted); font-size: 13.5px; font-weight: 550; transition: color .15s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--brand); }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn .icon { width: 16px; height: 16px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 36px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }
.btn-lg { min-height: 50px; padding: 0 22px; font-size: 14.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2f63f0, #1d4ed8);
  box-shadow: 0 12px 24px -14px rgba(29,78,216,.9);
}
.btn-primary:hover { box-shadow: 0 16px 30px -14px rgba(29,78,216,.9); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d5e7; background: #fbfcff; }
.btn-ghost-on-dark { color: #eaf1ff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); }
.btn-ghost-on-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.btn-light { color: #123a8f; background: #fff; box-shadow: 0 14px 30px -18px rgba(0,0,0,.35); }
.btn-light:hover { background: #f7faff; }
.btn-soft { color: var(--brand); background: var(--brand-soft); border-color: #dbe6ff; }
.btn-soft:hover { background: #dfe9ff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #f4f8ff;
  background:
    radial-gradient(1000px 620px at 12% -10%, rgba(50, 100, 230, .38), transparent 62%),
    radial-gradient(900px 500px at 100% 10%, rgba(15, 118, 110, .28), transparent 58%),
    linear-gradient(145deg, #071226 0%, #0a1c38 55%, #07162c 100%);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 58% 34%, rgba(0,0,0,.8), transparent 74%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 50px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 52px;
}
.hero-copy { max-width: 620px; min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.7);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: .02em;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #5eead4; box-shadow: 0 0 0 4px rgba(94,234,212,.12); }
.hero h1 {
  margin-top: 20px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.14;
  letter-spacing: -.04em;
  font-weight: 800;
}
.hero h1 em { color: #8fb4ff; font-style: normal; }
.hero-copy > p {
  margin-top: 18px;
  max-width: 570px;
  color: rgba(235,243,255,.66);
  font-size: 15px;
  line-height: 1.85;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: rgba(235,243,255,.48); font-size: 11.5px; }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta .icon { width: 14px; height: 14px; color: rgba(159,192,255,.75); }

/* ---------- app mock ---------- */
.hero-visual { position: relative; min-width: 0; padding: 6px 0 18px; }
.app-window {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 610px;
  min-width: 0;
  margin-left: auto;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f7fc;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: perspective(1400px) rotateX(2deg) rotateY(-2.5deg);
  transform-origin: 70% 30%;
}
.app-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  background: #0b1b31;
  color: rgba(255,255,255,.6);
  font-size: 10px;
}
.traffic { display: flex; gap: 5px; }
.traffic i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.traffic i:nth-child(1) { background: #f87171; }
.traffic i:nth-child(2) { background: #fbbf24; }
.traffic i:nth-child(3) { background: #34d399; }
.app-title { flex: 1; color: rgba(255,255,255,.72); font-weight: 600; letter-spacing: .02em; }
.app-live { display: inline-flex; align-items: center; gap: 5px; color: #6ee7b7; font-size: 9px; }
.app-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.12); }
.app-body { display: grid; grid-template-columns: 142px minmax(0, 1fr); min-height: 370px; }
.app-sidebar { display: flex; flex-direction: column; padding: 14px 10px 12px; background: #0c1d35; color: rgba(255,255,255,.58); }
.app-brand { display: flex; align-items: center; gap: 7px; padding: 0 6px 16px; }
.app-brand span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(145deg,#3b6cf6,#1d4ed8); color: #fff; font-size: 10px; font-weight: 800; }
.app-brand b { color: rgba(255,255,255,.82); font-size: 9px; letter-spacing: .12em; }
.app-nav { display: flex; flex-direction: column; gap: 3px; }
.app-nav span { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 7px; font-size: 9.5px; }
.app-nav .icon { width: 12px; height: 12px; opacity: .7; }
.app-nav .active { color: #fff; background: rgba(59,108,246,.35); }
.app-user { display: flex; align-items: center; gap: 7px; margin-top: auto; padding: 10px 6px 0; border-top: 1px solid rgba(255,255,255,.09); }
.avatar { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(94,234,212,.16); color: #5eead4; font-size: 9px; font-weight: 700; }
.app-user b { display: block; color: rgba(255,255,255,.8); font-size: 9px; }
.app-user small { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: rgba(255,255,255,.4); font-size: 8px; }
.app-user small i { width: 4px; height: 4px; border-radius: 50%; background: #34d399; }
.app-main { min-width: 0; padding: 14px 14px 12px; }
.app-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.app-head h4 { font-size: 13px; font-weight: 750; letter-spacing: -.01em; }
.app-head p { margin-top: 3px; color: #8492a8; font-size: 8.5px; }
.app-pill { padding: 4px 7px; border-radius: 999px; font-size: 8px; font-weight: 650; white-space: nowrap; }
.app-pill.green { color: #15803d; background: #e8f7ee; }
.app-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; margin-top: 12px; }
.app-stats > div { padding: 9px 9px 8px; border: 1px solid #e6edf7; border-radius: 9px; background: #fff; }
.app-stats span { display: block; color: #8b99ad; font-size: 8px; }
.app-stats b { display: inline-block; margin-top: 3px; font-size: 16px; line-height: 1; letter-spacing: -.04em; }
.app-stats small { margin-left: 3px; color: #9aa7b9; font-size: 8px; }
.app-table { margin-top: 10px; border: 1px solid #e6edf7; border-radius: 9px; background: #fff; overflow-x: auto; overflow-y: hidden; }
.app-tr { display: grid; grid-template-columns: 1.25fr .8fr .55fr 1fr .9fr; gap: 6px; align-items: center; padding: 8px 9px; border-top: 1px solid #eef3f9; color: #44546a; font-size: 8.5px; }
.app-tr:first-child { border-top: 0; }
.app-tr span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.app-tr b { color: #b45309; font-size: 8.5px; }
.app-status { justify-self: start; padding: 3px 6px; border-radius: 5px; font-size: 7.5px; font-weight: 650; white-space: nowrap; }
.app-status.ok { color: #15803d; background: #e8f7ee; }
.app-status.warn { color: #b45309; background: #fff4e3; }
.app-th { background: #f8fafd; color: #93a1b5; font-size: 8px; font-weight: 650; }
.app-tr .dot-avatar { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 4px; border-radius: 50%; background: #eef3fb; color: #5b6b82; font-size: 7px; font-style: normal; vertical-align: middle; }
.app-refill { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 10px 11px; border-radius: 9px; background: #0f2a4f; color: #fff; }
.app-refill span { display: block; color: rgba(255,255,255,.48); font-size: 8px; }
.app-refill b { display: block; margin-top: 2px; font-size: 15px; letter-spacing: -.03em; }
.app-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 7px; background: #3b6cf6; color: #fff; font-size: 8.5px; font-weight: 650; }
.app-btn .icon { width: 10px; height: 10px; }
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,.5);
  color: var(--ink);
  backdrop-filter: blur(8px);
  animation: floaty 5.6s ease-in-out infinite;
}
.float-totp { top: 16px; right: -14px; }
.float-refill { left: -22px; bottom: 18px; display: block; min-width: 132px; animation-delay: -2.8s; }
.float-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #e8f7ee; color: #15803d; }
.float-icon .icon { width: 14px; height: 14px; }
.float-totp small, .float-refill small { display: block; color: #8b99ad; font-size: 8px; }
.float-totp b, .float-refill b { display: block; margin-top: 1px; font-size: 10px; }
.float-ok { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e8f7ee; color: #15803d; }
.float-ok .icon { width: 11px; height: 11px; }
.float-bar { display: block; height: 4px; margin-top: 7px; border-radius: 99px; background: #e8eef8; overflow: hidden; }
.float-bar i { display: block; width: 100%; height: 100%; background: #34d399; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- trust strip ---------- */
.trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.trust-strip > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 9px; align-items: center; }
.trust-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.07); color: #9fc0ff; }
.trust-icon .icon { width: 15px; height: 15px; }
.trust-strip b { color: rgba(255,255,255,.82); font-size: 10.5px; font-weight: 650; }
.trust-strip small { grid-column: 2; color: rgba(255,255,255,.4); font-size: 9px; }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section-head { max-width: 710px; }
.kicker { display: inline-flex; align-items: center; gap: 7px; color: var(--brand); font-size: 10.5px; font-weight: 750; letter-spacing: .16em; }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.section-head p { margin-top: 14px; max-width: 620px; color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.section-head.light { color: #f4f8ff; }
.section-head.light .kicker { color: #8fb4ff; }
.section-head.light p { color: rgba(235,243,255,.6); }

/* ---------- features ---------- */
.features { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; margin-top: 38px; }
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 220px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfcff);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: #c9d9f5; box-shadow: var(--shadow-md); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; }
.feature-icon .icon { width: 19px; height: 19px; }
.feature-icon.blue { color: var(--brand); background: var(--brand-soft); }
.feature-icon.teal { color: var(--teal); background: var(--teal-soft); }
.feature-icon.amber { color: var(--amber); background: var(--amber-soft); }
.feature-icon.violet { color: var(--violet); background: var(--violet-soft); }
.feature-icon.green { color: var(--green); background: var(--green-soft); }
.feature-icon.slate { color: #475569; background: var(--slate-soft); }
.feature-card h3 { margin-top: 16px; font-size: 16px; font-weight: 750; letter-spacing: -.015em; }
.feature-card p { margin-top: 7px; color: var(--muted); font-size: 12.5px; line-height: 1.75; }
.feature-tag { align-self: flex-start; margin-top: auto; padding: 4px 8px; border-radius: 6px; background: #f2f6fc; color: #7c8ca3; font-size: 9.5px; font-weight: 600; letter-spacing: .02em; }

/* ---------- workflow ---------- */
.workflow {
  position: relative;
  overflow: hidden;
  color: #f4f8ff;
  background:
    radial-gradient(800px 500px at 15% 0%, rgba(50, 100, 230, .22), transparent 60%),
    linear-gradient(145deg, #071226 0%, #0b1e3a 60%, #07162c 100%);
}
.workflow::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0,0,0,.7), transparent 76%);
}
.workflow .container { position: relative; z-index: 1; }
.workflow-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 38px; }
.workflow-step { padding: 22px 20px; border: 1px solid rgba(255,255,255,.11); border-radius: 14px; background: rgba(255,255,255,.045); }
.step-num { font: 700 11px/1 var(--font-mono); color: #8fb4ff; letter-spacing: .08em; }
.workflow-step h3 { margin-top: 16px; font-size: 15px; font-weight: 750; }
.workflow-step p { margin-top: 7px; color: rgba(235,243,255,.52); font-size: 12px; line-height: 1.75; }
.workflow-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(143,180,255,.16); border-radius: 12px; background: rgba(143,180,255,.06); }
.workflow-note-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 auto; border-radius: 9px; background: rgba(143,180,255,.12); color: #9fc0ff; }
.workflow-note b { display: block; color: rgba(255,255,255,.85); font-size: 12px; }
.workflow-note span { display: block; margin-top: 3px; color: rgba(235,243,255,.48); font-size: 11px; line-height: 1.65; }

/* ---------- split ---------- */
.split-section { background: var(--bg); }
.split { display: grid; grid-template-columns: 1fr .92fr; gap: 64px; align-items: center; }
.split-copy h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.split-copy > p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; }
.check-list li > span { display: grid; place-items: center; width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.check-list .icon { width: 12px; height: 12px; }
.check-list b { display: block; font-size: 12.5px; font-weight: 700; }
.check-list small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.check-list.compact { gap: 10px; margin-top: 18px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--brand); font-size: 12.5px; font-weight: 650; border-bottom: 1px solid #c9d9f5; padding-bottom: 2px; }
.text-link .icon { width: 14px; height: 14px; }
.split-visual { position: relative; display: flex; flex-direction: column; gap: 12px; }
.status-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.status-card.small { max-width: 88%; margin-left: auto; padding: 16px 18px; }
.status-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 10.5px; font-weight: 650; }
.status-head > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.12); }
.status-time { color: var(--muted-2); font-weight: 500; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #eef3f9; color: var(--muted); font-size: 11px; }
.status-row:last-of-type { border-bottom: 0; }
.status-row b { color: var(--ink); font-size: 11.5px; font-weight: 650; }
.status-row b.ok { color: var(--green); }
.status-divider { height: 1px; margin: 8px 0; background: var(--line); }
.status-result { display: flex; align-items: center; gap: 9px; padding: 10px 11px; border-radius: 10px; background: #f2f9f5; }
.result-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green); }
.result-icon .icon { width: 14px; height: 14px; }
.status-result b { display: block; font-size: 11.5px; }
.status-result small { display: block; margin-top: 1px; color: var(--muted); font-size: 9.5px; }
.result-amount { margin-left: auto; color: var(--green); font: 700 12px/1 var(--font-mono); }
.totp-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.totp-code { font: 700 20px/1 var(--font-mono); letter-spacing: .08em; color: var(--ink); }
.totp-line .ok { color: var(--green); font-size: 10px; font-weight: 650; }
.status-card.small p { margin-top: 8px; color: var(--muted-2); font-size: 9.5px; }

/* ---------- download ---------- */
.download-section { background: #fff; }
.download-card {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid #dce7f8;
  border-radius: 20px;
  background:
    radial-gradient(700px 300px at 8% 0%, rgba(29,78,216,.08), transparent 60%),
    linear-gradient(135deg, #f0f5ff, #fbfdff 60%, #f7fbff);
  box-shadow: var(--shadow-md);
}
.download-main { padding: 34px 34px 30px; }
.download-main h2 { margin-top: 12px; font-size: clamp(28px, 3.3vw, 38px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.download-main > p { margin-top: 12px; max-width: 560px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.file-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.file-meta span { padding: 4px 8px; border: 1px solid #dbe6f6; border-radius: 6px; background: rgba(255,255,255,.6); color: #6b7c93; font-size: 9.5px; font-weight: 550; }
.download-side { padding: 28px 28px 26px; border-left: 1px solid #e2ebf8; background: rgba(255,255,255,.58); }
.download-side-title { color: #7c8ca3; font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.download-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid #edf3fb; font-size: 10.5px; }
.download-row span { color: #8796aa; white-space: nowrap; }
.download-row b { color: var(--ink); font-size: 10.5px; font-weight: 650; text-align: right; }
.download-row b.hash { color: #8b99ad; font: 500 9.5px/1.5 var(--font-mono); }
.download-tip { display: flex; align-items: flex-start; gap: 7px; margin-top: 14px; color: #7a8aa0; font-size: 9.5px; line-height: 1.65; }
.download-tip .icon { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 1px; color: var(--teal); }
.release-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.release-card { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.release-badge { display: inline-flex; padding: 4px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font: 700 9px/1 var(--font-mono); letter-spacing: .04em; }
.release-badge.muted { background: #f1f5fb; color: #718198; }
.release-card h3 { margin-top: 12px; font-size: 14px; font-weight: 750; }
.release-card ul, .release-card ol { margin: 10px 0 0; padding-left: 16px; color: var(--muted); font-size: 11.5px; line-height: 1.9; }
.release-card li::marker { color: #a9b7c9; }

/* ---------- license ---------- */
.license-section { background: var(--bg); }
.license-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 64px; align-items: center; }
.license-copy h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.license-copy > p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.license-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-md); }
.license-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.license-label { color: #8b99ad; font: 700 9px/1 var(--font-mono); letter-spacing: .14em; }
.license-live { display: inline-flex; align-items: center; gap: 5px; color: var(--green); font-size: 9px; font-weight: 650; }
.license-live i { width: 5px; height: 5px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52,211,153,.12); }
.license-code { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #0d1b30; color: #dbe7ff; font: 600 15px/1 var(--font-mono); letter-spacing: .06em; }
.license-progress { height: 6px; margin-top: 18px; border-radius: 99px; background: #e9eff8; overflow: hidden; }
.license-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #34d399, #0f766e); }
.license-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; color: var(--muted-2); font-size: 9px; }
.license-divider { height: 1px; margin: 16px 0 4px; background: var(--line); }
.license-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; color: var(--muted); font-size: 10.5px; }
.license-row b { color: var(--ink); font-size: 10.5px; }
.license-card .btn { margin-top: 14px; min-height: 38px; font-size: 11px; }

/* ---------- faq ---------- */
.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; align-items: start; }
.faq-head h2 { margin-top: 14px; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -.035em; font-weight: 800; }
.faq-head p { margin-top: 14px; color: var(--muted); font-size: 13.5px; line-height: 1.8; }
.faq-head a { color: var(--brand); border-bottom: 1px solid #c9d9f5; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; color: var(--ink); font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 16px; height: 16px; flex: 0 0 auto; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; border-radius: 2px; background: #8b99ad; transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item p { padding: 0 26px 18px 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* ---------- cta ---------- */
.cta-band {
  color: #f4f8ff;
  background:
    radial-gradient(760px 300px at 20% 0%, rgba(120,170,255,.28), transparent 62%),
    linear-gradient(120deg, #123a8f, #1d4ed8 58%, #0f766e 140%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 46px; padding-bottom: 46px; }
.kicker.light { color: #c7d9ff; }
.cta-inner h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; font-weight: 800; }
.cta-inner p { margin-top: 8px; color: rgba(255,255,255,.65); font-size: 12.5px; }

/* ---------- footer ---------- */
.footer { color: rgba(255,255,255,.6); background: #071226; }
.footer-main { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,.35); }
.footer-brand p { margin-top: 16px; color: rgba(255,255,255,.42); font-size: 11.5px; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col b { margin-bottom: 3px; color: rgba(255,255,255,.82); font-size: 11px; font-weight: 700; }
.footer-col a { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.42); font-size: 11px; }
.footer-col a:hover { color: #c7d9ff; }
.footer-col .icon { width: 11px; height: 11px; }
.footer-note { color: rgba(255,255,255,.24); font-size: 10px; }
.footer-bottom { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.28); font-size: 9.5px; }
.footer-grow { flex: 1; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 12, 26, .62); backdrop-filter: blur(5px); }
.modal-card { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 26px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: #fff; box-shadow: 0 40px 100px -30px rgba(0,0,0,.55); animation: modalIn .18s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: #f2f5fa; color: #6b7c93; }
.modal-close:hover { background: #e8eef8; color: var(--ink); }
.modal-close .icon { width: 14px; height: 14px; }
.modal-card h3 { margin-top: 10px; font-size: 21px; letter-spacing: -.02em; font-weight: 800; }
.modal-desc { margin-top: 8px; color: var(--muted); font-size: 11.5px; line-height: 1.7; }
.modal-file { display: flex; align-items: center; gap: 10px; margin: 16px 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #f8fafd; }
.modal-file-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.modal-file-icon .icon { width: 17px; height: 17px; }
.modal-file b { display: block; font: 600 10.5px/1.4 var(--font-mono); }
.modal-file small { display: block; margin-top: 2px; color: var(--muted-2); font-size: 9.5px; }
.modal-file-tag { margin-left: auto; padding: 3px 6px; border-radius: 5px; background: #eef3fa; color: #7a8aa0; font: 600 8px/1 var(--font-mono); }
.modal-card .btn + .btn { margin-top: 8px; }
.modal-hash { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 10px; border-radius: 8px; background: #f6f8fc; }
.modal-hash code { flex: 1; color: #718198; font: 500 9.5px/1.4 var(--font-mono); overflow-wrap: anywhere; }
.modal-hash button { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: #6b7c93; }
.modal-hash .icon { width: 12px; height: 12px; }
.modal-note { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; color: #8b99ad; font-size: 9.5px; line-height: 1.6; }
.modal-note .icon { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 1px; color: var(--teal); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 100; max-width: calc(100vw - 40px); padding: 11px 16px; border-radius: 10px; background: #0b1b33; color: #fff; font-size: 12px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.55); opacity: 0; pointer-events: none; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .hero-inner { gap: 34px; }
  .float-totp { right: -4px; }
  .float-refill { left: -8px; }
  .nav-links { gap: 20px; }
}
@media (max-width: 980px) {
  .section { padding: 76px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; padding-top: 54px; padding-bottom: 42px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { max-width: 680px; }
  .app-window { margin: 0 auto; transform: none; }
  .workflow-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .split, .license-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .split-visual { max-width: 560px; }
  .download-card { grid-template-columns: 1fr; }
  .download-side { border-left: 0; border-top: 1px solid #e2ebf8; }
  .footer-main { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-col:last-child { display: none; }
}
@media (max-width: 860px) {
  .nav-inner { height: 64px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-links {
    position: absolute;
    top: 64px; left: 0; right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 26px 14px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 40px -30px rgba(11,27,51,.45);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 0; border-bottom: 1px solid #f0f4fa; font-size: 14px; }
  .nav-actions { margin-left: 8px; }
  .nav-actions .btn-primary { min-height: 34px; padding: 0 11px; font-size: 11.5px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .release-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, minmax(0,1fr)); row-gap: 16px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1.5fr 1fr; gap: 28px; }
  .footer-col:nth-child(3) { display: none; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .topbar-inner { height: auto; min-height: 34px; padding: 6px 0; font-size: 10px; }
  .topbar-inner span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-text strong { font-size: 13.5px; }
  .brand-text small { font-size: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 15px; }
  .nav-actions .btn-primary { display: none; }
  .hero h1 { font-size: 36px; }
  .hero-copy > p { font-size: 13.5px; }
  .hero-meta { gap: 10px 14px; font-size: 10.5px; }
  .section { padding: 62px 0; }
  .section-head h2, .split-copy h2, .license-copy h2, .faq-head h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .workflow-grid { grid-template-columns: 1fr; }
  .app-body { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }
  .app-window { border-radius: 12px; }
  .app-stats b { font-size: 14px; }
  .app-tr { grid-template-columns: 1.2fr .8fr .5fr .9fr .8fr; font-size: 7.8px; }
  .float-card { display: none; }
  .download-main { padding: 24px 20px; }
  .download-side { padding: 22px 20px; }
  .download-actions .btn { width: 100%; }
  .file-meta { gap: 5px; }
  .split-visual { max-width: none; }
  .status-card.small { max-width: none; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; }
  .footer-col:nth-child(3) { display: flex; }
  .footer-bottom { display: block; font-size: 9px; line-height: 1.8; }
  .footer-bottom span { display: block; margin-top: 5px; }
  .footer-grow { display: none; }
  .modal-card { padding: 22px 18px; }
  .cta-inner { padding-top: 36px; padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
