/* ==========================================================================
   销客小二 · 品牌样式层
   --------------------------------------------------------------------------
   原站样式（36 个 CSS 文件，CSS Modules 哈希类名）原样保留，本文件只负责
   本项目自己生成的部分：页头导航、页脚、悬浮联系条、留资表单、待填角标。

   配色沿用原站设计系统（取证自 all.css）：
     主蓝 #0055ff / #3366ff  辅助 #00b3ff  深底 #313159  正文 #333 / #666 / #999
   ========================================================================== */

:root {
  --brand-blue: #0055ff;
  --brand-blue-2: #3366ff;
  --brand-cyan: #00b3ff;
  --ink-900: #313159;
  --ink-700: #333333;
  --ink-500: #666666;
  --ink-400: #999999;
  --line: #ebeff5;
  --bg-soft: #f2f7fd;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shell: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: PingFangSC-Regular, "PingFang SC", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── 页头 ───────────────────────────────────────────────────────── */
.layout-box {
  width: 100%;
  background: #fff;
  position: relative;
  z-index: 130;
}

.layout-box-inner {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 76px; width: auto; display: block; }

.top-menu { display: flex; align-items: center; }

.nav-item { position: relative; }

.styles_topMenuTag__BJ0zG {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s;
}
.styles_topMenuTag__BJ0zG:hover { color: var(--brand-blue-2) !important; }
.styles_topMenuTag__BJ0zG img { width: 10px; height: 10px; transition: transform .2s; }
.nav-item:hover .styles_arrowIcon__4Wkbf { transform: rotate(180deg); }

/* 下拉面板 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 12px 40px rgba(49, 49, 89, .12);
  border: 1px solid var(--line);
  padding: 20px;
  display: none;
  z-index: 140;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown { display: block; }

.nav-dropdown-products {
  display: none;
  grid-template-columns: repeat(2, 168px);
  gap: 4px 8px;
  left: -40px;
}
.nav-item:hover .nav-dropdown-products { display: grid; }

.nav-dropdown-solutions {
  width: 900px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px 28px;
  left: -120px;
}
.nav-item:hover .nav-dropdown-solutions { display: grid; }

.nav-mega-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  font-size: 14px;
  color: var(--ink-700);
  transition: background .18s, color .18s;
}
.nav-dropdown-products .nav-mega-item { flex-direction: row; align-items: center; }
.nav-mega-item:hover { background: var(--bg-soft); color: var(--brand-blue); }
.nav-mega-item b { font-weight: 500; }
.nav-mega-item span { font-size: 12px; color: var(--ink-400); line-height: 1.5; }

.nav-mega-col { display: flex; flex-direction: column; gap: 2px; }
.nav-mega-sec {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  padding: 4px 12px 2px;
}
.nav-mega-desc { font-size: 12px; color: var(--ink-400); padding: 0 12px 8px; }

/* 注册 / 登录 */
.auth-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.auth-actions .register {
  font-size: 14px;
  color: var(--brand-blue-2);
  border: 1px solid var(--brand-blue-2);
  border-radius: 20px;
  padding: 7px 22px;
  transition: background .2s, color .2s;
}
.auth-actions .register:hover { background: var(--brand-blue-2); color: #fff; }

.auth-actions .login {
  font-size: 14px;
  color: #fff;
  background: var(--brand-blue-2);
  border-radius: 20px;
  padding: 7px 22px;
  box-shadow: 0 6px 16px rgba(51, 102, 255, .28);
  transition: transform .2s, box-shadow .2s;
}
.auth-actions .login:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(51, 102, 255, .34); }

/* ── 待填占位角标 ───────────────────────────────────────────────── */
.todo-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1;
  color: #b45309;
  background: #fff7e6;
  border: 1px dashed #f0b429;
  border-radius: 6px;
  padding: 4px 8px;
  vertical-align: middle;
}
.todo-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0b429;
}

/* ── 页脚 ───────────────────────────────────────────────────────── */
.site-footer {
  background: #1b1b2e;
  color: #b9c0d4;
  padding: 56px 0 28px;
  margin-top: 0;
}

.footer-main,
.footer-cities,
.footer-hot,
.footer-legal {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) 1.3fr;
  gap: 28px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo { height: 56px; width: auto; display: block; filter: brightness(0) invert(1) opacity(.92); }
