/* 官网落地页（纯前端），资源 /static/landing/ */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('./QGYvz_MVcBeNP4NJtEtq.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('./vEFI2_tTDB4M7-auWDN0ahZJW1gb8tc.woff2') format('woff2');
}

:root {
  --lp-ink: #0f172a;
  --lp-muted: #64748b;
  --lp-line: #e2e8f0;
  --lp-bg: #f8fafc;
  --lp-bg-soft: #eef6ff;
  --lp-card: #ffffff;
  --lp-accent: #bcff25;
  --lp-accent-ink: #0f172a;
  --lp-brand: #0ea5e9;
  --lp-dark: #0b1220;
  --lp-radius: 1rem;
  --lp-max: 72rem;
  --lp-font: 'Outfit', system-ui, sans-serif;
  --lp-display: 'Source Serif 4', Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lp-body {
  margin: 0;
  font-family: var(--lp-font);
  color: var(--lp-ink);
  background: var(--lp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lp-wrap {
  width: min(100% - 2rem, var(--lp-max));
  margin-inline: auto;
}

/* —— Nav —— */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.lp-nav.is-scrolled {
  border-bottom-color: var(--lp-line);
  background: rgba(255, 255, 255, 0.92);
}

.lp-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lp-brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.lp-nav__links {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
  color: var(--lp-muted);
}

.lp-nav__links a:hover {
  color: var(--lp-ink);
}

.lp-nav__links a.is-active {
  color: var(--lp-ink);
  font-weight: 600;
}

.lp-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-nav__me-wrap {
  position: relative;
}

.lp-nav__me {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--lp-ink);
  font-size: 0.85rem;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.lp-nav__me-wrap:hover .lp-nav__me,
.lp-nav__me:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.lp-nav__avatar {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: block;
}

.lp-nav__me-text {
  padding-right: 0.15rem;
}

.lp-nav__me-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 50;
  min-width: 10.5rem;
  padding: 0.4rem;
  border: 1px solid var(--lp-line);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

/* 悬停桥：避免移入菜单时空隙导致收起 */
.lp-nav__me-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.45rem;
}

.lp-nav__me-wrap:hover .lp-nav__me-menu,
.lp-nav__me-wrap:focus-within .lp-nav__me-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lp-nav__me-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--lp-ink);
  white-space: nowrap;
}

.lp-nav__me-menu a:hover {
  background: #f1f5f9;
}

.lp-nav__me-menu a.is-danger {
  color: #b91c1c;
}

.lp-nav__me-menu a.is-danger:hover {
  background: #fef2f2;
}

@media (max-width: 899px) {
  .lp-nav__me-wrap {
    display: none;
  }
}

.lp-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  border: 1px solid var(--lp-line);
  border-radius: 0.65rem;
  background: #fff;
  cursor: pointer;
}

.lp-nav__toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--lp-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-nav__toggle[aria-expanded='true'] .lp-nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.lp-nav__toggle[aria-expanded='true'] .lp-nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.lp-nav__toggle[aria-expanded='true'] .lp-nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.lp-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lp-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lp-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(20rem, 88vw);
  height: 100%;
  background: #fff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.15);
  transform: translateX(105%);
  transition: transform 0.25s ease;
}

.lp-drawer.is-open {
  transform: translateX(0);
}

.lp-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--lp-line);
}

.lp-drawer__title {
  font-weight: 700;
}

.lp-drawer__close {
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: var(--lp-bg);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--lp-ink);
}

.lp-drawer__nav {
  display: grid;
  gap: 0.15rem;
  padding: 0.75rem;
}

.lp-drawer__nav a {
  padding: 0.85rem 0.9rem;
  border-radius: 0.75rem;
  font-weight: 600;
  color: var(--lp-ink);
}

.lp-drawer__nav a:hover {
  background: var(--lp-bg);
}

.lp-drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 0.65rem;
  padding: 1rem 1.1rem 1.25rem;
  border-top: 1px solid var(--lp-line);
}

.lp-drawer__foot .lp-btn {
  width: 100%;
}

