:root {
  --about-shell: 1215px;
  --about-wide-shell: 1290px;
  --about-ink: #181b22;
  --about-muted: #51586a;
  --about-blue: #4956ff;
  --about-cyan: #01bbec;
  --about-footer: #000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--about-ink);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.header-shell,
.footer-shell {
  width: min(var(--about-shell), calc(100% - 48px));
  margin: 0 auto;
}

.about-header {
  /*
    关于页头部与首页保持一致，在页面滚动时持续保留品牌、注册和下载入口。
    使用 sticky 保留原有文档流高度，避免首屏内容因吸顶产生跳动或被遮挡。
  */
  position: sticky;
  top: 0;
  z-index: 80;
  height: 100px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 7px 24px rgba(72, 99, 165, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-brand {
  display: inline-flex;
  align-items: center;
}

.header-brand img {
  width: 268px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 41px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.header-button:hover,
.header-button:focus-visible {
  outline: none;
  transform: translateY(-2px);
}

.register-button {
  width: 101px;
  border: 1px solid #edf0f7;
  color: #252a38;
  background: #fff;
  box-shadow: 0 5px 15px rgba(37, 55, 104, 0.09);
}

.register-button:hover,
.register-button:focus-visible {
  border-color: #cfd8ff;
  box-shadow: 0 8px 20px rgba(55, 77, 156, 0.14);
}

.download-button {
  width: 111px;
  color: #fff;
  background: #466cfe;
  box-shadow: 0 8px 20px rgba(68, 91, 244, 0.24);
}

.download-button:hover,
.download-button:focus-visible {
  box-shadow: 0 11px 26px rgba(68, 91, 244, 0.32);
}

.about-hero {
  position: relative;
  display: grid;
  height: 405px;
  place-items: center;
  overflow: hidden;
  background-color: #edf5ff;
  background-image: url("https://web.douxiaobao.com/www_assets/about/hero.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.16), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: 75px;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.15;
}

.hero-content h1 span {
  color: #171b24;
}

.hero-content h1 strong {
  color: transparent;
  background: linear-gradient(90deg, #4d64ff 0%, #3757f3 55%, #6449f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content p {
  margin: 22px 0 0;
  color: #343947;
  font-size: 20px;
  line-height: 30px;
}

.company-section {
  padding-top: 78px;
  background: #fff;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: #171a22;
  font-size: 40px;
  font-weight: 800;
  line-height: 56px;
}

.section-heading p {
  margin: 7px 0 0;
  color: #515666;
  font-size: 15px;
  line-height: 24px;
}

.company-grid {
  display: grid;
  align-items: center;
  width: min(var(--about-wide-shell), calc(100% - 48px));
  margin: 64px auto 0;
  grid-template-columns: 0.64fr 1fr;
  gap: 70px;
}

.company-copy h3 {
  margin: 0 0 25px;
  color: transparent;
  background: linear-gradient(90deg, #5869ff 0%, #3963f8 66%, #7850f3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 30px;
  font-weight: 800;
  line-height: 40px;
}

.company-copy {
  transform: translateY(15px);
}

.company-copy p {
  margin: 0 0 21px;
  color: #454b5b;
  font-size: 15px;
  line-height: 32px;
}

.company-copy p:last-child {
  margin-bottom: 0;
}

.company-figure {
  aspect-ratio: 1487 / 779;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(42, 89, 142, 0.11);
  transform: translateY(-5px);
}

.company-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-section {
  margin-top: 111px;
  padding-bottom: 144px;
}

.mission-grid {
  display: grid;
  width: min(1130px, calc(100% - 48px));
  margin: 88px auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 82px;
  transform: translateY(11px);
}

.mission-item {
  min-width: 0;
  text-align: center;
}

.mission-icon {
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background-color: #edf4fe;
  box-shadow: 0 12px 30px rgba(61, 102, 205, 0.08);
}

.mission-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.mission-item h3 {
  margin: 21px 0 11px;
  color: #1b1e27;
  font-size: 20px;
  font-weight: 800;
  line-height: 31px;
}

.mission-item p {
  margin: 0;
  color: #525869;
  font-size: 14px;
  line-height: 23px;
}

.about-cta {
  position: relative;
  display: grid;
  height: 592px;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(108deg, #686fff 0%, #4b85ff 46%, #00c6ff 100%);
}

.about-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 73% 24%, rgba(62, 225, 255, 0.2), transparent 29%),
    radial-gradient(circle at 28% 88%, rgba(132, 63, 255, 0.22), transparent 34%);
}

.cta-wave {
  position: absolute;
  right: 0;
  bottom: -250px;
  left: 0;
  width: 100%;
  max-width: none;
  height: auto;
  pointer-events: none;
  opacity: 0.68;
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  transform: translateY(-32px);
}

.cta-brand-mark {
  width: 155px;
  height: 127px;
  margin: 0 auto 56px;
  object-fit: contain;
}

.cta-content h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 800;
  line-height: 54px;
}

.cta-content p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  line-height: 30px;
}

.about-footer {
  min-height: 354px;
  padding: 57px 0 23px;
  color: #fff;
  background: var(--about-footer);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1fr;
  gap: 67px;
}

.about-footer h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
}

.footer-about > img {
  width: 268px;
  height: auto;
}

.footer-about p {
  max-width: 340px;
  margin: 23px 0 12px;
  color: #808db9;
  font-size: 13px;
  line-height: 24px;
}

.footer-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #c8d1e8;
  font-size: 13px;
  line-height: 22px;
}

.footer-more:hover,
.footer-more:focus-visible,
.footer-record a:hover,
.footer-record a:focus-visible {
  color: #fff;
  outline: none;
}

.product-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-columns li {
  margin-bottom: 13px;
  color: #808db9;
  font-size: 13px;
  line-height: 20px;
  white-space: nowrap;
}

.contact-content {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.contact-content img {
  width: 127px;
  height: 127px;
  border-radius: 7px;
}

.contact-content p {
  margin: 1px 0 0;
  color: #808db9;
  font-size: 13px;
  line-height: 25px;
  white-space: nowrap;
}

.footer-record {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(var(--about-shell), calc(100% - 48px));
  margin: 34px auto 0;
  color: #5e6983;
  font-size: 12px;
  line-height: 20px;
}

.footer-record a {
  transition: color 0.2s ease;
}

@media (max-width: 1180px) {
  .company-grid {
    gap: 42px;
  }

  .mission-grid {
    gap: 32px;
  }

  .footer-shell {
    gap: 34px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 84px;
  }

  .header-shell,
  .footer-shell {
    width: calc(100% - 32px);
  }

  .about-header {
    height: 68px;
  }

  .header-brand img {
    width: clamp(128px, 38vw, 172px);
  }

  .header-actions {
    gap: 6px;
  }

  .header-button {
    height: 34px;
    border-radius: 7px;
    font-size: 12px;
  }

  .register-button {
    width: 72px;
  }

  .download-button {
    width: 82px;
  }

  .about-hero {
    height: 340px;
    background-position: center;
  }

  .about-hero::after {
    background: rgba(245, 249, 255, 0.12);
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero-content h1 {
    font-size: clamp(42px, 12vw, 54px);
  }

  .hero-content p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 25px;
  }

  .company-section {
    padding-top: 52px;
  }

  .section-heading {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .section-heading h2 {
    font-size: 30px;
    line-height: 42px;
  }

  .section-heading p {
    font-size: 14px;
    line-height: 23px;
  }

  .company-grid {
    width: calc(100% - 32px);
    margin-top: 37px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .company-copy h3 {
    margin-bottom: 17px;
    font-size: 23px;
    line-height: 34px;
  }

  .company-copy p {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 27px;
  }

  .company-copy {
    transform: none;
  }

  .company-figure {
    border-radius: 16px;
    transform: none;
  }

  .mission-section {
    margin-top: 65px;
    padding-bottom: 72px;
  }

  .mission-grid {
    width: calc(100% - 32px);
    margin-top: 44px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 16px;
    transform: none;
  }

  .mission-icon {
    width: 80px;
    height: 80px;
  }

  .mission-icon img {
    width: 40px;
    height: 40px;
  }

  .mission-item h3 {
    margin: 17px 0 8px;
    font-size: 19px;
    line-height: 28px;
  }

  .mission-item p {
    font-size: 12px;
    line-height: 22px;
  }

  .about-cta {
    height: 420px;
    padding: 0 20px;
  }

  .cta-wave {
    bottom: -74px;
    width: 180%;
    left: -40%;
  }

  .cta-brand-mark {
    width: 118px;
    height: auto;
    margin-bottom: 39px;
  }

  .cta-content h2 {
    font-size: 27px;
    line-height: 40px;
  }

  .cta-content {
    transform: none;
  }

  .cta-content p {
    max-width: 520px;
    margin: 8px auto 0;
    font-size: 14px;
    line-height: 25px;
  }

  .about-footer {
    padding: 43px 0 25px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-about > img {
    width: min(240px, 72vw);
  }

  .footer-about p {
    max-width: 520px;
  }

  .product-columns {
    max-width: 560px;
  }

  .footer-record {
    width: calc(100% - 32px);
    margin-top: 36px;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .footer-record > span[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-brand img {
    width: 128px;
  }

  .register-button {
    width: 64px;
  }

  .download-button {
    width: 76px;
  }

  .about-hero {
    height: 310px;
  }

  .mission-grid {
    gap: 38px 10px;
  }

  .mission-item p br {
    display: none;
  }

  .product-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
  }

  .contact-content {
    gap: 15px;
  }

  .contact-content img {
    width: 104px;
    height: 104px;
  }

  .contact-content p {
    font-size: 12px;
    line-height: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
  }
}
