/* ==========================================================================
   千谋 CLM 静态演示站 · 系统介绍落地页
   ========================================================================== */

html {
  scroll-behavior: smooth;
  /* 锚点跳转时给固定导航留出高度，避免标题被压住 */
  scroll-padding-top: 82px;
}

body.landing-body {
  background: #f7f9fc;
  /* 注意：这里不能用 overflow-x:hidden —— 它会让 body 变成滚动容器，
     从而使 .ld-nav 的 position:sticky 失效（导航不会悬浮）。用 clip 代替。 */
  overflow-x: clip;
}

/* 锚点目标留出导航高度 */
.ld-section,
.ld-anchor {
  scroll-margin-top: 82px;
}

/* ============================ 顶部导航 ============================ */
.ld-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid #e8eef7;
  transition: box-shadow 0.22s ease, background 0.22s ease;
}
/* 向下滚动后加深背景并加投影，让悬浮导航始终清晰 */
.ld-nav.is-stuck {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.09);
}
.ld-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.ld-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16px;
  color: #0f172a;
  white-space: nowrap;
}
.ld-brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #409eff, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 14px rgba(64, 158, 255, 0.4);
}
.ld-brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #94a3b8;
  font-weight: 600;
}
.ld-nav-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  flex-wrap: wrap;
}
.ld-nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 14px;
  color: #475569;
  transition: all var(--tr-fast);
}
.ld-nav-links a:hover {
  color: #2563eb;
  background: #eff6ff;
}
.ld-nav-links a.is-active {
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 700;
}
.ld-nav-cta {
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
@media (max-width: 1080px) {
  .ld-nav-links { display: none; }
}

/* 不支持 overflow:clip 的旧浏览器降级：放弃横向裁剪，保住悬浮导航 */
@supports not (overflow: clip) {
  body.landing-body { overflow-x: visible; }
}

/* ============================ Hero ============================ */
.ld-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 12% 0%, rgba(59, 130, 246, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 60% at 88% 20%, rgba(34, 197, 94, 0.12), transparent 60%),
    linear-gradient(180deg, #f8fbff 0%, #f7f9fc 100%);
  padding: 62px 0 70px;
}
.ld-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.ld-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
@media (max-width: 1040px) {
  .ld-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

.ld-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.ld-hero h1 {
  font-size: 42px;
  line-height: 1.24;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin-top: 20px;
}
.ld-hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #2563eb, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ld-hero .lead {
  font-size: 16px;
  line-height: 1.9;
  color: #475569;
  margin-top: 18px;
  max-width: 620px;
}
.ld-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.ld-hero-tags {
  display: flex;
  gap: 8px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.ld-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e8eef7;
  font-size: 12px;
  color: #475569;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.ld-hero-tag .icon { color: #409eff; font-size: 13px; }

/* Hero 右侧预览 */
.ld-preview {
  position: relative;
}
.ld-preview-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dbe6f5;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
}
.ld-preview-bar {
  height: 36px;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.ld-preview-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}
.ld-preview-bar .url {
  margin-left: 10px;
  font-size: 11px;
  color: #94a3b8;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 2px 12px;
  flex: 1;
  max-width: 320px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.ld-preview-body {
  display: flex;
  height: 340px;
}
.ld-preview-side {
  width: 116px;
  flex-shrink: 0;
  background: #001529;
  padding: 10px 0;
}
.ld-preview-side .item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  font-size: 10px;
  color: #93a4b8;
}
.ld-preview-side .item.on {
  background: rgba(64, 158, 255, 0.22);
  color: #fff;
  border-left: 2px solid #409eff;
}
.ld-preview-side .item .icon { font-size: 11px; }
.ld-preview-side .sec {
  font-size: 8px;
  letter-spacing: 1px;
  color: #475569;
  padding: 10px 12px 4px;
}
.ld-preview-main {
  flex: 1;
  padding: 12px;
  background: #f5f7fa;
  overflow: hidden;
}
.ld-preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.ld-preview-kpi {
  background: #fff;
  border-radius: 8px;
  padding: 9px 10px;
  border: 1px solid #eef2f7;
}
.ld-preview-kpi .k { font-size: 8px; color: #94a3b8; }
.ld-preview-kpi .v { font-size: 15px; font-weight: 800; color: #0f172a; margin-top: 3px; }
.ld-preview-chart {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  height: 116px;
  padding: 8px 10px 4px;
}
.ld-preview-rows {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 8px;
  margin-top: 10px;
  padding: 7px 10px;
}
.ld-preview-rows .r {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #475569;
  padding: 4px 0;
  border-bottom: 1px dashed #eef2f7;
}
.ld-preview-rows .r:last-child { border-bottom: none; }
.ld-preview-rows .r .nm { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ld-preview-rows .r .tg {
  font-size: 8px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #f0f9eb;
  color: #529b2e;
}
.ld-preview-rows .r .tg.warn { background: #fdf6ec; color: #b88230; }

.ld-preview-float {
  position: absolute;
  right: -14px;
  bottom: -18px;
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 12px;
  padding: 11px 15px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floatY 4.5s ease-in-out infinite;
}
.ld-preview-float .t { font-size: 12px; font-weight: 700; color: #0f172a; }
.ld-preview-float .d { font-size: 10px; color: #94a3b8; }

/* ============================ 通用区块 ============================ */
.ld-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 66px 24px;
}
.ld-section.is-tight { padding-top: 22px; }
.ld-sec-head {
  text-align: center;
  margin-bottom: 40px;
}
.ld-sec-head .eyebrow {
  font-size: 12px;
  letter-spacing: 2px;
  color: #409eff;
  font-weight: 700;
  text-transform: uppercase;
}
.ld-sec-head h2 {
  font-size: 30px;
  font-weight: 800;
  color: #0f172a;
  margin-top: 12px;
}
.ld-sec-head p {
  font-size: 15px;
  color: #64748b;
  margin-top: 12px;
  line-height: 1.85;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* 数据带 */
.ld-stats {
  background: linear-gradient(120deg, #1e40af, #3b82f6 55%, #22c55e 160%);
  border-radius: 20px;
  padding: 34px 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  box-shadow: 0 24px 60px rgba(30, 64, 175, 0.22);
}
@media (max-width: 1040px) { .ld-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .ld-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ld-stat { text-align: center; color: #fff; }
.ld-stat .n {
  font-size: 34px;
  font-weight: 800;
  font-family: var(--font-mono);
  line-height: 1.1;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.ld-stat .n small { font-size: 15px; font-weight: 600; margin-left: 2px; }
.ld-stat .l {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.84);
  margin-top: 8px;
}

/* 亮点卡 */
.ld-hl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.ld-hl {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  padding: 24px;
  transition: all var(--tr-base);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
  position: relative;
  overflow: hidden;
}
.ld-hl::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64, 158, 255, 0.09), transparent 70%);
  pointer-events: none;
}
.ld-hl:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(15, 23, 42, 0.13);
  border-color: #c7dcfb;
}
.ld-hl-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.ld-hl h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
}
.ld-hl p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.85;
}
.ld-hl ul {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed #e8eef7;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ld-hl li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
  line-height: 1.7;
}
.ld-hl li .icon {
  color: #22c55e;
  flex-shrink: 0;
  margin-top: 3px;
}

/* 模块导航卡 */
.ld-mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 16px;
}
.ld-mod {
  display: block;
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  padding: 18px 20px;
  color: inherit;
  transition: all var(--tr-base);
  box-shadow: 0 1px 6px rgba(15, 23, 42, 0.04);
}
.ld-mod:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.12);
  border-color: #c7dcfb;
  color: inherit;
}
.ld-mod-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed #eef2f7;
}
.ld-mod h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.ld-mod .desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}
.ld-mod-pages {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ld-mod-pages span {
  font-size: 12.5px;
  color: #475569;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ld-mod-pages span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bfdbfe;
  flex-shrink: 0;
}

/* 角色/端 双栏 */
.ld-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
@media (max-width: 980px) { .ld-two-col { grid-template-columns: minmax(0, 1fr); } }
.ld-col-card {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}
.ld-col-head {
  padding: 20px 24px;
  color: #fff;
}
.ld-col-head.blue { background: linear-gradient(120deg, #1e40af, #3b82f6); }
.ld-col-head.green { background: linear-gradient(120deg, #15803d, #22c55e); }
.ld-col-head h3 { font-size: 17px; font-weight: 800; }
.ld-col-head p { font-size: 12.5px; color: rgba(255, 255, 255, 0.86); margin-top: 6px; line-height: 1.7; }
.ld-col-body { padding: 20px 24px; }
.ld-col-body .row {
  display: flex;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed #eef2f7;
  font-size: 13px;
  color: #475569;
  line-height: 1.7;
}
.ld-col-body .row:last-child { border-bottom: none; }
.ld-col-body .row .icon { color: #409eff; flex-shrink: 0; margin-top: 3px; }

/* 技术栈 */
.ld-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.ld-tech {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 12px;
  padding: 16px 18px;
}
.ld-tech .cat {
  font-size: 11px;
  letter-spacing: 1px;
  color: #409eff;
  font-weight: 700;
}
.ld-tech .items {
  margin-top: 8px;
  font-size: 13px;
  color: #334155;
  line-height: 1.95;
}

/* 步骤 */
.ld-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  counter-reset: ldstep;
}
.ld-step {
  background: #fff;
  border: 1px solid #e8eef7;
  border-radius: 14px;
  padding: 20px;
  position: relative;
}
.ld-step .num {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, #409eff, #2563eb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
}
.ld-step h4 { font-size: 14.5px; font-weight: 700; color: #0f172a; }
.ld-step p { font-size: 12.5px; color: #64748b; line-height: 1.8; margin-top: 8px; }

/* CTA */
.ld-cta {
  max-width: 1240px;
  margin: 0 auto 20px;
  padding: 0 24px;
}
.ld-cta-inner {
  background:
    radial-gradient(ellipse 60% 120% at 10% 0%, rgba(56, 189, 248, 0.26), transparent 60%),
    linear-gradient(120deg, #0f172a, #1e293b 60%, #0f172a);
  border-radius: 22px;
  padding: 46px 40px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  box-shadow: 0 26px 66px rgba(15, 23, 42, 0.28);
}
.ld-cta h2 { font-size: 26px; font-weight: 800; }
.ld-cta p { font-size: 14px; color: rgba(255, 255, 255, 0.76); margin-top: 10px; line-height: 1.85; max-width: 640px; }
.ld-cta-actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* 页脚 */
.ld-footer {
  border-top: 1px solid #e8eef7;
  background: #fff;
  padding: 34px 24px 26px;
  text-align: center;
}
.ld-footer .brand {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}
.ld-footer .links {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 16px 0 12px;
  flex-wrap: wrap;
  font-size: 13px;
}
.ld-footer .links a { color: #64748b; }
.ld-footer .links a:hover { color: #2563eb; }
.ld-footer .cp { font-size: 12px; color: #94a3b8; line-height: 1.9; }
