:root {
  --text: #0d0d0d;
  --muted: rgba(13, 13, 13, 0.66);
  --line: rgba(13, 13, 13, 0.08);
  --grad: linear-gradient(270deg, #ff06a2 0.69%, #ff6225 100.69%);
  --title: clamp(28px, 2.08vw, 44px);
  --header: max(44px, 3.02vw);
  --shadow: 0 18px 50px rgba(76, 74, 140, 0.16);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

* { box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; }
html { scroll-behavior: auto; }
body { margin: 0; overscroll-behavior: none; }
img { max-width: 100%; display: block; }
button, a { font-family: inherit; }
button { cursor: pointer; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.header-inner {
  height: 100%;
  width: min(52.08vw, calc(100% - 32px));
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.brand-logo { height: max(16px, 1.25vw); width: auto; }
.brand-line { width: 1px; height: 12px; background: #d9d9d9; flex: none; }
.brand-ai { width: 18px; height: 18px; flex: none; }
.brand-slogan {
  font-size: 13px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-slogan b { font-weight: 600; }
.brand-slogan b + b { margin: 0 4px; font-weight: 400; }

.header-download,
.cta,
.ghost,
.dl-card .dl-btn,
.tab {
  border: 0;
  background: transparent;
}

.header-download {
  flex: none;
  height: max(22px, 1.46vw);
  padding: 0 0.9vw;
  border-radius: 999px;
  color: #fff;
  font-size: max(12px, 0.73vw);
  line-height: 1;
  text-decoration: none;
  background: var(--grad);
  box-shadow: 0 6px 16px rgba(255, 70, 90, 0.28);
}
.header-download:hover { filter: brightness(1.05); }

.stepper {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(#4c4a6d, #3c3b48);
  opacity: 0.28;
  transition: height 0.25s ease, opacity 0.25s ease;
}
.step.active { height: 18px; opacity: 1; }

.deck {
  height: 100vh;
  overflow: clip;
}
.deck-track {
  will-change: transform;
  transition: transform 0.88s cubic-bezier(0.76, 0, 0.18, 1);
}
.deck-page {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 0;
}
.sync.deck-page,
.ai.deck-page {
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}
.sync.deck-page::-webkit-scrollbar,
.ai.deck-page::-webkit-scrollbar {
  display: none;
}
.sync.deck-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 0;
}
.deck-page.is-enter.from-below > .motion {
  animation: enter-up 0.88s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.deck-page.is-enter.from-above > .motion {
  animation: enter-down 0.88s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.deck-page.is-leave.to-above > .motion {
  animation: leave-up 0.72s ease both;
}
.deck-page.is-leave.to-below > .motion {
  animation: leave-down 0.72s ease both;
}
.deck-page.is-enter > .motion:nth-child(2) { animation-delay: 0.08s; }
.deck-page.is-enter > .motion:nth-child(3) { animation-delay: 0.14s; }
@keyframes enter-up {
  from { opacity: 0; transform: translateY(72px); }
  to { opacity: 1; transform: none; }
}
@keyframes enter-down {
  from { opacity: 0; transform: translateY(-72px); }
  to { opacity: 1; transform: none; }
}
@keyframes leave-up {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-56px); }
}
@keyframes leave-down {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(56px); }
}

.screen {
  min-height: 100vh;
  padding: calc(var(--header) + 12px) 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-margin-top: var(--header);
}
.deck-page.screen,
.deck-page.block {
  min-height: 0;
  scroll-margin-top: 0;
}
.block {
  padding: calc(var(--header) + 28px) 24px 0;
  scroll-margin-top: var(--header);
}
.section-copy, .hero-copy {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-copy h2, .hero-copy h2 {
  margin: 0;
  font-size: var(--title);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.section-copy p {
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.grad {
  background: linear-gradient(275deg, #ec3699 0%, #eb3834 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(#fff 42%, #edefff 100%);
  justify-content: flex-start;
  padding: var(--header) 0 0;
}
.hero-copy {
  flex: 1 1 auto;
  width: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero-logo-wrap { margin: 0; font-size: inherit; font-weight: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hero-logo { width: 12.71vw; height: auto; margin: 0 auto 1.25vw; }
.cta {
  position: relative;
  height: max(32px, 2.08vw);
  padding: 0 1.5vw;
  border-radius: 999px;
  color: #fff;
  font-size: max(14px, 0.85vw);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--grad);
  box-shadow: 0 0 0 0.42vw rgba(255, 64, 96, 0.12), 0 0.7vw 1.6vw rgba(255, 60, 100, 0.28);
}
.cta .chevron { width: 14px; height: 14px; transition: transform 0.2s ease; }
.download-menu.is-open .chevron { transform: rotate(180deg); }
.download-menu { position: relative; display: inline-block; }
.menu-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  width: 250px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: left;
  z-index: 5;
}
.menu-panel[hidden] { display: none; }
.menu-row, .menu-link {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
}
.menu-row span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.menu-row small { color: #8a8a8a; font-size: 12px; }
.menu-row img, .menu-link img { width: 16px; height: 16px; }
.menu-row:hover, .menu-link:hover { background: #f6f7fb; }
.menu-split { height: 1px; margin: 6px 8px; background: var(--line); }

.hero-shot {
  width: 53.33vw;
  height: min(28.61vw, 48vh);
  margin: 0;
  flex: none;
  object-fit: cover;
  object-position: top center;
  border-radius: 0.9vw 0.9vw 0 0;
  box-shadow: 0 1.6vw 4vw rgba(90, 80, 180, 0.16);
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: #666;
  display: grid;
  place-items: center;
  animation: bob 1.6s ease-in-out infinite;
}
.scroll-hint svg { width: 20px; height: 20px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.ai {
  background:
    radial-gradient(600px 280px at 50% 18%, rgba(120, 140, 255, 0.16), transparent 70%),
    linear-gradient(#f7f8ff, #fff 40%);
}
.ghost {
  margin-top: 18px;
  height: 36px;
  padding: 0 18px;
  border-radius: 8px;
  color: #3a3a4a;
  background: #fff;
  border: 1px solid #e6e6ee;
  box-shadow: 0 6px 16px rgba(40, 40, 80, 0.06);
}
.ghost:hover, .ghost[aria-expanded="true"] { border-color: #8b7cff; color: #5b46f5; }
.ai-panel {
  width: min(920px, calc(100% - 48px));
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ai-panel[hidden] { display: none; }
.ai-panel article {
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #ececf6;
  text-align: left;
}
.ai-panel h3 { margin: 0 0 6px; font-size: 14px; font-weight: 600; }
.ai-panel p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }
.ai-shot {
  width: min(750px, calc(100% - 48px));
  margin: 28px auto 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.docs { background: #fff; }
.tabs { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.tab {
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  color: #555;
  background: #f4f5f8;
  font-size: 13px;
}
.tab.active { color: #fff; background: var(--grad); }
.docs-shot {
  width: min(750px, calc(100% - 48px));
  margin: 28px auto 0;
  filter: drop-shadow(0 24px 40px rgba(40, 50, 90, 0.12));
}

.vision {
  background: url("../assets/vision-bg-58a46dcc.jpg") center / cover no-repeat;
  color: #fff;
}
.section-copy.light p { color: rgba(255, 255, 255, 0.9); }
.carousel { width: min(920px, calc(100% - 48px)); margin: 28px auto 0; }
.carousel-track {
  display: grid;
  grid-template-columns: 0.82fr 1.15fr 0.82fr;
  gap: 16px;
  align-items: center;
}
.carousel-track img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  opacity: 0.72;
  transform: scale(0.94);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.carousel-track img.is-current {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
}
.dots button.active { width: 18px; background: #fff; }

.sync {
  background: #f5f6fa;
  justify-content: flex-start;
}
.sync.deck-page {
  padding: calc(var(--header) + 2.2vw) 0 0;
}
.sync .section-copy h2 { font-size: max(26px, 2.083vw); }
.sync .section-copy p { font-size: max(13px, 0.94vw); }
.feature-grid {
  width: min(62.5vw, calc(100% - 48px));
  margin: 2vw auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6vw 1.7vw;
}
.feature {
  background: #fff;
  border-radius: 0.83vw;
  overflow: hidden;
  border: 1px solid #eef0f4;
  box-shadow: 0 8px 24px rgba(30, 40, 80, 0.04);
  text-align: left;
}
.feature img { width: 100%; height: 10.42vw; object-fit: contain; background: linear-gradient(#f7f9fd, #fff); }
.feature h3 { margin: 0.7vw 1.1vw 0.25vw; font-size: max(13px, 0.94vw); font-weight: 500; }
.feature p { margin: 0 1.1vw 0.9vw; font-size: max(12px, 0.83vw); line-height: 1.55; color: var(--muted); }

.page-foot {
  width: 100%;
  margin-top: 2.4vw;
  padding: 8px 24px 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.page-foot .section-copy { margin: 0 auto; }
.page-foot .section-copy h2 { font-size: var(--title); }
.download-grid {
  width: min(70vw, 100%);
  margin: 1.4vw auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6vw 0.4vw;
}
.dl-card {
  width: 8.75vw;
  min-width: 108px;
  padding: 8px 2px 10px;
  text-align: center;
  background: transparent;
  border: 0;
}
.dl-card img { width: 28px; height: 28px; margin: 0 auto 10px; }
.dl-card h3 { margin: 0; font-size: 12px; font-weight: 400; line-height: 1.35; }
.dl-card p { margin: 4px 0 10px; font-size: 10px; line-height: 1.3; color: #8d8d8d; white-space: nowrap; }
.dl-card .dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid #e4e4e8;
  background: #fff;
  color: #242425;
  font-size: 12px;
  text-decoration: none;
}
.dl-card .dl-btn:hover { border-color: #ff7a45; color: #ff6225; }

.copyright {
  width: 100%;
  margin: 28px 0 0;
  padding: 16px 20px 18px;
  border-top: 1px solid rgba(13, 13, 13, 0.06);
  text-align: center;
  color: #8d8d8d;
  font-size: 12px;
}
.copyright a { color: inherit; text-decoration: none; }
.copyright a:hover { color: #ff6225; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(20, 20, 24, 0.9);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 60;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 900px) {
  .brand-slogan, .brand-line, .brand-ai, .stepper { display: none; }
  .feature-grid, .ai-panel { grid-template-columns: 1fr 1fr; }
  .download-grid { gap: 12px 8px; }
  .carousel-track { grid-template-columns: 1fr; }
  .carousel-track img { display: none; height: 200px; }
  .carousel-track img.is-current { display: block; }
}
@media (max-width: 640px) {
  .feature-grid, .ai-panel { grid-template-columns: 1fr; }
  .dl-card { width: 140px; }
  .section-copy p br { display: none; }
  .hero-copy { margin-top: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scroll-hint { animation: none; }
  .deck-track { transition: none; }
  .deck-page.is-enter > .motion,
  .deck-page.is-leave > .motion { animation: none; }
}
