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

.header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 6px 0;
  width: 1180px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.logo img {
  width: 60px;
  height: 6dpx;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #0066ff;
}

.nav-links .active {
  font-weight: bold;
  color: #0066ff;
  position: relative;
}

.nav-links .active::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 15%;
  width: 75%;
  height: 3px;
  background-color: #0066ff;
}

.trial-btn {
  padding: 10px 30px;
  border: none;
  border-radius: 20px;
  background-color: #0066ff;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.trial-btn:hover {
  background-color: #0055cc;
}

/* 侧边栏样式 */
.sidebar {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 60px;
}

.sidebar-btn {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
  border: none;
  color: #333;
  font-size: 14px;
  text-align: center;
  user-select: none;
}

.sidebar-btn:hover {
  transform: scale(1.05);
}

.sidebar-btn i {
  font-size: 20px;
  margin-bottom: 4px;
}

.sidebar-btn .text {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

/* 蓝色向上按钮 */
.sidebar-btn.up {
  background-color: #0066ff;
  color: white;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.3);
  opacity: 0;
  visibility: hidden;
}
.sidebar-btn.up .icon-shangjiantou {
  font-size: 30px;
}

.sidebar-btn.up:hover {
  background-color: #0055cc;
}

/* 图标样式（使用 Unicode 字符模拟） */
.icon-document::before {
  content: "📄";
  font-size: 20px;
}

.icon-refresh::before {
  content: "🔄";
  font-size: 20px;
}

.icon-up::before {
  content: "↑";
  font-size: 20px;
}
/* 电话按钮悬停弹出框样式 */
.phone-btn {
  position: relative;
}

