@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&display=swap");

:root {
  --xlat-ink: #14121f;
  --xlat-plum: #3d2f6b;
  --xlat-violet: #6b52a8;
  --xlat-amber: #f0b45c;
  --xlat-coral: #e86f8a;
  --xlat-pearl: #faf7ff;
  --xlat-glass: rgba(255, 255, 255, 0.58);
  --xlat-glass-edge: rgba(255, 255, 255, 0.82);
  --xlat-shadow: 0 18px 48px rgba(20, 18, 31, 0.14);
  --xlat-radius: 18px;
  --xlat-header-h: 58px;
  --xlat-sticky-live-h: 0px;
  --xlat-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--xlat-ink);
  background: linear-gradient(165deg, #f3ecff 0%, #fff8f0 42%, #eef6ff 100%);
  line-height: 1.78;
  font-size: 16px;
  padding-top: calc(var(--xlat-header-h) + var(--xlat-sticky-live-h));
}

body.xlat-menu-lock {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--xlat-violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--xlat-plum);
}

.xlat-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.6rem 1rem;
  background: var(--xlat-ink);
  color: #fff;
}

.xlat-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header shell */
.xlat-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
}

.xlat-topbar {
  height: var(--xlat-header-h);
  background: var(--xlat-glass);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--xlat-glass-edge);
}

.xlat-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xlat-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--xlat-ink);
  text-decoration: none;
}

.xlat-mark img {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(107, 82, 168, 0.22);
}

.xlat-burger {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(107, 82, 168, 0.12), rgba(240, 180, 92, 0.18));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.xlat-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--xlat-plum);
  border-radius: 2px;
  transition: transform 0.28s var(--xlat-ease), opacity 0.28s;
}

.xlat-drawer {
  max-height: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  transition: max-height 0.38s var(--xlat-ease);
}

.xlat-drawer.xlat-drawer-open {
  max-height: 320px;
  border-bottom: 1px solid rgba(107, 82, 168, 0.12);
}

.xlat-drawer ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1rem 1rem;
}

.xlat-drawer li + li {
  margin-top: 0.15rem;
}

.xlat-drawer a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  color: var(--xlat-ink);
  text-decoration: none;
  font-weight: 500;
}

.xlat-drawer a:hover,
.xlat-drawer a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(107, 82, 168, 0.1), rgba(240, 180, 92, 0.12));
  color: var(--xlat-plum);
}

/* Sticky download bar */
.xlat-float-dl {
  position: fixed;
  top: var(--xlat-header-h);
  left: 0;
  right: 0;
  z-index: 850;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 82, 168, 0.1);
  padding: 0.45rem 0.65rem;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s var(--xlat-ease), opacity 0.32s;
}

.xlat-float-dl.xlat-float-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.xlat-dl-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.35rem 0.25rem;
  max-width: 1120px;
  margin: 0 auto;
  justify-items: center;
}

@media (min-width: 960px) {
  .xlat-dl-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

.xlat-dl-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 72px;
}

.xlat-dl-cell a {
  display: block;
  text-decoration: none;
}

.xlat-dl-cell img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 5px 16px rgba(20, 18, 31, 0.12);
  transition: transform 0.2s var(--xlat-ease);
}

.xlat-dl-cell img:hover {
  transform: scale(1.06);
}

.xlat-dl-cap {
  font-size: 0.62rem;
  color: #666;
  margin-top: 0.2rem;
  text-align: center;
  max-width: 68px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Promo zone */
.xlat-promo-band {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1rem 0;
}

/* Hero */
.xlat-veil {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 1rem 2.8rem;
}

.xlat-veil::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 85%;
  background:
    radial-gradient(circle at 18% 28%, rgba(232, 111, 138, 0.28), transparent 52%),
    radial-gradient(circle at 78% 12%, rgba(107, 82, 168, 0.32), transparent 48%),
    radial-gradient(circle at 55% 88%, rgba(240, 180, 92, 0.24), transparent 55%);
  pointer-events: none;
}

