:root {
  color-scheme: light;
  --paper: #f5f8ff;
  --paper-strong: #eaf1ff;
  --surface: #ffffff;
  --surface-tint: #f1f6ff;
  --ink: #101a34;
  --ink-soft: #23365f;
  --muted: #62718f;
  --line: #d5e0f2;
  --brand: #2e66e8;
  --brand-dark: #174aab;
  --brand-soft: #dce8ff;
  --mint: #1b9a80;
  --gold: #d59628;
  --rose: #da4d65;
  --shadow-soft: 0 18px 44px rgba(28, 70, 142, .12);
  --shadow-lift: 0 32px 84px rgba(28, 70, 142, .18);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fbfdff 0%, var(--paper) 44%, #eef5ff 100%);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .45;
  background:
    linear-gradient(90deg, rgba(46, 102, 232, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(46, 102, 232, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 58%, transparent 100%);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(213, 224, 242, .78);
  background: rgba(245, 248, 255, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  max-width: 1180px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(46, 102, 232, .22);
}

.brand-mark img,
.hero-device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav-links a {
  text-decoration: none;
  transition: color 180ms var(--ease-out);
}

.nav-links a:hover {
  color: var(--brand-dark);
}

.language-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
}

.language-toggle button {
  border: 0;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 800 12px/1 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.language-toggle button:hover {
  transform: translateY(-1px);
}

.language-toggle button.active {
  background: var(--brand);
  color: #fff;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px 88px;
}

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(420px, 1.02fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
}

.hero > * {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--brand-dark);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 6.7vw, 82px);
  line-height: .98;
  letter-spacing: 0;
}

html[lang="zh-Hans"] .hero-title {
  max-width: 820px;
  font-size: clamp(42px, 5.5vw, 70px);
  line-height: 1.08;
}

.hero-text {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}

.hero-actions,
.final-actions,
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(28, 70, 142, .08);
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), border-color 180ms var(--ease-out), background 180ms var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(46, 102, 232, .38);
}

.button:active {
  transform: translateY(0) scale(.99);
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.button.ghost {
  color: var(--brand-dark);
}

.button.light {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(255, 255, 255, .42);
  color: #10244a;
}

.hero-stage {
  position: relative;
  min-height: 590px;
  isolation: isolate;
  perspective: 1200px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 36px 0 34px 46px;
  z-index: -1;
  border: 1px solid rgba(46, 102, 232, .14);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(46, 102, 232, .10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(46, 102, 232, .08) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: rotate(-3deg);
}

.hero-device {
  position: absolute;
  inset: 52px 34px 20px 0;
  display: grid;
  gap: 16px;
  align-content: start;
  border: 1px solid rgba(213, 224, 242, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow-lift);
  padding: 18px;
  overflow: hidden;
  transform: rotateY(-5deg) rotateX(2deg);
  transform-origin: 50% 50%;
}

.hero-device::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 44%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
  transform: skewX(-14deg) translateX(-120%);
  animation: scanBoard 5.8s var(--ease-out) infinite 1s;
  pointer-events: none;
}

.device-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.device-top img {
  width: 62px;
  height: 62px;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(46, 102, 232, .22);
}

.device-top strong,
.device-top span {
  display: block;
}

.device-top strong {
  color: var(--ink-soft);
  font-size: 18px;
}

.device-top span,
.audio-panel p {
  color: var(--muted);
  font-size: 14px;
}

.audio-panel,
.summary-panel,
.feature-tile,
.step,
.support-card,
.doc,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .86);
}

.audio-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
}

.record-dot {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: #fff1f3;
  position: relative;
}

.record-dot::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 99px;
  background: var(--rose);
  animation: recordPulse 1.8s var(--ease-out) infinite;
}

.audio-panel strong,
.feature-tile h3,
.step strong {
  display: block;
  color: var(--ink);
}

