html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

.xpet-site {
  --xpet-ink: #13233f;
  --xpet-muted: #60708a;
  --xpet-line: rgba(72, 101, 150, 0.18);
  --xpet-blue: #2e77ff;
  --xpet-blue-dark: #1552d1;
  --xpet-sky: #eaf4ff;
  --xpet-mint: #dff8ef;
  --xpet-gold: #ffe8a8;
  --xpet-pink: #ffe9f2;
  min-height: 100vh;
  overflow: hidden;
  color: var(--xpet-ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 232, 168, 0.8), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(182, 222, 255, 0.9), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f5f9ff 44%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.xpet-site * {
  box-sizing: border-box;
}

.xpet-site a {
  color: inherit;
  text-decoration: none;
}

.xpet-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  height: 88px;
  margin: 0 auto;
}

.xpet-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 42px;
  border: 1px solid rgba(19, 35, 63, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 36px rgba(46, 119, 255, 0.12);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.xpet-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(19, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px);
}

.xpet-nav nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #334565;
  font-size: 15px;
  font-weight: 700;
}

.xpet-nav nav a:hover {
  background: #ffffff;
  color: var(--xpet-blue-dark);
}

.xpet-nav-cta,
.xpet-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--xpet-blue), #57a3ff);
  color: #ffffff;
  box-shadow: 0 20px 44px rgba(46, 119, 255, 0.26);
  font-weight: 900;
  white-space: nowrap;
}

.xpet-primary-button {
  min-height: 58px;
  padding: 0 28px;
  font-size: 17px;
}

.xpet-primary-button svg,
.xpet-nav-cta svg,
.xpet-platform-card svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.xpet-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 4vw, 72px);
  width: min(1320px, calc(100% - 48px));
  min-height: min(760px, calc(100svh - 110px));
  margin: 0 auto;
  padding: 28px 0 46px;
}

.xpet-hero-copy {
  position: relative;
  z-index: 2;
}

.xpet-hero h1,
.xpet-feature-section h2,
.xpet-shop-section h2,
.xpet-download-section h2 {
  margin: 0;
  color: var(--xpet-ink);
  font-weight: 950;
  letter-spacing: 0;
}

.xpet-hero h1 {
  max-width: 720px;
  font-size: clamp(48px, 6.2vw, 94px);
  line-height: 1.02;
}

.xpet-hero p {
  max-width: 590px;
  margin: 26px 0 0;
  color: #40516f;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 650;
  line-height: 1.55;
}

.xpet-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.xpet-windows-note {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(19, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #52627c;
  font-size: 15px;
  font-weight: 800;
}

.xpet-hero-media {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(72, 101, 150, 0.14);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(234, 244, 255, 0.88));
  box-shadow: 0 32px 80px rgba(40, 70, 120, 0.18);
  overflow: hidden;
}

.xpet-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.xpet-feature-section,
.xpet-shop-section,
.xpet-download-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.xpet-feature-section {
  padding: 54px 0 88px;
}

.xpet-feature-section h2,
.xpet-shop-section h2,
.xpet-download-section h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.xpet-feature-section > h2 {
  max-width: 760px;
}

.xpet-feature-stack {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.xpet-feature-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  align-items: stretch;
  gap: 24px;
  min-height: 282px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--xpet-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 58px rgba(43, 79, 128, 0.1);
}

.xpet-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.xpet-feature-copy span {
  color: var(--xpet-blue);
  font-size: 14px;
  font-weight: 950;
}

.xpet-feature-copy h3 {
  margin: 14px 0 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.xpet-feature-copy p,
.xpet-shop-section p,
.xpet-download-section p {
  margin: 16px 0 0;
  color: var(--xpet-muted);
  font-size: 17px;
  font-weight: 620;
  line-height: 1.65;
}

.xpet-idle-demo,
.xpet-control-demo,
.xpet-shop-window {
  position: relative;
  min-height: 214px;
  border-radius: 22px;
  overflow: hidden;
}

.xpet-idle-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(46, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(46, 119, 255, 0.08) 1px, transparent 1px),
    linear-gradient(135deg, #eff8ff, #fff4f8);
  background-size: 42px 42px, 42px 42px, auto;
}

.xpet-idle-demo img {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 18px 22px rgba(58, 85, 126, 0.2));
}

.xpet-bubble,
.xpet-mini-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(19, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #52627c;
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.xpet-bubble {
  top: 36px;
  right: 16%;
  padding: 0 18px;
}

.xpet-mini-card {
  bottom: 30px;
  left: 12%;
  padding: 0 20px;
}

.xpet-control-demo {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #eef6ff, #eefcf7 58%, #fff8e5);
}

.xpet-control-panel {
  display: grid;
  gap: 22px;
  padding: 24px;
  border: 1px solid rgba(19, 35, 63, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(29, 72, 136, 0.12);
}

.xpet-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #304463;
  font-size: 15px;
  font-weight: 900;
}

.xpet-switch {
  width: 54px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2e77ff, #52c6ff);
  box-shadow: inset 22px 0 0 #ffffff, 0 12px 26px rgba(46, 119, 255, 0.24);
}

.xpet-key-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.xpet-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(19, 35, 63, 0.14);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 8px 0 #d7e7f8;
  color: #2b3b57;
  font-weight: 950;
}

