* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background: #fff;
  min-height: 100%;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; border: 0; vertical-align: top; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
ul { list-style: none; }

.shell {
  width: min(1200px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* ===== 顶栏 ===== */
.site-header {
  background: rgba(214, 222, 254, 1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  height: 80px;
  padding: 0 20px;
  transition: background-color 1s ease;
}

.site-header.is-solid {
  background: #fff;
}

/* 产品 / 方案内页：尺寸与首页相同，底色固定为白，滚动不变矮 */
.page-ai .site-header,
.page-wp .site-header,
.page-call .site-header {
  background: #fff;
  border-bottom: 1px solid rgba(23, 35, 61, 0.06);
}

.page-ai .site-header.is-solid,
.page-wp .site-header.is-solid,
.page-call .site-header.is-solid {
  background: #fff;
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.nav {
  margin-left: 56px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 12px;
  cursor: pointer;
}

.nav-link {
  color: rgba(23, 35, 61, 1);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  line-height: 1;
}

.nav-item.is-active .nav-link,
a.nav-link.is-active {
  font-weight: 500;
}

.nav-link:hover { color: #0066cc; }

.caret {
  margin-left: 8px;
  width: 12px;
  height: 6px;
  background-image: url("../assets/img/SketchPng979a7d605091abbd39f8df5b527628f7963dc6eedc2b8f5f681d8777e6a7a12f.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.nav-item:hover .caret { transform: rotate(180deg); }

.drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 280px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 10px;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.drop-product {
  min-width: 760px;
  padding: 10px 16px 24px 0;
}

.drop-solution {
  min-width: 880px;
  padding: 10px 16px 24px 0;
}

.nav-item:hover .drop {
  max-height: 860px;
  opacity: 1;
}

.drop-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(23, 35, 61, 0.1);
  position: relative;
  display: flex;
}

.drop-arrow {
  position: absolute;
  width: 14px;
  height: 12px;
  top: -6px;
  left: 24px;
  fill: #fff;
}

.drop-grid {
  display: flex;
  width: 100%;
  padding: 4px 8px 16px;
}

.drop-product .drop-col {
  flex: 1;
  min-width: 0;
  padding: 0 6px 4px;
}

.drop-product .drop-col + .drop-col {
  border-left: 1px solid #eff2f8;
}

.drop-col-head {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0 6px 6px;
  padding: 0 12px;
  border-bottom: 1px solid #eff2f8;
  color: #4348ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.drop-col-head::before {
  content: "";
  width: 3px;
  height: 12px;
  margin-right: 8px;
  border-radius: 2px;
  background: #4348ff;
}

.product-link {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
}

.product-link:hover,
.product-link:focus-visible {
  background: #f3f4ff;
}

.product-link:hover h3,
.product-link:focus-visible h3 {
  color: #4348ff;
}

.product-icon {
  flex-shrink: 0;
  width: 36px;
  margin-right: 10px;
}

.product-icon img {
  width: 100%;
  height: auto;
}

.product-link h3 {
  font-size: 14px;
  color: #17233d;
  font-weight: 600;
  line-height: 1.3;
}

.product-link p {
  margin-top: 4px;
  color: #8b93a3;
  font-size: 12px;
  line-height: 1.45;
}

.sol-drop {
  display: flex;
  width: 100%;
  padding: 4px 8px 16px;
}

.sol-drop-col {
  flex: 1;
  min-width: 0;
  padding: 0 6px 4px;
}

.sol-drop-col + .sol-drop-col {
  border-left: 1px solid #eff2f8;
}

.sol-drop-head {
  display: flex;
  align-items: center;
  height: 52px;
  margin: 0 6px 6px;
  padding: 0 12px;
  border-bottom: 1px solid #eff2f8;
  color: #4348ff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.sol-drop-head::before {
  content: "";
  width: 3px;
  height: 12px;
  margin-right: 8px;
  border-radius: 2px;
  background: #4348ff;
}

.sol-link {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
}

.sol-link:hover,
.sol-link:focus-visible {
  background: #f3f4ff;
}

.sol-link h3 {
  font-size: 14px;
  color: #17233d;
  font-weight: 600;
  line-height: 1.3;
}

.sol-link:hover h3,
.sol-link:focus-visible h3 {
  color: #4348ff;
}

.sol-link p {
  margin-top: 4px;
  color: #8b93a3;
  font-size: 12px;
  line-height: 1.45;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.btn-login {
  border-radius: 19px;
  height: 38px;
  border: 1px solid rgba(157, 86, 255, 1);
  width: 88px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-image: linear-gradient(111deg, rgba(63, 67, 255, 1) 0, rgba(182, 91, 255, 1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.btn-trial {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 38px;
  cursor: pointer;
  border-radius: 19px;
  margin-left: 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background: url("../assets/img/SketchPng57c1e7a6567ddcf1b4958135f6eb9c748206d47185bf664ab0a70ec3b32da9ff.png") 100% no-repeat;
  background-size: 100% 100%;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  border: 1px solid rgba(23, 35, 61, 0.12);
  border-radius: 8px;
}

/* ===== 深色页脚 ===== */
.site-footer {
  background: rgb(23, 35, 61);
  color: rgb(101, 113, 128);
}

.foot-main {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 60px 0 40px;
  display: flex;
  align-items: flex-start;
}

.foot-contact {
  width: 300px;
  flex-shrink: 0;
}

.foot-hotline {
  color: #fff;
  font-size: 16px;
}

.foot-addr {
  margin-top: 34px;
  font-size: 14px;
  line-height: 22px;
}

.foot-addr p + p { margin-top: 16px; }

.foot-cols {
  display: flex;
  flex: 1;
  min-width: 0;
  padding-left: 48px;
}

.foot-col {
  width: 110px;
  margin-left: 48px;
}

.foot-col:first-child {
  margin-left: 0;
}

.foot-col.is-wide {
  width: 340px;
}

.foot-prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 20px;
}

.foot-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
}

.foot-col li + li { margin-top: 20px; }

.site-footer a {
  font-size: 14px;
  color: #737c8b;
}

.foot-more {
  font-size: 14px;
  color: #737c8b;
  cursor: default;
}

.site-footer a:hover { color: #c7ccd2; }

.site-footer a.foot-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgb(43, 117, 242);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.site-footer a.foot-phone:hover { color: rgb(67, 140, 255); }

.foot-phone-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.foot-qr {
  margin-left: auto;
  flex-shrink: 0;
  text-align: center;
  color: #fff;
  font-size: 16px;
}

.foot-qr p { margin-bottom: 20px; }

.foot-qr-box {
  display: block;
  width: 128px;
  height: 128px;
  padding: 6px;
  background: #fff;
  object-fit: contain;
}

.foot-bar {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #6b7382;
}

.foot-bar a { font-size: 13px; }

.foot-bar span + span::before {
  content: "·";
  margin: 0 8px;
  color: #4b5563;
}

@media (max-width: 900px) {
  .nav { display: none; }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    height: auto;
    margin: 0;
    padding: 12px 20px 20px;
    background: #fff;
  }
  .nav-item { height: auto; padding: 12px 0; }
  .drop,
  .drop-product,
  .drop-solution {
    position: static;
    min-width: 0;
    width: 100%;
    transform: none;
  }
  .drop-grid,
  .sol-drop {
    flex-direction: column;
    padding: 0;
  }
  .drop-product .drop-col + .drop-col,
  .sol-drop-col + .sol-drop-col {
    border-left: 0;
    border-top: 1px solid #eff2f8;
    margin-top: 8px;
    padding-top: 8px;
  }
  .drop-col-head,
  .sol-drop-head { height: 40px; margin-bottom: 4px; }
  .menu-toggle { display: grid; place-items: center; }
  .foot-main { flex-direction: column; padding: 40px 0 28px; }
  .foot-cols { padding-left: 0; flex-wrap: wrap; gap: 28px 0; }
  .foot-col { margin-left: 0; margin-right: 32px; }
  .foot-qr { margin-left: 0; }
}

/* ===== 咨询 / 试用表单弹窗 ===== */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lead-modal.is-on { display: flex; }
body.is-lead-lock { overflow: hidden; }

.lead-mask {
  position: absolute;
  inset: 0;
  background: rgba(23, 35, 61, 0.46);
  backdrop-filter: blur(6px);
}

.lead-card {
  position: relative;
  width: 440px;
  max-width: 100%;
  padding: 36px 36px 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(67, 72, 255, 0.18);
}

.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #657180;
  font-size: 22px;
  line-height: 30px;
}
.lead-close:hover { background: #f3f4ff; color: #17233d; }

.lead-card h2 {
  color: #17233d;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
.lead-card > p {
  margin-top: 8px;
  color: #657180;
  font-size: 14px;
  line-height: 22px;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.lead-field {
  display: grid;
  gap: 6px;
}
.lead-field span {
  color: #17233d;
  font-size: 13px;
  font-weight: 600;
}
.lead-field span i {
  margin-left: 4px;
  color: #8b93a3;
  font-style: normal;
  font-weight: 400;
}
.lead-field span em {
  color: #e24b4b;
  font-style: normal;
}
.lead-field input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e6ebf4;
  border-radius: 12px;
  color: #17233d;
  font: inherit;
  font-size: 15px;
  background: #f7f8fc;
  outline: none;
}
.lead-field input:focus {
  border-color: #4348ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(67, 72, 255, 0.12);
}
.lead-field input.is-bad {
  border-color: #e24b4b;
  background: #fff7f7;
}

.lead-err {
  display: none;
  color: #e24b4b;
  font-size: 12px;
}
.lead-err.is-on { display: block; }

.lead-submit {
  margin-top: 6px;
  height: 46px;
  border-radius: 23px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  background: linear-gradient(111deg, #3f43ff 0%, #7b5bff 52%, #b65bff 100%);
}
.lead-submit:hover { filter: brightness(1.06); }

.lead-tel {
  margin-top: 16px;
  text-align: center;
  color: #8b93a3;
  font-size: 13px;
}
.lead-tel a { color: #4348ff; font-weight: 500; }

.lead-done {
  display: none;
  padding: 28px 0 12px;
  text-align: center;
}
.lead-done.is-on { display: block; }
.lead-form.is-hide { display: none; }
.lead-done h3 {
  color: #17233d;
  font-size: 20px;
  font-weight: 600;
}
.lead-done p {
  margin-top: 8px;
  color: #657180;
  font-size: 14px;
}

@media (max-width: 900px) {
  .lead-card { padding: 28px 20px 22px; }
  .lead-card h2 { font-size: 22px; }
}

/* ===== 右侧微信悬浮 ===== */
.wx-dock {
  position: fixed;
  right: 0;
  top: 46%;
  z-index: 1200;
  display: flex;
  align-items: stretch;
  transform: translateY(-50%);
}

.wx-dock-tab {
  width: 44px;
  padding: 16px 0;
  border-radius: 12px 0 0 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.35;
  writing-mode: vertical-rl;
  background: linear-gradient(180deg, #4348ff 0%, #7b5bff 100%);
  box-shadow: -8px 12px 28px rgba(67, 72, 255, 0.28);
}

.wx-dock-tab span {
  display: block;
}

.wx-dock-panel {
  width: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: -12px 16px 36px rgba(23, 35, 61, 0.14);
  opacity: 0;
  transition: width 0.28s ease, opacity 0.2s ease;
}

.wx-dock.is-open .wx-dock-panel {
  width: 168px;
  opacity: 1;
}

.wx-dock-panel p {
  padding: 16px 16px 8px;
  color: #17233d;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.wx-dock-panel img {
  display: block;
  width: 132px;
  height: 132px;
  margin: 0 auto;
  object-fit: contain;
}

.wx-dock-panel a {
  display: block;
  padding: 10px 12px 16px;
  color: #4348ff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 700px) {
  .wx-dock { top: auto; bottom: 88px; transform: none; }
}
