*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    Arial,
    sans-serif;
  color: #1a1a1a;
  background: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  height: 121px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 clamp(24px, 15vw, 292px);
}

.header__brand {
  display: inline-flex;
  align-items: center;
}

.header__logo {
  width: 187px;
  height: auto;
}

/* Main section */
.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 121px);
  overflow-x: hidden;
}

.intro__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #d8ebff 0%, #eef6ff 28%, #f8fbff 52%, #eef6ff 78%, #d8ebff 100%);
}

.intro__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/huaban-5723835429_1@2x.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  opacity: 0.95;
  pointer-events: none;
}

.intro__content {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(48px, 5vw, 80px) clamp(24px, 15vw, 292px) clamp(56px, 4vw, 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro__title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #000;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.intro__text {
  max-width: 960px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.intro__text p + p {
  margin-top: 1.25em;
}

.intro__gallery {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(16px, 2.5vw, 48px);
  flex-wrap: wrap;
}

.intro__card {
  flex: 0 1 413px;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 88, 160, 0.08);
}

.intro__card img {
  width: 100%;
  aspect-ratio: 826 / 1030;
  object-fit: cover;
}

.footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 10px 24px 14px;
  text-align: center;
  background: transparent;
  pointer-events: none;
}

.footer__icp {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  pointer-events: auto;
  transition: color 0.2s ease;
}

.footer__icp:hover {
  color: #0056b3;
}

@media (max-width: 900px) {
  .header__logo {
    width: 150px;
  }

  .intro__card {
    flex-basis: min(100%, 360px);
  }
}

@media (max-width: 768px) {
  .header {
    height: 72px;
    padding: 0 24px;
  }

  .intro {
    min-height: calc(100vh - 72px);
  }

  .intro__content {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 480px) {
  .header {
    height: 64px;
  }

  .intro {
    min-height: calc(100vh - 64px);
  }

  .header__logo {
    width: 132px;
  }

  .intro__content {
    padding-top: 36px;
    padding-bottom: 40px;
  }

  .intro__title {
    margin-bottom: 24px;
  }

  .intro__text {
    margin-bottom: 32px;
    line-height: 1.8;
  }
}
