/* ========== 公共样式 ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif; color: #333; background: #fff; padding-top: 64px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

:root {
  --primary: #1a5cff;
  --accent: #7b5fff;
  --grad-blue: linear-gradient(135deg, #1a5cff 0%, #7b5fff 100%);
  --grad-dark: linear-gradient(160deg, #0b1560 0%, #1535a8 45%, #1a0f6e 100%);
  --border: #e2e8f8;
  --shadow: 0 8px 32px rgba(26,92,255,0.12);
  --shadow-lg: 0 16px 64px rgba(26,92,255,0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
}

/* ========== 导航栏 ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 64px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 16px rgba(26,92,255,0.08);
  display: flex; align-items: center;
}
.nav-inner {
  max-width: 1280px; margin: 0 auto; width: 100%;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 0 16px; height: 64px; line-height: 64px;
  font-size: 15px; font-weight: 500; color: #222;
  white-space: nowrap; transition: color .2s;
}
.nav-item > a:hover { color: var(--primary); }
.nav-item.active > a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}
.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(26,92,255,0.15);
  padding: 6px 0; min-width: 130px;
  border: 1px solid rgba(26,92,255,0.08); z-index: 200;
}
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 9px 20px; font-size: 14px; color: #444;
  white-space: nowrap; transition: all .2s;
}
.nav-dropdown a:hover { background: #f0f4ff; color: var(--primary); padding-left: 26px; }
.btn-nav {
  background: var(--grad-blue); color: #fff;
  padding: 9px 22px; border-radius: 22px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: opacity .2s, transform .2s;
}
.nav-kefu-icon { width: 18px; height: 18px; border-radius: 50%; }
.btn-nav:hover { opacity: .88; transform: translateY(-1px); }

/* ========== 登录弹窗 ========== */
.login-overlay {
  display: none; position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.login-overlay.show { display: flex; }
.login-modal {
  background: #fff; border-radius: 20px; padding: 0;
  width: 420px; max-width: 92vw; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  overflow: hidden;
  animation: loginFadeIn .4s cubic-bezier(.23,1,.32,1);
}
@keyframes loginFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.login-close {
  position: absolute; top: 16px; right: 18px; z-index: 10;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: rgba(255,255,255,.8); cursor: pointer;
  background: rgba(255,255,255,.15); transition: all .2s;
  line-height: 1;
}
.login-close:hover { background: rgba(255,255,255,.3); color: #fff; }

/* 顶部品牌区域 */
.login-header {
  background: linear-gradient(135deg, #1a5cff 0%, #5b3eff 100%);
  padding: 36px 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.login-header::before {
  content: '';
  position: absolute; bottom: -30px; left: -20%; right: -20%;
  height: 60px; background: #fff; border-radius: 50% 50% 0 0;
}
.login-brand { margin-bottom: 8px; position: relative; z-index: 1; }
.login-brand-logo { height: 36px; width: auto; display: inline-block; }
.login-welcome {
  font-size: 14px; color: rgba(255,255,255,.85);
  position: relative; z-index: 1;
}

/* 切换标签 */
.login-tabs {
  display: flex; gap: 0;
  padding: 0 32px;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}
.ltab {
  flex: 1; padding: 12px 0; text-align: center;
  font-size: 16px; font-weight: 600; color: #999;
  background: none; border: none; cursor: pointer;
  position: relative; transition: color .3s;
}
.ltab-text {
  position: relative; display: inline-block;
}
.ltab.on { color: #1a1a2e; }
.ltab.on .ltab-text::after {
  content: '';
  position: absolute; bottom: -12px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a5cff, #7b5fff);
  border-radius: 3px;
}

/* 表单区域 */
.login-form {
  display: flex; flex-direction: column; gap: 16px;
  padding: 0 32px 32px;
}
.lf-group {
  position: relative;
}
.lf-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center;
  pointer-events: none; z-index: 1;
}
.lf-group input {
  width: 100%; padding: 13px 14px 13px 44px;
  border: 1.5px solid #e5e8f0;
  border-radius: 10px; font-size: 14px; color: #333;
  outline: none; transition: all .25s;
  box-sizing: border-box; background: #fafbfd;
  font-family: inherit;
}
.lf-group input:focus {
  border-color: #1a5cff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26,92,255,.08);
}
.lf-group input:focus + .lf-icon svg,
.lf-group input:focus ~ .lf-icon svg {
  stroke: #1a5cff;
}
.lf-group input::placeholder { color: #b0b8ca; }
.lf-sms-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  padding: 7px 16px; font-size: 13px; color: #1a5cff;
  background: rgba(26,92,255,.08); border: none; border-radius: 8px;
  cursor: pointer; white-space: nowrap; font-weight: 600;
  transition: all .2s; font-family: inherit;
}
.lf-sms-btn:hover { background: rgba(26,92,255,.16); }
.lf-extra {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #8892a8;
}
.lf-extra label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.lf-extra a { color: #1a5cff; text-decoration: none; font-weight: 500; }
.lf-extra a:hover { text-decoration: underline; }
.lf-submit {
  width: 100%; padding: 14px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #1a5cff 0%, #7b5fff 100%);
  color: #fff; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all .3s; font-family: inherit;
  letter-spacing: 4px;
  box-shadow: 0 6px 24px rgba(26,92,255,.3);
}
.lf-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26,92,255,.44);
}
.lf-submit:active { transform: translateY(0); }

/* ========== 通用 section ========== */
.section { padding: 80px 0; }
.sec-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.sec-label {
  text-align: center; font-size: 12px; color: var(--primary);
  letter-spacing: 4px; text-transform: uppercase; margin-bottom: 10px; font-weight: 600;
}
.sec-title {
  text-align: center; font-size: 34px; font-weight: 700;
  color: var(--text-primary); margin-bottom: 14px; line-height: 1.35;
}
.sec-title em {
  font-style: normal;
  background: var(--grad-blue);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.sec-desc {
  text-align: center; font-size: 15px; color: var(--text-secondary);
  margin-bottom: 52px; max-width: 580px; margin-left: auto; margin-right: auto; line-height: 1.8;
}

/* ========== 按钮 ========== */
.btn-primary {
  display: inline-block; background: var(--grad-blue); color: #fff;
  padding: 13px 34px; border-radius: 28px; font-size: 15px; font-weight: 600;
  cursor: pointer; border: none; font-family: inherit;
  box-shadow: 0 6px 24px rgba(26,92,255,0.32);
  transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(26,92,255,0.44); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--primary);
  padding: 11px 30px; border-radius: 28px; font-size: 15px; font-weight: 600;
  border: 2px solid var(--primary); transition: all .2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
  display: inline-block; background: #fff; color: var(--primary);
  padding: 13px 34px; border-radius: 28px; font-size: 15px; font-weight: 700;
  box-shadow: 0 6px 24px rgba(0,0,0,0.14); transition: transform .2s, box-shadow .2s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.2); }
.btn-white-ol {
  display: inline-block; background: transparent; color: #fff;
  padding: 11px 30px; border-radius: 28px; font-size: 15px; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.65); transition: all .2s;
}
.btn-white-ol:hover { background: rgba(255,255,255,0.15); }

/* ========== 页内Banner ========== */
.page-banner {
  height: 320px; background: var(--grad-dark);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/bj1.png') center/cover no-repeat; opacity: .18;
}
.page-banner-inner { position: relative; z-index: 1; text-align: center; }
.page-banner h1 { font-size: 40px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.page-banner p { font-size: 16px; color: rgba(255,255,255,.75); }

/* ========== CTA（已移除，保留样式备用） ========== */

/* ========== 悬浮客服 ========== */
.float-bar {
  position: fixed; right: 20px; bottom: 72px; z-index: 999;
  display: flex; flex-direction: column; gap: 10px;
}
.fb-btn {
  width: 50px; height: 50px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer; transition: transform .2s;
}
.fb-kefu { background: var(--grad-blue); color: #fff; box-shadow: 0 4px 18px rgba(26,92,255,.38); }
.fb-kefu-icon { width: 100%; height: 100%; border-radius: 50%; }
.fb-top {
  background: var(--grad-blue); color: var(--primary); font-size: 16px;
  border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(0,0,0,.1);
}
.fb-top-icon { width: 40px; height: 40px; border-radius: 50%; }

.fb-btn:hover { transform: scale(1.12); }

/* ========== 页脚 ========== */
.site-footer {
  background: #080f40;
  padding: 52px 0 24px;
  color: rgba(255,255,255,);
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 32px; margin-bottom: 36px;
}
.f-logo-link { flex-shrink: 0; }
.f-logo { height: 32px; width: auto; display: block; }
.f-nav-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.f-nav-row a {
  font-size: 14px;
  color: rgba(255,255,255);
  text-decoration: none;
  transition: color .2s;
}
.f-nav-row a:hover { color: #fff; }
.footer-mid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 24px;
}
.f-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f-contact-item {
  font-size: 13px;
  color: rgba(255,255,255);
  display: flex;
  gap: 10px;
}
.f-contact-item .fc-label {
  color: rgba(255,255,255);
  flex-shrink: 0;
}
.f-qr-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.f-qr-wrap img {
  width: 90px;
  height: 90px;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
}
.f-qr-wrap p {
  font-size: 12px;
  color: rgba(255,255,255);
}
.f-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin-bottom: 18px; }
.f-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255); flex-wrap: wrap; gap: 6px;
}

