:root {
  --orange: rgba(254, 100, 24, 1);
  --orange-2: rgba(254, 118, 34, 1);
  --ink: rgba(0, 0, 0, 1);
  --text: rgba(41, 41, 41, 1);
  --muted: rgba(91, 91, 91, 1);
  --blue: rgba(24, 109, 254, 1);
  --purple: rgba(102, 56, 217, 1);
  --footer: rgba(35, 36, 42, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: rgba(255, 255, 255, 1);
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 157px;
  padding: 0 64px 0 45px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-logo {
  width: 85px;
  height: 83px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  color: rgba(0, 0, 0, 1);
  font-size: 48px;
  font-weight: 700;
  line-height: 71px;
  white-space: nowrap;
}

.brand-copy span {
  margin-top: -7px;
  color: rgba(74, 74, 74, 1);
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 93px;
  color: rgba(0, 0, 0, 1);
  font-size: 22px;
  font-weight: 500;
  line-height: 33px;
}

.nav-link {
  position: relative;
  padding: 18px 0;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 24px;
  height: 3px;
  border-radius: 3px;
  background: rgba(254, 96, 3, 1);
  transform: translateX(-50%);
}

.nav-link.active.wide::after {
  width: 79px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 65px;
  border-radius: 33px;
  color: rgba(255, 255, 255, 1);
  background: rgba(254, 103, 13, 1);
  font-size: 26px;
  line-height: 38px;
}

.hero {
  position: relative;
  min-height: 1187px;
  overflow: hidden;
  background-color: rgba(217, 230, 250, 0.27);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./assets/slices/hero_background.png");
  background-size: cover;
  background-position: center top;
  opacity: 0.92;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(420px, 1fr);
  gap: 60px;
  max-width: 1640px;
  margin: 0 auto;
  padding: 263px 0 120px;
}

.hero-copy {
  padding-left: 0;
}

.eyebrow {
  margin: 0 0 -33px 5px;
  color: var(--ink);
  font-size: 103px;
  font-weight: 700;
  line-height: 152px;
  white-space: nowrap;
}

h1 {
  margin: 0 0 10px 5px;
  color: var(--ink);
  font-size: 120px;
  font-weight: 700;
  line-height: 177px;
  white-space: nowrap;
}

h1 span {
  color: var(--orange-2);
}

.subtitle {
  margin: 0;
  color: rgba(41, 41, 41, 1);
  font-size: 42px;
  font-weight: 400;
  line-height: 62px;
  white-space: nowrap;
}

.feature-list {
  display: grid;
  grid-template-columns: 120px 120px 175px 120px;
  align-items: start;
  gap: 56px;
  margin: 73px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 216px;
  text-align: center;
}

.feature-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -31px;
  width: 4px;
  height: 192px;
  background-image: linear-gradient(180deg, rgba(238, 238, 238, 0.0) 0, rgba(238, 226, 216, 1.0) 48.442963%, rgba(216, 216, 216, 0.0) 100%);
}

.feature-list img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.feature-list strong {
  margin-top: 27px;
  color: rgba(41, 41, 41, 1);
  font-size: 30px;
  font-weight: 500;
  line-height: 45px;
  white-space: nowrap;
}

.feature-list span {
  margin-top: -3px;
  color: rgba(91, 91, 91, 1);
  font-size: 25px;
  font-weight: 400;
  line-height: 37px;
  white-space: nowrap;
}

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 760px;
}

.phone-preview {
  width: 517px;
  height: auto;
  filter: drop-shadow(0 32px 44px rgba(28, 39, 72, 0.18));
}

.stats {
  position: relative;
  margin-top: -72px;
  padding: 0 64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1450px;
  margin: 0 auto;
  min-height: 234px;
  padding: 54px 42px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 24px 80px rgba(28, 39, 72, 0.12);
}

.stats-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border-right: 1px solid rgba(238, 226, 216, 1);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.stats-grid strong {
  color: rgba(254, 93, 18, 1);
  font-size: 42px;
  font-weight: 700;
  line-height: 56px;
  white-space: nowrap;
}