.xpet-jump-mascot {
  justify-self: center;
  width: min(160px, 42vw);
  height: auto;
  filter: drop-shadow(0 24px 22px rgba(58, 85, 126, 0.22));
}

.xpet-shop-window {
  padding: 20px;
  background: linear-gradient(135deg, #fff, #eef5ff 52%, #f2fff8);
}

.xpet-window-dots {
  display: flex;
  gap: 7px;
}

.xpet-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffcf55;
}

.xpet-window-dots span:first-child {
  background: #ff6b8f;
}

.xpet-window-dots span:last-child {
  background: #5bdc9b;
}

.xpet-shop-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(74px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.xpet-pet-tile {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 118px;
  padding: 12px 8px;
  border: 1px solid rgba(19, 35, 63, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  color: #31435f;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.xpet-pet-tile img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.xpet-upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 14px;
  border: 1px dashed rgba(46, 119, 255, 0.4);
  border-radius: 16px;
  background: rgba(46, 119, 255, 0.08);
  color: var(--xpet-blue-dark);
  font-weight: 950;
}

.xpet-shop-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 34px;
  padding: 78px clamp(20px, 4vw, 46px);
  border: 1px solid var(--xpet-line);
  border-radius: 28px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(232, 245, 255, 0.9) 54%, rgba(255, 247, 218, 0.86)),
    url("/xpet-site/hero-pets.png") center / cover;
  background-blend-mode: screen;
  box-shadow: 0 24px 70px rgba(43, 79, 128, 0.14);
}

.xpet-shop-showcase {
  display: grid;
  grid-template-columns: repeat(5, minmax(104px, 1fr));
  gap: 14px;
}

.xpet-showcase-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 190px;
  padding: 20px 12px;
  border: 1px solid rgba(19, 35, 63, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(43, 79, 128, 0.1);
  text-align: center;
}

.xpet-showcase-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.xpet-showcase-card strong {
  color: #233653;
  font-size: 16px;
  font-weight: 950;
}

.xpet-showcase-card span {
  color: #66758c;
  font-size: 13px;
  font-weight: 850;
}

.xpet-download-section {
  padding: 96px 0 74px;
  text-align: center;
}

.xpet-download-section p {
  margin-right: auto;
  margin-left: auto;
}

.xpet-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.xpet-platform-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 192px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid var(--xpet-line);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(43, 79, 128, 0.1);
}

.xpet-platform-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--xpet-blue), #61b7ff);
  box-shadow: 0 24px 58px rgba(46, 119, 255, 0.28);
}

.xpet-platform-card svg {
  width: 38px;
  height: 38px;
}

.xpet-platform-card strong {
  font-size: 24px;
  font-weight: 950;
}

.xpet-platform-card span {
  color: inherit;
  font-size: 15px;
  font-weight: 850;
  opacity: 0.84;
}

.xpet-platform-disabled {
  color: #8a97a9;
  background: rgba(255, 255, 255, 0.64);
}

.xpet-install-steps {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin-top: 28px;
  padding: 8px;
  border: 1px solid rgba(19, 35, 63, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
}

.xpet-install-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #edf5ff;
  color: #34506f;
  font-size: 14px;
  font-weight: 900;
}

.xpet-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(1320px, calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  border-top: 1px solid rgba(19, 35, 63, 0.08);
  color: #60708a;
  font-size: 14px;
  font-weight: 800;
}

.xpet-footer span {
  color: var(--xpet-ink);
  font-weight: 950;
}

@media (max-width: 1000px) {
  .xpet-nav {
    width: min(100% - 32px, 720px);
    height: 78px;
  }

  .xpet-nav nav {
    display: none;
  }

  .xpet-hero,
  .xpet-feature-section,
  .xpet-shop-section,
  .xpet-download-section,
  .xpet-footer {
    width: min(100% - 32px, 720px);
  }

  .xpet-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 24px 0 34px;
  }

  .xpet-hero h1 {
    font-size: clamp(44px, 12vw, 66px);
  }

  .xpet-hero-media {
    border-radius: 22px;
  }

  .xpet-feature-section {
    padding-top: 36px;
  }

  .xpet-feature-band,
  .xpet-shop-section {
    grid-template-columns: 1fr;
  }

  .xpet-shop-showcase {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .xpet-nav {
    width: calc(100% - 24px);
  }

  .xpet-brand {
    width: 82px;
  }

  .xpet-nav-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .xpet-hero,
  .xpet-feature-section,
  .xpet-shop-section,
  .xpet-download-section,
  .xpet-footer {
    width: calc(100% - 24px);
  }

  .xpet-hero h1 {
    font-size: clamp(40px, 12.4vw, 56px);
  }

  .xpet-hero p {
    font-size: 17px;
  }

  .xpet-primary-button,
  .xpet-windows-note {
    width: 100%;
  }

  .xpet-feature-section h2,
  .xpet-shop-section h2,
  .xpet-download-section h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .xpet-feature-band,
  .xpet-shop-section {
    border-radius: 22px;
  }

  .xpet-control-demo {
    grid-template-columns: 1fr;
  }

  .xpet-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xpet-shop-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .xpet-platforms {
    grid-template-columns: 1fr;
  }

  .xpet-install-steps,
  .xpet-footer {
    flex-wrap: wrap;
  }
}
