/* ================================================================
   新增设计板块（A 对比滑块 / B 手法视频墙 / C 全链路看板 / D 粒子标题）
   独立文件，不改动原有样式；不要哪个板块，删掉 index.html 里对应的 <section> 即可
   ================================================================ */

.np-sec { position: relative; overflow: hidden; background: #07080a; color: #fff; }
.np-sec .sec-head { position: relative; z-index: 2; }
.np-glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(80px); opacity: .5; }

/* ---------- B · 剪辑手法视频墙 ---------- */
.np-wall { padding: 16vh 0 18vh; background: linear-gradient(180deg, #eef0f2 0%, #0b0c0e 22%, #07080a 100%); }
.np-wall .np-glow { width: 60vw; height: 40vw; left: 20vw; top: 30%; background: radial-gradient(circle, rgba(241,194,125,.35), transparent 70%); }
.np-wall__stage { position: relative; margin-top: 9vh; height: min(92vh, 900px); perspective: 1600px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.np-wall__tilt { position: absolute; left: 50%; top: 50%; display: grid; gap: 22px;
  transform: translate(-50%, -50%) rotateX(22deg) rotateZ(-8deg) scale(1.08); transform-style: preserve-3d; }
.np-row { display: flex; gap: 22px; width: max-content; animation: npMarquee 70s linear infinite; }
.np-row--rev { animation-direction: reverse; animation-duration: 96s; }
.np-row--slow { animation-duration: 110s; }
.np-row:hover { animation-play-state: paused; }
@keyframes npMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.np-card { position: relative; flex: none; width: 160px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  background: #111; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08) inset;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), filter .6s var(--ease); filter: saturate(.85) brightness(.88); }
.np-card img { width: 100%; height: 100%; object-fit: cover; }
.np-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px; font-size: 13px; letter-spacing: .08em;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); opacity: 0; transform: translateY(8px); transition: all .5s var(--ease); }
.np-card figcaption b { display: block; font: 10px/1 var(--mono); letter-spacing: .25em; color: var(--gold); margin-bottom: 6px; }
.np-card:hover { transform: translateY(-14px) scale(1.06); filter: none; box-shadow: 0 40px 80px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(241,194,125,.55) inset, 0 0 60px -10px rgba(241,194,125,.45); }
.np-card:hover figcaption { opacity: 1; transform: none; }
.np-wall__count { position: relative; z-index: 2; display: flex; justify-content: center; gap: clamp(28px, 6vw, 90px); margin-top: 6vh; }
.np-wall__count div { text-align: center; }
.np-wall__count b { display: block; font: 600 clamp(34px, 4vw, 56px)/1 var(--serif); background: linear-gradient(180deg, #fff, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.np-wall__count span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .25em; color: rgba(255,255,255,.5); }

/* ---------- A · 前后对比滑块 ---------- */
.np-compare { padding: 18vh clamp(20px, 5vw, 80px); background: radial-gradient(120% 80% at 50% 0%, #15161a 0%, #07080a 60%); }
.np-compare .np-glow { width: 520px; height: 520px; left: calc(50% - 260px); top: 40%; background: radial-gradient(circle, rgba(241,194,125,.28), transparent 70%); }
.cmp-wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(20px, 4vw, 70px); max-width: 1180px; margin: 9vh auto 0; }
.cmp-note { max-width: 300px; }
.cmp-note--l { justify-self: end; text-align: right; }
.cmp-note b { display: block; font: 11px/1 var(--mono); letter-spacing: .3em; color: var(--gold-2); margin-bottom: 14px; }
.cmp-note h3 { font: 600 clamp(22px, 2vw, 30px)/1.35 var(--serif); }
.cmp-note p { margin-top: 12px; font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.6); }
.cmp-note ul { margin-top: 16px; list-style: none; display: grid; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); }
.cmp-note li::before { content: "✦"; color: var(--gold); margin-right: 8px; }
.cmp-stage { --x: 50%; position: relative; width: min(380px, 78vw); aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; cursor: ew-resize;
  touch-action: pan-y; user-select: none; background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12) inset, 0 60px 120px -40px rgba(0,0,0,.95), 0 0 100px -30px rgba(241,194,125,.45); }
.cmp-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-top { clip-path: inset(0 0 0 var(--x)); }
.cmp-raw { filter: saturate(.7) brightness(.85); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: linear-gradient(transparent, var(--gold) 15%, var(--gold) 85%, transparent); box-shadow: 0 0 18px var(--gold); }
.cmp-knob { position: absolute; top: 50%; left: var(--x); width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(10,10,12,.55); backdrop-filter: blur(10px); border: 1px solid rgba(241,194,125,.7); color: var(--gold); font-size: 18px; letter-spacing: -2px;
  box-shadow: 0 0 30px rgba(241,194,125,.35); }
.cmp-tag { position: absolute; top: 18px; padding: 6px 12px; border-radius: 99px; font-size: 12px; letter-spacing: .1em; background: rgba(0,0,0,.55); backdrop-filter: blur(8px); }
.cmp-tag--l { left: 16px; } .cmp-tag--r { right: 16px; color: var(--gold); }

/* ---------- C · 全链路看板 ---------- */
.np-pipe { padding: 18vh clamp(20px, 5vw, 80px) 20vh; background: #07080a; }
.np-pipe::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 50%, #000, transparent); }
.pipe-clock { position: relative; z-index: 2; margin: 8vh auto 0; text-align: center; }
.pipe-clock__num { font: 600 clamp(56px, 8vw, 120px)/1 var(--mono); letter-spacing: .04em; background: linear-gradient(180deg, #fff 20%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.pipe-clock__label { margin-top: 12px; font-size: 12px; letter-spacing: .3em; color: rgba(255,255,255,.5); }
.pipe-track { position: relative; z-index: 2; max-width: 1240px; margin: 9vh auto 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.pipe-rail { position: absolute; left: 7%; right: 7%; top: 31px; height: 2px; background: rgba(255,255,255,.1); }
.pipe-rail i { position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--gold-2), var(--gold), #fff); box-shadow: 0 0 16px var(--gold); }
.pipe-node { position: relative; text-align: center; opacity: .38; transition: opacity .6s var(--ease); }
.pipe-node.is-on { opacity: 1; }
.pipe-dot { position: relative; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #0e0f12;
  border: 1px solid rgba(255,255,255,.14); transition: all .6s var(--ease); }
.pipe-node.is-on .pipe-dot { border-color: rgba(241,194,125,.8); box-shadow: 0 0 0 6px rgba(241,194,125,.08), 0 0 40px rgba(241,194,125,.45); }
.pipe-dot svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; color: rgba(255,255,255,.7); transition: color .6s; }
.pipe-node.is-on .pipe-dot svg { color: var(--gold); }
.pipe-node h4 { margin-top: 18px; font: 600 16px/1.3 var(--serif); letter-spacing: .06em; }
.pipe-node p { margin-top: 6px; font: 12px/1.6 var(--mono); color: rgba(255,255,255,.5); }
.pipe-node small { display: inline-block; margin-top: 8px; padding: 3px 8px; border-radius: 99px; font-size: 11px; color: var(--gold); background: rgba(241,194,125,.1); }
.pipe-foot { position: relative; z-index: 2; margin-top: 7vh; text-align: center; font-size: 13px; color: rgba(255,255,255,.45); letter-spacing: .08em; }

/* ---------- D · 粒子标题 ---------- */
.np-particles { height: min(92vh, 860px); display: grid; place-items: center; background: radial-gradient(90% 70% at 50% 50%, #121318 0%, #050506 70%); }
.np-particles canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.np-particles__ui { position: relative; z-index: 2; margin-top: min(48vh, 440px); text-align: center; pointer-events: none; }
.np-particles__ui p { font-size: 15px; letter-spacing: .3em; color: rgba(255,255,255,.6); }
.np-particles__ui a { pointer-events: auto; display: inline-block; margin-top: 26px; padding: 14px 30px; border-radius: 99px; font-size: 14px; letter-spacing: .15em;
  border: 1px solid rgba(241,194,125,.6); color: var(--gold); background: rgba(241,194,125,.06); transition: all .4s var(--ease); }
.np-particles__ui a:hover { background: var(--gold); color: #111; box-shadow: 0 0 40px rgba(241,194,125,.5); }

@media (max-width: 768px) {
  .np-card { width: 110px; }
  .np-wall__stage { height: 60vh; }
  .cmp-wrap { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .cmp-note, .cmp-note--l { justify-self: center; text-align: center; }
  .cmp-note ul { justify-items: center; }
  .pipe-track { grid-template-columns: 1fr; gap: 26px; max-width: 360px; }
  .pipe-rail { left: 31px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pipe-rail i { transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .pipe-node { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; align-items: center; }
  .pipe-node .pipe-dot { grid-row: span 3; margin: 0; }
  .pipe-node h4 { margin-top: 0; }
  .np-particles { height: 70vh; }
  .np-particles__ui { margin-top: 34vh; }
}
@media (prefers-reduced-motion: reduce) { .np-row { animation: none; } }

/* ---------- E · 9.0 热更新倒计时（到点由 countdown.js 自动移除）---------- */
.np-countdown { --mx: 50%; --my: 40%; padding: 18vh clamp(20px, 5vw, 80px) 16vh; text-align: center;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(241,194,125,.10), transparent 60%), radial-gradient(120% 80% at 50% 0%, #121318 0%, #07080a 65%); }
.np-countdown::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 50%, #000, transparent); }
.cd-halo { position: absolute; left: 50%; top: 54%; width: min(980px, 130vw); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: .5;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(241,194,125,.55) 75%, transparent 88%); filter: blur(60px); animation: cdSpin 14s linear infinite;
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 40%, #000 60%, transparent 70%); mask-image: radial-gradient(circle, transparent 38%, #000 40%, #000 60%, transparent 70%); }
@keyframes cdSpin { to { rotate: 360deg; } }
.cd-badge { position: relative; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 16px; border-radius: 99px;
  font: 12px/1 var(--mono); letter-spacing: .28em; color: var(--gold); border: 1px solid rgba(241,194,125,.35); background: rgba(241,194,125,.06); }
.cd-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: cdPulse 1.6s ease-in-out infinite; }
@keyframes cdPulse { 50% { opacity: .25; transform: scale(.7); } }
.np-countdown h2 { position: relative; text-wrap: balance; font: 600 clamp(34px, 4.6vw, 64px)/1.2 var(--serif); letter-spacing: .05em; }
.np-countdown h2 em { font-style: normal; background: linear-gradient(180deg, #fff 10%, var(--gold) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-sub { position: relative; margin-top: 16px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.6); }
.cd-board { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-start; gap: clamp(8px, 1.6vw, 22px); margin: 8vh auto 0; }
.cd-cell { display: grid; justify-items: center; gap: 16px; }
.cd-num { display: flex; gap: clamp(4px, .6vw, 8px); }
.cd-digit { position: relative; width: clamp(48px, 6.4vw, 96px); height: clamp(72px, 9.6vw, 144px); overflow: hidden; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.09) inset, 0 30px 60px -30px rgba(0,0,0,.9), 0 0 40px -18px rgba(241,194,125,.5); }
.cd-digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.55); box-shadow: 0 1px 0 rgba(255,255,255,.05); }
.cd-strip { display: block; transition: transform .7s cubic-bezier(.7, 0, .2, 1); }
.cd-strip i { display: grid; place-items: center; height: clamp(72px, 9.6vw, 144px); font: 600 clamp(40px, 5.6vw, 84px)/1 var(--mono); font-style: normal; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 25%, var(--gold) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-cell span { font: 11px/1 var(--mono); letter-spacing: .4em; color: rgba(255,255,255,.45); }
.cd-colon { align-self: center; margin-top: -28px; font: 600 clamp(30px, 4vw, 56px)/1 var(--mono); color: var(--gold); animation: cdPulse 1s steps(1) infinite; }
.cd-foot { position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; gap: clamp(20px, 4vw, 56px); margin-top: 8vh; flex-wrap: wrap; }
.cd-ring { position: relative; width: 92px; height: 92px; }
.cd-ring svg { width: 100%; height: 100%; rotate: -90deg; }
.cd-ring circle { fill: none; stroke-width: 3; }
.cd-ring__bg { stroke: rgba(255,255,255,.08); }
.cd-ring__bar { --p: 0; stroke: url(#cdGrad); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p) * 100); transition: stroke-dashoffset 1s linear; filter: drop-shadow(0 0 6px rgba(241,194,125,.6)); }
.cd-ring p { position: absolute; inset: 0; display: grid; place-content: center; font: 600 18px/1 var(--mono); color: #fff; }
.cd-ring p small { margin-top: 4px; font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.45); text-align: center; }
.cd-points { display: grid; gap: 10px; text-align: left; font-size: 14px; color: rgba(255,255,255,.72); list-style: none; }
.cd-points li::before { content: "✦"; color: var(--gold); margin-right: 10px; }
.cd-cta { display: inline-block; padding: 14px 30px; border-radius: 99px; font-size: 14px; letter-spacing: .15em; color: #111; background: linear-gradient(90deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 40px -6px rgba(241,194,125,.6); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cd-cta:hover { transform: translateY(-3px); box-shadow: 0 0 60px -4px rgba(241,194,125,.8); }
/* 导航里的倒计时小胶囊 */
.nav__count { display: inline-flex; align-items: center; gap: 8px; margin-right: 12px; padding: 7px 14px; border-radius: 99px; font-size: 12px; letter-spacing: .08em; white-space: nowrap;
  color: rgba(255,255,255,.8); border: 1px solid rgba(241,194,125,.35); background: rgba(241,194,125,.07); }
.nav__count i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: cdPulse 1.6s ease-in-out infinite; }
.nav__count b { font: 600 12px/1 var(--mono); color: var(--gold); font-variant-numeric: tabular-nums; }
@media (max-width: 768px) {
  .cd-colon { display: none; }
  .cd-br { display: block; }
  .cd-board { display: grid; grid-template-columns: repeat(2, auto); gap: 22px 18px; }
  .cd-foot { flex-direction: column; }
  .nav__count { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cd-halo, .cd-colon { animation: none; } .cd-strip { transition: none; } }