.stats-grid span {
  color: rgba(67, 63, 63, 1);
  font-size: 26px;
  line-height: 38px;
  white-space: nowrap;
}

.download {
  padding: 124px 64px 160px;
  background: rgba(255, 255, 255, 1);
}

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

.section-heading h2 {
  margin: 0;
  color: rgba(0, 0, 0, 1);
  font-size: 56px;
  font-weight: 700;
  line-height: 84px;
}

.section-heading p {
  margin: 16px 0 0;
  color: rgba(67, 63, 63, 1);
  font-size: 28px;
  line-height: 42px;
}

.app-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 448px));
  justify-content: center;
  gap: 32px;
  margin-top: 70px;
}

.app-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 673px;
  padding: 37px 68px 40px;
  border-radius: 20px;
  border: 2px solid transparent;
}

.user-card {
  background: rgba(255, 247, 244, 1);
  border-color: rgba(254, 236, 227, 1);
}

.admin-card {
  background: rgba(248, 250, 253, 1);
  border-color: rgba(240, 242, 246, 1);
}

.live-card {
  background: rgba(250, 247, 253, 1);
  border-color: rgba(239, 233, 246, 1);
}

.app-card h3 {
  margin: 0 0 17px;
  font-size: 36px;
  font-weight: 500;
  line-height: 54px;
}

.user-card h3 {
  color: rgba(253, 100, 11, 1);
}

.admin-card h3 {
  color: rgba(24, 109, 254, 1);
}

.live-card h3 {
  color: rgba(102, 54, 217, 1);
}

.app-card p {
  margin: 0;
  color: rgba(67, 63, 63, 1);
  font-size: 26px;
  font-weight: 500;
  line-height: 38px;
  text-align: center;
  white-space: nowrap;
}

.qr {
  width: 248px;
  height: 244px;
  object-fit: contain;
  margin: 22px 0 29px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 1);
}

.qr.bordered {
  padding: 14px;
  border: 3px solid rgba(36, 36, 36, 1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 308px;
  height: 61px;
  margin-top: 0;
  border-radius: 31px;
  font-size: 26px;
  font-weight: 500;
  line-height: 38px;
  white-space: nowrap;
}

.button + .button {
  margin-top: 29px;
}

.button img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.primary-orange {
  color: rgba(255, 255, 255, 1);
  background: rgba(253, 100, 11, 1);
}

.secondary-orange {
  color: rgba(253, 100, 11, 1);
  background: rgba(255, 255, 255, 1);
}

.primary-blue {
  color: rgba(255, 255, 255, 1);
  background: rgba(24, 109, 254, 1);
  margin-top: 29px;
}

.primary-purple {
  color: rgba(255, 255, 255, 1);
  background: rgba(102, 56, 217, 1);
}

.secondary-purple {
  color: rgba(102, 56, 217, 1);
  background: rgba(255, 255, 255, 1);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--footer);
}

.about-page {
  min-height: 1123px;
  padding: 74px 0 331px;
  background-color: rgba(255, 255, 255, 1);
  background-image: url("./assets/slices/about_body_bg.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.about-content {
  width: min(1284px, calc(100% - 48px));
  margin: 0 auto;
  color: rgba(0, 0, 0, 1);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
  text-align: justify;
}

.about-content h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.about-content h2 {
  margin: 98px 0 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
}

.about-content p {
  margin: 0;
}

.about-content h2 + p {
  margin-top: 0;
  max-width: 839px;
}

.about-content h2 + p:last-child {
  max-width: 825px;
}

.about-content a {
  color: rgba(254, 96, 3, 1);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(320px, 1.4fr) repeat(3, 180px);
  gap: 58px;
  max-width: 1600px;
  margin: 0 auto;
  padding: 82px 64px 66px;
}

.footer-brand .brand-copy strong {
  color: rgba(255, 255, 255, 1);
}

.footer-brand .brand-copy span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col strong {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 1);
  font-size: 24px;
  line-height: 36px;
}

