/* =========================================================
   九江一锦软件有限公司 · 官网样式
   1. 变量与重置
   2. 基础排版 / 通用组件
   3. 导航
   4. 首屏
   5. 技术栈滚动条
   6. 服务能力
   7. 数据条
   8. 流程
   9. 案例
   10. 优势
   11. CTA
   12. 页脚
   13. 响应式 / 动效降级
   ========================================================= */

/* ---------- 1. 变量与重置 ---------- */
:root {
  --ink: #0a1020;
  --ink-2: #121a2e;
  --text: #18213a;
  --muted: #5c6780;
  --muted-2: #8a94ab;
  --line: rgba(12, 20, 40, 0.09);
  --line-strong: rgba(12, 20, 40, 0.14);
  --bg: #ffffff;
  --soft: #f5f7fc;
  --brand: #2e5bff;
  --brand-2: #6c4cf1;
  --cyan: #06b6c9;
  --grad: linear-gradient(135deg, #2e5bff 0%, #6c4cf1 100%);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-xs: 0 1px 2px rgba(10, 15, 30, 0.04);
  --shadow-sm: 0 2px 6px rgba(10, 15, 30, 0.04), 0 12px 28px -18px rgba(10, 15, 30, 0.24);
  --shadow-md: 0 30px 70px -40px rgba(10, 15, 30, 0.42), 0 10px 30px -20px rgba(10, 15, 30, 0.18);
  --maxw: 1180px;
  --nav-h: 70px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", monospace;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.22; letter-spacing: -0.018em; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
svg { display: block; }
::selection { background: rgba(46, 91, 255, 0.16); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 12px; }

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

/* ---------- 2. 基础排版 / 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  position: relative;
  padding: 108px 0;
  scroll-margin-top: var(--nav-h);
}
.section--soft {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }

.section__title {
  font-size: clamp(1.75rem, 3.1vw, 2.55rem);
  letter-spacing: -0.026em;
  margin-bottom: 18px;
}
.section__sub {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.section__head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 0.9rem; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 24px -12px rgba(46, 91, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(46, 91, 255, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.btn--primary svg { transition: transform 0.25s var(--ease); }
.btn--primary:hover svg { transform: translateX(4px); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 91, 255, 0.42);
  color: var(--brand);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--light {
  color: #0a1020;
  background: #fff;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.55);
}
.btn--light:hover { transform: translateY(-2px); }

.btn--outline-light {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.btn--outline-light:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-xs);
}
.pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16b981;
  box-shadow: 0 0 0 4px rgba(22, 185, 129, 0.14);
}
.pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #16b981;
  animation: ping 2.4s var(--ease) infinite;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 0.6; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- 3. 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(10, 15, 30, 0.5);
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 6px 14px rgba(46, 91, 255, 0.3)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand__text em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted-2);
  font-weight: 600;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a.is-active { color: var(--ink); font-weight: 600; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.8);
  padding: 0;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 14px; }
.nav__toggle span:nth-child(2) { top: 20px; }
.nav__toggle span:nth-child(3) { top: 26px; }
body.nav-open .nav__toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav__toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- 4. 首屏 ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 92px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 62%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(12, 20, 40, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(12, 20, 40, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 8%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 8%, #000 20%, transparent 78%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.blob--1 {
  width: 520px; height: 520px;
  top: -160px; left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 91, 255, 0.42), transparent 68%);
  animation: drift 22s var(--ease) infinite alternate;
}
.blob--2 {
  width: 560px; height: 560px;
  top: -120px; right: -140px;
  background: radial-gradient(circle at 60% 40%, rgba(108, 76, 241, 0.34), transparent 68%);
  animation: drift 26s var(--ease) infinite alternate-reverse;
}
.blob--3 {
  width: 420px; height: 420px;
  bottom: -220px; left: 42%;
  background: radial-gradient(circle at 50% 50%, rgba(6, 182, 201, 0.24), transparent 70%);
  animation: drift 30s var(--ease) infinite alternate;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(38px, 26px, 0) scale(1.09); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 56px;
  align-items: center;
}

.hero__copy h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.25rem, 4.3vw, 3.65rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.032em;
  color: var(--ink);
}
.hero__sub {
  max-width: 540px;
  font-size: 1.04rem;
  line-height: 1.9;
  color: var(--muted);
}
.hero__sub strong { color: var(--text); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta li { display: flex; flex-direction: column; gap: 2px; }
.hero__meta b {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.hero__meta .unit { font-size: 0.95rem; font-weight: 700; margin-left: 1px; }
.hero__meta span { font-size: 0.82rem; color: var(--muted-2); letter-spacing: 0.02em; }

/* 首屏视觉 */
.hero__copy { min-width: 0; }
.hero__art { position: relative; min-width: 0; }

.window {
  position: relative;
  max-width: 100%;
  border-radius: var(--radius-lg);
  background: #0d1424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 46px 90px -46px rgba(10, 15, 30, 0.65),
    0 18px 40px -30px rgba(10, 15, 30, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.hero__art:hover .window { transform: perspective(1400px) rotateY(-1deg) rotateX(0deg); }

.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--r { background: #ff5f57; }
.dot--y { background: #febc2e; }
.dot--g { background: #28c840; }
.window__title {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.window__body { padding: 20px 18px 24px; }
.code { display: grid; gap: 7px; }
.code__line {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.755rem;
  line-height: 1.55;
  white-space: nowrap;
}
.code__line i {
  flex: 0 0 16px;
  text-align: right;
  font-style: normal;
  color: rgba(255, 255, 255, 0.2);
  user-select: none;
}
.code__line code { color: #c8d3ea; letter-spacing: -0.01em; }
.code .c { color: #5c6b8a; font-style: italic; }
.code .k { color: #b48bff; }
.code .f { color: #6cb6ff; }
.code .t { color: #4fd6c2; }
.code .s { color: #8fd97a; }
.code .n { color: #ffb86b; }
.code .v { color: #e8eefc; }

/* 浮动卡片 */
.float-card {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 54px -28px rgba(10, 15, 30, 0.4), 0 2px 8px rgba(10, 15, 30, 0.05);
  backdrop-filter: blur(14px);
  padding: 14px 16px;
  animation: floaty 7s var(--ease) infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.float-card--stat {
  top: -30px;
  right: -22px;
  width: 178px;
  animation-delay: -1.5s;
}
.float-card--sprint {
  bottom: -54px;
  left: -30px;
  width: 224px;
  animation-delay: -3.6s;
}
.float-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.float-card__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}
.float-card__num {
  display: block;
  margin: 4px 0 2px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.float-card__num small { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
}
.tag--ok { color: #0d8f66; background: rgba(22, 185, 129, 0.12); }
.spark { width: 100%; height: 34px; margin-top: 4px; }

.progress {
  height: 6px;
  margin: 10px 0 9px;
  border-radius: 99px;
  background: rgba(12, 20, 40, 0.08);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad);
}
.float-card--sprint .float-card__row b { font-size: 0.78rem; color: var(--brand); }
.muted { font-size: 0.72rem; color: var(--muted-2); }

/* ---------- 5. 技术栈滚动条 ---------- */
.ticker {
  position: relative;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.ticker__group span {
  position: relative;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted-2);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}
.ticker__group span::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
  transform: translateY(-50%);
}
.ticker__group span:hover { color: var(--brand); }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- 6. 服务能力 ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 91, 255, 0.22);
  box-shadow: var(--shadow-md);
}
.card:hover::before { transform: scaleX(1); }

.card h3 { font-size: 1.16rem; margin-bottom: 12px; }
.card p { font-size: 0.93rem; line-height: 1.85; color: var(--muted); }

.card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border-radius: 13px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.1), rgba(108, 76, 241, 0.1));
  border: 1px solid rgba(46, 91, 255, 0.14);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card:hover .card__icon {
  background: var(--grad);
  color: #fff;
  transform: translateY(-2px);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 22px;
}
.card__tags span {
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--line);
}

/* 特色大卡：整幅横向，内部左右分栏 */
.card--feature {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  padding: 42px 44px;
  background:
    radial-gradient(110% 130% at 100% 0%, rgba(46, 91, 255, 0.09), transparent 60%),
    linear-gradient(180deg, #ffffff, #fafbff);
  border-color: rgba(46, 91, 255, 0.16);
}
.feature__main { display: flex; flex-direction: column; }
.card--feature h3 { font-size: 1.62rem; margin: 16px 0 14px; }
.card--feature p { font-size: 0.96rem; max-width: 44ch; }
.card--feature .card__tags { padding-top: 26px; margin-top: auto; }

.feature__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding-left: 44px;
  border-left: 1px solid var(--line);
}
.feature__viz {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line-strong);
}
.feature__viz-label {
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  text-align: right;
}

.card__badge {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  background: rgba(46, 91, 255, 0.1);
  border: 1px solid rgba(46, 91, 255, 0.16);
}

.check {
  display: grid;
  gap: 13px;
  margin: 0;
}
.check li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--text);
}
.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(22, 185, 129, 0.14);
}
.check li::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 11px;
  width: 6px;
  height: 3px;
  border-left: 1.6px solid #12a06f;
  border-bottom: 1.6px solid #12a06f;
  transform: rotate(-45deg);
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: 150px;
  height: 58px;
}
.mini-bars i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(46, 91, 255, 0.9), rgba(108, 76, 241, 0.35));
}

/* ---------- 7. 数据条 ---------- */
.metrics {
  position: relative;
  padding: 72px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.metrics::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto -10%;
  height: 200%;
  background:
    radial-gradient(circle at 18% 22%, rgba(46, 91, 255, 0.34), transparent 46%),
    radial-gradient(circle at 82% 78%, rgba(108, 76, 241, 0.28), transparent 46%);
  pointer-events: none;
}
.metrics::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.metrics__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 26px;
}
.metric::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.05));
}
.metric strong {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.62));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.52); letter-spacing: 0.04em; }

