@import "./reset.css";
@import "./base.css";
@import "./tailwind.css";

/* hero section */
.hero-section {
  position: relative;
  background-image: linear-gradient(117deg, #1a3478 0%, #170a3f 100%);
  padding-block: 248px 354px;
}

.section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section__header {
  text-align: center;
}

.section__title {
  font-size: 70px;
  font-weight: 500;
  color: #fff;
}

.section__desc {
  margin-top: 12px;
  font-size: 25px;
  color: #ced4f1;
}

.section__body {
  width: 1200px;
  margin-inline: auto;
}

/* 数据飞轮 */
.section--data-wheel {
  background: url("../images/index-bg-data-wheel.png") no-repeat center bottom /
    cover;
  height: 1223px;
  padding-top: 74px;
}

/* 三端融合，价值贯通 */
.section--merge {
  background: url("../images/index-bg-merge.png") no-repeat center bottom /
    cover;
  height: 1023px;
  padding-top: 98px;
}

.merge-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid #2d3869;
  background: linear-gradient(180deg, rgba(32, 46, 108, 0.45) 0%, #121b43 100%);
  padding: 60px 40px 50px;
  transition: all 0.3s;
  height: 398px;
}

.merge-item__icon {
  position: absolute;
  top: -55px;
  left: 50%;
  width: 92px;
  height: 92px;
  transform: translateX(-50%);
  border-radius: 10em;
  background: rgba(20, 29, 73, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.merge-item__icon img {
  width: 42px;
  height: 42px;
}

.merge-item:hover {
  transform: translateY(-20px);
  box-shadow: 0 10px 16px 0 rgba(248, 137, 2, 0.2);
  border-color: var(--color-primary);
}

.merge-item__header {
  font-size: 32px;
  font-weight: 500;
  color: #fff;
}

.merge-item__body {
  flex: 1;
}

.merge-item__body p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 20px;
}

.merge-item__footer {
}

.merge-item__footer a {
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
}

/*为什么选择杏树林*/
.why-item {
}

.why-item:hover dt {
  color: var(--color-primary);
}

.why-item > dt {
  color: #fff;
  margin-bottom: 38px;
  font-size: 36px;
  font-weight: bold;
  transition: all 0.3s;
}

.why-item > dd {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
}

.why-item > dd:not(:last-child) {
  margin-bottom: 16px;
}

/*行业洞察*/
.report-item {
  background: linear-gradient(180deg, rgba(32, 46, 108, 0.45) 0%, #121b43 100%);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  border: 1px solid #2d3869;
  transition: all 0.3s;
  height: 378px;
}

.report-item:hover {
  transform: translateY(-20px);
  box-shadow: 0 10px 16px 0 rgba(248, 137, 2, 0.2);
  border-color: var(--color-primary);
}

.report-item__cover {
  height: 200px;
  width: 100%;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.report-item__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.report-item__title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.report-item__desc {
  flex: 1;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
}

.report-item__link a {
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  font-size: 18px;
}

/* 开启AI医疗新时代-按钮动画 */
@keyframes bounce-in-left {
  0%,
  100% {
    transform: translateX(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.ai-btn {
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  height: 68px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 18px;
  position: relative;
}

.ai-btn::before {
  content: "";
  inset: -1px;
  position: absolute;
  background-image: var(--background-image-button-primary);
  transition: all 0.3s;
  border-radius: inherit;
  opacity: 0;
}

.ai-btn__inner {
  height: 100%;
  width: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.ai-btn:hover::before {
  opacity: 1;
}

.ai-btn:hover .ai-btn__inner {
  color: #fff;
}

.ai-btn:hover span {
  animation: bounce-in-left 0.8s infinite;
}