.footer-slogan { margin-top: 10px; font-size: 13px; color: #7c86a3; letter-spacing: 1px; }

.footer-col { display: flex; flex-direction: column; gap: 11px; }
.footer-col-t { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.footer-col a { font-size: 13px; color: #97a1ba; transition: color .18s; }
.footer-col a:hover { color: var(--brand-cyan); }

.footer-phone { font-size: 13px; color: #97a1ba; display: flex; flex-direction: column; gap: 2px; }
.footer-phone span { color: #6d7793; font-size: 12px; }

.footer-cta {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--brand-blue);
  color: #fff !important;
  border-radius: 20px;
  padding: 9px 26px;
  font-size: 14px !important;
  transition: transform .2s, box-shadow .2s;
}
.footer-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 85, 255, .4); }

.footer-cities, .footer-hot { padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }

.city-list { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 12px; }
.city-list span,
.city-list a {
  font-size: 13px;
  color: #8b95b0;
  background: rgba(255, 255, 255, .05);
  border-radius: 6px;
  padding: 5px 11px;
  transition: background .18s, color .18s;
}
.city-list a:hover { background: rgba(0, 179, 255, .16); color: var(--brand-cyan); }

.footer-legal {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 12px;
  color: #6d7793;
  align-items: center;
}

/* ── 悬浮联系条 ─────────────────────────────────────────────────── */
.banner-sus-pos {
  position: fixed;
  right: 0;
  top: 13.5vh;
  z-index: 150;
}

.banner-sus {
  width: 48px;
  height: 332px;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(208, 208, 208, .4);
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.sus-item {
  width: 48px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-500);
  text-align: center;
  transition: color .2s, background .2s;
}
.sus-item:hover { color: var(--brand-blue); background: var(--bg-soft); }

.sus-panel {
  position: fixed;
  right: 62px;
  top: 13.5vh;
  width: 300px;
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: 0 16px 48px rgba(49, 49, 89, .18);
  border: 1px solid var(--line);
  padding: 26px 22px;
  z-index: 160;
}
.sus-panel[hidden] { display: none; }

.sus-panel-close {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-400);
  cursor: pointer;
}
.sus-panel-close:hover { color: var(--ink-700); }

.sus-panel-body { font-size: 14px; color: var(--ink-500); line-height: 1.9; }
.sus-panel-body h4 { margin: 0 0 8px; font-size: 15px; color: var(--ink-900); font-weight: 600; }
.sus-panel-body .big { font-size: 20px; color: var(--brand-blue); font-weight: 600; letter-spacing: .5px; }

/* ── 页面主体容器 ───────────────────────────────────────────────── */
.page-main { width: 100%; }

/* ── 留资表单页 ─────────────────────────────────────────────────── */
.contact-page {
  width: 1200px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
  padding: 72px 0 96px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-hero h1 { font-size: 38px; line-height: 1.3; color: var(--ink-900); margin: 0 0 18px; font-weight: 600; }
.contact-hero p { font-size: 16px; color: var(--ink-500); line-height: 1.9; margin: 0 0 28px; }

.contact-points { display: flex; flex-direction: column; gap: 16px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point .dot {
  width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-2), var(--brand-cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 14px; font-weight: 600;
}
.contact-point b { display: block; font-size: 15px; color: var(--ink-900); margin-bottom: 3px; font-weight: 500; }
.contact-point span { font-size: 13px; color: var(--ink-400); line-height: 1.7; }

.lead-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: 0 14px 44px rgba(49, 49, 89, .08);
}
.lead-form-card h3 { margin: 0 0 6px; font-size: 22px; color: var(--ink-900); font-weight: 600; }
.lead-form-card .sub { margin: 0 0 24px; font-size: 13px; color: var(--ink-400); }

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; color: var(--ink-500); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-700);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 11px 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fbfcfe;
  /* 🔴 关键：显式声明 type 与 autocomplete，避免凭据进 URL */
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-blue-2);
  box-shadow: 0 0 0 3px rgba(51, 102, 255, .12);
  background: #fff;
}
.field textarea { min-height: 92px; resize: vertical; }

.lead-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-2));
  border-radius: 26px;
  padding: 14px;
  margin-top: 6px;
  box-shadow: 0 10px 24px rgba(0, 85, 255, .28);
  transition: transform .2s, box-shadow .2s;
}
.lead-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(0, 85, 255, .34); }

#lead-result {
  display: none;
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  color: #047857;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-s);
  padding: 12px 14px;
}

.form-note { margin: 14px 0 0; font-size: 12px; color: var(--ink-400); line-height: 1.7; }

/* ── 404 ───────────────────────────────────────────────────────── */
.nf-page {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 60px 20px;
}
.nf-page h1 { font-size: 88px; margin: 0; color: var(--brand-blue); line-height: 1; font-weight: 700; }
.nf-page p { margin: 0; font-size: 16px; color: var(--ink-500); }
.nf-page a { margin-top: 10px; color: var(--brand-blue); font-size: 15px; }

/* ── 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 1280px) {
  .layout-box-inner { width: 1100px; }
}

@media (max-width: 1100px) {
  .layout-box-inner {
    width: calc(100% - 32px);
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .logo-link img { height: 46px; }
  .top-menu { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .styles_topMenuTag__BJ0zG { margin-left: 22px !important; }
  .nav-dropdown-solutions { width: min(92vw, 720px); left: -40px; grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .contact-page { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .contact-hero h1 { font-size: 28px; }
  .lead-form-card { padding: 24px; }
  .nav-dropdown-solutions { grid-template-columns: 1fr; width: min(94vw, 420px); }
  .banner-sus-pos { top: auto; bottom: 16px; }
  .banner-sus { height: auto; flex-direction: row; width: auto; border-radius: 26px; overflow: hidden; }
  .sus-item { width: 76px; height: 62px; }
  .sus-panel { right: 12px; left: 12px; width: auto; top: auto; bottom: 90px; }
}