/* IDN Code 开屏动画（来自设计稿 index-v2.html 的深色启动舞台）。
   整块样式都锁在 #boot / .boot-fx / .boot 下面，不碰 styles.css 的任何一个选择器；
   #boot 默认 display:none，由 <head> 里的 splash.js 先判断要不要播（返回访问、减少动态效果
   都不播），再给 <html> 加 .boot-on。这样禁脚本、被中断时页面直接就是官网，不会白屏卡住。

   播放流程：深色舞台 → 进度条与四步自检 → 停在"就绪"→ 点击/按键 → 光波从图标中心撑开，
   铺满后撤掉幕布，光波在官网之上淡出。 */

#boot, #boot-fx { display: none; }
html.boot-on #boot {
  display: block;
  position: fixed; inset: 0; z-index: 9999;
  background: #050a15;
}
html.boot-on #boot-fx {
  display: block;
  position: fixed; inset: 0; z-index: 10000;
  pointer-events: none;
}
#boot, #boot * { box-sizing: border-box; }
/* 开屏期间锁住官网滚动，收尾时（去掉 .boot-on）自动恢复 */
html.boot-on body { overflow: hidden; }
.boot {
  --navy-950:#060b17;
  --navy-900:#0a1224;
  --navy-800:#101a30;
  --navy-700:#17233d;

  --ink:#101828;
  --muted:#475467;
  --subtle:#667085;
  --line:#e4e7ec;
  --bg:#f7f9fc;
  --bg-muted:#eff4fb;
  --card:#ffffff;

  --blue-700:#1550d6;
  --blue-600:#1c61f6;
  --blue-500:#1e79f5;
  --sky-500:#10a2f7;
  --cyan-400:#29e8fc;
  --cyan-300:#35f5fd;
  --tint:#eaf3ff;

  --brand-gradient:linear-gradient(135deg,#35f5fd 0%,#10a1f9 52%,#1c61f6 100%);
  --radius:16px;
  --shadow-md:0 12px 28px -10px rgba(16,40,90,.18);
  --shadow-lg:0 28px 60px -24px rgba(16,40,90,.28);

  --font:-apple-system,BlinkMacSystemFont,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
}
.boot * {box-sizing:border-box}
.boot {height:100%;margin:0}
.boot {
  font-family:var(--font);
  background:var(--navy-950);
  overflow:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.boot .bg {position:fixed;inset:0;pointer-events:none;z-index:0}
.boot .bg-dark {
  opacity:0;transition:opacity .9s ease;
  background:
    radial-gradient(120% 88% at 50% 122%, rgba(28,97,246,.38) 0%, rgba(16,68,190,.16) 36%, rgba(6,11,23,0) 70%),
    radial-gradient(66% 42% at 50% 106%, rgba(16,162,247,.18), transparent 72%),
    linear-gradient(180deg,#070d1c 0%,#060b17 58%,#050912 100%);
}
.boot.awake .bg-dark {opacity:1}
.boot .bg-dark::before {
  content:"";position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:radial-gradient(88% 72% at 50% 44%,#000 0%,rgba(0,0,0,.55) 52%,transparent 80%);
          mask-image:radial-gradient(88% 72% at 50% 44%,#000 0%,rgba(0,0,0,.55) 52%,transparent 80%);
  opacity:.9;
}
.boot-fx .wave {
  position:fixed;inset:0;z-index:60;pointer-events:none;
  background:linear-gradient(180deg,#ffffff 0%,#fbfcfe 60%,#f7f9fc 100%);
  opacity:0;visibility:hidden;
  --wx:50%;--wy:42%;
  -webkit-clip-path:circle(0% at var(--wx) var(--wy));
          clip-path:circle(0% at var(--wx) var(--wy));
}
.boot-fx.is-leaving .wave {visibility:visible;animation:wipe .95s cubic-bezier(.42,.02,.22,1) forwards}
@keyframes wipe {
  0%{opacity:1;-webkit-clip-path:circle(0% at var(--wx) var(--wy));clip-path:circle(0% at var(--wx) var(--wy))}
  44%{opacity:1;-webkit-clip-path:circle(125% at var(--wx) var(--wy));clip-path:circle(125% at var(--wx) var(--wy))}
  56%{opacity:1;-webkit-clip-path:circle(150% at var(--wx) var(--wy));clip-path:circle(150% at var(--wx) var(--wy))}
  100%{opacity:0;-webkit-clip-path:circle(170% at var(--wx) var(--wy));clip-path:circle(170% at var(--wx) var(--wy))}
}
.boot-fx .shock {
  position:fixed;left:50%;top:42%;z-index:61;width:150vmax;height:150vmax;
  margin:-75vmax 0 0 -75vmax;border-radius:50%;pointer-events:none;
  border:1.5px solid rgba(41,232,252,.55);
  box-shadow:0 0 60px rgba(41,232,252,.35),inset 0 0 80px rgba(28,97,246,.28);
  transform:scale(.05);opacity:0;
}
.boot-fx.is-leaving .shock {animation:shock .95s cubic-bezier(.42,.02,.22,1) forwards}
@keyframes shock {
  0%{transform:scale(.05);opacity:.9}
  50%{transform:scale(.72);opacity:.45}
  100%{transform:scale(1.05);opacity:0}
}
.boot .dark-stage {
  position:fixed;inset:0;z-index:10;
  display:flex;flex-direction:column;
  transition:opacity .5s ease,transform .5s ease;
}
.boot .topbar {
  display:flex;align-items:center;justify-content:space-between;
  padding:22px clamp(20px,3.4vw,46px);
  position:relative;z-index:3;
}
.boot .brand {display:flex;align-items:center;gap:11px}
.boot .brand .icon {
  width:34px;height:34px;border-radius:9px;display:block;
  box-shadow:0 6px 18px -6px rgba(16,162,247,.75),0 0 0 1px rgba(255,255,255,.10) inset;
}
.boot .brand span {
  font-size:16px;font-weight:700;letter-spacing:-.01em;color:#fff;
}
.boot .topbar-right {display:flex;align-items:center;gap:14px}
.boot .site {
  font-family:var(--mono);font-size:11px;letter-spacing:.08em;
  color:rgba(203,219,245,.55);text-decoration:none;
  transition:color .2s ease;
}
.boot .site:hover {color:#fff}
.boot .pill {
  display:inline-flex;align-items:center;gap:7px;
  padding:6px 12px;border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  font-size:12px;color:rgba(226,236,252,.85);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
}
.boot .pill .dot {
  width:6px;height:6px;border-radius:50%;background:var(--cyan-300);
  box-shadow:0 0 10px var(--cyan-300);
  animation:blink 1.8s ease-in-out infinite;
}
@keyframes blink {0%,100%{opacity:1}50%{opacity:.3}}
.boot .stage-body {
  flex:1;display:flex;align-items:center;justify-content:center;
  padding:0 20px 6vh;position:relative;z-index:2;
}
.boot .launch {
  width:min(700px,100%);
  display:flex;flex-direction:column;align-items:center;text-align:center;
}
.boot .icon-wrap {position:relative;margin-bottom:clamp(20px,3.4vh,30px)}
.boot .icon-wrap .halo {
  position:absolute;left:50%;top:50%;width:280px;height:280px;
  transform:translate(-50%,-50%);
  background:radial-gradient(circle,rgba(41,232,252,.30),rgba(28,97,246,.22) 42%,transparent 68%);
  filter:blur(6px);opacity:0;transition:opacity 1.2s ease .2s;
}
.boot .icon-wrap .ring {
  position:absolute;left:50%;top:50%;width:132px;height:132px;
  margin:-66px 0 0 -66px;border-radius:50%;
  border:1px solid rgba(41,232,252,.35);
  opacity:0;transition:opacity 1s ease;
  animation:ringOut 3.4s ease-out infinite;
}
.boot .icon-wrap .ring:nth-child(3) {animation-delay:1.1s}
.boot .icon-wrap .ring:nth-child(4) {animation-delay:2.2s}
@keyframes ringOut {
  0%{transform:scale(.72);opacity:.0}
  25%{opacity:.55}
  100%{transform:scale(1.55);opacity:0}
}
.boot.awake .icon-wrap .halo {opacity:1}
.boot.awake .icon-wrap .ring {opacity:.9}
.boot .icon-lg {
  position:relative;width:clamp(72px,9vw,92px);height:auto;border-radius:22px;
  display:block;
  transform:scale(.82);opacity:0;
  transition:transform .9s cubic-bezier(.16,1.02,.3,1) .1s,opacity .7s ease .1s;
  box-shadow:
    0 24px 50px -18px rgba(10,80,200,.75),
    0 0 0 1px rgba(255,255,255,.14) inset,
    0 10px 30px -6px rgba(41,232,252,.35);
}
.boot.awake .icon-lg {transform:scale(1);opacity:1}
.boot .launch h1 {
  margin:0 0 10px;
  font-size:clamp(38px,5.6vw,64px);
  line-height:1.04;
  font-weight:800;
  letter-spacing:-.035em;
  color:#fff;
  opacity:0;transform:translateY(14px);
  transition:opacity .8s ease .22s,transform .9s cubic-bezier(.16,1.02,.3,1) .22s;
}
.boot .launch .sub {
  margin:0 0 clamp(24px,4vh,36px);
  font-size:clamp(15px,1.7vw,19px);
  line-height:1.6;
  color:rgba(219,232,252,.66);
  letter-spacing:.01em;
  opacity:0;transform:translateY(12px);
  transition:opacity .8s ease .32s,transform .9s cubic-bezier(.16,1.02,.3,1) .32s;
}
.boot.awake .launch h1, .boot.awake .launch .sub {opacity:1;transform:none}
.boot .progress-row {
  width:min(420px,88%);
  display:flex;align-items:center;gap:14px;
  opacity:0;transition:opacity .7s ease .5s;
}
.boot.awake .progress-row {opacity:1}
.boot .track {
  position:relative;flex:1;height:4px;border-radius:999px;
  background:rgba(255,255,255,.12);overflow:hidden;
}
.boot .fill {
  position:absolute;left:0;top:0;bottom:0;width:0%;border-radius:999px;
  background:var(--brand-gradient);
  box-shadow:0 0 16px rgba(28,161,249,.75);
  transition:width .12s linear;
}
.boot .fill::after {
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);
  transform:translateX(-100%);
  animation:sheen 1.6s ease-in-out infinite;
}
@keyframes sheen {0%{transform:translateX(-100%)}60%,100%{transform:translateX(220%)}}
.boot .pct {
  font-family:var(--mono);font-size:12px;letter-spacing:.04em;
  color:rgba(219,232,252,.72);font-variant-numeric:tabular-nums;
  min-width:38px;text-align:right;
}
.boot .status {
  margin:14px 0 0;height:20px;
  font-size:13px;color:rgba(203,219,245,.6);
  letter-spacing:.01em;
  opacity:0;transition:opacity .5s ease .55s;
}
.boot.awake .status {opacity:1}
.boot .status b {color:#dbe8fc;font-weight:500}
.boot .chips {
  display:flex;flex-wrap:wrap;justify-content:center;gap:9px;
  margin:clamp(22px,3.6vh,30px) 0 0;padding:0;list-style:none;
  opacity:0;transition:opacity .8s ease .7s;
}
.boot.awake .chips {opacity:1}
.boot .chips li {
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  font-size:12.5px;color:rgba(203,219,245,.55);
  transition:color .4s ease,border-color .4s ease,background .4s ease,box-shadow .4s ease;
}
.boot .chips li .tick {
  width:13px;height:13px;border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  display:inline-flex;align-items:center;justify-content:center;
  position:relative;transition:all .35s ease;
}
.boot .chips li .tick svg {width:8px;height:8px;opacity:0;transform:scale(.5);transition:all .3s cubic-bezier(.2,1.4,.4,1)}
.boot .chips li.on {
  color:#eaf3ff;border-color:rgba(41,232,252,.45);
  background:rgba(41,232,252,.10);
  box-shadow:0 0 0 1px rgba(41,232,252,.10) inset,0 8px 22px -14px rgba(41,232,252,.9);
}
.boot .chips li.on .tick {
  border-color:transparent;background:var(--brand-gradient);
}
.boot .chips li.on .tick svg {opacity:1;transform:scale(1)}
.boot .floater {
  position:absolute;z-index:2;
  padding:11px 15px;border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(10,18,36,.72);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 20px 40px -24px rgba(0,0,0,.9);
  font-size:12px;color:rgba(226,236,252,.9);white-space:nowrap;
  opacity:0;transition:opacity 1s ease,transform 1s cubic-bezier(.16,1.02,.3,1);
}
.boot .floater b {
  display:block;font-family:var(--mono);font-size:9.5px;font-weight:600;
  letter-spacing:.16em;color:var(--cyan-300);margin-bottom:4px;
}
.boot .floater.f1 {left:calc(50% - 430px);top:34%;transform:translateY(-50%) translateX(-10px)}
.boot .floater.f2 {right:calc(50% - 430px);top:46%;transform:translateY(-50%) translateX(10px)}
.boot.awake .floater {opacity:1;transform:translateY(-50%)}
.boot .floater::after {
  content:"";position:absolute;top:50%;height:1px;width:34px;
  background:linear-gradient(90deg,rgba(41,232,252,.55),transparent);
}
.boot .floater.f1::after {right:-34px;background:linear-gradient(90deg,rgba(41,232,252,.55),transparent)}
.boot .floater.f2::after {left:-34px;background:linear-gradient(270deg,rgba(41,232,252,.55),transparent)}
.boot .meta {
  position:absolute;left:clamp(20px,3.4vw,46px);bottom:24px;z-index:3;
  display:flex;align-items:center;gap:16px;
  font-size:11.5px;letter-spacing:.04em;color:rgba(203,219,245,.3);
  opacity:0;transition:opacity .8s ease 1s;
}
.boot .meta span+span {position:relative}
.boot .meta span+span::before {
  content:"";position:absolute;left:-9px;top:50%;width:2px;height:2px;border-radius:50%;
  background:rgba(203,219,245,.35);transform:translateY(-50%);
}
.boot.awake .meta {opacity:1}
.boot .hint {
  position:absolute;left:0;right:0;bottom:26px;z-index:3;text-align:center;
  font-size:11.5px;letter-spacing:.06em;color:rgba(203,219,245,.34);
  opacity:0;transition:opacity .8s ease .9s;
}
.boot.awake .hint {opacity:1}
.boot .hint .touch {display:none}
@media (hover:none) {
  .boot .hint .kb {display:none}
  .boot .hint .touch {display:inline}
}
@media (max-width:1100px) {
  .boot .floater {display:none}
}
@media (max-width:900px) {
  .boot .topbar {padding:16px 18px}
  .boot .brand .icon {width:30px;height:30px;border-radius:8px}
  .boot .brand span {font-size:15px}
  .boot .site {display:none}
  .boot .pill {padding:5px 10px;font-size:11px}
  .boot .stage-body {padding:0 20px 4vh}
  .boot .icon-lg {width:96px;border-radius:24px}
  .boot .launch h1 {font-size:clamp(38px,10vw,46px)}
  .boot .launch .sub {font-size:15px;max-width:310px}
  .boot .progress-row {width:min(320px,86%)}
  .boot .chips {
    display:grid;grid-template-columns:1fr 1fr;gap:8px;
    width:min(340px,92%);margin-top:26px;
  }
  .boot .chips li {font-size:11.5px;padding:8px 10px;border-radius:9px;justify-content:flex-start}
  .boot .status {font-size:12px}
  .boot .hint {font-size:11px;bottom:20px}
  .boot .meta {display:none}
}
@media (max-height:660px) {
  .boot .launch .sub {margin-bottom:20px}
  .boot .chips {margin-top:16px}
  .boot .icon-wrap {margin-bottom:14px}
}
@media (prefers-reduced-motion:reduce) {
  .boot *, .boot *::before, .boot *::after {
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.14s !important;
  }
}
/* ---------- 就绪之后：提示从"跳过"变成"进入官网"，亮一点、呼吸一下，明确是等你点 ---------- */
.boot .hint.is-ready .kb,
.boot .hint.is-ready .touch {
  color: #eaf3ff;
  letter-spacing: .08em;
  text-shadow: 0 0 18px rgba(41, 232, 252, .55);
  animation: hintIn 2.6s ease-in-out infinite;
}
@keyframes hintIn { 0%, 100% { opacity: .74; } 50% { opacity: 1; } }

/* ---------- 光波配色改成品牌色 ----------
   设计稿里光波是纯白，因为设计稿下面接的是一张浅色落地页；我们下面接的是官网首页，
   首屏是深色舞台，白光淡出会先把深色页面洗成一层灰。改用品牌径向渐变：光圈中心是青色、
   中间是品牌蓝、外圈收回深色，铺满时是品牌蓝，淡出时是蓝光落在深色首屏上。 */
.boot-fx .wave {
  background: radial-gradient(circle at var(--wx) var(--wy),
    #29e8fc 0%, #10a1f9 30%, #1c61f6 62%, #0b1a3d 100%);
}
