/* Barrel entry - imports modular CSS. Each module <= 500 lines. */
@import url("css/base.css");
@import url("css/header.css");
@import url("css/home-hero.css");
@import url("css/home-intro.css");
@import url("css/home-platform.css");
@import url("css/home-figure1.css");
@import url("css/home-figure2.css");
@import url("css/login.css");
@import url("css/platform-security.css");
/* 弹窗半透明背景 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 9999; /* 让弹窗显示在最上层 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色遮罩 */
}

/* 弹窗主体白色盒子 */
.modal-content {
  background-color: #ffffff;
  margin: 5% auto; /* 上下居中显示 */
  border-radius: 8px;
  width: 90%;
  max-width: 800px; /* 弹窗最大宽度，适配电脑/手机 */
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* 右上角关闭按钮 */
.close-btn {
  position: absolute;
  top: 12px;
  right: 20px;
  color: #999;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close-btn:hover {
  color: #333;
}

/* 弹窗中间内容区 */
.modal-body {
  padding: 30px 20px;
  text-align: center;
}
.modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
}
.modal-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  padding: 0 20px;
}

/* 底部按钮区 */
.modal-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.modal-btn {
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
}
.modal-btn-login {
  background-color: #165DFF; /* 和你网站的蓝色按钮颜色一致 */
  color: #fff;
}
.modal-btn-register {
  background-color: #FFB800; /* 和你网站的黄色按钮颜色一致 */
  color: #fff;
}
.modal-btn:hover {
  opacity: 0.9;
}
/* 统一所有页面导航栏布局，和首页完全一致 */
.header-inner {
  max-width: 1200px !important; /* 和首页的最大宽度保持一致 */
  margin: 0 auto !important; /* 水平居中 */
  padding: 0 20px !important; /* 左右留白，防止小屏幕贴边 */
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}