@charset "UTF-8";
/* BasinLens Portal Common Styles */


/* 官网 H 标题统一样式 */
.portal-h1-hero {
  font-size: 2.25rem; /* text-4xl */
  line-height: 2.5rem; /* 40px */
  font-weight: 500; /* font-medium */
  color: #111827; /* text-gray-900 */
}
@media (min-width: 768px) {
  .portal-h1-hero {
    font-size: 3.75rem; /* text-6xl */
    line-height: 1;
  }
}
.portal-h1 {
  font-size: 2.25rem; /* text-4xl */
  line-height: 2.5rem; /* 40px */
  font-weight: 500; /* font-medium */
  color: #111827; /* text-gray-900 */
}
@media (min-width: 768px) {
  .portal-h1 {
    font-size: 3rem; /* text-5xl, 48px */
    line-height: 1;
  }
}
.portal-h2 {
  font-size: 1.875rem; /* text-3xl, 30px */
  line-height: 2.25rem; /* 36px */
  font-weight: 700; /* font-bold */
  color: #1f2937; /* text-gray-800 */
}
@media (min-width: 768px) {
  .portal-h2 {
    font-size: 2.25rem; /* text-4xl, 36px */
    line-height: 2.5rem; /* 40px */
  }
}
.portal-h3 {
  font-size: 1.5rem; /* text-2xl, 24px */
  line-height: 2rem; /* 32px */
  font-weight: 700; /* font-bold */
  color: #1f2937; /* text-gray-800 */
}
.portal-h4 {
  font-size: 1.25rem; /* text-xl, 20px */
  line-height: 1.75rem; /* 28px */
  font-weight: 600; /* font-semibold */
  color: #1f2937; /* text-gray-800 */
}
.portal-h4-footer {
  font-size: 1rem; /* text-base, 16px */
  line-height: 1.5rem;
  font-weight: 500!important; /* font-medium */
  color: #1f2937; /* text-gray-800 */
}


/* 加载动画 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.loading.active {
  opacity: 1;
  visibility: visible;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(249, 115, 22, 0.2);
  border-top-color: #f97316;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* 响应式设计 */
@media (max-width: 767px) {
  .mobile-menu-button {
    display: block;
  }
  .desktop-menu {
    display: none;
  }
}

/* 添加字体和描述样式 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* 为固定导航栏留出空间 */
}

/* 移动端菜单样式 */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: white;
  z-index: 50;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu .close-menu {
  background: none;
  border: none;
  cursor: pointer;
}