.tooltip-phone {
  position: absolute;
  left: -172px; /* 调整弹出框位置到按钮左侧 */
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.phone-btn:hover .tooltip-phone {
  opacity: 1;
  visibility: visible;
}

.tooltip-content {
  background: white;
  border-radius: 6px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  min-width: 160px;
  text-align: center;
}

.phone-title {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  margin-bottom: 6px;
}

.phone-number {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

.arrow {
  position: absolute;
  right: -8px; /* 三角形放在右侧，指向按钮 */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid white;
}

/* 企微二维码弹出框样式 */
.wechat-qrcode-popup {
  position: absolute;
  left: -150px;
  top: 64%;
  transform: translateY(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  width: 140px;
  text-align: center;
}
/* 添加右侧三角形箭头 */
.wechat-qrcode-popup::after {
  content: "";
  position: absolute;
  right: -8px; /* 三角形位于弹窗的右边 */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-left: 8px solid white; /* 三角形颜色与弹窗背景色一致 */
  border-bottom: 6px solid transparent;
}

.wechat-qrcode-popup.show {
  opacity: 1;
  visibility: visible;
}

.wechat-qrcode-popup .qrcode-content img {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  display: block;
  border: 1px solid #eee;
  border-radius: 4px;
}

.wechat-qrcode-popup .qrcode-content p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
/* 联系我们区域样式 */
.contact-container {
  margin-bottom: 60px;
}

.contact-grid {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.contact-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.contact-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.qrcode {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  margin-bottom: 20px;
}
.contact-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 20px;
  gap: 10px;
}
.contact-header span {
  display: block;
  font-size: 36px !important;
  color: #000;
  font-weight: normal;
  margin-top: -6px;
}

.contact-phone {
  font-size: 24px;
  font-weight: 700;
}

.contact-form {
  flex: 2;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form form {
  padding: 20px 140px 20px 40px;
}

.contact-form h4 {
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  text-align: center;
  padding: 12px 0;
  color: #2563eb;
}

.form-group {
  margin-bottom: 20px;
}
.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-label {
  width: 100px;
  display: block;
  font-size: 14px;
  color: #000;
  font-weight: 700;
  text-align: right;
}

.form-label .required {
  color: #bd3124;
}

.form-group .no-inline {
  margin-bottom: 10px;
}

.form-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-radio {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  column-gap: 30px;
  row-gap: 10px;
}

.form-radio input[type="radio"] {
  width: 16px;
  height: 16px;
  border: 2px solid #ddd;
  border-radius: 50%;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  margin-right: 8px;
  transition: all 0.2s ease;
}

.form-radio input[type="radio"]:checked {
  background-color: #007bff;
}

.form-radio label {
  font-size: 14px;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-group {
  text-align: center;
}

.form-submit {
  display: inline-block;
  padding: 10px 22px;
  background-color: #0066ff;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  margin-bottom: 30px;
}

.form-submit:hover {
  background-color: #0052cc;
}
/* 底部样式 */
.footer {
  background: #162331;
  color: #fff;
  padding: 20px 0;
  font-size: 12px;
  display: flex;
  justify-content: center;
}
.footer-container {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
}

.footer-links {
  margin-top: 30px;
  position: relative;
  display: flex;
  gap: 2px;
}
.footer-links::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 860px;
  height: 1px;
  background-color: #fff;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
}

.footer-links .link {
  color: #e8e2a1;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-links .link img {
  width: 16px;
  object-fit: contain;
  margin-left: 2px;
}

.footer-links a:hover {
  color: #fff;
}

/* 自定义提示框样式 */
.custom-alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.alert-content {
  min-width: 400px;
  padding: 12px 20px 12px 20px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
  visibility: hidden;
  display: flex;
  align-items: center;
}
.custom-alert.success .alert-content {
  background-color: #f0f9eb;
  border-color: #e1f3d8;
}
.custom-alert.warning .alert-content {
  background-color: #fdf6ec;
  border: 1px solid #faecd8;
}
.custom-alert.error .alert-content {
  background-color: #fef0f0;
  border: 1px solid #fde2e2;
}

.alert-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.alert-content.closing {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

/* 垂直掉落进入动画 */
@keyframes dropDown {
  0% {
    transform: translateY(-100%);
    top: 0;
  }
  100% {
    transform: translateY(0);
    top: 20px;
  }
}

.alert-content.drop-in {
  animation: dropDown 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.alert-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  margin-right: 10px;
}

.custom-alert.success .alert-icon {
  background-color: #67c23a;
}

.custom-alert.warning .alert-icon {
  background-color: #e6a23c;
}
.custom-alert.error .alert-icon {
  background-color: #fef0f0;
}

.alert-message {
  flex: 1;
  font-size: 14px;
  word-break: break-word;
}

.custom-alert.success .alert-message {
  color: #67c23a;
}

.custom-alert.warning .alert-message {
  color: #e6a23c;
}

.custom-alert.error .alert-message {
  color: #f56c6c;
}



/* 动画样式 */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

/* 弹窗样式 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.3s ease;
}

.modal-content {
  position: relative;
  background: white;
  width: 800px;
  max-width: 90%;
  margin: 100px auto;
  padding: 30px 100px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: "Microsoft YaHei", sans-serif;
  transform: scale(0.7);
  transition: transform 0.3s ease, margin 0.3s ease;
}

.modal.open .modal-content {
  transform: scale(1);
  margin: 100px auto;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 36px;
  cursor: pointer;
  color: #333;
  border: none;
  background: none;
  z-index: 1001;
}

.modal-content h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: #000;
}

.form-group {
  margin-bottom: 15px;
}

.form-group.inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-label {
  min-width: 80px;
  font-weight: 500;
  color: #333;
}

.form-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}

.form-radio label {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  margin-right: 5px;
}

.btn-group {
  text-align: center;
  margin-top: 20px;
}

.form-submit {
  background-color: #0f40f5;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #0a33c7;
}

/* 加载按钮样式 */
.form-submit.loading {
  position: relative;
  pointer-events: none; /* 防止重复点击 */
  opacity: 0.8;
  padding-left: 40px;
}

.form-submit.loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 11px;
  left: 11px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