body.lp-drawer-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .lp-nav__signin {
    display: none;
  }
}

.lp-lang {
  border: 1px solid var(--lp-line);
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.35rem 0.5rem;
  font: inherit;
  font-size: 0.85rem;
  color: var(--lp-ink);
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s, box-shadow 0.15s;
}

.lp-btn:active {
  transform: scale(0.98);
}

.lp-btn--primary {
  background: var(--lp-accent);
  color: var(--lp-accent-ink);
  box-shadow: 0 8px 24px rgba(188, 255, 37, 0.35);
}

.lp-btn--primary:hover {
  filter: brightness(1.03);
}

.lp-btn--ghost {
  background: transparent;
  border-color: var(--lp-line);
  color: var(--lp-ink);
}

.lp-btn--ghost:hover {
  background: #fff;
}

.lp-btn--dark {
  background: var(--lp-dark);
  color: #fff;
}

.lp-btn--dark:hover {
  background: #1a2438;
}

.lp-btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.lp-btn--store {
  gap: 0.55rem;
  min-width: 13.125rem;
  background: #fff;
  color: var(--lp-ink);
  border: 1px solid var(--lp-line);
  box-shadow: none;
}

.lp-btn--store:hover {
  background: #f8fafc;
  filter: none;
}

.lp-btn__icon {
  width: 1.375rem;
  height: 1.375rem;
  flex-shrink: 0;
  object-fit: contain;
}

.lp-section--dark .lp-btn--store {
  border-color: rgba(226, 232, 240, 0.35);
  background: rgba(255, 255, 255, 0.96);
  color: var(--lp-ink);
}

.lp-section--dark .lp-btn--store:hover {
  background: #fff;
}

.lp-section--dark .lp-btn--ghost {
  border-color: rgba(226, 232, 240, 0.35);
  color: #fff;
}

.lp-section--dark .lp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* —— Hero —— */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 2rem;
  background:
    radial-gradient(ellipse 80% 60% at 70% 0%, rgba(14, 165, 233, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(188, 255, 37, 0.18), transparent 50%),
    linear-gradient(180deg, #f8fafc 0%, #eef6ff 100%);
}

.lp-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.lp-hero__eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-brand);
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--lp-display);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lp-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 34rem;
  font-size: 1.1rem;
  color: var(--lp-muted);
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.lp-hero__visual {
  position: relative;
}

.lp-hero__visual img {
  width: 100%;
  border-radius: calc(var(--lp-radius) + 0.25rem);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  animation: lp-float 6s ease-in-out infinite;
}

@keyframes lp-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* —— Sections —— */
.lp-section {
  padding: 4.5rem 0;
}

.lp-section--alt {
  background: #fff;
}

.lp-section--soft {
  background: var(--lp-bg-soft);
}

.lp-section--dark {
  background: var(--lp-dark);
  color: #e2e8f0;
}

.lp-section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.lp-section__head h2 {
  margin: 0 0 0.75rem;
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lp-section__head p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 1.05rem;
}

.lp-section--dark .lp-section__head p {
  color: #94a3b8;
}

/* steps */
.lp-steps {
  display: grid;
  gap: 1.25rem;
}

.lp-step {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s;
}

.lp-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.lp-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--lp-accent);
  color: var(--lp-accent-ink);
  font-weight: 700;
  font-size: 0.9rem;
}

.lp-step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.lp-step p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

/* split */
.lp-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lp-split h2 {
  margin: 0 0 0.85rem;
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
}

.lp-split p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 1.05rem;
}

.lp-split__media img {
  width: 100%;
}

/* cards grids */
.lp-grid-3,
.lp-grid-4,
.lp-grid-2 {
  display: grid;
  gap: 1.25rem;
}

.lp-card {
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 1.35rem;
  height: 100%;
}

.lp-card h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.05rem;
}

.lp-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

.lp-card__icon {
  width: 100%;
  max-height: 9rem;
  object-fit: contain;
  margin: 0 auto;
}

