/* 官网首页 / 下载页（2026-10-22 改版）
   这两页不吃 FastAdmin 那套 bootstrap，样式全在这一个文件里；
   配色跟着软件本身：深蓝灰底 + 琥珀高亮，客户在软件里看到的颜色，网站上对得上。 */

.ld-page {
    --ld-ink: #0f172a;
    --ld-ink-2: #1e293b;
    --ld-body: #334155;
    --ld-muted: #64748b;
    --ld-line: #e2e8f0;
    --ld-bg: #f8fafc;
    --ld-card: #ffffff;
    --ld-amber: #f59e0b;
    --ld-amber-d: #b45309;
    --ld-radius: 14px;
    margin: 0;
    background: var(--ld-bg);
    color: var(--ld-body);
    font: 15px/1.75 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.ld-page a { color: inherit; text-decoration: none; }
/* 这一页自己写了 display 的元素，浏览器那条 [hidden]{display:none} 压不住 ⇒ 统一补一行，
   不然「提交成功后换成这一段」那种切换会两块一起显示 */
.ld-page [hidden] { display: none !important; }
.ld-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* ---------- 顶上导航 ---------- */
.ld-nav {
    position: sticky; top: 0; z-index: 20;
    background: rgba(15, 23, 42, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ld-nav-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.ld-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.ld-brand-mark {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(140deg, var(--ld-amber), #ea580c);
    color: #fff; font-weight: 800; font-size: 17px;
}
.ld-brand-text { display: flex; flex-direction: column; min-width: 0; }
.ld-brand-text b { color: #fff; font-size: 15px; line-height: 1.25; }
.ld-brand-text em { color: #94a3b8; font-style: normal; font-size: 11.5px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-menu { display: flex; align-items: center; gap: 22px; }
.ld-menu a { color: #cbd5e1; font-size: 14px; }
.ld-menu a:hover { color: #fff; }
.ld-on-home .ld-menu a:first-child, .ld-on-download .ld-menu a:nth-child(2) { color: #fff; font-weight: 600; }
.ld-nav-btn {
    flex: 0 0 auto; height: 34px; padding: 0 14px; border-radius: 9px;
    display: inline-flex; align-items: center;
    background: var(--ld-amber); color: #3b1f04; font-weight: 700; font-size: 13.5px;
}
.ld-nav-btn:hover { background: #fbbf24; }

/* ---------- 按钮 ---------- */
.ld-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 44px; padding: 0 24px; border: 1px solid transparent; border-radius: 11px;
    font-size: 15px; font-weight: 600; cursor: pointer; box-sizing: border-box;
    transition: background .15s, border-color .15s, color .15s;
}
.ld-btn-primary { background: var(--ld-amber); color: #3b1f04; }
.ld-btn-primary:hover { background: #fbbf24; }
.ld-btn-ghost { background: transparent; color: #e2e8f0; border-color: rgba(226, 232, 240, .35); }
.ld-btn-ghost:hover { border-color: #e2e8f0; color: #fff; }
.ld-btn-mini { height: 26px; padding: 0 10px; font-size: 12px; border-radius: 7px; background: #fff; color: var(--ld-body); border: 1px solid var(--ld-line); }
.ld-btn-mini:hover { border-color: var(--ld-amber); color: var(--ld-amber-d); }
.ld-btn-lg { height: 52px; padding: 0 34px; font-size: 16.5px; }
.ld-btn[disabled] { opacity: .6; cursor: default; }

/* ---------- 首屏 ---------- */
.ld-hero { background: radial-gradient(1000px 460px at 18% -10%, #1e293b 0%, #0f172a 62%); padding: 74px 0 78px; }
.ld-hero-slim { padding: 54px 0 58px; }
.ld-badge {
    display: inline-block; margin: 0 0 20px; padding: 6px 14px; border-radius: 999px;
    background: rgba(245, 158, 11, .13); border: 1px solid rgba(245, 158, 11, .38);
    color: #fcd34d; font-size: 12.5px;
}
.ld-hero h1 { margin: 0 0 16px; color: #fff; font-size: 38px; line-height: 1.32; font-weight: 700; letter-spacing: .5px; }
.ld-hero-sub { margin: 0; max-width: 720px; color: #cbd5e1; font-size: 16px; line-height: 1.85; }
.ld-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.ld-dl { margin-top: 32px; }
.ld-dl-note { margin: 16px 0 0; color: #94a3b8; font-size: 13.5px; }
.ld-dl-code { color: #fcd34d; font-size: 16px; letter-spacing: 2px; padding: 0 4px; }
.ld-dl-empty {
    margin-top: 30px; padding: 20px 22px; border-radius: var(--ld-radius);
    background: rgba(245, 158, 11, .1); border: 1px solid rgba(245, 158, 11, .34);
}
.ld-dl-empty p { margin: 0; color: #fcd34d; font-size: 15px; }

/* ---------- 分节 ---------- */
.ld-sec { padding: 68px 0; }
.ld-sec-alt { background: #eef2f7; }
.ld-sec-h { margin: 0 0 10px; color: var(--ld-ink); font-size: 26px; line-height: 1.45; font-weight: 700; }
.ld-sec-p { margin: 0 0 34px; color: var(--ld-muted); font-size: 14.5px; }

/* ---------- 优势卡 ---------- */
.ld-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ld-card {
    padding: 24px 22px; border: 1px solid var(--ld-line); border-radius: var(--ld-radius);
    background: var(--ld-card); box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.ld-card h3 { margin: 0 0 10px; font-size: 16.5px; line-height: 1.5; color: var(--ld-ink); }
.ld-card p { margin: 0; font-size: 14px; line-height: 1.85; color: var(--ld-body); }
.ld-card h3::before {
    content: ""; display: inline-block; width: 4px; height: 15px; margin-right: 9px;
    vertical-align: -2px; border-radius: 2px; background: var(--ld-amber);
}

/* ---------- 步骤 ---------- */
.ld-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.ld-steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ld-steps li {
    padding: 22px; border: 1px solid var(--ld-line); border-radius: var(--ld-radius);
    background: var(--ld-card);
}
.ld-step-n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; margin-bottom: 12px; border-radius: 8px;
    background: var(--ld-ink); color: #fff; font-size: 14px; font-weight: 700;
}
.ld-steps h3 { margin: 0 0 6px; font-size: 15.5px; color: var(--ld-ink); }
.ld-steps p { margin: 0; font-size: 13.5px; line-height: 1.8; color: var(--ld-muted); }

/* ---------- 常见问题 ---------- */
.ld-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ld-faq-i { padding: 20px 22px; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); background: var(--ld-card); }
.ld-faq-i b { display: block; margin-bottom: 6px; color: var(--ld-ink); font-size: 15px; }
.ld-faq-i span { font-size: 13.8px; line-height: 1.8; color: var(--ld-body); }

/* ---------- 配置要求 ---------- */
.ld-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 26px; margin-top: 30px; padding: 22px 24px; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); background: var(--ld-card); }
.ld-spec div { display: flex; gap: 12px; font-size: 14px; }
.ld-spec b { flex: 0 0 46px; color: var(--ld-ink); }
.ld-spec span { color: var(--ld-muted); }

/* ---------- 留资表单 ---------- */
.ld-lead { max-width: 720px; margin: 0 auto; }
.ld-lead-card { padding: 30px 32px; border: 1px solid var(--ld-line); border-radius: var(--ld-radius); background: var(--ld-card); }
.ld-lead-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--ld-ink); }
.ld-lead-tip { margin: 0 0 22px; font-size: 13.8px; color: var(--ld-muted); }
.ld-lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.ld-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.ld-field-full { grid-column: 1 / -1; }
.ld-field label { font-size: 13.5px; color: var(--ld-ink); }
.ld-field label b { color: #dc2626; }
.ld-field input, .ld-field textarea {
    width: 100%; box-sizing: border-box; padding: 0 12px; height: 42px;
    border: 1px solid #cbd5e1; border-radius: 10px; background: #fff;
    color: var(--ld-ink); font: inherit; font-size: 14px; outline: none;
}
.ld-field textarea { height: auto; padding: 11px 12px; resize: vertical; line-height: 1.7; }
.ld-field input:focus, .ld-field textarea:focus { border-color: var(--ld-amber); box-shadow: 0 0 0 3px rgba(245, 158, 11, .18); }
.ld-captcha-row { display: flex; align-items: center; gap: 10px; }
.ld-captcha-row input { flex: 1 1 auto; min-width: 0; }
.ld-captcha-img { flex: 0 0 auto; width: 100px; height: 42px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; cursor: pointer; }
.ld-lead-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.ld-lead-msg { font-size: 13.5px; color: var(--ld-muted); }
.ld-lead-msg.is-bad { color: #dc2626; }
.ld-lead-ok { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ld-lead-ok b { font-size: 18px; color: var(--ld-ink); }
.ld-lead-ok span { font-size: 14px; color: var(--ld-body); }
.ld-lead-ok .ld-btn-ghost { color: var(--ld-ink); border-color: #cbd5e1; }
.ld-lead-ok .ld-btn-ghost:hover { border-color: var(--ld-amber); color: var(--ld-amber-d); }

/* ---------- 页脚 ---------- */
.ld-foot { padding: 30px 0 36px; background: var(--ld-ink); }
.ld-foot-links { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 22px; }
.ld-foot-links a { color: #cbd5e1; font-size: 13.5px; }
.ld-foot-links a:hover { color: #fff; }
.ld-foot-copy { margin: 0; color: #7f8ea6; font-size: 12.5px; }
.ld-foot-copy a { color: #7f8ea6; text-decoration: underline; }

/* ---------- 窄屏 ---------- */
@media (max-width: 900px) {
    .ld-cards, .ld-faq, .ld-spec { grid-template-columns: minmax(0, 1fr); }
    .ld-steps, .ld-steps-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ld-hero h1 { font-size: 30px; }
    .ld-menu { display: none; }
}
@media (max-width: 620px) {
    .ld-lead-form { grid-template-columns: minmax(0, 1fr); }
    .ld-steps, .ld-steps-3 { grid-template-columns: minmax(0, 1fr); }
    .ld-hero { padding: 46px 0 52px; }
    .ld-sec { padding: 46px 0; }
    .ld-lead-card { padding: 22px 18px; }
    .ld-hero-btns .ld-btn { width: 100%; }
}