.xlat-veil-grid {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .xlat-veil-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.xlat-veil h1 {
  font-size: clamp(1.55rem, 4.2vw, 2.15rem);
  line-height: 1.35;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, var(--xlat-plum), var(--xlat-violet) 55%, var(--xlat-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xlat-veil-lead {
  font-size: 1.02rem;
  color: #3a3550;
  margin: 0 0 1.2rem;
}

.xlat-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.xlat-chip {
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--xlat-glass);
  border: 1px solid rgba(107, 82, 168, 0.16);
  color: var(--xlat-plum);
  font-weight: 500;
}

.xlat-phone-frame {
  position: relative;
  max-width: 290px;
  margin: 0 auto;
  padding: 0.65rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.35));
  box-shadow: var(--xlat-shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.xlat-phone-frame img {
  border-radius: 22px;
}

.xlat-phone-glow {
  position: absolute;
  inset: auto -12% -18% -12%;
  height: 40%;
  background: radial-gradient(ellipse, rgba(240, 180, 92, 0.45), transparent 70%);
  filter: blur(18px);
  z-index: -1;
}

/* Main sections */
.xlat-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
}

.xlat-band {
  margin-bottom: 2.6rem;
}

.xlat-band-dusk {
  padding: 2rem 1.4rem;
  border-radius: var(--xlat-radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(243, 236, 255, 0.55));
  border: 1px solid rgba(107, 82, 168, 0.1);
  box-shadow: 0 10px 32px rgba(61, 47, 107, 0.06);
}

.xlat-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--xlat-coral);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.xlat-band h2 {
  font-size: clamp(1.28rem, 3vw, 1.65rem);
  margin: 0 0 1rem;
  color: var(--xlat-plum);
}

.xlat-band h3 {
  font-size: 1.08rem;
  margin: 1.4rem 0 0.65rem;
  color: #2e2848;
}

.xlat-band p {
  margin: 0 0 1rem;
  color: #3f3a52;
}

.xlat-duo {
  display: grid;
  gap: 1.6rem;
  align-items: center;
}

@media (min-width: 780px) {
  .xlat-duo {
    grid-template-columns: 1fr 1fr;
  }

  .xlat-duo-flip .xlat-duo-media {
    order: 2;
  }
}

.xlat-shot {
  border-radius: var(--xlat-radius);
  overflow: hidden;
  box-shadow: var(--xlat-shadow);
  border: 3px solid rgba(255, 255, 255, 0.85);
}

.xlat-tiles {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .xlat-tiles-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .xlat-tiles-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .xlat-tiles-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .xlat-tiles-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.xlat-tile {
  padding: 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(107, 82, 168, 0.1);
  transition: transform 0.25s var(--xlat-ease), box-shadow 0.25s;
}

.xlat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(61, 47, 107, 0.1);
}

.xlat-tile img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  object-fit: cover;
}

.xlat-tile h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.xlat-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: #555;
}

.xlat-quote-strip {
  margin: 1.6rem 0;
  padding: 1.2rem 1.3rem;
  border-left: 4px solid var(--xlat-amber);
  background: linear-gradient(90deg, rgba(240, 180, 92, 0.14), transparent);
  border-radius: 0 14px 14px 0;
}

.xlat-steps {
  counter-reset: xlat-step;
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
}

.xlat-steps li {
  counter-increment: xlat-step;
  position: relative;
  padding: 0 0 1.2rem 2.6rem;
}

.xlat-steps li::before {
  content: counter(xlat-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--xlat-violet), var(--xlat-coral));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.xlat-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.xlat-btn-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--xlat-violet), var(--xlat-coral));
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(107, 82, 168, 0.28);
  transition: transform 0.2s, box-shadow 0.2s;
}

.xlat-btn-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(107, 82, 168, 0.34);
  color: #fff;
}

.xlat-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(107, 82, 168, 0.28);
  color: var(--xlat-plum) !important;
  text-decoration: none;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.6);
}

/* Subpage */
.xlat-crumb {
  font-size: 0.86rem;
  color: #666;
  margin-bottom: 1.2rem;
}

.xlat-crumb a {
  color: var(--xlat-violet);
  text-decoration: none;
}

.xlat-crumb span {
  margin: 0 0.35rem;
  color: #aaa;
}

.xlat-legal {
  max-width: 820px;
}

.xlat-legal h1 {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--xlat-plum);
  margin: 0 0 1rem;
}

.xlat-legal h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: #2e2848;
}

.xlat-legal p,
.xlat-legal li {
  color: #3f3a52;
}

.xlat-legal ul {
  padding-left: 1.2rem;
}

/* Error pages */
.xlat-error-box {
  text-align: center;
  padding: 3rem 1rem 4rem;
  max-width: 520px;
  margin: 0 auto;
}

.xlat-error-code {
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--xlat-violet), var(--xlat-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

/* Footer */
.xlat-foot {
  background: linear-gradient(180deg, rgba(61, 47, 107, 0.04), rgba(61, 47, 107, 0.08));
  border-top: 1px solid rgba(107, 82, 168, 0.12);
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.xlat-foot-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.xlat-foot-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin-bottom: 1rem;
}

.xlat-foot-nav a {
  color: var(--xlat-plum);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.xlat-foot-copy {
  font-size: 0.82rem;
  color: #777;
  margin: 0;
}

/* Reveal animation */
.xlat-rise {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--xlat-ease), transform 0.55s var(--xlat-ease);
}

.xlat-rise.xlat-rise-on {
  opacity: 1;
  transform: translateY(0);
}