.footer-col a {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 20px;
  line-height: 30px;
}

.copyright {
  margin: 0;
  padding: 28px 24px;
  color: rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  line-height: 28px;
  text-align: center;
}

.copyright a {
  color: inherit;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  z-index: 40;
  padding: 14px 22px;
  color: rgba(255, 255, 255, 1);
  background: rgba(0, 0, 0, 0.82);
  border-radius: 999px;
  font-size: 16px;
  line-height: 24px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1280px) {
  .site-header {
    height: 110px;
    padding: 0 32px;
  }

  .brand-logo {
    width: 58px;
    height: 56px;
  }

  .brand-copy strong {
    font-size: 32px;
    line-height: 46px;
  }

  .brand-copy span {
    font-size: 16px;
    line-height: 24px;
  }

  .nav {
    gap: 40px;
    font-size: 18px;
  }

  .download-link {
    width: 132px;
    height: 48px;
    font-size: 20px;
  }

  .hero {
    min-height: 820px;
  }

  .hero-inner {
    grid-template-columns: 1fr 420px;
    max-width: 1100px;
    padding: 150px 32px 100px;
  }

  .eyebrow {
    margin-bottom: -18px;
    font-size: 68px;
    line-height: 98px;
  }

  h1 {
    font-size: 78px;
    line-height: 116px;
  }

  .subtitle {
    font-size: 28px;
    line-height: 42px;
  }

  .feature-list {
    grid-template-columns: repeat(4, minmax(90px, 1fr));
    gap: 24px;
    margin-top: 46px;
  }

  .feature-list li:not(:last-child)::after {
    right: -14px;
    height: 140px;
  }

  .feature-list strong {
    font-size: 22px;
    line-height: 34px;
  }

  .feature-list span {
    font-size: 17px;
    line-height: 26px;
  }

  .phone-preview {
    width: 360px;
  }

  .app-cards {
    grid-template-columns: repeat(3, minmax(260px, 1fr));
  }

  .app-card {
    padding: 32px 24px 36px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 22px;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
  }

  .download-link {
    width: auto;
    min-width: 108px;
    height: 42px;
    padding: 0 16px;
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    padding: 74px 22px 86px;
  }

  .eyebrow {
    margin: 0;
    font-size: 44px;
    line-height: 62px;
  }

  h1 {
    margin: 0;
    font-size: 48px;
    line-height: 68px;
    white-space: normal;
  }

  .subtitle {
    margin-top: 8px;
    font-size: 20px;
    line-height: 32px;
    white-space: normal;
  }

  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .feature-list li {
    min-height: 164px;
  }

  .feature-list li::after {
    display: none;
  }

  .feature-list img {
    width: 78px;
    height: 78px;
  }

  .hero-art {
    min-height: 0;
  }

  .phone-preview {
    width: min(320px, 88vw);
  }

  .stats {
    margin-top: -36px;
    padding: 0 22px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 18px;
    border-radius: 20px;
  }

  .stats-grid article {
    padding: 20px 8px;
    border-right: 0;
  }

  .stats-grid strong {
    font-size: 28px;
    line-height: 38px;
  }

  .stats-grid span {
    font-size: 18px;
    line-height: 28px;
  }

  .download {
    padding: 72px 22px 88px;
  }

  .section-heading h2 {
    font-size: 34px;
    line-height: 48px;
  }

  .section-heading p {
    font-size: 18px;
    line-height: 30px;
  }

  .app-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .app-card {
    min-height: auto;
  }

  .app-card p {
    white-space: normal;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 22px;
  }

  .about-page {
    min-height: auto;
    padding: 54px 0 84px;
    background-size: auto 100%;
  }

  .about-content {
    font-size: 18px;
    line-height: 32px;
  }

  .about-content h2 {
    margin-top: 42px;
    font-size: 22px;
    font-weight: 600;
    line-height: 34px;
  }

  .copyright {
    font-size: 14px;
  }
}