.lp-card__thumb {
  width: 100%;
  border-radius: 0.75rem;
  background: var(--lp-bg);
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.lp-feature {
  display: grid;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 1.25rem;
}

.lp-feature img {
  width: min(100%, 11rem);
  margin-inline: auto;
}

.lp-feature h3 {
  margin: 0 0 0.35rem;
}

.lp-feature p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

/* quotes */
.lp-quote {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 1.5rem;
  height: 100%;
}

.lp-quote p {
  margin: 0 0 1.25rem;
  color: #334155;
  font-size: 0.98rem;
}

.lp-quote__who {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lp-quote__who img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
  background: #e2e8f0;
}

.lp-quote__who strong {
  display: block;
  font-size: 0.95rem;
}

.lp-quote__who span {
  font-size: 0.8rem;
  color: var(--lp-muted);
}

/* privacy */
.lp-privacy {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.lp-privacy img {
  width: min(100%, 16rem);
  margin-inline: auto;
}

.lp-privacy ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.lp-privacy li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.55rem;
  color: var(--lp-muted);
}

.lp-privacy li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--lp-accent);
}

/* FAQ */
.lp-faq {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
}

.lp-faq details {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0.85rem;
  padding: 0.15rem 1rem;
}

.lp-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 2.25rem 1rem 0;
  font-weight: 600;
  position: relative;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq__icon {
  position: absolute;
  right: 0.15rem;
  top: 50%;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: -0.675rem;
  border-radius: 999px;
  background: var(--lp-bg);
  border: 1px solid var(--lp-line);
}

.lp-faq__icon::before,
.lp-faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--lp-ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-faq__icon::before {
  width: 0.65rem;
  height: 1.5px;
  margin: -0.75px 0 0 -0.325rem;
}

.lp-faq__icon::after {
  width: 1.5px;
  height: 0.65rem;
  margin: -0.325rem 0 0 -0.75px;
}

.lp-faq details[open] .lp-faq__icon::after {
  opacity: 0;
  transform: scaleY(0);
}

.lp-faq details[open] .lp-faq__icon::before {
  transform: rotate(180deg);
}

.lp-faq details[open] summary {
  border-bottom: 1px solid var(--lp-line);
}

.lp-faq details p {
  margin: 0;
  padding: 0.9rem 0 1.1rem;
  color: var(--lp-muted);
  font-size: 0.95rem;
}

/* CTA band */
.lp-cta {
  text-align: center;
  padding: 4rem 0;
}

.lp-cta h2 {
  margin: 0 0 0.75rem;
  font-family: var(--lp-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.lp-cta p {
  margin: 0 0 1.5rem;
  color: #94a3b8;
}

/* footer */
.lp-footer {
  border-top: 1px solid var(--lp-line);
  background: #fff;
  padding: 2.5rem 0 2rem;
}

.lp-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.lp-footer__brand {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.lp-footer p,
.lp-footer a {
  color: var(--lp-muted);
  font-size: 0.9rem;
}

.lp-footer a:hover {
  color: var(--lp-ink);
}

.lp-footer__col h4 {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lp-ink);
}

.lp-footer__col {
  display: grid;
  gap: 0.4rem;
}

.lp-footer__copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lp-line);
  font-size: 0.85rem;
  color: var(--lp-muted);
}

/* reveal */
.lp-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.lp-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 768px) {
  .lp-nav__links {
    display: flex;
  }

  .lp-nav__toggle {
    display: none;
  }

  .lp-drawer,
  .lp-drawer-backdrop {
    display: none !important;
  }

  .lp-hero {
    padding: 4.5rem 0 3rem;
  }

  .lp-hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }

  .lp-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .lp-split--rev .lp-split__media {
    order: -1;
  }

  .lp-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-feature {
    grid-template-columns: 10rem 1fr;
    gap: 1.25rem;
  }

  .lp-feature img {
    margin: 0;
  }

  .lp-privacy {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .lp-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .lp-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .lp-grid-2.lp-features {
    grid-template-columns: repeat(2, 1fr);
  }
}
