html,
body,
div {
  padding: 0;
  margin: 0;
  font-size: 16px;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f5f5f5;
  color: #333;
}

#app {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 55px;
}

#app::-webkit-scrollbar {
  position: absolute;
  right: 0px;
  width: 5px;
}
#app::-webkit-scrollbar-track {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.1);
}
#app::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0.1);
}

.container-fluid.fluid-block {
  padding-top: 5vw;
  padding-bottom: 2vw;
}
.container-fluid.fluid-block-w {
  padding-top: 5vw;
  padding-bottom: 2vw;
  background-color: #fff;
}

.container-fluid.fluid-block .card,
.container-fluid.fluid-block-w .card {
  background-color: transparent;
}

.nav-item {
  padding-left: 40px;
}
.nav-item .dropdown-menu {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  margin-top: 8px !important;
}
.nav-item .dropdown-menu .dropdown-item {
  color: #333;
}
.nav-item .dropdown-menu .dropdown-item:hover {
  color: #fff;
  background-color: #fff;
  background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity));
}
.carousel-inner img {
  /* height: 30rem; */
  width: 100%;
  display: inline-block;
}
.carousel-inner .carousel-item.active {
  text-align: center;
}

.card {
  border: none;
  padding: 20px;
}

.container,
.container-fluid {
  padding: 0px;
}

.page-title {
  text-align: center;
  margin-bottom: 3vw;
  width: 100%;
}
.page-title h3 span {
  display: inline-block;
  vertical-align: top;
  line-height: 40px;
  font-size: 28px;
  color: #555;
  position: relative;
}
.page-title h3 span::before,
.page-title h3 span::after {
  display: inline-block;
  content: "";
  width: 20vw;
  height: 1px;
  background: #adbac6;
  position: absolute;
  top: 50%;
}
.page-title h3 span::before {
  left: -22vw;
}
.page-title h3 span::after {
  right: -22vw;
}

.block-panel {
  text-align: center;
  padding: 20px;
  position: relative;
  border-radius: 2px;
  width: 100%;
  box-sizing: border-box;
  display: inline-block;
  text-decoration: none;
}
.block-panel img {
  border: none;
  width: 80px;
  height: 80px;
  display: block;
  margin: 10px auto;
  transition: margin 0.2s linear;
}
.block-panel span {
  width: 100%;
  box-sizing: border-box;
  display: block;
  text-align: center;
}
.block-panel span.title {
  line-height: 50px;
  font-size: 18px;
  color: #333;
}
.block-panel span.desc {
  line-height: 25px;
  font-size: 14px;
  color: #666;
}
.block-panel.over span,
.block-panel.over img {
  cursor: pointer;
}

.block-panel.over:hover span.title,
.block-panel.over:hover span.desc {
  color: rgb(16, 16, 110);
}
.block-panel.over:hover img {
  margin-top: 2px;
  margin-bottom: 18px;
  transition: margin 0.2s linear;
}

.hover-panel {
  background-color: #f6f8fa;
}

.hover-panel button {
  display: none;
  margin-top: 20px;
  height: 48px;
  line-height: 48px;
  font-size: 16px;
  margin: 0 auto;
}
.hover-panel:hover {
  background-color: rgb(0, 102, 255);
}
.hover-panel:hover button {
  display: block;
}
#foot-placeholder {
  padding-top: 5vw;
}
.foot {
  font-size: 12px;
  line-height: 28px;
  color: #e7e6e1;
}
.foot ul,
.foot ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.foot-copyright {
  border-top: 1px solid rgba(216, 216, 216, 0.1);
  padding: 10px 20px;
  text-align: center;
  font-size: 12px;
  color: #e7e6e1;
}
.foot a,
.foot-copyright a {
  font-size: 12px;
  color: #e7e6e1;
}
.foot img {
  width: 64px;
  height: 64px;
}
.card-text {
  text-indent: 32px;
  margin-bottom: 0.2rem;
}

#solution .carousel-item img {
  width: 100%;
  aspect-ratio: 1 / 0.4;
  border: none;
}
#solution .carousel-item .desc {
  height: 100%;
  width: 50%;
  display: block;
  margin: 0;
  padding: 120px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.6);
}
#solution .carousel-item .left {
  float: left;
}
#solution .carousel-item .right {
  float: right;
}
#solution .carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 40px;
  width: 100%;
  margin-left: 0;
  left: 0;
  max-height: 150px;
}
#solution .carousel-caption p {
  text-align: left;
  text-indent: 32px;
}

.carousel-item {
  transition: transform 0.3s ease-in-out;
}

.fbold {
  font-weight: bolder;
}

/* 数据展示板块 */
.data-section {
  margin-top: 5vw;
  background-color: #dbdddf;
  padding: 60px 0;
}
.data-number {
  font-size: 3rem;
  font-weight: 900;
  color: #0d6efd;
  margin-bottom: 10px;
}
/* 业务卡片样式 */
.business-card {
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  transition: transform 0.3s ease;
  height: 100%;
}
.business-card:hover {
  transform: translateY(-5px);
}
.business-card img {
  margin-bottom: 20px;
}
.card-title {
  font-weight: 700;
  margin-bottom: 15px;
}

/* 企业文化板块 */
.culture-card {
  border: none;
  text-align: center;
  padding: 30px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
}
.culture-card:hover {
  background-color: #f0f7ff;
  transform: translateY(-5px);
}
.culture-icon {
  color: #0d6efd;
  margin-bottom: 20px;
}
.culture-title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.25rem;
}
.row {
  --bs-gutter-x: 0px;
}
.row > * {
  --bs-gutter-x: 5px;
  --bs-gutter-y: 5px;
}

