/* ==========================================================================
   官网首页（landing.php）· 毛玻璃 + 高级感落地页
   与主系统共用 app.css 的 CSS 变量（主题色 / 深浅色 / 玻璃）
   ========================================================================== */

.ld-body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 背景：渐变光球 + 细网格 */
.ld-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(168deg, var(--bg) 0%, var(--bg-2) 100%); }
.ld-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .8; animation: ldFloat 22s var(--ease) infinite alternate; }
.ld-orb.o1 { width: 46vw; height: 46vw; left: -14vw; top: -16vw; background: var(--blob-1); }
.ld-orb.o2 { width: 40vw; height: 40vw; right: -12vw; top: 6vh; background: var(--blob-2); animation-delay: -8s; }
.ld-orb.o3 { width: 36vw; height: 36vw; left: 30vw; bottom: -22vw; background: var(--blob-3); animation-delay: -14s; }
.ld-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .55;
}
@keyframes ldFloat { to { transform: translate3d(2.5vw, 3vh, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .ld-orb { animation: none; } }

/* 顶部导航 */
.ld-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px clamp(14px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s;
}
.ld-nav.is-stuck {
  background: var(--glass-2);
  border-bottom-color: var(--glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
.ld-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; }
.ld-brand img { border-radius: 10px; }
.ld-brand-mark {
  display: inline-grid; place-items: center;
  min-width: 34px; height: 34px; padding: 0 8px;
  border-radius: 10px; font-size: .76rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  letter-spacing: .03em;
}
.ld-brand-mark.sm { min-width: 28px; height: 28px; font-size: .66rem; border-radius: 8px; }
.ld-brand-name { font-weight: 700; font-size: .96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-menu { display: flex; align-items: center; gap: 26px; }
.ld-menu a { color: var(--muted); text-decoration: none; font-size: .86rem; transition: color .18s; }
.ld-menu a:hover { color: var(--text); }
.ld-nav-actions { display: flex; align-items: center; gap: 8px; }
.ld-icon-btn {
  width: 36px; height: 36px; display: inline-grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--glass-border);
  background: var(--glass); color: var(--text); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ld-icon-btn .ico { width: 18px; height: 18px; }
.ld-menu-btn { display: none; }

/* 按钮 */
.ld-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 12px; border: 1px solid transparent;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: transform .14s var(--ease), box-shadow .2s, background .18s;
  white-space: nowrap;
}
.ld-btn .ico { width: 17px; height: 17px; }
.ld-btn:active { transform: scale(.98); }
.ld-btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 16px 34px -18px color-mix(in srgb, var(--brand) 80%, transparent);
}
.ld-btn-primary:hover { box-shadow: 0 20px 40px -16px color-mix(in srgb, var(--brand) 85%, transparent); }
.ld-btn-soft { background: var(--glass); border-color: var(--glass-border); color: var(--text); }
.ld-btn-soft:hover, .ld-btn-ghost:hover { background: var(--glass-2); }
.ld-btn-ghost { background: transparent; border-color: var(--glass-border); color: var(--text); }

/* ======== Hero ======== */
.ld-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 6vw, 76px) clamp(16px, 4vw, 40px) clamp(24px, 5vw, 64px);
}
.ld-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 99px;
  font-size: .76rem; color: var(--muted);
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.ld-badge i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent);
}
.ld-title {
  margin: 16px 0 0;
  font-size: clamp(2rem, 5.4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 800;
}
.ld-title br { display: block; }
.ld-sub {
  margin: 16px 0 0;
  font-size: clamp(.92rem, 1.6vw, 1.04rem);
  line-height: 1.75;
  color: var(--muted);
  max-width: 46ch;
}
.ld-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.ld-note {
  display: flex; align-items: center; gap: 7px;
  margin: 18px 0 0; font-size: .78rem; color: var(--muted-2);
}
.ld-note .ico { width: 15px; height: 15px; color: var(--ok); }

/* 手机预览 */
.ld-hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.ld-phone {
  position: relative;
  width: min(268px, 72vw);
  aspect-ratio: 9 / 18.2;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, var(--glass-2), var(--glass));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow), inset 0 1px 0 var(--glass-highlight);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  transform: rotate(-3deg);
  transition: transform .5s var(--ease);
}
.ld-phone:hover { transform: rotate(0deg) translateY(-4px); }
.ld-phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 74px; height: 6px; border-radius: 99px; background: var(--glass-border);
}
.ld-phone-screen {
  height: 100%; border-radius: 26px;
  padding: 22px 14px 14px;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--brand) 12%, transparent), transparent 42%), var(--input-bg);
  border: 1px solid var(--glass-border);
}
.ld-p-top {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 14px;
  background: var(--glass); border: 1px solid var(--glass-border);
}
.ld-p-top span { font-size: .66rem; color: var(--muted-2); letter-spacing: .06em; }
.ld-p-top b { font-family: var(--mono); font-size: 1.5rem; line-height: 1.05; }
.ld-p-top b small { font-size: .68rem; color: var(--muted); margin-left: 2px; }
.ld-p-list { display: flex; flex-direction: column; gap: 6px; }
.ld-p-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 10px; border-radius: 11px;
  background: var(--glass); border: 1px solid var(--glass-border);
  font-size: .72rem;
}
.ld-p-row b { font-family: var(--mono); color: var(--brand-2); }
.ld-p-btn {
  margin-top: auto;
  text-align: center; padding: 11px; border-radius: 12px;
  font-size: .78rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.ld-float {
  position: absolute;
  display: flex; flex-direction: column; gap: 1px;
  padding: 9px 13px; border-radius: 13px;
  background: var(--glass-2); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  animation: ldBob 6s var(--ease) infinite alternate;
}
.ld-float b { font-size: .64rem; color: var(--muted-2); font-weight: 600; }
.ld-float span { font-size: .84rem; font-weight: 700; font-family: var(--mono); }
.ld-float.f1 { left: 0; top: 16%; }
.ld-float.f2 { right: 0; bottom: 14%; animation-delay: -3s; }
@keyframes ldBob { to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .ld-float { animation: none; } }

/* ======== 数据条 ======== */
.ld-stats {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.ld-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 18px 20px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.ld-stat b { font-family: var(--mono); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1; }
.ld-stat b small { font-size: .78rem; color: var(--muted); margin-left: 2px; }
.ld-stat span { font-size: .78rem; color: var(--muted-2); }


/* ======== 区块通用 ======== */
.ld-section {
  max-width: 1200px; margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 40px) 0;
}
.ld-head { max-width: 620px; margin-bottom: clamp(22px, 4vw, 38px); }
.ld-eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 700;
}
.ld-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.25; letter-spacing: -.01em;
}
.ld-head p { margin: 10px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.7; }

