html {
  font-size: 37.5px;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar {
  display: none;
}

body {
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin: 0;
  padding: 0;
}

body::-webkit-scrollbar {
  display: none;
}

.page {
  width: 100%;
  max-width: 51.2rem;
  margin: 0 auto;
  overflow-x: hidden;
  background: rgba(245, 247, 251, 1);
}

/* 英雄区域 */
.hero {
  background-image: url(images/hero-bg.png);
  background-size: cover;
  background-position: center;
  height: 17.6rem;
  position: relative;
  padding-top: 2.667rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(3, 67, 122, 0.24);
}

.hero__content {
  position: relative;
  z-index: 1;
  align-items: center;
  padding-bottom: 5.547rem;
}

.hero__title {
  font-size: 1.706rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.32);
  margin-bottom: 0.834rem;
}

.hero__subtitle {
  font-size: 0.85333rem;
  color: rgba(255, 255, 255, 1);
  margin: 0 !important;
  text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.32);
}

/* 主体内容 */
.main-content {
  background-image: url(images/main-bg.png);
  background-size: cover;
  background-repeat: no-repeat;
}

/* 通用样式 */
.section-title {
  font-size: 1.493rem;
  font-weight: 700;
  color: rgba(26, 26, 26, 1);
  text-align: center;
  margin: 1.414rem 0 2.134rem;
}

.tab-group {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  box-shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 1);
  border-radius: 0.853rem;
  padding: 0.214rem;
  width: fit-content;
  margin: 0 auto;
}

.tab-item {
  padding: 0.24rem 0.587rem;
  font-size: 0.586rem;
  cursor: pointer;
  border-radius: 0.64rem;
  transition: all 0.3s;
}

.tab-item.active {
  background: linear-gradient(180deg, #0070AB 0%, #003D72 100%);
  color: rgba(255, 255, 255, 1);
  font-weight: 500;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}
.level-wrap{
  width: 100%;
  display: flex;
  gap: 4.800rem;
  padding: 3.413rem 2.933rem;
  box-sizing: border-box;
}
.level-text{
  width: 21.333rem;
}
.level-text .title{
  font-size: 1.493rem;
  color: #1A1A1A;
  font-weight: bold;
  margin-bottom: 1.067rem;
}
.description p{
  font-size: 0.587rem;
  color: #5A5A5A;
  line-height: 1.067rem;
}
.description p:first-child{
  margin-bottom: 0.640rem;
}
.level-wrap .img-wrap{
  width: 19.200rem;
  height: 16.320rem;
}
.level-wrap .img-wrap img{
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

/* 鼠标样式 */
.tab-item,
.navbar__link,
.footer__link {
  cursor: pointer;
}

/* 悬停效果 */
.navbar__link:hover {
  color: rgba(0, 61, 114, 1);
  transition: color 0.3s;
}

.tab-item:hover:not(.active) {
  background: rgba(0, 61, 114, 0.1);
}

.footer__link:hover {
  color: rgba(0, 102, 204, 1);
  transition: color 0.3s;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.image-card img,
.case-image img,
.compare-images img {
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
}

.section-title,
.tab-group,
.content-row,
.section-desc {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
  animation-delay: 0.2s;
}
.madhyamaka{
  width: 100%;
  padding-bottom: 3.413rem;
  background-color: #F5F7FB;
}

/* ========== Responsive ========== */
@media (max-width: 1440px) {
  .level-wrap {
    gap: 3.200rem;
    padding: 2.667rem 2.133rem;
  }
}

@media (max-width: 1024px) {
  .level-wrap {
    gap: 2.667rem;
    padding: 2.133rem 1.600rem;
  }
  .level-text,
  .level-wrap .img-wrap {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .level-wrap {
    flex-direction: column;
    padding: 1.600rem 0.640rem;
    gap: 1.067rem;
  }
  .level-text,
  .level-wrap .img-wrap {
    width: 100%;
  }
  .level-wrap .img-wrap {
    height: auto;
  }
  .level-wrap .img-wrap img {
    height: auto;
  }
}