.audio-panel p,
.feature-tile p,
.step p,
.support-card p,
.doc p,
.doc li,
.contact-box p,
.final-cta h2 {
  line-height: 1.7;
}

.audio-panel p,
.step p {
  margin: 4px 0 0;
}

.wave {
  width: 118px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.wave span {
  width: 7px;
  height: 22px;
  border-radius: 99px;
  background: var(--brand);
  opacity: .72;
  transform-origin: center;
  animation: waveBeat 1.25s var(--ease-out) infinite;
}

.wave span:nth-child(2) { animation-delay: .08s; }
.wave span:nth-child(3) { animation-delay: .16s; }
.wave span:nth-child(4) { animation-delay: .24s; }
.wave span:nth-child(5) { animation-delay: .32s; }
.wave span:nth-child(6) { animation-delay: .4s; }

.summary-panel {
  position: relative;
  z-index: 1;
  min-height: 230px;
  padding: 20px;
}

.label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-panel p {
  margin: 0 0 22px;
  max-width: 440px;
  color: var(--ink-soft);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.35;
}

.text-lines {
  display: grid;
  gap: 9px;
}

.text-lines span {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: var(--brand-soft);
}

.text-lines span:nth-child(2) {
  width: 84%;
}

.text-lines span:nth-child(3) {
  width: 58%;
}

.floating-review {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 10px;
  min-width: 210px;
  padding: 14px;
  border: 1px solid rgba(213, 224, 242, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow-soft);
}

.floating-review span {
  display: block;
  padding: 13px 12px;
  border-radius: 8px;
  background: var(--surface-tint);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.story-section {
  padding: clamp(82px, 11vw, 142px) 0 0;
}

.story-pin {
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(0, 1.06fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.story-visual {
  position: sticky;
  top: 104px;
}

.story-shell {
  min-height: 520px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(213, 224, 242, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-lift);
}

.story-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  color: var(--ink-soft);
  font-weight: 900;
}

.live-pill {
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f7f2;
  color: #116e58;
  font-size: 12px;
  font-weight: 900;
}

.story-screen {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(46, 102, 232, .13), transparent 44%),
    var(--surface-tint);
}

.story-card {
  position: absolute;
  inset: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(46, 102, 232, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .9);
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.story-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-card span {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card strong {
  max-width: 420px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.story-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.story-progress span {
  height: 6px;
  border-radius: 999px;
  background: var(--brand-soft);
  transition: background 220ms var(--ease-out), transform 220ms var(--ease-out);
}

.story-progress span.is-active {
  background: var(--brand);
  transform: scaleY(1.35);
}

.story-copy {
  display: grid;
  gap: 24px;
}

.story-step {
  min-height: min(560px, 66vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: .43;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}

.story-step.is-active {
  opacity: 1;
}

.story-step h2 {
  margin: 16px 0 0;
  max-width: 680px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

html[lang="zh-Hans"] .story-step h2 {
  line-height: 1.12;
}

.story-step p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.72;
}

.step-index,
.tile-number {
  color: var(--brand);
  font-weight: 950;
}

.section {
  padding: clamp(90px, 11vw, 132px) 0 0;
}

.section-heading {
  max-width: 860px;
}

.section-heading.compact {
  max-width: 700px;
}

.section-heading h2,
.doc h1 {
  margin: 0;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.feature-mosaic {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 16px;
}

.feature-tile {
  min-height: 250px;
  padding: 26px;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.feature-tile.large {
  min-height: 520px;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(46, 102, 232, .16), transparent 52%),
    rgba(255, 255, 255, .9);
}

.feature-tile.accent {
  background:
    linear-gradient(135deg, rgba(27, 154, 128, .14), transparent 54%),
    rgba(255, 255, 255, .9);
}

.feature-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 102, 232, .38);
  box-shadow: var(--shadow-soft);
}

.feature-tile h3 {
  margin: 22px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
}

.feature-tile p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.workflow {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  min-height: 230px;
  padding: 20px;
  background: rgba(255, 255, 255, .8);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.step:nth-child(even) {
  transform: translateY(22px);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.step:nth-child(even):hover {
  transform: translateY(16px);
}

.step-number {
  margin-bottom: 46px;
  color: var(--brand);
  font-weight: 950;
}

.step strong {
  font-size: 18px;
}

.step p {
  color: var(--muted);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin-top: clamp(90px, 11vw, 132px);
  padding: 32px;
  border: 1px solid rgba(213, 224, 242, .95);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(46, 102, 232, .14), transparent 48%),
    rgba(255, 255, 255, .86);
  box-shadow: var(--shadow-soft);
}

.final-cta h2 {
  margin: 0;
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.support-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: start;
}

.support-card,
.doc {
  padding: 28px;
}

.support-card h2,
.doc h2 {
  margin: 28px 0 10px;
  font-size: 24px;
}

.support-card h2:first-child,
.doc h2:first-child {
  margin-top: 0;
}

.contact-box {
  padding: 24px;
  background: #10244a;
  color: white;
}

.contact-box p {
  color: #d5e0f5;
}

.contact-box a {
  color: white;
  font-weight: 900;
}

.doc {
  max-width: 900px;
  margin: 0 auto;
}

.doc-meta {
  margin-top: 12px;
  color: var(--muted);
}

.doc ul {
  padding-left: 22px;
}

[data-lang] {
  display: none;
}

[data-lang].active {
  display: block;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 30px 24px 42px;
  color: var(--muted);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  font-weight: 750;
}

.motion-reveal {
  opacity: 1;
  transform: none;
}

.has-js .motion-reveal {
  opacity: 0;
  transform: translateY(22px);
}

.has-js .motion-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

@keyframes waveBeat {
  0%, 100% { transform: scaleY(.55); }
  50% { transform: scaleY(1.42); }
}

@keyframes recordPulse {
  0%, 100% { transform: scale(1); opacity: .95; }
  50% { transform: scale(.72); opacity: .72; }
}

@keyframes scanBoard {
  0% { transform: skewX(-14deg) translateX(-140%); opacity: 0; }
  16% { opacity: .7; }
  42% { opacity: 0; }
  100% { transform: skewX(-14deg) translateX(340%); opacity: 0; }
}

@media (max-width: 980px) {
  .hero,
  .story-pin,
  .feature-mosaic,
  .support-grid,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 44px;
    padding-top: 18px;
  }

  .hero-stage {
    min-height: 540px;
  }

  .story-visual {
    position: relative;
    top: auto;
  }

  .story-step {
    min-height: auto;
    padding: 34px 0;
  }

  .feature-tile.large {
    min-height: 330px;
    grid-row: auto;
  }

  .workflow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .page {
    padding-top: 28px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-title,
  html[lang="zh-Hans"] .hero-title {
    max-width: 100%;
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.08;
  }

  .hero-text,
  .story-step p {
    font-size: 18px;
    max-width: 100%;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
  }

  .hero-actions .button,
  .final-actions .button {
    width: 100%;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-device {
    inset: 20px 0 48px;
    transform: none;
  }

  .audio-panel {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .wave {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .summary-panel p {
    font-size: 19px;
  }

  .floating-review {
    right: 12px;
    left: 12px;
    bottom: 0;
    grid-template-columns: 1fr;
  }

  .story-shell {
    min-height: 430px;
  }

  .story-card {
    inset: 14px;
    padding: 18px;
  }

  .story-card strong,
  .story-step h2,
  .section-heading h2,
  .doc h1 {
    font-size: clamp(30px, 9vw, 40px);
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .step,
  .step:nth-child(even),
  .step:nth-child(even):hover {
    transform: none;
  }

  .final-cta {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .motion-reveal,
  .has-js .motion-reveal {
    opacity: 1;
    transform: none;
  }
}
