/* ==========================================================================
   来霖科技官网 · Blueprint 设计系统
   ========================================================================== */

:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;

  --outer: #f5f6f8;
  --canvas: #ffffff;
  --grid: #eef0f3;
  --grid-2: #e2e4e8;

  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #64748b;
  --ink-4: #94a3b8;

  --blue: #1859eb;
  --blue-d: #1246c4;
  --blue-s: #eff6ff;
  --blue-b: #e5efff;
  --cyan: #38bdf8;

  --frame: 1380px;
  --pad: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background-color: var(--outer);
  background-image: repeating-linear-gradient(45deg, #ebedf0, #ebedf0 1px, #f5f6f8 1px, #f5f6f8 8px);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }
.idx { color: var(--blue); }
em { font-style: normal; color: var(--blue); }

@media (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- 画布 ---------- */
.site-canvas {
  max-width: var(--frame);
  margin: 0 auto;
  background: var(--canvas);
  border-left: 1px solid var(--grid-2);
  border-right: 1px solid var(--grid-2);
  min-height: 100vh;
  position: relative;
  overflow: clip;
}

/* ---------- 预加载 ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  transition: transform .9s var(--ease-io), opacity .4s;
}
.preloader.is-done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.preloader__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 70%);
  animation: gridDrift 6s linear infinite;
}
@keyframes gridDrift { to { background-position: 48px 48px; } }
.preloader__inner { position: relative; width: min(420px, 80vw); }
.preloader__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; margin-bottom: 40px; }
.preloader__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--blue); position: relative; }
.preloader__mark::after { content: ""; position: absolute; left: 6px; top: 5px; width: 3px; height: 11px; background: #fff; box-shadow: 4px 8px 0 0 #fff, 6px 8px 0 0 #fff; }
.preloader__num { font-size: 72px; font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }
.preloader__num small { font-size: 22px; color: var(--blue); margin-left: 4px; }
.preloader__line { height: 2px; background: var(--grid-2); margin: 24px 0 14px; position: relative; overflow: hidden; }
.preloader__line span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); }
.preloader__meta { color: var(--ink-4); }

/* ---------- 光标 ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; opacity: 0; transition: opacity .3s; }
body.has-cursor .cursor { opacity: 1; }
.cursor__dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); transform: translate(-50%, -50%); }
.cursor__ring { position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--blue); transform: translate(-50%, -50%); transition: width .25s, height .25s, background .25s, border-color .25s, opacity .25s; }
.cursor.is-hover .cursor__ring { width: 56px; height: 56px; background: rgba(24, 89, 235, .08); }
.cursor.is-down .cursor__ring { width: 24px; height: 24px; }
.cursor.is-text .cursor__ring { width: 4px; height: 40px; border-radius: 2px; background: var(--blue); border-color: transparent; }

/* ---------- 公告 ---------- */
.announce { padding: 12px 20px 0; transition: max-height .4s var(--ease), opacity .3s, padding .4s; max-height: 80px; overflow: hidden; }
.announce.is-hidden { max-height: 0; opacity: 0; padding: 0 20px; }
.announce__bar { background: var(--blue); color: #fff; border-radius: 8px; height: 40px; display: flex; align-items: center; justify-content: center; position: relative; font-size: 13.5px; overflow: hidden; }
.announce__bar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%); transform: translateX(-100%); animation: shine 4s var(--ease) infinite; }
@keyframes shine { 30%, 100% { transform: translateX(100%); } }
.announce__text { display: flex; align-items: center; gap: 10px; }
.announce__pulse { width: 7px; height: 7px; border-radius: 50%; background: #7ef0c2; box-shadow: 0 0 0 0 rgba(126, 240, 194, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(126, 240, 194, 0); } 100% { box-shadow: 0 0 0 0 rgba(126, 240, 194, 0); } }
.announce__link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.announce__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 18px; width: 28px; height: 28px; border-radius: 6px; }
.announce__close:hover { background: rgba(255,255,255,.18); }

/* ---------- 导航 ---------- */
.header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.85); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--grid); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--grid-2), 0 10px 30px -18px rgba(15, 23, 42, .18); }
.progress { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); z-index: 2; }
.header__inner { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--pad); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; }
.brand__mark { width: 26px; height: 26px; color: var(--blue); display: grid; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-90deg); }
.brand__tag { color: var(--ink-4); font-weight: 500; margin-left: 2px; padding-left: 10px; border-left: 1px solid var(--grid-2); }