/* 聊天区域样式 */
.chat-container {
  background-color: rgba(243, 244, 246, 0.5);
  border-radius: 0.375rem;
  overflow-y: auto;
  height: calc(100% - 120px);
  text-align: left;
  max-height: 500px;
  min-height: 200px;
}

.card-shadow {
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: rgb(243 244 246);
  background-color: rgb(255 255 255);
  box-shadow: #000 0 0 0;
}

.chat-message {
  max-width: 80%;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.chat-message-ai {
  background-color: white;
}

.chat-message-user {
  background-color: rgba(22, 93, 255, 0.1);
}

/* 右侧固定栏核心样式 */
.right-fixed-bar {
  position: fixed;
  top: 50%;
  right: 20px; /* 离右侧有一定间距，更美观 */
  transform: translateY(-50%);
  z-index: 999; /* 保证层级，不被遮挡 */
  display: flex;
  flex-direction: column;
  gap: 8px; /* 按钮之间的间距 */
}

/* 功能按钮样式 */
.fixed-bar-item {
  width: 48px;
  height: 48px;
  border-radius: 50%; /* 圆形按钮 */
  background-color: #fff;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease; /* 过渡动画 */
  position: relative; /* 用于提示框定位 */
}
/* hover 交互效果 */
.fixed-bar-item:hover {
  background-color: #007bff; /* 主色调，可根据目标网站调整 */
  color: #fff;
  border-color: #007bff;
}

/* hover 提示框 */
.fixed-bar-tip {
  position: absolute;
  right: 60px; /* 提示框在按钮左侧 */
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0; /* 默认隐藏 */
  visibility: hidden; /* 避免占空间 */
  transition: all 0.3s ease;
}

/* 提示框小三角 */
.fixed-bar-tip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

/* hover 显示提示框 */
.fixed-bar-item:hover .fixed-bar-tip {
  opacity: 1;
  visibility: visible;
}
/* 移动端适配：屏幕宽度<768px时缩小按钮或隐藏 */
@media (max-width: 767.98px) {
  .right-fixed-bar {
    right: 10px;
  }
  .fixed-bar-item {
    width: 40px;
    height: 40px;
  }
  .fixed-bar-tip {
    font-size: 12px;
    padding: 4px 8px;
  }
}
/* 表单样式补充，与原有卡片风格统一 */
.contact-form-card {
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.form-label {
  font-weight: 500;
  color: #333;
}
.submit-btn {
  background-color: #0066ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  width: 68px;
  box-sizing: border-box;
}
.submit-btn:hover {
  background-color: #0056e0;
}

.cancel-btn {
  width: 68px;
  box-sizing: border-box;
  background-color: #6c757d;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
}
.cancel-btn:hover {
  background-color: #5c636a;
}
.error-tip {
  color: #dc3545;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}
a.gongan {
  background: url(imgs/gongan.png) no-repeat left center;
  background-size: contain;
  padding-left: 20px;
  margin-right: 20px;
}

@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;

    border-radius: 0;
    /* 去掉圆角 */
    margin-top: 0;
    /* 去掉默认间距 */
  }

  .navbar .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.foot a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.2s;
}

.foot a:hover {
  color: #ffffff;
}

.qr-img {
  width: 180px !important;
  height: auto !important;
  background: #fff;
  padding: 10px;
}

/* 默认：手机端无样式 */
.qr-big {
  border-left: none;
  padding-left: 0;
}

/* 电脑端才生效 */
@media (min-width: 992px) {
  .qr-big {
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding-left: 30px;
  }
}

/* 悬浮栏基础 */
.right-fixed-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}

/* 每个按钮 */
.fixed-bar-item {
  position: relative;
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s;
}

.fixed-bar-item:hover {
  background: #123a75;
}

/* 提示文字 */
.fixed-bar-tip {
  position: absolute;
  right: 60px;
  background: #0c244a;
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s;
  border-radius: 4px;
  pointer-events: none;
}

.fixed-bar-item:hover .fixed-bar-tip {
  opacity: 1;
  transform: translateX(0);
}

/* ===== 二维码弹出框 ===== */
.qr-popup {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  width: 220px;
}

/* 二维码图片 */
.qr-popup img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 悬停显示 */
.qr-item:hover .qr-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* 小三角 */
.qr-popup::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

.hero-wrapper {
  position: relative;
}

.hero-btn {
  position: absolute;
  left: 2%;
  top: 60%;
  transform: translateY(-50%);

  padding: 12px 28px;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  color: #fff;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hero-btn {
    padding: 6px 10px;
    font-size: 10px;
    top: 65%;
  }
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.cal-hero-wrapper {
  position: relative;
}

.cal-hero-btn {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateY(-50%);

  padding: 12px 28px;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  color: #fff;

  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .cal-hero-btn {
    padding: 6px 10px;
    font-size: 10px;
    top: 65%;
  }
}

.cal-hero-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

.action-group {
  display: flex;
  flex-direction: column; /* 上下排列 */
  gap: 12px;
}

.text-link {
  font-size: 14px;
  padding-left: 20px;
  color: #0d6efd;
  text-decoration: none;
  transition: 0.3s;
  width: fit-content;
}

.text-link:hover {
  text-decoration: underline;
  color: #084298;
}

.cta-btn {
  display: inline-block;
  width: fit-content;
  padding: 8px 22px;
  border-radius: 25px;
  background: linear-gradient(90deg, #0066ff, #3399ff);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.cta-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
