:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #0a0b0d;
  --panel-2: #101216;
  --ink: #f4f7fb;
  --muted: #9ba3b0;
  --faint: #59616d;
  --line: #232831;
  --line-strong: #3b4452;
  --blue: #176bff;
  --blue-bright: #3d86ff;
  --blue-soft: #0d1f43;
  --shell: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
[hidden] { display: none !important; }

.shell { width: min(var(--shell), calc(100% - 56px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus-visible { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(35, 40, 49, .78);
  background: rgba(5, 5, 5, .9);
  backdrop-filter: blur(18px);
}
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand-name { font-size: 1rem; }
.brand-slash { color: var(--faint); }
.brand-lab { color: var(--blue-bright); font-size: .78rem; letter-spacing: .09em; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #c9ced7; font-size: .88rem; }
.nav-links > a { position: relative; text-decoration: none; transition: color .2s ease; }
.nav-links > a:hover { color: #fff; }
.nav-links > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav-links > a:hover::after { transform: scaleX(1); }
.language-switch { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); }
.language-switch button { padding: 4px 0; color: var(--faint); background: none; border: 0; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--blue-bright); }
.language-switch button:focus-visible, a:focus-visible, video:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 4px; }

.progress-rail {
  position: fixed;
  top: 106px;
  bottom: 34px;
  left: max(18px, calc((100vw - var(--shell)) / 2 - 60px));
  z-index: 10;
  display: flex;
  width: 28px;
  flex-direction: column;
  align-items: center;
  color: var(--faint);
  pointer-events: none;
}
.progress-label { margin-bottom: 14px; font-size: .58rem; letter-spacing: .18em; writing-mode: vertical-rl; }
.progress-track { position: relative; width: 1px; flex: 1; overflow: hidden; background: var(--line); }
.progress-fill { position: absolute; inset: 0 0 auto; height: 0; background: var(--blue-bright); box-shadow: 0 0 14px var(--blue); }
.progress-numbers { position: absolute; inset: 54px auto 0 17px; display: flex; height: calc(100% - 54px); flex-direction: column; justify-content: space-around; font-size: .62rem; }
.progress-numbers span { transition: color .2s ease; }
.progress-numbers .is-active { color: var(--blue-bright); }

.kicker, .work-number { margin: 0 0 18px; color: var(--blue-bright); font-size: .72rem; font-weight: 760; letter-spacing: .16em; }
.hero {
  min-height: 690px;
  padding-block: 72px 50px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: 62px;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(3rem, 4.5vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero-lead { max-width: 600px; margin: 24px 0 0; color: var(--muted); font-size: clamp(.96rem, 1.2vw, 1.08rem); }
.hero-actions, .work-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button, .text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 720;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.button:hover, .text-button:hover { transform: translateY(-2px); border-color: #667286; }
.button-primary { border-color: var(--blue); color: #fff; background: var(--blue); box-shadow: 0 8px 36px rgba(23, 107, 255, .28); }
.button-primary:hover { border-color: var(--blue-bright); background: var(--blue-bright); }
.button-ghost { color: #e9ecf2; background: #090a0c; }

.contact-card { width: fit-content; min-width: 292px; margin-top: 26px; display: flex; align-items: center; gap: 16px; color: #f7f8fb; }
.contact-card-qr img { width: 106px; height: 106px; border: 5px solid #fff; object-fit: cover; }
.contact-card strong, .contact-card span, .contact-card a { display: block; }
.contact-card strong { margin-bottom: 5px; font-size: .96rem; }
.contact-card span { color: var(--muted); font-size: .84rem; }
.contact-card a { color: var(--blue-bright); font-size: .92rem; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.email-mark { display: grid; width: 88px; height: 88px; place-items: center; border: 1px solid var(--blue); color: var(--blue-bright); background: var(--blue-soft); font-size: .68rem; font-weight: 760; letter-spacing: .14em; }

.hero-stage, .work-media { position: relative; isolation: isolate; }
.hero-stage { min-height: 480px; perspective: 1100px; }
.stage-screen { margin: 0; overflow: hidden; border: 1px solid #253149; border-radius: 13px; background: var(--panel-2); box-shadow: 0 26px 80px rgba(0, 0, 0, .62); }
.stage-screen-main { position: absolute; top: 7%; right: 0; width: 84%; transform: rotateY(-7deg); }
.stage-screen-main img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; object-position: left top; opacity: .68; }
.stage-video {
  position: absolute;
  right: 12%;
  bottom: 8%;
  width: 68%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #5b6678;
  border-radius: 14px;
  background: #07080a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .78), 0 18px 68px rgba(23, 107, 255, .18);
}
.stage-video figcaption, .demo-player figcaption, .static-proof figcaption {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #dce1ea;
  background: #0a0c10;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 680;
  letter-spacing: .04em;
}
.stage-video video { width: 100%; aspect-ratio: 1440 / 870; object-fit: cover; }

.product-index { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; background: #08090b; }
.product-index-item { position: relative; min-height: 92px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; border-right: 1px solid var(--line); text-decoration: none; transition: background-color .2s ease, border-color .2s ease; }
.product-index-item:last-child { border-right: 0; }
.product-index-item:hover, .product-index-item.is-active { background: #0a1324; }
.product-index-item.is-active { box-shadow: inset 0 0 0 1px var(--blue); }
.product-index-item img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 10px; object-fit: cover; }
.product-index-item strong, .product-index-item small { display: block; }
.product-index-item strong { color: #f3f5f8; font-size: .9rem; }
.product-index-item small { margin-top: 3px; color: var(--muted); font-size: .68rem; line-height: 1.35; }

.work-sections { margin-top: 24px; }
.work {
  min-height: 560px;
  padding-block: 64px;
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(520px, 1.22fr);
  align-items: center;
  gap: 64px;
  border-bottom: 1px solid #14171c;
}
.work-reverse { grid-template-columns: minmax(520px, 1.22fr) minmax(340px, .78fr); }
.work-reverse .work-copy { grid-column: 2; }
.work-reverse .work-media { grid-row: 1; grid-column: 1; }
.work-copy h2, .principles h2, .closing h2 { margin: 0; font-size: clamp(2.15rem, 3.35vw, 3.55rem); line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.work-copy > p:not(.work-number) { max-width: 610px; margin: 19px 0 0; color: var(--muted); font-size: .92rem; }
.product-name { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.product-name img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.product-name strong { font-size: .98rem; }
.feature-list { margin: 17px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.feature-list li { padding: 7px 11px; color: #bbc2cd; background: #0b0d11; border: 1px solid var(--line); border-radius: 999px; font-size: .73rem; }
.work-actions { margin-top: 21px; }
.text-button { min-height: 40px; padding-inline: 16px; color: #d7dce5; font-size: .78rem; background: transparent; }

.work-media { min-height: 410px; }
.media-backdrop { position: absolute; top: 0; right: 0; width: 88%; overflow: hidden; border: 1px solid #202b3f; border-radius: 13px; background: var(--panel-2); box-shadow: 0 26px 70px rgba(0, 0, 0, .5); }
.media-backdrop img { width: 100%; height: 300px; object-fit: cover; object-position: left top; opacity: .74; }
.demo-player, .static-proof {
  position: absolute;
  right: 9%;
  bottom: 0;
  width: 72%;
  margin: 0;
  overflow: hidden;
  border: 1px solid #526079;
  border-radius: 13px;
  background: #07080a;
  box-shadow: 0 28px 76px rgba(0, 0, 0, .78), 0 18px 70px rgba(23, 107, 255, .13);
}
.demo-player video { width: 100%; aspect-ratio: 16 / 10; background: #060708; object-fit: cover; }
.work-media::after { position: absolute; right: 3%; bottom: -1px; z-index: -1; width: 82%; height: 5px; content: ""; background: var(--blue); border-radius: 50%; box-shadow: 0 0 28px 9px rgba(23, 107, 255, .55), 0 0 84px 22px rgba(23, 107, 255, .2); }
.work-reverse .media-backdrop { right: auto; left: 0; }
.work-reverse .demo-player, .work-reverse .static-proof { right: auto; left: 9%; }
.work-reverse .work-media::after { right: auto; left: 3%; }
.static-proof img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.static-proof figcaption span:last-child { color: #f4bd61; }

.principles { padding-block: 76px 38px; }
.principles-intro { display: grid; grid-template-columns: .55fr 1.45fr; gap: 80px; align-items: start; }
.principles-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; }
.principles-grid > div { min-height: 142px; padding: 21px; border-right: 1px solid var(--line); }
.principles-grid > div:last-child { border-right: 0; }
.principles-grid span { display: block; margin-bottom: 20px; color: var(--blue-bright); font-size: .7rem; letter-spacing: .15em; }
.principles-grid strong { display: block; margin-bottom: 8px; font-size: .94rem; }
.principles-grid p { margin: 0; color: var(--muted); font-size: .78rem; }

.closing { padding-block: 68px 82px; text-align: center; }
.closing h2 { max-width: 780px; margin-inline: auto; }
.closing > p:not(.kicker) { max-width: 630px; margin: 22px auto 0; color: var(--muted); }
.closing .button { margin-top: 32px; }

.site-footer { border-top: 1px solid var(--line); }
.footer-grid { min-height: 128px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.footer-grid strong { font-size: .85rem; }
.footer-grid p { margin: 5px 0 0; color: var(--muted); font-size: .76rem; }
.footer-links { display: flex; gap: 24px; color: var(--muted); font-size: .76rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }
.copyright { grid-column: 1 / -1; margin-top: -44px !important; text-align: right; }

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1280px) {
  .progress-rail { display: none; }
  .hero { grid-template-columns: minmax(0, .9fr) minmax(470px, 1.1fr); gap: 38px; }
}
@media (max-width: 1040px) {
  .shell { width: min(100% - 40px, 900px); }
  .hero { min-height: auto; padding-top: 72px; grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-stage { min-height: 500px; }
  .product-index { grid-template-columns: repeat(2, 1fr); }
  .product-index-item:nth-child(2) { border-right: 0; }
  .product-index-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work, .work-reverse { min-height: auto; padding-block: 82px; grid-template-columns: 1fr; gap: 50px; }
  .work-reverse .work-copy, .work-reverse .work-media { grid-column: 1; }
  .work-reverse .work-copy { grid-row: 1; }
  .work-reverse .work-media { grid-row: 2; }
  .work-media { min-height: 480px; }
  .media-backdrop img { height: 350px; }
  .principles-intro { grid-template-columns: 1fr; gap: 16px; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principles-grid > div:nth-child(2) { border-right: 0; }
  .principles-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 620px); }
  .site-header { position: relative; }
  .nav { min-height: 68px; }
  .nav-links > a { display: none; }
  .nav-links { gap: 12px; }
  .hero { padding-block: 58px 52px; gap: 42px; }
  .hero h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
  .hero-lead { margin-top: 22px; font-size: .96rem; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 43px; padding-inline: 17px; }
  .contact-card { min-width: 0; width: 100%; gap: 14px; }
  .contact-card-qr img { width: 88px; height: 88px; }
  .contact-card strong { font-size: .88rem; }
  .contact-card span, .contact-card a { font-size: .76rem; }
  .email-mark { width: 74px; height: 74px; }
  .hero-stage { min-height: 410px; }
  .stage-screen-main { width: 96%; transform: none; }
  .stage-screen-main img { height: 190px; }
  .stage-video { right: 4%; bottom: 9%; width: 84%; }
  .product-index { grid-template-columns: 1fr; }
  .product-index-item { min-height: 84px; padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-index-item:last-child { border-bottom: 0; }
  .product-index-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .work, .work-reverse { padding-block: 78px; gap: 42px; }
  .work-copy h2, .principles h2, .closing h2 { font-size: clamp(2.15rem, 10vw, 3.25rem); }
  .work-copy > p:not(.work-number) { font-size: .93rem; }
  .work-media { min-height: 370px; }
  .media-backdrop { width: 96%; }
  .media-backdrop img { height: 285px; }
  .demo-player, .static-proof { right: 2%; bottom: 0; width: 88%; }
  .work-reverse .demo-player, .work-reverse .static-proof { left: 2%; }
  .principles { padding-block: 82px 42px; }
  .principles-grid { margin-top: 40px; grid-template-columns: 1fr; }
  .principles-grid > div { min-height: 148px; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .principles-grid > div:last-child { border-bottom: 0; }
  .closing { padding-block: 76px 92px; }
  .footer-grid { padding-block: 34px; grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .copyright { grid-column: 1; margin-top: 0 !important; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}
