:root {
  --ink: #1d1d1f;
  --soft-ink: #424245;
  --muted: #6e6e73;
  --hairline: rgba(0, 0, 0, 0.1);
  --paper: #f5f5f7;
  --white: #ffffff;
  --blue: #9f1d1d;
  --navy: #1a2b4c;
  --gold: #b08a3c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.45;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(20px, 5vw, 72px);
  color: rgba(29, 29, 31, 0.86);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}

.brand-mark::before {
  content: none;
}

.brand-mark img {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
}

.nav-links a {
  color: rgba(29, 29, 31, 0.72);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.video-hero-section {
  position: relative;
  min-height: 692px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #f9154a;
}

.hero-video {
  display: block;
  width: 100%;
  height: 692px;
  object-fit: cover;
}

.video-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 80px 22px 54px;
  color: var(--white);
  text-align: center;
  pointer-events: none;
}

.video-hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 24px;
  font-weight: 700;
}

.video-hero-brand img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
}

.video-hero-content h1 {
  max-width: 980px;
  margin: 0 auto 16px;
  color: var(--white);
  font-size: clamp(38px, 4.2vw, 48px);
  line-height: 1.16;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.36);
}

.video-hero-content p {
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.2;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.34);
}

.video-hero-button {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 218px;
  min-height: 54px;
  padding: 0 34px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
  font-size: 20px;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.video-hero-button span {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 999px;
  color: #9f1d1d;
  background: var(--white);
  font-size: 20px;
  line-height: 1;
}

.video-hero-cta {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.hero-section {
  min-height: 692px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  padding: 76px 22px 52px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 205, 205, 0.88), transparent 34%),
    radial-gradient(circle at 88% 76%, rgba(255, 224, 224, 0.94), transparent 32%),
    linear-gradient(180deg, #fff6f5 0%, #ffeaea 52%, #fff1f1 100%);
}

.hero-inner {
  width: min(900px, 100%);
  text-align: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0 auto 12px;
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.08;
}

.hero-kicker {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.hero-subtitle {
  max-width: 660px;
  margin: 0 auto 22px;
  color: var(--soft-ink);
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 1.22;
}

.entry-panel {
  width: min(248px, 100%);
  margin: 0 auto;
  padding: 14px 16px 13px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
  text-align: center;
}

.qr-shell {
  width: min(146px, 48vw);
  margin: 0 auto 8px;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: var(--white);
}

.qr-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  object-fit: cover;
}

.scan-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-business-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 500;
}

.hero-search-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.app-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.platform-section {
  min-height: 692px;
  display: grid;
  align-items: center;
  margin-bottom: 16px;
  padding: 46px 22px 48px;
  overflow: hidden;
  background: #000;
}

.platform-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  text-align: center;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 18px;
}

.section-heading h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.06;
}

.platform-showcase {
  margin: 0;
}

.phone-stack {
  position: relative;
  width: min(760px, 100%);
  height: 540px;
  margin: 0 auto;
}

.phone-shot {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: auto;
  height: 500px;
  filter: drop-shadow(0 34px 58px rgba(0, 0, 0, 0.62));
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.phone-front {
  z-index: 3;
  animation-name: phone-cycle-front;
}

.phone-back {
  z-index: 1;
  opacity: 0.86;
}

.phone-back-left {
  animation-name: phone-cycle-left;
}

.phone-back-right {
  animation-name: phone-cycle-right;
}

@keyframes phone-cycle-front {
  0%,
  27% {
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  33%,
  60% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(-100%) scale(0.92);
  }
  66%,
  94% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(0) scale(0.92);
  }
  100% {
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
}

@keyframes phone-cycle-left {
  0%,
  27% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(-100%) scale(0.92);
  }
  33%,
  60% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(0) scale(0.92);
  }
  66%,
  94% {
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  100% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(-100%) scale(0.92);
  }
}

@keyframes phone-cycle-right {
  0%,
  27% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(0) scale(0.92);
  }
  33%,
  60% {
    z-index: 3;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  66%,
  94% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(-100%) scale(0.92);
  }
  100% {
    z-index: 1;
    opacity: 0.86;
    transform: translateX(0) scale(0.92);
  }
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 24px;
}

.qr-modal:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(360px, 100%);
  padding: 28px 28px 30px;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.modal-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.2;
}

.modal-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.modal-card img {
  display: block;
  width: min(240px, 100%);
  margin: 0 auto;
  border-radius: 8px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}

.cooperate-section {
  min-height: 692px;
  display: grid;
  align-items: center;
  margin-bottom: 16px;
  padding: 70px 22px;
  background:
    radial-gradient(circle at 16% 20%, rgba(226, 226, 230, 0.95), transparent 34%),
    radial-gradient(circle at 84% 74%, rgba(244, 244, 246, 1), transparent 36%),
    linear-gradient(180deg, #f0f0f2 0%, #fafafd 52%, #ededf0 100%);
}

.section-inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--muted);
  text-align: center;
  font-size: 15px;
  letter-spacing: 0;
}

.cooperate-section h2 {
  margin-bottom: 34px;
  color: var(--ink);
  text-align: center;
  font-size: clamp(36px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 1.05;
}

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

.cooperate-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.card-index {
  margin-bottom: 34px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
}

.cooperate-card h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
}

.cooperate-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 34px;
  padding: 0;
  color: var(--muted);
  list-style: none;
  font-size: 16px;
}