/* ---------- 8. 流程 ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 12%, var(--line-strong) 88%, transparent);
}
.step {
  position: relative;
  padding-top: 58px;
}
.step__no {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: #fff;
  border: 1px solid rgba(46, 91, 255, 0.24);
  box-shadow: 0 0 0 6px var(--soft), 0 8px 18px -12px rgba(46, 91, 255, 0.6);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.step:hover .step__no {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  transform: translateY(-3px);
}
.step h3 { font-size: 1.05rem; margin-bottom: 9px; }
.step p { font-size: 0.88rem; line-height: 1.8; color: var(--muted); }

/* ---------- 9. 案例 ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.work {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.work:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 91, 255, 0.2);
  box-shadow: var(--shadow-md);
}
.work__thumb {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.work__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 30, 0.14));
  pointer-events: none;
}
.thumb--a {
  background:
    radial-gradient(90% 120% at 15% 10%, rgba(46, 91, 255, 0.34), transparent 58%),
    linear-gradient(140deg, #131c33, #0a1020 70%);
}
.thumb--b {
  background:
    radial-gradient(80% 100% at 80% 0%, rgba(108, 76, 241, 0.4), transparent 60%),
    linear-gradient(160deg, #1a1740, #0d0f24 72%);
}
.thumb--c {
  background:
    radial-gradient(90% 110% at 20% 100%, rgba(6, 182, 201, 0.34), transparent 58%),
    linear-gradient(140deg, #0f2230, #08131c 72%);
}

/* 案例缩略图内部装饰 */
.thumb__ui {
  position: absolute;
  top: 26px;
  left: 30px;
  display: flex;
  gap: 6px;
}
.thumb__ui i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.thumb__chart {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 28px;
  height: 66px;
  display: flex;
  align-items: flex-end;
  gap: 9px;
}
.thumb__chart b {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, rgba(140, 172, 255, 0.95), rgba(108, 76, 241, 0.2));
  animation: barGrow 1.1s var(--ease) both;
}
.work:hover .thumb__chart b { animation-play-state: paused; }
@keyframes barGrow { from { transform: scaleY(0.2); opacity: 0.3; } to { transform: scaleY(1); opacity: 1; } }
.thumb__chart b:nth-child(1) { transform-origin: bottom; animation-delay: 0.05s; }
.thumb__chart b:nth-child(2) { animation-delay: 0.12s; }
.thumb__chart b:nth-child(3) { animation-delay: 0.19s; }
.thumb__chart b:nth-child(4) { animation-delay: 0.26s; }
.thumb__chart b:nth-child(5) { animation-delay: 0.33s; }