/* 功能卡片 */
.ld-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ld-card {
  position: relative;
  padding: 22px 20px 24px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  transition: transform .22s var(--ease), background .2s;
  overflow: hidden;
}
.ld-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(240px 160px at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%);
  opacity: 0; transition: opacity .25s;
  pointer-events: none;
}
.ld-card:hover { transform: translateY(-4px); }
.ld-card:hover::after { opacity: 1; }
.ld-card-ico {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 24%, transparent), color-mix(in srgb, var(--brand-2) 18%, transparent));
  border: 1px solid var(--glass-border);
  color: var(--brand-2);
}
.ld-card-ico .ico { width: 22px; height: 22px; }
.ld-card h3 { margin: 14px 0 6px; font-size: 1rem; }
.ld-card p { margin: 0; font-size: .84rem; line-height: 1.7; color: var(--muted); }
.ld-card-no {
  position: absolute; right: 16px; top: 14px;
  font-family: var(--mono); font-size: .72rem; color: var(--muted-2); opacity: .6;
}

/* 流程 */
.ld-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ld-step {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 18px;
  border-radius: 18px;
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.ld-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand), transparent);
  border-radius: 18px 18px 0 0;
}
.ld-step-no {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px; margin-bottom: 4px;
  font-family: var(--mono); font-size: .76rem; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.ld-step b { font-size: .92rem; }
.ld-step small { font-size: .8rem; line-height: 1.6; color: var(--muted-2); }

/* FAQ */
.ld-faq { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.ld-faq-item {
  border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  overflow: hidden;
}
.ld-faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 18px; cursor: pointer; font-weight: 600; font-size: .9rem;
  list-style: none;
}
.ld-faq-item summary::-webkit-details-marker { display: none; }
.ld-faq-item summary i {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.ld-faq-item[open] summary i { transform: rotate(-135deg); }
.ld-faq-item p { margin: 0; padding: 0 18px 16px; font-size: .84rem; line-height: 1.75; color: var(--muted); }


/* CTA */
.ld-cta-wrap { padding-bottom: clamp(40px, 7vw, 80px); }
.ld-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 26px;
  background:
    radial-gradient(600px 220px at 0% 0%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%),
    var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
.ld-cta h2 { margin: 0 0 8px; font-size: clamp(1.24rem, 2.6vw, 1.7rem); }
.ld-cta p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.7; max-width: 52ch; }
.ld-contact { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ld-contact li { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.ld-contact .ico { width: 15px; height: 15px; color: var(--brand-2); }
.ld-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 页脚 */
.ld-footer { margin-top: clamp(30px, 6vw, 60px); border-top: 1px solid var(--line); }
.ld-footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 26px clamp(16px, 4vw, 40px) 34px;
  display: flex; flex-direction: column; gap: 6px;
}
.ld-footer-brand { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.ld-footer-brand img { border-radius: 8px; }
.ld-footer-brand b { font-size: .88rem; }
.ld-footer-extra, .ld-footer-meta { margin: 0; font-size: .76rem; color: var(--muted-2); line-height: 1.7; }

/* ======== 响应式 ======== */
@media (max-width: 1000px) {
  .ld-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ld-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .ld-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 14px 14px;
    background: var(--glass-2);
    border-bottom: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
    display: none;
  }
  .ld-menu.is-open { display: flex; }
  .ld-menu a { padding: 12px 4px; border-bottom: 1px dashed var(--line); font-size: .92rem; }
  .ld-menu a:last-child { border-bottom: 0; }
  .ld-menu-btn { display: inline-grid; }
  .ld-hero { grid-template-columns: 1fr; }
  .ld-hero-art { order: -1; min-height: 300px; margin-bottom: 6px; }
  .ld-phone { transform: rotate(-2deg) scale(.94); }
  .ld-sub { max-width: none; }
  .ld-stats { grid-template-columns: 1fr; }
  .ld-stat { flex-direction: row; align-items: baseline; gap: 10px; padding: 14px 16px; }
  .ld-cta { flex-direction: column; align-items: flex-start; }
  .ld-cta-btns { width: 100%; }
  .ld-cta-btns .ld-btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 560px) {
  .ld-cards { grid-template-columns: 1fr; }
  .ld-steps { grid-template-columns: 1fr; }
  .ld-brand-name { max-width: 42vw; }
  .ld-float.f1 { left: -6px; top: 8%; }
  .ld-float.f2 { right: -6px; bottom: 8%; }
  .ld-hero-btns .ld-btn { flex: 1 1 auto; justify-content: center; }
}


/* 滚动进入动画 */
.ld-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ld-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ld-reveal { opacity: 1; transform: none; transition: none; }
}

.ld-btn-sm { height: 36px; padding: 0 14px; font-size: .82rem; border-radius: 10px; }
