:root {
  --ink: #070a12;
  --ink-soft: #0d1320;
  --paper: #f5f2e9;
  --paper-dim: #c7ccda;
  --muted: #8d96aa;
  --line: rgba(255, 255, 255, 0.15);
  --cyan: #43e2d1;
  --pink: #ff4f8b;
  --yellow: #ffd45a;
  --blue: #609bff;
  --content: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--ink);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.page-visual {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #06122a;
}
.page-visual video {
  width: 104%;
  height: 104%;
  margin: -2%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.04) brightness(0.68);
  transform: scale(1.025);
  will-change: transform;
}
.page-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 7, 15, 0.88) 0%, rgba(4, 7, 15, 0.48) 48%, rgba(4, 7, 15, 0.2) 72%, rgba(4, 7, 15, 0.52) 100%),
    linear-gradient(180deg, rgba(4, 7, 15, 0.2) 0%, rgba(4, 7, 15, 0.15) 56%, var(--ink) 100%);
}
.scroll-meter {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--cyan);
}

.topbar {
  position: fixed;
  inset: 3px 0 auto;
  z-index: 80;
  transition: background 180ms ease, border-color 180ms ease;
}
.topbar.is-scrolled {
  background: rgba(7, 10, 18, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  width: var(--content);
  height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand > span:last-child { display: grid; line-height: 1.1; }
.brand strong { font-size: 1rem; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.brand-wave {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 5px;
}
.brand-wave i { width: 2px; height: 12px; background: currentColor; transform-origin: center; }
.brand-wave i:nth-child(2), .brand-wave i:nth-child(4) { height: 20px; }
.brand-wave i:nth-child(3) { height: 26px; }
.topbar nav { justify-self: center; display: flex; align-items: center; gap: 28px; }
.topbar nav a { position: relative; color: #d8dce5; font-size: 0.87rem; }
.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--cyan);
  transition: right 180ms ease;
}
.topbar nav a:hover::after, .topbar nav a.is-active::after { right: 0; }
.topbar-download { color: var(--ink); background: var(--yellow); border: 1px solid var(--yellow); padding: 9px 14px; border-radius: 4px; font-size: 0.84rem; font-weight: 800; }

.knowledge-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 75;
  width: 304px;
  min-height: 82px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(67, 226, 209, 0.7);
  border-radius: 6px;
  color: var(--paper);
  background: rgba(7, 10, 18, 0.94);
  box-shadow: 7px 7px 0 rgba(255, 79, 139, 0.82);
  backdrop-filter: blur(14px);
  will-change: transform, opacity;
}
.knowledge-float::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--yellow);
}
.knowledge-float:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }
.knowledge-float-signal {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 4px;
}
.knowledge-float-signal i {
  width: 3px;
  height: 16px;
  background: currentColor;
  transform-origin: center;
  will-change: transform;
}
.knowledge-float-signal i:nth-child(2),
.knowledge-float-signal i:nth-child(4) { height: 25px; }
.knowledge-float-signal i:nth-child(3) { height: 34px; }
.knowledge-float-copy { min-width: 0; display: grid; line-height: 1.15; }
.knowledge-float-copy small { color: var(--pink); font: 800 0.62rem Consolas, monospace; text-transform: uppercase; }
.knowledge-float-copy strong { margin-top: 4px; font-size: 1.08rem; }
.knowledge-float-copy em { margin-top: 6px; overflow: hidden; color: var(--muted); font-size: 0.69rem; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.knowledge-float-arrow { color: var(--yellow); font-size: 1.35rem; font-weight: 900; text-align: center; will-change: transform; }

.hero {
  min-height: 94svh;
  padding: 112px 0 64px;
  display: flex;
  align-items: flex-end;
  position: relative;
}
.hero-inner { width: var(--content); min-height: 670px; margin: 0 auto; position: relative; display: flex; align-items: flex-end; }
.hero-copy { width: min(760px, 72%); padding: 40px 0 74px; position: relative; z-index: 2; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--paper-dim); font-size: 0.76rem; text-transform: uppercase; }
.hero-kicker i { width: 54px; height: 1px; background: var(--cyan); }
.hero h1 { margin: 20px 0 0; font-size: clamp(3rem, 7.2vw, 6.9rem); line-height: 0.94; font-weight: 900; }
.hero h1 > span { display: block; }
.hero h1 .title-product { margin-bottom: 12px; color: var(--cyan); font-size: 0.35em; text-transform: uppercase; }
.hero h1 .title-accent { color: var(--yellow); }
.hero-author { width: fit-content; margin-top: 22px; display: flex; align-items: center; gap: 11px; }
.hero-author span { color: var(--paper-dim); font: 800 0.67rem Consolas, monospace; text-transform: uppercase; }
.hero-author i { width: 42px; height: 1px; background: var(--pink); }
.hero-author strong { color: var(--cyan); font-size: 1.18rem; font-weight: 900; }
.hero-lead { width: min(650px, 100%); margin: 26px 0 0; color: #d4d9e3; font-size: 1.02rem; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 46px; padding: 11px 17px; border: 1px solid var(--line); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.button-primary:hover { background: var(--yellow); border-color: var(--yellow); }
.button-quiet { background: rgba(7, 10, 18, 0.58); }
.button-quiet:hover { border-color: var(--cyan); }
.button-disabled { color: var(--muted); background: rgba(7, 10, 18, 0.5); cursor: not-allowed; }
.release-line { margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 0; color: #aeb6c8; font-size: 0.78rem; }
.release-line span, .release-line b { padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--line); }
.release-line > :last-child { border: 0; }
.release-line b { color: var(--cyan); }
.hero-notes { position: absolute; right: 0; top: 34%; width: 245px; border-top: 1px solid rgba(255,255,255,0.28); }
.hero-notes > div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.18); }
.hero-notes span { color: var(--cyan); font: 800 0.7rem Consolas, monospace; }
.hero-notes p { margin: 0; color: #d4d9e3; font-size: 0.78rem; }
.hero-notes b { display: block; color: var(--paper); font-size: 0.7rem; }
.hero-caption { position: absolute; right: 0; bottom: 72px; display: flex; align-items: center; gap: 10px; max-width: 410px; color: var(--paper); }
.hero-caption span { color: var(--pink); font-size: 1.4rem; }
.hero-caption p { margin: 0; font-weight: 700; text-shadow: 0 2px 10px #000; }
.hero-wave { position: absolute; inset: auto 0 12px; height: 42px; display: flex; align-items: center; gap: 4px; overflow: hidden; opacity: 0.72; }
.hero-wave::before { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(255,255,255,0.16); }
.hero-wave i { position: relative; width: 3px; height: var(--wave-height); background: var(--cyan); transform-origin: center; }
.hero-wave i:nth-child(5n) { background: var(--pink); }
.hero-wave i:nth-child(7n) { background: var(--yellow); }
.hero-scroll { position: absolute; left: auto; right: 0; bottom: 12px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; }
.hero-scroll i { display: block; width: 32px; height: 1px; background: var(--paper); }

.section { position: relative; background: var(--ink); padding: 108px 0; }
.content-shell { width: var(--content); margin: 0 auto; }
.section-intro { display: grid; grid-template-columns: 80px minmax(300px, 0.9fr) minmax(320px, 1fr); gap: 28px; align-items: start; margin-bottom: 52px; }
.section-number { display: flex; align-items: center; gap: 8px; color: var(--cyan); font: 800 0.78rem Consolas, monospace; }
.section-number i { width: 30px; height: 1px; background: currentColor; }
.section-kicker { margin: 0 0 10px; color: var(--pink); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.section h2 { margin: 0; font-size: clamp(2.2rem, 4.7vw, 4.7rem); line-height: 1.02; }
.section-intro > p { margin: 34px 0 0; color: var(--muted); }

.workflow-section { background: #090d16; }
.workflow-section::before {
  content: "Next / Creation Timeline";
  position: absolute;
  top: 18px;
  left: max(24px, calc((100% - 1180px) / 2));
  color: var(--cyan);
  font: 800 0.68rem Consolas, monospace;
  text-transform: uppercase;
}
.track-list { border-top: 1px solid var(--line); }
.feature-track { position: relative; display: grid; grid-template-columns: 72px 250px 1fr 72px; gap: 26px; align-items: center; min-height: 126px; padding: 18px 12px; border-bottom: 1px solid var(--line); overflow: hidden; }
.feature-track::before { content: ""; position: absolute; inset: 0; background: rgba(67, 226, 209, 0.075); transform: scaleX(0); transform-origin: left; transition: transform 420ms cubic-bezier(.2,.8,.2,1); }
.feature-track:nth-child(3n+2)::before { background: rgba(255, 79, 139, 0.07); }
.feature-track:nth-child(3n)::before { background: rgba(255, 212, 90, 0.07); }
.feature-track:hover::before { transform: scaleX(1); }
.feature-track > * { position: relative; z-index: 1; }
.track-index { color: var(--cyan); font: 800 1rem Consolas, monospace; }
.track-title small { color: var(--muted); font-size: 0.67rem; text-transform: uppercase; }
.track-title h3 { margin: 3px 0 0; font-size: 1.28rem; }
.feature-track > p { margin: 0; color: #aeb6c8; }
.track-state { color: var(--muted); font: 700 0.62rem Consolas, monospace; text-align: right; }
.track-playhead { position: absolute; inset: 0 auto 0 0; width: 2px; background: var(--yellow); transform: translateX(-2px); }

.scene-section { background: var(--paper); color: #111522; }
.scene-section .section-number { color: #007e72; }
.scene-section .section-kicker { color: #d52564; }
.compact-intro { grid-template-columns: 80px 1fr; }
.scene-reel { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #161b29; }
.scene-step { position: relative; min-height: 390px; padding: 28px; border-right: 1px solid #161b29; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.scene-step:last-child { border-right: 0; }
.scene-step::before { content: ""; position: absolute; inset: 0 0 auto; height: 9px; background: var(--cyan); }
.scene-song::before { background: var(--pink); }
.scene-voice::before { background: var(--yellow); }
.scene-step > span { position: absolute; top: 29px; left: 28px; font: 800 0.7rem Consolas, monospace; text-transform: uppercase; }
.scene-step strong { display: block; font-size: clamp(2rem, 3.2vw, 3.4rem); line-height: 1; }
.scene-step p { margin: 18px 0; color: #4c5363; }
.scene-step em { font-size: 0.76rem; font-style: normal; font-weight: 800; }
.scene-step::after { content: attr(data-frame); position: absolute; top: 65px; right: 18px; color: rgba(17, 21, 34, 0.05); font: 900 8rem/1 Arial, sans-serif; }

.story-section { background: #090d16; }
.alt-section { background: #0e1421; }
.story-list { border-top: 1px solid var(--line); }
.story-row { display: grid; grid-template-columns: 72px minmax(260px, 0.8fr) minmax(320px, 1.2fr); gap: 26px; min-height: 138px; align-items: center; border-bottom: 1px solid var(--line); }
.story-row > span { color: var(--pink); font: 800 0.82rem Consolas, monospace; }
.story-row h3 { margin: 0; font-size: 1.32rem; }
.story-row p { margin: 0; color: var(--muted); }
.advantage-list .story-row > span { color: var(--yellow); }

.download-section { padding: 110px 0; background: var(--paper); color: #101420; }
.download-stage { display: grid; grid-template-columns: 1.15fr 0.85fr; border: 2px solid #111522; box-shadow: 12px 12px 0 var(--pink); }
.download-copy { min-height: 420px; padding: 42px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--yellow); }
.download-scene { margin-bottom: auto; font: 800 0.72rem Consolas, monospace; text-transform: uppercase; }
.download-copy h2 { font-size: clamp(2.6rem, 5vw, 5.4rem); }
.download-copy p { max-width: 560px; margin: 24px 0 0; }
.download-details { padding: 42px; display: flex; flex-direction: column; justify-content: center; background: #111522; color: var(--paper); }
.download-details dl { margin: 0 0 24px; }
.download-details dl div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.download-details dt { color: var(--muted); }
.download-details dd { margin: 0; overflow-wrap: anywhere; }
.download-details .button { align-self: flex-start; }
.release-pending { color: var(--muted); }

footer { background: var(--ink); border-top: 1px solid var(--line); }
.footer-inner { width: var(--content); min-height: 110px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 0.78rem; }
.footer-inner > div:first-child { display: flex; flex-direction: column; }
.footer-inner strong { color: var(--paper); font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 16px; }
.footer-links a:hover { color: var(--cyan); }
.police-record { display: inline-flex; align-items: center; gap: 6px; }
.police-record img { width: 17px; height: 17px; object-fit: contain; }

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .hero-inner { min-height: 760px; }
  .hero-copy { width: min(760px, 88%); }
  .hero-notes { top: 10%; }
  .section-intro { grid-template-columns: 58px 1fr; }
  .section-intro > p { grid-column: 2; margin-top: 0; }
  .feature-track { grid-template-columns: 56px 220px 1fr; }
  .track-state { display: none; }
  .scene-reel { grid-template-columns: 1fr; }
  .scene-step { min-height: 280px; border-right: 0; border-bottom: 1px solid #161b29; }
  .scene-step:last-child { border-bottom: 0; }
  .story-row { grid-template-columns: 50px 0.8fr 1.2fr; }
}

@media (max-width: 680px) {
  :root { --content: min(100% - 28px, 1180px); }
  .topbar-inner { height: 66px; }
  .brand small { display: none; }
  .topbar-download { padding: 8px 10px; font-size: 0.75rem; }
  .knowledge-float {
    right: 14px;
    bottom: 14px;
    width: 210px;
    min-height: 60px;
    grid-template-columns: 36px minmax(0, 1fr) 24px;
    gap: 9px;
    padding: 9px;
    box-shadow: 5px 5px 0 rgba(255, 79, 139, 0.82);
  }
  .knowledge-float-signal { width: 36px; height: 36px; }
  .knowledge-float-signal i { width: 2px; height: 12px; }
  .knowledge-float-signal i:nth-child(2), .knowledge-float-signal i:nth-child(4) { height: 19px; }
  .knowledge-float-signal i:nth-child(3) { height: 26px; }
  .knowledge-float-copy small { font-size: 0.55rem; }
  .knowledge-float-copy strong { font-size: 0.94rem; }
  .knowledge-float-copy em { display: none; }
  .knowledge-float-arrow { font-size: 1.1rem; }
  .hero { min-height: 94svh; padding: 88px 0 28px; }
  .hero-inner { min-height: calc(94svh - 116px); }
  .hero-copy { width: 100%; padding: 22px 0 96px; }
  .hero h1 { margin-top: 16px; font-size: clamp(2.6rem, 13vw, 3.4rem); }
  .hero-author { margin-top: 16px; }
  .hero-author i { width: 28px; }
  .hero-author strong { font-size: 1.02rem; }
  .hero-lead { margin-top: 18px; font-size: 0.9rem; line-height: 1.55; }
  .hero-actions { margin-top: 20px; gap: 8px; }
  .hero-actions .button { min-height: 43px; width: 100%; padding-top: 9px; padding-bottom: 9px; }
  .release-line { display: none; }
  .hero-notes { display: none; }
  .hero-caption { right: auto; left: 0; bottom: 58px; font-size: 0.78rem; }
  .hero-scroll { display: none; }
  .section { padding: 76px 0; }
  .section-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .section-intro > p { grid-column: auto; margin: 0; }
  .section h2 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .feature-track { grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 4px; }
  .feature-track > p { grid-column: 2; }
  .track-title h3 { font-size: 1.08rem; }
  .scene-step { min-height: 250px; padding: 24px; }
  .scene-step > span { left: 24px; top: 24px; }
  .story-row { grid-template-columns: 38px 1fr; gap: 12px; padding: 22px 0; }
  .story-row p { grid-column: 2; }
  .story-row h3 { font-size: 1.08rem; }
  .download-stage { grid-template-columns: 1fr; box-shadow: 7px 7px 0 var(--pink); }
  .download-copy { min-height: 330px; padding: 28px; }
  .download-details { padding: 28px; }
  .download-details dl div { grid-template-columns: 90px 1fr; }
  .download-details .button { width: 100%; }
  .footer-inner { padding: 26px 0; display: block; }
  .footer-links { margin-top: 18px; justify-content: flex-start; gap: 11px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .page-visual video { transform: none !important; }
}