.phone {
  position: relative;
  width: 96px;
  height: 148px;
  padding: 12px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 44px -20px rgba(0, 0, 0, 0.6);
  transform: rotate(-6deg);
  transition: transform 0.5s var(--ease);
}
.work:hover .phone { transform: rotate(-2deg) translateY(-4px); }
.phone__bar {
  width: 30px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 99px;
  background: rgba(12, 20, 40, 0.14);
}
.phone__card {
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(46, 91, 255, 0.16), rgba(108, 76, 241, 0.12));
}
.phone__card--sm { height: 22px; margin-top: 6px; }
.phone__row { display: flex; gap: 6px; margin: 6px 0; }
.phone__row i {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  background: rgba(12, 20, 40, 0.07);
}

.thumb__table {
  position: absolute;
  inset: 34px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  opacity: 0.85;
}
.thumb__table span {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.thumb__table span:nth-child(2),
.thumb__table span:nth-child(6),
.thumb__table span:nth-child(8) {
  background: rgba(6, 182, 201, 0.28);
  border-color: rgba(6, 182, 201, 0.42);
}
.thumb__pill {
  position: absolute;
  right: 18px;
  bottom: 16px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #cdf7fb;
  background: rgba(6, 182, 201, 0.18);
  border: 1px solid rgba(6, 182, 201, 0.4);
}

.work__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.work__cat {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand);
}
.work__body h3 { font-size: 1.1rem; margin: 9px 0 10px; }
.work__body p { font-size: 0.9rem; line-height: 1.8; color: var(--muted); }