.nav { list-style: none; display: flex; gap: 4px; position: absolute; left: 50%; transform: translateX(-50%); }
.nav__btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: background .2s, color .2s; position: relative; }
.nav__btn::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1.5px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__btn:hover { color: var(--ink); }
.nav__btn:hover::after { transform: scaleX(1); }
.nav__btn[aria-expanded="true"] { background: var(--blue-s); color: var(--blue); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s; }
.nav__btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 1px solid var(--grid-2); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--ink-2); transition: border-color .2s, color .2s, background .2s; }
.pill:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-s); }
.burger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* 按钮 */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; transition: transform .2s var(--ease), box-shadow .3s, background .2s, color .2s; will-change: transform; }
.btn > span { position: relative; z-index: 1; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 6px 20px -8px rgba(24, 89, 235, .6); }
.btn--primary::before { content: ""; position: absolute; inset: 0; background: var(--blue-d); transform: translateY(100%); transition: transform .35s var(--ease); }
.btn--primary:hover::before { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--grid-2); color: var(--ink); background: #fff; }
.btn--ghost::before { content: ""; position: absolute; inset: 0; background: var(--blue-s); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost:hover::before { transform: scaleX(1); }
.btn--white { background: #fff; color: var(--ink); border: 1px solid var(--grid-2); }
.btn--white:hover { border-color: var(--ink); }
.btn--lg { height: 48px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.btn--glow { box-shadow: 0 0 0 0 rgba(24,89,235,.4), 0 10px 40px -10px rgba(24,89,235,.8); animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 8px rgba(24,89,235,0), 0 10px 40px -8px rgba(24,89,235,.9); } }

/* 大菜单 */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid-2); display: grid; grid-template-columns: 1.1fr 1fr 1fr; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; box-shadow: 0 30px 60px -30px rgba(15,23,42,.25); }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__col { border-right: 1px solid var(--grid); padding-bottom: 20px; }
.mega__col:last-child { border-right: 0; }
.mega__head { padding: 14px var(--pad); font-size: 13px; color: var(--ink-3); border-bottom: 1px solid var(--grid); }
.mega__row { display: flex; align-items: center; gap: 14px; padding: 16px var(--pad); border-bottom: 1px solid var(--grid); transition: background .2s; position: relative; }
.mega__row:hover { background: var(--blue-s); }
.mega__row:hover .mega__arrow { transform: translateX(0); opacity: 1; }
.mega__icon { width: 40px; height: 40px; border-radius: 10px; background: #f1f5f9; display: grid; place-items: center; color: var(--ink-2); flex: none; transition: background .2s, color .2s; }
.mega__icon svg { width: 20px; height: 20px; }
.mega__row:hover .mega__icon { background: var(--blue); color: #fff; }
.mega__info { display: flex; flex-direction: column; gap: 3px; }
.mega__info b { font-size: 14.5px; }
.mega__info small { font-size: 12.5px; color: var(--ink-3); }
.mega__arrow { margin-left: auto; color: var(--blue); opacity: 0; transform: translateX(-8px); transition: .3s var(--ease); }
.mega__tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px var(--pad); }
.mega__tags a { padding: 6px 12px; border: 1px solid var(--grid-2); border-radius: 999px; font-size: 13px; transition: .2s; }
.mega__tags a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.mega__more { display: inline-flex; gap: 6px; padding: 0 var(--pad); font-size: 13.5px; color: var(--blue); font-weight: 600; }
.mega__more span { transition: transform .3s; }
.mega__more:hover span { transform: translateX(4px); }
.mega__feature { display: block; margin: 18px var(--pad) 0; }
.mega__feature-tag { display: flex; justify-content: space-between; padding: 10px 14px; background: var(--blue-s); color: var(--blue); border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.mega__feature-art { display: block; height: 130px; margin-top: 12px; border-radius: 10px; background: linear-gradient(135deg, #0b1e4b, #1859eb); overflow: hidden; }
.mega__feature-art svg { width: 100%; height: 100%; }
.mega__feature-art .flow { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 14; stroke-dasharray: 400; stroke-dashoffset: 400; animation: flow 2.4s var(--ease) forwards; }
.mega.is-open .f1 { animation-delay: .1s } .mega.is-open .f2 { animation-delay: .25s } .mega.is-open .f3 { animation-delay: .4s } .mega.is-open .f4 { animation-delay: .55s }
@keyframes flow { to { stroke-dashoffset: 0; } }
.mega__feature small { display: block; margin-top: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.backdrop { position: fixed; inset: 0; z-index: 800; background: rgba(15,23,42,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .3s; }
.backdrop.is-open { opacity: 1; visibility: visible; }
.mobile-nav { display: none; }

/* ---------- 区块指示条 ---------- */
.indicator { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--pad); border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); background: #fafbfc; scroll-margin-top: 70px; }
.indicator__tag { color: var(--ink-2); font-weight: 500; }
.indicator__ul { height: 2px; width: 36px; background: var(--blue); margin-top: 8px; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.indicator.in-view .indicator__ul { transform: scaleX(1); }
.indicator__dots { color: var(--ink-4); letter-spacing: 3px; }

/* ---------- 文字动效 ---------- */
[data-split] .ch { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform .9s var(--ease), opacity .5s; }
[data-split] .ch-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.is-in [data-split] .ch, [data-split].is-in .ch { transform: none; opacity: 1; }
[data-split-words] .w { display: inline-block; opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .7s, transform .7s var(--ease), filter .7s; }
[data-split-words].is-in .w { opacity: 1; transform: none; filter: none; }
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s, transform .9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
body.no-js [data-reveal], body.no-js [data-split] .ch, body.no-js [data-split-words] .w { opacity: 1; transform: none; filter: none; }
body.no-js .preloader { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: calc(100vh - 66px); padding: 72px var(--pad) 90px; overflow: hidden; }
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(24,89,235,.16), rgba(56,189,248,.08) 40%, transparent 70%); filter: blur(30px); animation: glowFloat 12s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glowFloat { to { transform: translate(-120px, 80px) scale(1.15); } }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero__eyebrow { color: var(--ink-3); margin-bottom: 26px; }
.hero__title { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; }
.hero__title .line { display: block; }
.line--accent { color: var(--blue); display: flex !important; align-items: baseline; }
.rotator { position: relative; display: inline-grid; height: 1.15em; overflow: hidden; }
.rotator__item { grid-area: 1 / 1; display: block; transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .4s; white-space: nowrap; }
.rotator__item.is-active { transform: none; opacity: 1; }
.rotator__item.is-out { transform: translateY(-110%); opacity: 0; }
.hero__sub { margin-top: 28px; max-width: 520px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.hero__actions { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { margin-top: 56px; display: grid; grid-template-columns: repeat(4, auto); gap: 32px; width: fit-content; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 14px; border-left: 2px solid var(--blue-b); }
.stat b { font-size: 34px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.stat span { font-size: 12.5px; color: var(--ink-3); }
.hero__scroll { position: absolute; left: var(--pad); bottom: 28px; display: flex; align-items: center; gap: 12px; color: var(--ink-4); }
.hero__scroll i { width: 60px; height: 1px; background: var(--grid-2); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: translateX(-100%); animation: scrollLine 1.8s var(--ease-io) infinite; }
@keyframes scrollLine { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* 设备 */
.hero__device { position: relative; justify-self: center; transform-style: preserve-3d; perspective: 1400px; }
.phone { width: 300px; height: 610px; border-radius: 46px; background: #0b1120; padding: 12px; box-shadow: 0 40px 80px -30px rgba(15,23,42,.5), inset 0 0 0 2px #2a3446; position: relative; transform: rotateY(-14deg) rotateX(4deg); transition: transform .6s var(--ease); animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { translate: 0 -12px; } }
.phone__notch { position: absolute; left: 50%; top: 20px; width: 92px; height: 26px; background: #0b1120; border-radius: 14px; transform: translateX(-50%); z-index: 3; }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; background: #f8fafc; overflow: hidden; padding: 58px 18px 18px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.ps__top { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); }
.ps__card { height: 150px; position: relative; transform-style: preserve-3d; transition: transform .9s var(--ease); cursor: pointer; }
.ps__card.is-flip { transform: rotateY(180deg); }
.ps__face { position: absolute; inset: 0; border-radius: 16px; background: #fff; border: 1px solid var(--grid); box-shadow: 0 8px 24px -14px rgba(15,23,42,.25); backface-visibility: hidden; -webkit-backface-visibility: hidden; padding: 14px 16px; display: flex; flex-direction: column; }
.ps__back { transform: rotateY(180deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.ps__label { font-weight: 700; color: var(--blue); }
.ps__back .ps__label { color: #bcd2ff; }
.ps__face p { margin-top: 12px; font-size: 16px; font-weight: 600; line-height: 1.4; }
.ps__face p.big { font-size: 44px; font-weight: 800; }
.ps__hint { margin-top: auto; font-size: 11px; color: var(--ink-4); }
.ps__back small { margin-top: auto; font-size: 11px; opacity: .8; }
.ps__ctrl { display: flex; justify-content: center; gap: 18px; align-items: center; }
.ps__ctrl span { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--grid); display: grid; place-items: center; color: var(--ink-3); font-size: 18px; }
.ps__ctrl .ok { width: 44px; height: 44px; background: var(--blue); color: #fff; border: 0; box-shadow: 0 8px 20px -8px rgba(24,89,235,.8); }
.ps__ctrl .ok svg { width: 20px; height: 20px; }
.ps__ring { position: relative; width: 110px; height: 110px; margin: 4px auto 0; }
.ps__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--grid); stroke-width: 8; }
.ring-fg { fill: none; stroke: var(--blue); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.6s var(--ease); }
.ps__ring-txt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ps__ring-txt b { font-size: 26px; font-weight: 600; }
.ps__ring-txt small { font-size: 10px; color: var(--ink-3); }
.ps__list { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.ps__list div { display: flex; align-items: center; gap: 10px; }
.ps__list i { width: 22px; height: 22px; border-radius: 6px; background: var(--blue-b); }
.ps__list span { flex: 1; height: 6px; border-radius: 3px; background: var(--grid); position: relative; overflow: hidden; }
.ps__list span::after { content: ""; position: absolute; inset: 0; width: 60%; background: var(--blue); transform: translateX(-100%); animation: fillIn 3s var(--ease) infinite; }
.ps__list div:nth-child(2) span::after { width: 40%; animation-delay: .4s; }
.ps__list div:nth-child(3) span::after { width: 80%; animation-delay: .8s; }
@keyframes fillIn { 40%, 80% { transform: none; } }
.ps__tab { display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid var(--grid); }
.ps__tab span { width: 18px; height: 18px; border-radius: 5px; background: var(--grid-2); }
.ps__tab .on { background: var(--blue); }
.device__shadow { position: absolute; left: 50%; bottom: -40px; width: 240px; height: 30px; background: radial-gradient(ellipse, rgba(15,23,42,.25), transparent 70%); transform: translateX(-50%); filter: blur(6px); }
.chip { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--grid-2); border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 500; box-shadow: 0 12px 30px -14px rgba(15,23,42,.3); display: flex; align-items: center; gap: 8px; white-space: nowrap; transform: translateZ(60px); }
.chip b { color: var(--blue); }
.chip__dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.chip--a { left: -70px; top: 110px; animation: chipFloat 5s ease-in-out infinite; }
.chip--b { right: -60px; top: 240px; animation: chipFloat 6s ease-in-out infinite 1s; }
.chip--c { left: -40px; bottom: 120px; background: var(--ink); color: #fff; border-color: var(--ink); animation: chipFloat 5.5s ease-in-out infinite .5s; }
.chip--c b { color: #7ef0c2; }
@keyframes chipFloat { 50% { translate: 0 -10px; } }

/* ---------- 跑马灯 ---------- */
.marquee { border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); overflow: hidden; background: var(--ink); color: #fff; padding: 14px 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.marquee__track i { color: var(--cyan); font-style: normal; font-size: 9px; align-self: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 产品 ---------- */
section { scroll-margin-top: 70px; }
.products__head, .subjects__head, .faqs__head { padding: 64px var(--pad) 40px; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.2; font-weight: 800; letter-spacing: -.03em; max-width: 820px; }
.subjects__head p { margin-top: 16px; color: var(--ink-3); font-size: 15px; }
.products__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grid); }
.pcard { position: relative; padding: 40px var(--pad); border-right: 1px solid var(--grid); min-height: 560px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; transition: transform .5s var(--ease); background: #fff; }
.pcard:last-child { border-right: 0; }
.pcard__top { display: flex; justify-content: space-between; align-items: center; }
.pcard__num { font-size: 13px; color: var(--blue); }
.pcard__tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--blue-b); color: var(--blue); font-weight: 600; }
.pcard h3 { margin-top: 36px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.pcard p { margin-top: 12px; color: var(--ink-2); max-width: 460px; line-height: 1.7; font-size: 15px; }
.pcard__foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; color: var(--ink-3); font-size: 13.5px; }
.pcard__arrow { font-size: 22px; color: var(--blue); transition: transform .4s var(--ease); }
.pcard:hover .pcard__arrow { transform: translate(4px, -4px); }
.pcard--dark { background: #0b1120; color: #fff; }
.pcard--dark p { color: #94a3b8; }
.pcard--dark .pcard__tag { background: rgba(255,255,255,.1); color: #bcd2ff; }
.pcard--dark .pcard__num { color: var(--cyan); }
.pcard--dark .pcard__foot { color: #64748b; }
.pcard__demo { margin: 36px 0 0; height: 200px; position: relative; }
.pcard__demo--term { height: auto; }
.stackcard { position: absolute; left: 0; width: 320px; height: 150px; border-radius: 16px; background: #fff; border: 1px solid var(--grid-2); box-shadow: 0 20px 40px -24px rgba(15,23,42,.35); padding: 18px 20px; transform-origin: bottom center; }
.stackcard .mono { color: var(--blue); }
.stackcard p { margin-top: 10px; font-size: 17px; font-weight: 700; color: var(--ink); }
.stackcard__bar { margin-top: 18px; height: 4px; background: var(--grid); border-radius: 2px; overflow: hidden; }
.stackcard__bar i { display: block; height: 100%; width: 0; background: var(--blue); animation: bar 3s var(--ease) infinite; }
@keyframes bar { 60%, 100% { width: 100%; } }
.s1 { top: 0; z-index: 3; animation: stackTop 6s var(--ease) infinite; }
.s2 { top: 14px; z-index: 2; transform: scale(.94); background: #f8fafc; }
.s3 { top: 28px; z-index: 1; transform: scale(.88); background: #f1f5f9; }
@keyframes stackTop { 0%, 40% { transform: none; } 50% { transform: translateX(120%) rotate(8deg); opacity: 0; } 51% { transform: translateX(-30%) rotate(-6deg) scale(.9); opacity: 0; } 60%, 100% { transform: none; opacity: 1; } }
.pcard:hover .stackcard { animation-play-state: paused; }
.term { width: 100%; max-width: 480px; background: #05080f; border: 1px solid #1e293b; border-radius: 12px; overflow: hidden; }
.term__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid #1e293b; }
.term__bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.term__bar i:first-child { background: #ef4444; } .term__bar i:nth-child(2) { background: #f59e0b; } .term__bar i:nth-child(3) { background: #22c55e; }
.term__bar span { margin-left: auto; color: #475569; }
.term__body { padding: 14px; font-size: 12.5px; line-height: 1.7; color: #cbd5e1; min-height: 140px; white-space: pre-wrap; }
.term__body .c { color: var(--cyan); } .term__body .g { color: #4ade80; } .term__body .y { color: #fbbf24; } .term__body .m { color: #64748b; }
.term__body::after { content: "▍"; color: var(--cyan); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 聚光 */
[data-spot] { position: relative; --mx: 50%; --my: 50%; }
[data-spot]::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(24,89,235,.10), transparent 45%); opacity: 0; transition: opacity .4s; z-index: 0; }
[data-spot]:hover::before { opacity: 1; }
[data-spot] > * { position: relative; z-index: 1; }

/* ---------- 核心能力 ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--grid); }
.fcell { padding: 36px var(--pad) 40px; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); min-height: 250px; transition: background .3s; }
.fcell:nth-child(3n) { border-right: 0; }
.fcell:nth-child(n+4) { border-bottom: 0; }
.fcell:hover { background: #fafbff; }
.fcell__icon { width: 48px; height: 48px; color: var(--blue); }
.fcell__icon svg { width: 100%; height: 100%; }
.fcell__icon .d { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.4s var(--ease); }
.fcell.is-in .fcell__icon .d { stroke-dashoffset: 0; }
.fcell:hover .fcell__icon { animation: iconPop .5s var(--ease); }
@keyframes iconPop { 40% { transform: scale(1.15) rotate(-6deg); } }
.fcell h3 { margin-top: 26px; font-size: 19px; font-weight: 700; }
.fcell p { margin-top: 10px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; max-width: 340px; }
.fcell__idx { position: absolute; right: var(--pad); top: 36px; color: var(--ink-4); }

/* ---------- 试一试 ---------- */
.tryit { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--grid); min-height: 560px; }
.tryit__copy { padding: 64px var(--pad); border-right: 1px solid var(--grid); display: flex; flex-direction: column; justify-content: center; }
.section-label { color: var(--blue); display: block; margin-bottom: 20px; }
.tryit__copy p { margin-top: 20px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; max-width: 440px; }
.tryit__ctrl { margin-top: 36px; display: flex; align-items: center; gap: 18px; color: var(--ink-3); }
.ctrl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--grid-2); display: grid; place-items: center; font-size: 18px; transition: .25s; }
.ctrl:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.tryit__stage { position: relative; display: grid; place-items: center; padding: 60px var(--pad); background: linear-gradient(180deg, #fff, #f8faff); background-image: radial-gradient(var(--grid-2) 1px, transparent 1px); background-size: 24px 24px; overflow: hidden; }
.flash { width: min(440px, 100%); height: 280px; perspective: 1600px; cursor: pointer; position: relative; z-index: 2; outline: none; }
.flash__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flash.is-flip .flash__inner { transform: rotateY(180deg); }
.flash.is-swap .flash__inner { animation: swap .6s var(--ease); }
@keyframes swap { 0% { transform: translateX(0) rotate(0); } 40% { transform: translateX(-40px) rotate(-3deg); opacity: 0; } 60% { transform: translateX(40px) rotate(3deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.flash__face { position: absolute; inset: 0; border-radius: 22px; padding: 28px 30px; background: #fff; border: 1px solid var(--grid-2); box-shadow: 0 30px 60px -30px rgba(15,23,42,.35); backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.flash:focus-visible .flash__face { box-shadow: 0 0 0 3px var(--blue-b), 0 30px 60px -30px rgba(15,23,42,.35); }
.flash__back { transform: rotateY(180deg); background: var(--blue); color: #fff; border-color: var(--blue); }
.flash__cat { color: var(--blue); font-weight: 700; }
.flash__back .flash__cat { color: #bcd2ff; }
.flash__q { margin-top: 18px; font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: -.01em; }
.flash__a { margin-top: 18px; font-size: 38px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.flash__hint { margin-top: auto; font-size: 12px; color: var(--ink-4); }
.flash__note { margin-top: auto; font-size: 13px; opacity: .85; }
.flash__ghost { position: absolute; width: min(440px, 80%); height: 280px; border-radius: 22px; border: 1px solid var(--grid-2); background: #fff; z-index: 1; }
.g1 { transform: translate(14px, 14px) scale(.97); opacity: .7; }
.g2 { transform: translate(28px, 28px) scale(.94); opacity: .4; }

/* ---------- 科目 ---------- */
.subjects__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grid); }
.scell { position: relative; padding: 28px var(--pad) 26px; border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); min-height: 240px; display: flex; flex-direction: column; overflow: hidden; transition: color .35s; }
.scell:nth-child(4n) { border-right: 0; }
.scell:nth-child(n+5) { border-bottom: 0; }
.scell::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); z-index: 0; }
.scell:hover { color: #fff; }
.scell:hover::after { transform: none; }
.scell__glyph { position: absolute; right: 16px; bottom: -10px; font-size: 96px; font-weight: 800; letter-spacing: -.05em; color: var(--grid); line-height: 1; transition: color .4s, transform .6s var(--ease); font-family: var(--font-mono); z-index: 1; }
.scell:hover .scell__glyph { color: var(--blue); transform: translate(-6px, -10px) rotate(-6deg); }
.scell__num { color: var(--ink-4); }
.scell:hover .scell__num, .scell:hover .scell__en { color: #94a3b8; }
.scell b { margin-top: auto; font-size: 22px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.scell__en { margin-top: 8px; color: var(--ink-4); }

/* ---------- 关于 ---------- */
.about__statement { padding: 80px var(--pad); font-size: clamp(24px, 3vw, 40px); line-height: 1.45; font-weight: 700; letter-spacing: -.02em; max-width: 1100px; }
.about__statement .w { color: var(--grid-2); transition: color .35s; }
.about__statement .w.is-on { color: var(--ink); }
.about__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grid); }
.acell { padding: 36px var(--pad) 40px; border-right: 1px solid var(--grid); min-height: 300px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.acell:last-child { border-right: 0; }
.acell .mono { color: var(--blue); }
.acell h3 { margin-top: 26px; font-size: 20px; font-weight: 700; }
.acell p { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.acell--research { background: linear-gradient(160deg, #0b1e4b, #1859eb 80%); color: #fff; }
.acell--research .mono { color: #bcd2ff; }
.acell--research p { color: #dbe7ff; }
.acell--research h3 i { font-style: normal; transition: transform .3s; display: inline-block; }
.acell--research:hover h3 i { transform: translate(3px, -3px); }
.acell__sankey { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; width: 100%; opacity: .5; }
.acell__sankey .sk { fill: none; stroke: #fff; stroke-width: 12; stroke-dasharray: 500; stroke-dashoffset: 500; }
.acell.is-in .sk { animation: flow 2.2s var(--ease) forwards; }
.acell.is-in .sk:nth-child(2) { animation-delay: .15s } .acell.is-in .sk:nth-child(3) { animation-delay: .3s } .acell.is-in .sk:nth-child(4) { animation-delay: .45s }

/* ---------- FAQ ---------- */
.faqs__list { border-top: 1px solid var(--grid); }
.faq { border-bottom: 1px solid var(--grid); }
.faq__row { width: 100%; display: flex; align-items: center; gap: 24px; padding: 24px var(--pad); text-align: left; transition: background .2s; }
.faq__row:hover { background: #fafbff; }
.faq__n { color: var(--ink-4); }
.faq__q { font-size: 17px; font-weight: 600; flex: 1; }
.faq__ic { position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--grid-2); flex: none; transition: .3s; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__row[aria-expanded="true"] .faq__ic { background: var(--blue); border-color: var(--blue); color: #fff; }
.faq__row[aria-expanded="true"] .faq__ic::after { transform: translate(-50%, -50%) rotate(0); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__row[aria-expanded="true"] + .faq__panel { grid-template-rows: 1fr; }
.faq__inner { overflow: hidden; }
.faq__inner p { padding: 0 var(--pad) 26px calc(var(--pad) + 46px); color: var(--ink-2); line-height: 1.75; max-width: 800px; font-size: 15px; }
.faq__inner a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px var(--pad); text-align: center; overflow: hidden; background: #fff; }
.cta h2 { margin: 0 auto; }
.cta p { margin-top: 18px; color: var(--ink-2); font-size: 16px; }
.cta__actions { margin-top: 36px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta__aurora { position: absolute; inset: -20%; pointer-events: none; filter: blur(60px); opacity: .55; }
.cta__aurora i { position: absolute; border-radius: 50%; mix-blend-mode: multiply; }
.cta__aurora i:nth-child(1) { width: 50%; height: 60%; left: 5%; top: 10%; background: #bfd4ff; animation: aur 14s ease-in-out infinite alternate; }
.cta__aurora i:nth-child(2) { width: 45%; height: 55%; right: 5%; top: 20%; background: #c3ecff; animation: aur 11s ease-in-out infinite alternate-reverse; }
.cta__aurora i:nth-child(3) { width: 40%; height: 50%; left: 30%; bottom: 0; background: #dfe6ff; animation: aur 17s ease-in-out infinite alternate; }
@keyframes aur { to { transform: translate(12%, -10%) scale(1.2) rotate(20deg); } }
.cta__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); pointer-events: none; }
.cta > * { position: relative; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--grid); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; }
.footer__art { border-right: 1px solid var(--grid); padding: var(--pad); }
.wave { height: 180px; border-radius: 12px; background: linear-gradient(135deg, #0b1e4b, #1859eb 60%, #38bdf8); position: relative; overflow: hidden; }
.wave canvas { width: 100%; height: 100%; display: block; }
.footer__art-copy { margin-top: 18px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.footer__art-copy b { font-size: 18px; font-weight: 700; }
.footer__art-copy .mono { color: var(--ink-4); }
.footer__contact { display: grid; grid-template-columns: 1fr 1fr; }
.ccell { padding: 24px var(--pad); border-bottom: 1px solid var(--grid); border-right: 1px solid var(--grid); display: flex; flex-direction: column; gap: 8px; transition: background .2s; }
.ccell:nth-child(2n) { border-right: 0; }
.ccell:nth-child(n+3) { border-bottom: 0; }
.ccell .mono { color: var(--ink-4); }
.ccell b { font-size: 15px; font-weight: 600; }
a.ccell:hover { background: var(--blue-s); color: var(--blue); }
.footer__links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--grid); }
.fcol { border-right: 1px solid var(--grid); display: flex; flex-direction: column; }
.fcol:last-child { border-right: 0; }
.fcol__h { padding: 18px var(--pad); font-weight: 700; font-size: 15px; border-bottom: 1px solid var(--grid); }
.fcol a { padding: 14px var(--pad); border-bottom: 1px solid var(--grid); font-size: 14px; color: var(--ink-2); transition: .2s; position: relative; }
.fcol a:hover { color: var(--blue); padding-left: calc(var(--pad) + 8px); background: #fafbff; }
.fcol a::before { content: "→"; position: absolute; left: 8px; opacity: 0; transition: .2s; color: var(--blue); }
.fcol a:hover::before { opacity: 1; left: 12px; }
.footer__legal { display: grid; grid-template-columns: repeat(4, 1fr); }
.lcell { padding: 16px var(--pad); border-right: 1px solid var(--grid); border-bottom: 1px solid var(--grid); font-size: 13px; color: var(--ink-3); display: flex; align-items: center; gap: 4px; }
.lcell:last-child { border-right: 0; }
a.lcell:hover { color: var(--blue); }
.beian { width: 14px; height: 14px; margin-right: 4px; display: inline-block; }
.footer__status { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--pad); font-size: 13px; color: var(--ink-3); }
.status { display: flex; align-items: center; gap: 8px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse2 2s infinite; }
@keyframes pulse2 { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.totop { display: inline-flex; gap: 6px; align-items: center; }
.totop i { font-style: normal; transition: transform .3s; }
.totop:hover i { transform: translateY(-3px); }

.fab { position: fixed; right: 28px; bottom: 28px; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--grid-2); box-shadow: 0 10px 30px -12px rgba(15,23,42,.3); display: grid; place-items: center; color: var(--ink); z-index: 700; opacity: 0; transform: translateY(16px); transition: .3s var(--ease); }
.fab.is-show { opacity: 1; transform: none; }
.fab svg { width: 18px; height: 18px; }
.fab:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__device { margin-top: 40px; }
  .hero { min-height: 0; }
  .hero__stats { grid-template-columns: repeat(2, auto); }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .fcell:nth-child(3n) { border-right: 1px solid var(--grid); }
  .fcell:nth-child(2n) { border-right: 0; }
  .fcell:nth-child(n+4) { border-bottom: 1px solid var(--grid); }
  .fcell:nth-child(n+5) { border-bottom: 0; }
  .subjects__grid { grid-template-columns: repeat(2, 1fr); }
  .scell:nth-child(4n) { border-right: 1px solid var(--grid); }
  .scell:nth-child(2n) { border-right: 0; }
  .scell:nth-child(n+5) { border-bottom: 1px solid var(--grid); }
  .scell:nth-child(n+7) { border-bottom: 0; }
  .about__grid { grid-template-columns: repeat(2, 1fr); }
  .acell:nth-child(2n) { border-right: 0; }
  .acell:nth-child(-n+2) { border-bottom: 1px solid var(--grid); }
  .footer__links, .footer__legal { grid-template-columns: repeat(2, 1fr); }
  .fcol:nth-child(2n) { border-right: 0; }
  .lcell:nth-child(2n) { border-right: 0; }
}
@media (max-width: 768px) {
  :root { --pad: 18px; }
  .burger { display: flex; }
  .pill { display: none; }
  .header__actions .btn { height: 34px; padding: 0 14px; font-size: 13px; }
  .mega { display: none; }
  .mobile-nav { display: flex; flex-direction: column; position: sticky; top: 66px; z-index: 850; background: #fff; border-bottom: 1px solid var(--grid-2); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .mobile-nav.is-open { max-height: 400px; }
  .mobile-nav a { padding: 16px var(--pad); border-bottom: 1px solid var(--grid); font-weight: 600; }
  .hero { padding: 48px var(--pad) 60px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__device { transform: scale(.85); margin: 0 auto; }
  .chip--a { left: -10px; } .chip--b { right: -10px; } .chip--c { left: 0; }
  .hero__scroll { display: none; }
  .products__grid, .tryit, .footer__top, .features__grid, .subjects__grid, .about__grid { grid-template-columns: 1fr; }
  .pcard { border-right: 0; border-bottom: 1px solid var(--grid); min-height: 0; }
  .pcard:last-child { border-bottom: 0; }
  .stackcard { width: 100%; }
  .tryit__copy { border-right: 0; border-bottom: 1px solid var(--grid); padding: 48px var(--pad); }
  .fcell, .scell { border-right: 0 !important; border-bottom: 1px solid var(--grid) !important; min-height: 0; }
  .fcell:last-child, .scell:last-child { border-bottom: 0 !important; }
  .scell { min-height: 180px; }
  .acell { border-right: 0; border-bottom: 1px solid var(--grid); min-height: 0; }
  .footer__art { border-right: 0; border-bottom: 1px solid var(--grid); }
  .footer__links, .footer__legal { grid-template-columns: 1fr; }
  .fcol, .lcell { border-right: 0; }
  .fcol { border-bottom: 1px solid var(--grid); }
  .cta { padding: 80px var(--pad); }
  .fab { right: 16px; bottom: 16px; }
  .announce__text { font-size: 12px; padding: 0 36px 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .cursor { display: none; }
}