/* ========== 咨询弹窗 ========== */
.consult-overlay {
  display: none; position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,.5); align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.consult-overlay.show { display: flex; }
.consult-modal {
  background: #fff; border-radius: 20px; padding: 40px 36px 36px;
  width: 460px; max-width: 92vw; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: consultFadeIn .35s cubic-bezier(.23,1,.32,1);
}
@keyframes consultFadeIn {
  from { opacity: 0; transform: translateY(30px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.consult-close {
  position: absolute; top: 16px; right: 20px;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: #999; cursor: pointer;
  background: #f5f5f5; transition: all .2s;
  line-height: 1;
}
.consult-close:hover { background: #e8e8e8; color: #333; }
.consult-header { text-align: center; margin-bottom: 28px; }
.consult-title {
  font-size: 24px; font-weight: 800; color: #1a1a2e; margin-bottom: 8px;
}
.consult-sub { font-size: 13px; color: #8892a8; line-height: 1.6; }
.consult-body {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.cqr-wrap {
  padding: 16px; background: #f8faff; border-radius: 16px;
  border: 1px solid #e8eeff;
}
.cqr-img {
  width: 164px; height: 164px; display: block; border-radius: 8px;
}
.cphone-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 28px; background: linear-gradient(135deg, #f0f4ff, #e8eeff);
  border-radius: 12px; border: 1px solid #dce4f8;
}
.cphone-label {
  font-size: 14px; color: #66708a; font-weight: 500;
}
.cphone-num {
  font-size: 20px; font-weight: 800; color: #1a5cff;
  letter-spacing: 1px;
}

/* ========== 响应式 ========== */
@media(max-width:1024px){
  .footer-top{flex-direction:column;align-items:flex-start;gap:20px;}
  .footer-mid{flex-direction:column;gap:20px;}
  .f-nav-row{gap:20px;}
}
@media(max-width:768px){
  .section{padding:52px 0;}
  .sec-title{font-size:24px;}
  .nav-menu{display:none;}
}
