:root { color-scheme: light; --bg:#eef6ff; --ink:#142b4a; --ink2:#476582; --brand:#1c6fff; --card:#ffffff; --line:#d7e6f8; }
* { box-sizing:border-box; }
body { margin:0; font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif; color:var(--ink); background:var(--bg); -webkit-font-smoothing:antialiased; }
a { color:inherit; text-decoration:none; }

/* ===== 整图画布：官网 1:1 呈现参考设计，交互靠精准透明热区 ===== */
.site-canvas { position:relative; width:100%; max-width:1536px; margin:0 auto; line-height:0; }
.site-canvas__img { display:block; width:100%; height:auto; }
.hot { position:absolute; display:block; z-index:2; line-height:0; text-indent:-9999px; overflow:hidden; border-radius:8px; }
.hot:hover { outline:2px solid rgba(28,111,255,.35); outline-offset:1px; background:rgba(28,111,255,.06); }

/* 顶部导航（参考图 1536×1024，百分比定位随图缩放） */
.nav-home      { left:24.0%; top:1.8%; width:4.4%; height:4.0%; }
.nav-product   { left:29.5%; top:1.8%; width:6.0%; height:4.0%; }
.nav-feature   { left:36.2%; top:1.8%; width:6.0%; height:4.0%; }
.nav-solution  { left:42.8%; top:1.8%; width:6.0%; height:4.0%; }
.nav-dev       { left:49.6%; top:1.8%; width:6.5%; height:4.0%; }
.nav-about     { left:56.6%; top:1.8%; width:6.0%; height:4.0%; }
.nav-login     { left:82.8%; top:1.6%; width:5.0%; height:4.4%; }
.nav-signup    { left:90.4%; top:1.8%; width:6.9%; height:3.8%; }

/* 首屏 CTA（y≈349-390） */
.hero-trial    { left:3.6%;  top:34.1%; width:10.8%; height:4.2%; border-radius:999px; }
.hero-demo     { left:15.9%; top:34.1%; width:8.7%;  height:4.2%; border-radius:999px; }

/* 产品预览区 / 后台 / 底部 CTA / footer */
.panel-more    { left:86.0%; top:84.6%; width:8.0%;  height:4.2%; border-radius:999px; }
.admin-link    { left:6.0%;  top:84.0%; width:8.0%;  height:3.5%; }
.cta-start     { left:81.2%; top:87.6%; width:16.4%; height:4.2%; border-radius:999px; }
.foot-doc      { left:14.4%; top:94.8%; width:5.5%;  height:3.0%; }
.foot-help     { left:20.0%; top:94.8%; width:5.5%;  height:3.0%; }
.foot-contact  { left:25.8%; top:94.8%; width:5.5%;  height:3.0%; }

.sr-only { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ===== 视图切换：官网与后台共用同一 SPA shell ===== */
.site-only, .app-only { display:block; }
body.app-body .site-only { display:none; }
body:not(.app-body) .app-only { display:none!important; }
body.app-body .app-only { display:block; }

@media (prefers-reduced-motion:reduce) { .hot { transition:none; } }
.anchor { position:absolute; width:1px; height:1px; z-index:0; }
.anchor-product   { left:0; top:39%; }
.anchor-features  { left:0; top:47%; }
.anchor-solutions { left:0; top:70%; }
.anchor-developer { left:0; top:80%; }
.anchor-about     { left:0; top:95%; }
html { scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
.site-canvas { overflow:hidden; }

/* ===== 移动端专用排版（≤768px）：桌面整图隐藏，改用裁切素材+真实DOM文字 ===== */
.mobile-site { display:none; }
@media (max-width:768px) {
  .site-canvas { display:none; }
  .mobile-site { display:block; background:var(--bg); padding-bottom:24px; }
  .m-header { display:flex; align-items:center; justify-content:space-between; padding:14px 18px; background:#fff; border-bottom:1px solid var(--line); }
  .m-logo { display:flex; align-items:center; gap:8px; font-size:20px; font-weight:800; color:var(--ink); }
  .m-logo-mark { display:grid; place-items:center; width:28px; height:28px; background:var(--brand); color:#fff; border-radius:8px; font-size:17px; font-weight:900; }
  .m-login { font-size:14px; font-weight:600; color:var(--brand); border:1px solid #bcd8ff; border-radius:999px; padding:7px 16px; }
  .m-hero { padding:26px 18px 8px; background:linear-gradient(180deg,#eaf4ff,var(--bg)); }
  .m-hero h1 { margin:0 0 10px; font-size:clamp(28px,7.5vw,38px); line-height:1.2; letter-spacing:-.5px; color:var(--ink); }
  .m-hero h1 em { color:var(--brand); font-style:normal; }
  .m-sub { margin:0 0 14px; font-size:16px; font-weight:700; color:var(--ink); }
  .m-desc { margin:0 0 16px; font-size:14px; line-height:1.7; color:var(--ink2); }
  .m-tags { display:flex; flex-wrap:wrap; gap:8px 14px; margin-bottom:20px; }
  .m-tags span { display:inline-flex; align-items:center; gap:6px; font-size:13px; color:var(--ink2); }
  .m-tags span::before { content:''; width:14px; height:14px; border-radius:50%; background:var(--brand); box-shadow:inset 0 0 0 3px #fff; }
  .m-actions { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:22px; }
  .m-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px; border-radius:999px; font-size:15px; font-weight:700; }
  .m-btn.primary { background:var(--brand); color:#fff; box-shadow:0 8px 18px rgba(28,111,255,.22); }
  .m-btn.ghost { background:#fff; color:var(--brand); border:1px solid #bcd8ff; }
  .m-btn.m-block { display:flex; width:100%; margin-top:16px; }
  .m-hero-art { display:block; width:calc(100% + 36px); max-width:none; margin:0 -18px; height:auto; }
  .m-features { padding:14px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .m-feat { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 12px; }
  .m-feat-wide { grid-column:1/-1; }
  .m-feat strong { display:block; font-size:14px; color:var(--ink); }
  .m-feat small { display:block; margin-top:2px; font-size:11px; line-height:1.4; color:var(--ink2); }
  .m-fi { flex:0 0 34px; width:34px; height:34px; border-radius:9px; background:#eaf4ff; position:relative; }
  .m-fi::before,.m-fi::after { content:''; position:absolute; display:block; }
  .m-fi-chat::before { width:16px;height:12px;border:2px solid var(--brand);border-radius:3px;top:9px;left:9px; }
  .m-fi-chat::after { width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:6px solid var(--brand);top:21px;left:14px; }
  .m-fi-brain::before { width:13px;height:13px;border:2px solid var(--brand);border-radius:50%;top:8px;left:11px; }
  .m-fi-brain::after { width:14px;height:8px;border:2px solid var(--brand);border-bottom:0;border-radius:8px 8px 0 0;top:19px;left:10px; }
  .m-fi-book::before { width:15px;height:15px;border:2px solid var(--brand);border-radius:2px 6px 6px 2px;top:9px;left:10px; }
  .m-fi-book::after { width:2px;height:15px;background:var(--brand);top:9px;left:17px; }
  .m-fi-plug::before { width:9px;height:13px;border:2px solid var(--brand);border-radius:3px;top:9px;left:13px; }
  .m-fi-plug::after { width:17px;height:2px;background:var(--brand);top:14px;left:9px; }
  .m-fi-shield::before { width:17px;height:17px;border:2px solid var(--brand);border-radius:50% 50% 6px 6px;top:9px;left:9px; }
  .m-fi-shield::after { width:7px;height:4px;border-left:2px solid var(--brand);border-bottom:2px solid var(--brand);transform:rotate(-45deg);top:15px;left:14px; }
  .m-product { padding:22px 18px 8px; }
  .m-product h2 { margin:0 0 8px; font-size:23px; letter-spacing:-.5px; }
  .m-product > p { margin:0 0 16px; font-size:13px; line-height:1.6; color:var(--ink2); }
  .m-cards { display:grid; gap:12px; }
  .m-cards img { display:block; width:100%; height:auto; border:1px solid var(--line); border-radius:12px; background:#fff; }
  .m-bottom { padding:18px; display:grid; gap:12px; }
  .m-img-link,.m-cta-wrap { display:block; position:relative; }
  .m-img-link img,.m-cta-wrap img { display:block; width:100%; height:auto; border-radius:12px; }
  .m-cta-hot { position:absolute; right:4%; top:22%; width:26%; height:56%; border-radius:999px; }
  .m-footer { padding:22px 18px 8px; border-top:1px solid var(--line); color:var(--ink2); font-size:12px; }
  .m-footer > span { display:block; margin-bottom:8px; }
  .m-foot-links { display:flex; flex-wrap:wrap; gap:10px 0; margin-top:6px; }
  .m-foot-links a { color:var(--brand); padding:6px 0; margin-right:22px; white-space:nowrap; }
}
