@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("assets/fonts/alibaba-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("assets/fonts/alibaba-medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("assets/fonts/alibaba-semibold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("assets/fonts/alibaba-bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 800;
}

:root {
  --brand-red: #ff0034;
  --brand-orange: #ff8800;
  --ink: #222222;
  --muted: #666666;
  --soft-pink: #fff1f1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink);
  font-family: "Alibaba PuHuiTi", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main {
  width: min(100%, 1920px);
  margin: 0 auto;
  overflow: hidden;
  container-type: inline-size;
  background: #ffffff;
}

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

a {
  color: inherit;
}

@media (min-width: 761px) {
  .content-shell,
  .hero-shell {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .hero {
    position: relative;
    height: 48.59375cqw;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8f7 0%, #ffd2d2 100%);
  }

  .hero::after {
    content: none;
  }

  .hero-ribbon {
    position: absolute;
    z-index: 0;
    top: -25.729167cqw;
    left: 25.729167cqw;
    width: 48.541667cqw;
    height: 100cqw;
    max-width: none;
    opacity: 0.17;
    object-fit: fill;
    pointer-events: none;
    transform: rotate(90deg) scaleX(-1);
    transform-origin: center;
  }

  .brand-header {
    position: absolute;
    z-index: 2;
    top: 5.78125cqw;
    left: 7.291667cqw;
    display: flex;
    height: 3.229167cqw;
    align-items: center;
    gap: 0.78125cqw;
    font-size: 1.770833cqw;
    line-height: 1;
  }

  .brand-logo {
    width: 3.229167cqw;
    height: 3.229167cqw;
    border-radius: 0.364583cqw;
    object-fit: cover;
  }

  .hero-layout {
    position: static;
    display: block;
  }

  .hero-copy {
    position: absolute;
    z-index: 2;
    top: 13.125cqw;
    left: 7.291667cqw;
    width: 40.15625cqw;
    padding: 0;
  }

  .hero-copy h1 {
    height: 6.875cqw;
    margin: 0;
    color: #050505;
    font-size: 4.895833cqw;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.404255;
  }

  .hero-copy h1 span {
    color: var(--brand-red);
  }

  .hero-copy > p {
    width: 39.427083cqw;
    margin: 2.239583cqw 0 0;
    color: #222222;
    font-size: 1.25cqw;
    line-height: 1.958333;
  }

  .hero-features {
    display: grid;
    width: 40.15625cqw;
    grid-template-columns: repeat(3, 11.614583cqw);
    gap: 2.65625cqw;
    margin-top: 5.260417cqw;
  }

  .hero-feature {
    width: 11.614583cqw;
    height: 8.854167cqw;
    min-height: 0;
    padding: 1.40625cqw 1.302083cqw 0;
    border: 0;
    border-radius: 1.302083cqw;
    background: #ffffff;
    box-shadow: 0 0.416667cqw 1.458333cqw rgba(217, 112, 103, 0.08);
  }

  .hero-feature h2 {
    height: 2.083333cqw;
    margin: 0;
    color: var(--brand-orange);
    font-size: 1.458333cqw;
    font-weight: 600;
    line-height: 1.428571;
    text-align: center;
  }

  .hero-feature p {
    margin: 0.78125cqw 0 0;
    color: var(--muted);
    font-size: 1.041667cqw;
    line-height: 1.4;
    text-align: center;
  }

  .hero-art {
    position: absolute;
    z-index: 1;
    top: 3.854167cqw;
    left: 57.1875cqw;
    width: 35.3125cqw;
    height: 44.6875cqw;
    margin: 0;
  }

  .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about {
    position: relative;
    height: 38.75cqw;
    min-height: 0;
    background: #ffffff;
  }

  .about-layout {
    display: block;
    min-height: 0;
  }

  .about-art {
    position: absolute;
    top: 9.21875cqw;
    left: 5.625cqw;
    display: block;
    width: 30.729167cqw;
    height: 23.697917cqw;
  }

  .about-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about-copy {
    position: absolute;
    top: 9.21875cqw;
    left: 45.3125cqw;
    width: 47.1875cqw;
    padding: 0;
  }

  .about-copy h2,
  .section-heading h2 {
    height: 3.90625cqw;
    margin: 0;
    color: #000000;
    font-size: 2.8125cqw;
    font-weight: 600;
    line-height: 1.388889;
  }

  .about-copy h2 span {
    color: var(--brand-red);
  }

  .about-copy p {
    width: 47.1875cqw;
    margin: 4.583333cqw 0 0;
    color: var(--muted);
    font-size: 1.5625cqw;
    line-height: 1.9;
    text-indent: 2em;
  }

  .about-copy p + p {
    margin-top: 0;
  }

  .platforms {
    position: relative;
    height: 50cqw;
    min-height: 0;
    padding: 0;
    background: linear-gradient(0deg, #fafafa 0%, #fed8e1 100%);
  }

  .section-heading {
    position: absolute;
    top: 6.666667cqw;
    left: 0;
    width: 100%;
    text-align: center;
  }

  .section-heading p {
    height: 3.541667cqw;
    margin: 0.520833cqw 0 0;
    color: var(--muted);
    font-size: 1.875cqw;
    line-height: 1.888889;
  }

  .platform-list {
    position: absolute;
    top: 20.364583cqw;
    left: 0;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 2.65625cqw;
    margin: 0;
  }

  .platform-row {
    display: flex;
    justify-content: center;
    gap: 2.34375cqw;
  }

  .platform-card {
    display: flex;
    width: 12.291667cqw;
    height: 4.6875cqw;
    flex: 0 0 12.291667cqw;
    align-items: center;
    gap: 0.885417cqw;
    padding: 0.572917cqw 1.041667cqw 0.572917cqw 0.78125cqw;
    border: 0.052083cqw solid rgba(255, 255, 255, 0.95);
    border-radius: 0.729167cqw;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0.416667cqw 0.9375cqw rgba(192, 127, 141, 0.12);
    color: #333333;
    font-size: 1.5625cqw;
    line-height: 1;
    white-space: nowrap;
  }

  .platform-card img,
  .platform-placeholder {
    width: 3.541667cqw;
    height: 3.541667cqw;
    flex: 0 0 3.541667cqw;
    border-radius: 0.520833cqw;
    object-fit: contain;
  }

  .platform-card img[src$=".png"] {
    padding: 0.104167cqw;
  }

  .platform-placeholder {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #ffe6e9, #fff7f8);
    color: #ff6b7c;
    font-size: 2.083333cqw;
  }

  .advantages {
    position: relative;
    height: 62.34375cqw;
    min-height: 0;
    padding: 0;
    background: #ffffff;
  }

  .advantages-heading {
    top: 6.614583cqw;
  }

  .advantages-heading p {
    margin-top: 0.520833cqw;
  }

  .advantage-grid {
    position: absolute;
    top: 21.510417cqw;
    left: 7.395833cqw;
    display: grid;
    width: 85.625cqw;
    height: 30.208333cqw;
    grid-template-columns: repeat(4, 19.270833cqw);
    gap: 2.864583cqw;
    margin: 0;
  }

  .advantage-card {
    position: relative;
    width: 19.270833cqw;
    height: 30.041667cqw;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 1.5625cqw;
    background: var(--soft-pink);
  }

  .advantage-number {
    position: absolute;
    top: 0.260417cqw;
    left: 0.208333cqw;
    height: 5.364583cqw;
    color: rgba(255, 181, 67, 0.24);
    font-size: 3.854167cqw;
    font-weight: 800;
    letter-spacing: 0.082031cqw;
    line-height: 1.391892;
  }

  .advantage-image {
    position: absolute;
    top: 5.052083cqw;
    left: 6.197917cqw;
    display: block;
    width: 6.875cqw;
    height: 6.875cqw;
  }

  .advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .advantage-card:first-child .advantage-image {
    top: 4.1875cqw;
    left: 5.416667cqw;
    width: 8.385417cqw;
    height: 8.697917cqw;
  }

  .advantage-card:nth-child(3) .advantage-image {
    left: 5.833333cqw;
    width: 7.395833cqw;
  }

  .advantage-card:last-child .advantage-image {
    top: 3.802083cqw;
    left: 4.114583cqw;
    width: 9.947917cqw;
    height: 9.947917cqw;
  }

  .advantage-card h3 {
    position: absolute;
    top: 13.697917cqw;
    left: 2.083333cqw;
    height: 3.072917cqw;
    margin: 0;
    color: #333333;
    font-size: 2.1875cqw;
    font-weight: 500;
    line-height: 1.404762;
    white-space: nowrap;
  }

  .advantage-card:first-child h3 {
    left: 4.21875cqw;
  }

  .advantage-card:last-child h3 {
    left: 3.020833cqw;
  }

  .advantage-card p {
    position: absolute;
    top: 19.427083cqw;
    left: 2.65625cqw;
    width: 13.958333cqw;
    margin: 0;
    color: #666666;
    font-size: 1.25cqw;
    line-height: 1.75;
  }

  .site-footer {
    display: grid;
    height: 8.489583cqw;
    min-height: 0;
    place-items: center;
    padding: 0;
    background: #dfdfdf;
    color: #9a9a9a;
  }

  .site-footer p {
    margin: 0;
    font-size: 1.145833cqw;
    line-height: 2.181818;
    text-align: center;
  }

  .site-footer span {
    padding: 0 0.625cqw;
  }

  .site-footer #current-year {
    display: inline;
    height: auto;
    padding: 0;
    overflow: visible;
  }
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--brand-red);
}

@media (max-width: 760px) {
  main {
    width: 100%;
  }

  .content-shell,
  .hero-shell {
    position: relative;
    width: min(calc(100% - 40px), 560px);
    height: auto;
    margin: 0 auto;
  }

  .hero {
    position: relative;
    min-height: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fff8f7 0%, #ffd9da 100%);
  }

  .hero-ribbon {
    position: absolute;
    top: -260px;
    left: -180px;
    width: 720px;
    max-width: none;
    opacity: 0.28;
    transform: rotate(70deg) scaleX(-1);
  }

  .hero-shell {
    padding: 34px 0 52px;
  }

  .brand-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    line-height: 1;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 6px;
  }

  .hero-layout {
    position: relative;
    z-index: 1;
  }

  .hero-copy {
    padding-top: 54px;
  }

  .hero-copy h1 {
    margin: 0;
    font-size: clamp(52px, 16vw, 72px);
    font-weight: 800;
    line-height: 1.2;
  }

  .hero-copy h1 span,
  .about-copy h2 span {
    color: var(--brand-red);
  }

  .hero-copy > p {
    margin: 27px 0 0;
    font-size: 18px;
    line-height: 1.75;
  }

  .hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 42px;
  }

  .hero-feature {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
  }

  .hero-feature h2 {
    margin: 0;
    color: var(--brand-orange);
    font-size: 21px;
    font-weight: 600;
  }

  .hero-feature p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
  }

  .hero-art {
    width: min(100%, 520px);
    margin: 18px auto 0;
  }

  .about-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 78px 0 84px;
  }

  .about-art {
    display: flex;
    justify-content: center;
  }

  .about-art img {
    width: min(86%, 420px);
  }

  .about-copy h2,
  .section-heading h2 {
    margin: 0;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.4;
  }

  .about-copy p {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.85;
    text-indent: 2em;
  }

  .about-copy p + p {
    margin-top: 6px;
  }

  .platforms {
    padding: 78px 0 84px;
    background: linear-gradient(0deg, #fafafa 0%, #fed8e1 100%);
  }

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

  .section-heading p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 22px;
    line-height: 1.9;
  }

  .platform-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 54px;
  }

  .platform-row {
    display: contents;
  }

  .platform-card {
    display: flex;
    height: 68px;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 5px 12px rgba(192, 127, 141, 0.12);
    font-size: 16px;
    white-space: nowrap;
  }

  .platform-card img,
  .platform-placeholder {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 8px;
    object-fit: contain;
  }

  .platform-placeholder {
    display: grid;
    place-items: center;
    background: #fff4f5;
    color: #ff6b7c;
    font-size: 30px;
  }

  .advantages {
    padding: 80px 0 88px;
  }

  .advantage-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 62px;
  }

  .advantage-card {
    position: relative;
    min-height: 0;
    padding: 24px 30px 34px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--soft-pink);
  }

  .advantage-number {
    position: absolute;
    top: 4px;
    left: 4px;
    color: rgba(255, 181, 67, 0.24);
    font-size: 62px;
    font-weight: 800;
  }

  .advantage-image {
    display: flex;
    height: 194px;
    align-items: center;
    justify-content: center;
  }

  .advantage-image img {
    width: 180px;
    height: 180px;
    object-fit: contain;
  }

  .advantage-card h3 {
    margin: 8px 0 0;
    font-size: 30px;
    font-weight: 500;
  }

  .advantage-card p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.75;
  }

  .site-footer {
    display: grid;
    min-height: 120px;
    place-items: center;
    padding: 28px 20px;
    background: #dfdfdf;
    color: #9a9a9a;
  }

  .site-footer p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
  }

  .site-footer span:not(#current-year) {
    display: block;
    height: 0;
    overflow: hidden;
  }

  .site-footer #current-year {
    display: inline;
  }
}

@media (max-width: 400px) {
  .platform-list {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    grid-template-columns: 106px 1fr;
  }
}

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

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