:root {
  --piq-ink: #14212b;
  --piq-ink-soft: #3a4a57;
  --piq-mist: #eef3f7;
  --piq-paper: #f7fafc;
  --piq-line: rgba(20, 33, 43, 0.08);
  --piq-coral: #e84a5f;
  --piq-coral-deep: #c7354a;
  --piq-teal: #0d7377;
  --piq-teal-soft: #14919b;
  --piq-sun: #ffb454;
  --piq-glass: rgba(255, 255, 255, 0.62);
  --piq-shadow: 0 18px 48px rgba(20, 33, 43, 0.1);
  --piq-radius: 22px;
  --piq-max: 1120px;
  --piq-dock-h: 0px;
  --font-display: "ZCOOL XiaoWei", "STKaiti", "KaiTi", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--piq-ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(20, 145, 155, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(232, 74, 95, 0.12), transparent 50%),
    linear-gradient(180deg, #f3f7fa 0%, var(--piq-paper) 38%, #eaf2f5 100%);
  line-height: 1.75;
  padding-bottom: var(--piq-dock-h);
}

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

a {
  color: var(--piq-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--piq-coral-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.45rem, 3.4vw, 2.1rem);
  margin: 0 0 0.55em;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  margin: 0 0 0.45em;
}

p {
  margin: 0 0 1em;
  color: var(--piq-ink-soft);
}

.piq-wrap {
  width: min(100% - 2rem, var(--piq-max));
  margin-inline: auto;
}

.piq-promo {
  background: linear-gradient(90deg, rgba(13, 115, 119, 0.1), rgba(232, 74, 95, 0.08));
  border-bottom: 1px solid var(--piq-line);
  padding: 0.7rem 0;
}

.piq-promo-grid {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.piq-promo-chip {
  flex: 0 0 auto;
  display: grid;
  gap: 0.25rem;
  justify-items: center;
  width: 68px;
  text-decoration: none;
  color: var(--piq-ink-soft);
  font-size: 0.68rem;
}

.piq-promo-chip img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(20, 33, 43, 0.12);
}

.piq-promo-chip em {
  font-style: normal;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.piq-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(247, 250, 252, 0.78);
  border-bottom: 1px solid var(--piq-line);
}

.piq-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.piq-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--piq-ink);
}

.piq-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(13, 115, 119, 0.25);
}

.piq-brand strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
}

.piq-nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
}

.piq-nav-links a {
  color: var(--piq-ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.piq-nav-links a:hover,
.piq-nav-links a.is-current {
  color: var(--piq-coral);
}

.piq-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--piq-line);
  border-radius: 12px;
  background: var(--piq-glass);
  cursor: pointer;
}

.piq-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--piq-ink);
  transition: 0.2s ease;
}

.piq-hero {
  position: relative;
  overflow: hidden;
  padding: 2.6rem 0 2rem;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
}

.piq-hero::before {
  content: "";
  position: absolute;
  inset: 8% -10% auto auto;
  width: min(70vw, 560px);
  height: min(70vw, 560px);
  border-radius: 40% 60% 55% 45%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 180, 84, 0.35), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(20, 145, 155, 0.28), transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(232, 74, 95, 0.22), transparent 50%);
  filter: blur(8px);
  animation: piq-blob 12s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes piq-blob {
  from {
    transform: translate(0, 0) rotate(0deg);
  }
  to {
    transform: translate(-24px, 18px) rotate(8deg);
  }
}

.piq-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.piq-hero-copy {
  max-width: 36rem;
}

.piq-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--piq-teal);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.piq-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--piq-coral);
}

.piq-hero-copy p {
  font-size: 1.05rem;
}

.piq-hero-stage {
  position: relative;
  justify-self: center;
}

.piq-phone {
  width: min(100%, 280px);
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--piq-shadow);
  transform: rotate(-3deg);
  animation: piq-float 5.5s ease-in-out infinite;
}

.piq-phone img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@keyframes piq-float {
  0%,
  100% {
    transform: rotate(-3deg) translateY(0);
  }
  50% {
    transform: rotate(-2deg) translateY(-10px);
  }
}

.piq-orbit {
  position: absolute;
  inset: auto -12% -8% auto;
  width: 120px;
  height: 120px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: var(--piq-shadow);
  transform: rotate(8deg);
  animation: piq-float 6.5s ease-in-out infinite reverse;
}

.piq-orbit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.piq-section {
  padding: 2.4rem 0;
}

.piq-section + .piq-section {
  border-top: 1px dashed rgba(13, 115, 119, 0.15);
}

.piq-band {
  background: linear-gradient(135deg, rgba(13, 115, 119, 0.08), rgba(232, 74, 95, 0.06));
  border-radius: calc(var(--piq-radius) + 6px);
  padding: 1.6rem;
  border: 1px solid var(--piq-line);
}