/* ---------- 10. 优势 ---------- */
.why {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 64px;
  align-items: start;
}
.why__left .section__title { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.why__left .btn { margin-top: 30px; }
.why__list { display: grid; gap: 10px; }
.why__list li {
  display: flex;
  gap: 20px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.why__list li:hover {
  transform: translateX(4px);
  border-color: rgba(46, 91, 255, 0.2);
  box-shadow: var(--shadow-sm);
}
.why__no {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.why__list h3 { font-size: 1.02rem; margin-bottom: 7px; }
.why__list p { font-size: 0.9rem; line-height: 1.8; color: var(--muted); }

/* ---------- 11. CTA ---------- */
.cta {
  position: relative;
  padding: 84px 0;
  background: linear-gradient(120deg, #1a2b6b 0%, #2e5bff 48%, #6c4cf1 100%);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 70% 100% at 70% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 100% at 70% 50%, #000, transparent 78%);
}
.cta::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 66%);
  filter: blur(20px);
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.cta__text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: #fff;
  margin-bottom: 12px;
}
.cta__text p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.85;
}
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 12. 页脚 ---------- */
.footer {
  padding: 76px 0 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  scroll-margin-top: var(--nav-h);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.15fr 1.4fr;
  gap: 56px;
  padding-bottom: 54px;
}
.brand--footer .brand__text strong { color: #fff; font-size: 1.02rem; }
.brand--footer .brand__text em { color: rgba(255, 255, 255, 0.35); }
.footer__desc {
  max-width: 40ch;
  margin: 22px 0 26px;
  font-size: 0.9rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
}
.footer__contact { display: flex; flex-direction: column; gap: 11px; }
.footer__contact a,
.footer__contact span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s var(--ease);
}
.footer__contact a:hover { color: #fff; }
.footer__contact svg { flex: 0 0 auto; opacity: 0.7; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h4 {
  margin-bottom: 5px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}
.footer__col a {
  font-size: 0.89rem;
  color: rgba(255, 255, 255, 0.66);
  width: fit-content;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__col a:hover { color: #fff; transform: translateX(3px); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.42);
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__legal a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.7); }

/* ---------- 返回顶部 ---------- */
.totop {
  position: fixed;
  right: 24px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 28px -14px rgba(10, 15, 30, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s var(--ease), background 0.25s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

/* 入场完成后，把悬停所需的过渡交还给组件自身，避免沿用 0.7s 的入场时长 */
.reveal.is-in.card,
.reveal.is-in.work {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.why__list li.reveal.is-in {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

/* ---------- 13. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero__inner { gap: 44px; }
  .hero__meta { gap: 26px; }
  .float-card--stat { right: -8px; }
  .float-card--sprint { left: -12px; }
}

@media (max-width: 960px) {
  .section { padding: 82px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }

  body.nav-open .nav__links {
    display: flex;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px -34px rgba(10, 15, 30, 0.5);
    animation: menuIn 0.28s var(--ease) both;
  }
  body.nav-open .nav__links a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 0.98rem;
  }
  body.nav-open .nav__links a::after { display: none; }
  body.nav-open .nav__links a:hover { background: var(--soft); }

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

  .hero { padding-top: calc(var(--nav-h) + 48px); }
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__sub { max-width: none; }
  .hero__art { max-width: 560px; margin-inline: auto; width: 100%; }
  .window { transform: none; }
  .hero__art:hover .window { transform: none; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 34px 30px;
  }
  .feature__side {
    padding-left: 0;
    border-left: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .metrics__inner { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .steps::before { display: none; }

  .works { grid-template-columns: repeat(2, 1fr); }
  .work:last-child { display: none; }

  .why { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .section { padding: 66px 0; }
  .section__head { margin-bottom: 38px; }

  .hero { padding-bottom: 66px; }
  .hero__copy h1 { font-size: 2.1rem; }
  .hero__meta { gap: 20px; margin-top: 34px; padding-top: 22px; }
  .hero__meta b { font-size: 1.35rem; }
  .hero__meta li { min-width: 76px; }

  .window__body { padding: 14px 12px 18px; }
  .code__line { font-size: 0.66rem; gap: 10px; }
  .code__line i { flex-basis: 12px; }
  .float-card--stat { top: -22px; right: 2px; width: 148px; padding: 11px 13px; }
  .float-card--sprint { bottom: -26px; left: 2px; width: 190px; padding: 11px 13px; }
  .float-card__num { font-size: 1.24rem; }

  .bento { grid-template-columns: 1fr; }
  .card--feature { padding: 28px 24px; gap: 24px; }
  .card--feature h3 { font-size: 1.34rem; }
  .card { padding: 26px 22px; }

  .metrics { padding: 52px 0; }
  .metrics__inner { grid-template-columns: 1fr 1fr; }

  .steps { grid-template-columns: 1fr; }
  .step { padding-top: 54px; }

  .works { grid-template-columns: 1fr; }
  .work:last-child { display: flex; }

  .why__list li { padding: 20px; gap: 14px; }
  .cta { padding: 62px 0; }
  .cta__actions { width: 100%; }
  .cta__actions .btn { flex: 1; min-width: 140px; }

  .footer { padding-top: 56px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .totop { right: 16px; bottom: 16px; }

  .nav__actions .btn--primary { display: none; }
}

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