.cooperate-card li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--gold);
  vertical-align: middle;
}

.text-link {
  width: fit-content;
  margin-top: auto;
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}

.launch-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding: 58px 22px 64px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 139, 190, 0.52), transparent 24%),
    radial-gradient(circle at 88% 100%, rgba(255, 151, 151, 0.5), transparent 22%),
    linear-gradient(100deg, #fb1680 0%, #ff0036 54%, #ff1700 100%);
}

.launch-inner h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.16;
}

.launch-inner p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.launch-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  color: #f7052d;
  background: var(--white);
  font-size: 20px;
  font-weight: 500;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #000;
}

.footer-main {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 48px clamp(22px, 6vw, 72px) 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 220px;
  gap: clamp(22px, 4vw, 58px);
  align-items: start;
}

.footer-group {
  min-width: 0;
  text-align: left;
}

.footer-group h3 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.footer-group p,
.footer-qr p,
.footer-legal p {
  margin: 0 0 7px;
  line-height: 1.75;
}

.footer-group p {
  white-space: nowrap;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.social-icon img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: cover;
}

.footer-qr {
  text-align: center;
}

.footer-qr img {
  display: block;
  width: 136px;
  margin: 0 auto 12px;
  border-radius: 4px;
  background: var(--white);
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto auto 1fr;
  column-gap: 12px;
  row-gap: 12px;
  align-items: center;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-brand img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.footer-legal {
  font-size: 13px;
  line-height: 1.4;
}

.footer-legal p {
  margin: 0;
  line-height: 1.4;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  line-height: 1.4;
}

.footer-links a:hover,
.social-icon:hover {
  color: var(--white);
}

.legal-page {
  background: var(--paper);
}

.legal-document {
  width: min(820px, calc(100% - 36px));
  margin: 80px auto;
  padding: 42px;
  border-radius: 8px;
  background: var(--white);
}

.legal-document h1 {
  margin-bottom: 18px;
  font-size: 36px;
}

.legal-document h2 {
  margin: 34px 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.legal-document p,
.legal-document li {
  color: var(--soft-ink);
  font-size: 16px;
  line-height: 1.9;
}

.legal-document ol,
.legal-document ul {
  display: grid;
  gap: 10px;
  padding-left: 1.35em;
}

.legal-document a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--blue);
}

@media (max-width: 760px) {
  .site-header {
    padding: 13px 18px;
  }

  .nav-links {
    display: none;
  }

  .video-hero-section {
    min-height: 560px;
  }

  .hero-video {
    height: 560px;
    object-fit: cover;
    object-position: left center;
  }

  .video-hero-content {
    padding: 72px 24px 40px;
  }

  .video-hero-brand {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 19px;
  }

  .video-hero-brand img {
    width: 40px;
    height: 40px;
  }

  .video-hero-content h1 {
    max-width: 340px;
    font-size: 34px;
    line-height: 1.18;
  }

  .video-hero-content p {
    margin-bottom: 28px;
    font-size: 21px;
  }

  .video-hero-button {
    min-width: 168px;
    min-height: 46px;
    padding: 0 24px;
    font-size: 20px;
  }

  .hero-section {
    min-height: auto;
    padding: 80px 18px 50px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 42px);
  }

  .hero-subtitle {
    margin-bottom: 22px;
  }

  .entry-panel {
    margin: 0 auto;
    padding: 20px 18px 22px;
  }

  .qr-shell {
    width: min(154px, 42vw);
  }

  .platform-section {
    min-height: auto;
    padding: 54px 18px 58px;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .phone-stack {
    width: 100%;
    height: 340px;
  }

  .phone-shot {
    width: auto;
    height: 315px;
  }

  .phone-front {
    animation-name: phone-cycle-front-mobile;
  }

  .phone-back-left {
    animation-name: phone-cycle-left-mobile;
  }

  .phone-back-right {
    animation-name: phone-cycle-right-mobile;
  }

  @keyframes phone-cycle-front-mobile {
    0%,
    27% {
      z-index: 3;
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    33%,
    60% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(-93%) scale(0.86);
    }
    66%,
    94% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(7%) scale(0.86);
    }
    100% {
      z-index: 3;
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
  }

  @keyframes phone-cycle-left-mobile {
    0%,
    27% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(-93%) scale(0.86);
    }
    33%,
    60% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(7%) scale(0.86);
    }
    66%,
    94% {
      z-index: 3;
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    100% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(-93%) scale(0.86);
    }
  }

  @keyframes phone-cycle-right-mobile {
    0%,
    27% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(7%) scale(0.86);
    }
    33%,
    60% {
      z-index: 3;
      opacity: 1;
      transform: translateX(-50%) scale(1);
    }
    66%,
    94% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(-93%) scale(0.86);
    }
    100% {
      z-index: 1;
      opacity: 0.86;
      transform: translateX(7%) scale(0.86);
    }
  }

  .cooperate-section {
    min-height: auto;
    padding: 74px 18px;
  }

  .cooperate-section h2 {
    margin-bottom: 28px;
  }

  .cooperate-grid,
  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .cooperate-card {
    min-height: 250px;
  }

  .launch-section {
    padding: 46px 18px 52px;
  }

  .footer-main {
    padding: 42px 22px 30px;
  }

  .footer-qr {
    text-align: left;
  }

  .footer-qr img {
    margin-left: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .footer-legal p {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-links {
    gap: 18px;
    flex-wrap: wrap;
  }
}