.piq-split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.piq-split.is-flip .piq-media {
  order: -1;
}

.piq-media {
  border-radius: var(--piq-radius);
  overflow: hidden;
  box-shadow: var(--piq-shadow);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.piq-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.piq-tile-row {
  display: grid;
  gap: 1rem;
}

.piq-tile {
  background: var(--piq-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--piq-line);
  border-radius: var(--piq-radius);
  padding: 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(20, 33, 43, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.piq-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--piq-shadow);
}

.piq-tile h3 {
  color: var(--piq-ink);
}

.piq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--piq-teal), var(--piq-teal-soft));
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.piq-mosaic {
  display: grid;
  gap: 1rem;
}

.piq-mosaic-card {
  display: grid;
  gap: 0.9rem;
  background: #fff;
  border-radius: var(--piq-radius);
  overflow: hidden;
  border: 1px solid var(--piq-line);
}

.piq-mosaic-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.piq-mosaic-card .piq-pad {
  padding: 0 1.1rem 1.15rem;
}

.piq-prose {
  font-size: 1rem;
}

.piq-prose p {
  text-align: justify;
  text-justify: inter-ideograph;
}

.piq-mark {
  display: inline-block;
  padding: 0.05em 0.25em;
  background: linear-gradient(180deg, transparent 55%, rgba(255, 180, 84, 0.35) 55%);
}

.piq-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.piq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.piq-btn-main {
  background: linear-gradient(135deg, var(--piq-coral), var(--piq-coral-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 74, 95, 0.28);
}

.piq-btn-main:hover {
  color: #fff;
  transform: translateY(-2px);
}

.piq-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--piq-ink);
  border: 1px solid var(--piq-line);
}

.piq-btn-ghost:hover {
  color: var(--piq-teal);
}

.piq-crumb {
  padding: 1rem 0 0;
  font-size: 0.88rem;
  color: var(--piq-ink-soft);
}

.piq-crumb a {
  color: var(--piq-teal);
  text-decoration: none;
}

.piq-crumb span {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.piq-page-head {
  padding: 1.4rem 0 0.4rem;
}

.piq-legal {
  padding-bottom: 3rem;
}

.piq-legal h2 {
  margin-top: 1.8rem;
}

.piq-error {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 0 3rem;
}

.piq-error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 7rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--piq-teal), var(--piq-coral));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.4rem;
}

.piq-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--piq-line);
  background: rgba(255, 255, 255, 0.45);
}

.piq-footer-grid {
  display: grid;
  gap: 1.2rem;
}

.piq-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
}

.piq-footer a {
  text-decoration: none;
  color: var(--piq-ink-soft);
  font-size: 0.92rem;
}

.piq-footer p {
  font-size: 0.88rem;
  margin: 0;
}

.piq-dock {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px;
  z-index: 35;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--piq-line);
  box-shadow: 0 8px 24px rgba(20, 33, 43, 0.08);
}

.piq-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.piq-dock-inner {
  padding: 0.55rem 0;
}

.piq-dock-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem 0.35rem;
}

.piq-dock-item {
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--piq-ink-soft);
  font-size: 0.62rem;
}

.piq-dock-item img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.piq-dock-item span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.piq-dock-open {
  --piq-dock-h: 92px;
}

.piq-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.piq-reveal.is-in {
  opacity: 1;
  transform: none;
}

.piq-timeline {
  display: grid;
  gap: 1rem;
  position: relative;
}

.piq-timeline::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 2px;
  background: linear-gradient(var(--piq-teal), var(--piq-coral));
  opacity: 0.35;
}

.piq-step {
  position: relative;
  padding-left: 2.4rem;
}

.piq-step::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.45rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--piq-teal);
}

.piq-quote {
  margin: 1.2rem 0;
  padding: 1.1rem 1.2rem;
  border-left: 4px solid var(--piq-coral);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 0 16px 16px 0;
  color: var(--piq-ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

@media (min-width: 768px) {
  .piq-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .piq-split {
    grid-template-columns: 1fr 1fr;
  }

  .piq-split.is-flip .piq-media {
    order: 0;
  }

  .piq-split.is-flip .piq-copy {
    order: -1;
  }

  .piq-tile-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .piq-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }

  .piq-dock-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .piq-footer-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  body.piq-dock-open {
    --piq-dock-h: 88px;
  }
}

@media (max-width: 767px) {
  .piq-nav-toggle {
    display: grid;
    place-content: center;
  }

  .piq-nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(247, 250, 252, 0.96);
    border-bottom: 1px solid var(--piq-line);
    padding: 0.4rem 1rem 0.8rem;
  }

  .piq-nav-links.is-open {
    display: flex;
  }

  .piq-nav-links a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--piq-line);
  }

  .piq-split.is-flip .piq-media {
    order: -1;
  }
}
