:root {
  --blue: #5d91ff;
  --deep: #0067de;
  --ink: #333;
  --muted: #777;
  --line: #ececec;
  --shadow: 0 18px 54px rgba(0, 0, 0, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 15px/1.75 "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

.wrap {
  width: min(1186px, calc(100% - 44px));
  margin: 0 auto;
}

.topNav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 98px;
  display: flex;
  justify-content: center;
  background: rgba(255,255,255,.96);
  box-shadow: 0 8px 22px rgba(0,0,0,.05);
  backdrop-filter: blur(12px);
}

.topNav nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.topNav button,
.categoryRail button,
.pager button,
.primary,
.secondary,
.back,
.close,
.authTabs button,
.consult,
.messageBtn,
.toTop {
  border: 0;
  color: inherit;
  background: none;
}

.topNav nav button {
  position: relative;
  color: #555;
  font-weight: 900;
  font-size: 16px;
}

.topNav nav button.active::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 33px;
  width: 30px;
  height: 3px;
  transform: translateX(-50%);
  background: #777;
}

.topNav nav button.active,
.topNav nav button:hover {
  color: #222;
}

.topNav .cn {
  padding: 4px 8px;
  color: #fff;
  border-radius: 9px;
  background: #1683f3;
}

.scenarioSection {
  padding: 0 0 70px;
  text-align: center;
}

.scenarioSection h1 {
  margin: -10px 0 0;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 950;
}

.scenarioSection > p {
  margin: 6px 0 26px;
  color: #111;
  font-size: 22px;
  letter-spacing: .34em;
}

.sceneGrid {
  width: min(1186px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}

.sceneCard {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  text-align: left;
  background: #ddd;
}

.scene1,
.scene2 {
  grid-column: span 3;
}

.scene3,
.scene4,
.scene5 {
  grid-column: span 2;
}

.sceneArt {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #788896, #d7dce0);
}

.sceneArt::before,
.sceneArt::after {
  content: "";
  position: absolute;
  inset: 0;
}

.scene1 .sceneArt {
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.02)),
    repeating-linear-gradient(90deg, #9a7758 0 80px, #eee 80px 84px),
    linear-gradient(180deg, #9da9b2, #d9dedf);
}

.scene1 .sceneArt::before {
  top: 18%;
  left: 8%;
  right: 8%;
  bottom: 26%;
  background:
    repeating-linear-gradient(90deg, transparent 0 94px, rgba(255,255,255,.45) 94px 98px),
    linear-gradient(#cad4db, #a48d74);
}

.scene2 .sceneArt {
  background:
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.1)),
    radial-gradient(ellipse at 70% 32%, rgba(255,219,160,.65), transparent 15%),
    linear-gradient(135deg, #d8d3d1, #eef3f6);
}

.scene2 .sceneArt::before {
  left: 16%;
  right: 16%;
  top: 34%;
  height: 62px;
  background: linear-gradient(90deg, rgba(255,255,255,.55), rgba(0,0,0,.18));
  transform: skewX(18deg);
}

.scene3 .sceneArt {
  background:
    linear-gradient(90deg, rgba(0,0,0,.3), transparent),
    radial-gradient(ellipse at 52% 48%, #fff 0 5%, transparent 6%),
    linear-gradient(180deg, #035ae8, #0a84ff);
}

.scene3 .sceneArt::before {
  left: 48%;
  bottom: 0;
  width: 18px;
  height: 220px;
  background: #fff;
  transform: rotate(-8deg);
}

.scene3 .sceneArt::after {
  left: 38%;
  top: 34%;
  width: 210px;
  height: 10px;
  background: #fff;
  transform: rotate(35deg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.2), 80px 68px 0 #fff;
}

.scene4 .sceneArt {
  background:
    linear-gradient(90deg, rgba(0,0,0,.3), rgba(255,255,255,.12)),
    linear-gradient(135deg, #ececec, #fafafa);
}

.scene4 .sceneArt::before {
  left: 46%;
  top: 24%;
  width: 102px;
  height: 142px;
  border-radius: 50% 50% 8px 8px;
  background: #f3c7a6;
  box-shadow: 0 74px 0 28px #68798a;
}

.scene5 .sceneArt {
  background:
    linear-gradient(90deg, rgba(0,0,0,.4), rgba(255,255,255,.08)),
    linear-gradient(135deg, #d9f3ff, #b4d7ee);
}

.scene5 .sceneArt::before {
  right: 18%;
  top: 24%;
  width: 110px;
  height: 138px;
  border-radius: 50% 50% 8px 8px;
  background: #e0b091;
  box-shadow: 0 70px 0 30px #eaf3fb;
}

.scene5 .sceneArt::after {
  left: 22%;
  top: 20%;
  width: 130px;
  height: 84px;
  border: 3px solid rgba(0, 221, 255, .78);
  border-radius: 14px;
  box-shadow: 0 0 18px rgba(0, 221, 255, .42);
}

.sceneText {
  position: absolute;
  left: 48px;
  bottom: 48px;
  z-index: 2;
  color: #fff;
}

.sceneText h2 {
  margin: 0 0 42px;
  font-size: 30px;
  font-weight: 900;
}

.sceneText button {
  min-width: 122px;
  height: 40px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  font-weight: 900;
}

.consult {
  position: fixed;
  right: 18px;
  top: 48%;
  z-index: 60;
  width: 120px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.messageBtn {
  position: fixed;
  left: 20px;
  bottom: 8px;
  z-index: 60;
  width: 240px;
  height: 46px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-radius: 5px 5px 0 0;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.toTop {
  position: fixed;
  right: 20px;
  bottom: 14px;
  z-index: 60;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 6px;
  background: #0067de;
  font-size: 28px;
}

.about {
  padding: 28px 0 34px;
  text-align: center;
}

.about small,
.sectionHead h2 {
  color: var(--blue);
}

.about h2,
.sectionHead h2,
.detailBlock h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
}

.about p,
.sectionHead p,
.product p,
.detailHero p,
.buyBox p,
.detailBlock p,
.faq p {
  color: var(--muted);
}

.stats {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stats article {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.stats b {
  display: block;
  color: var(--blue);
  font-size: 38px;
}

.stats span {
  color: var(--muted);
}

.sectionHead {
  margin-top: 42px;
  text-align: center;
}

.categoryRail {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.categoryRail button {
  white-space: nowrap;
  padding: 8px 14px;
  border: 1px solid #dce8f3;
  color: var(--blue);
  background: #fff;
}

.categoryRail button.active,
.categoryRail button:hover {
  color: #fff;
  background: var(--blue);
}

.productGrid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product {
  display: grid;
  grid-template-rows: 150px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.productScene {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.08)),
    linear-gradient(135deg, #d9f3ff, #b4d7ee);
}

.productScene span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  color: var(--blue);
  border-radius: 50%;
  background: #fff;
  font-size: 26px;
  font-weight: 950;
}

.productBody {
  padding: 20px;
}

.productBody em {
  color: var(--blue);
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.product h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  line-height: 1.35;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #f1f6fb;
  color: var(--muted);
  font-size: 12px;
}

.price {
  margin-top: 14px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed #d9d9d9;
}

.price b {
  color: var(--blue);
  font-size: 27px;
}

.price small {
  color: var(--muted);
}

.pager {
  margin: 30px auto 76px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pager button {
  min-width: 42px;
  height: 42px;
  padding: 0 13px;
  color: var(--blue);
  border: 1px solid #dce8f3;
  background: #fff;
}

.pager button.active,
.pager button:hover:not(:disabled) {
  color: #fff;
  background: var(--blue);
}

.pager button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.detail {
  padding: 34px 0 90px;
}

.back {
  margin-bottom: 22px;
  padding: 8px 14px;
  border: 1px solid #dce8f3;
  color: var(--blue);
  background: #fff;
}

.detailHero {
  padding: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.label {
  color: var(--blue);
  font-weight: 900;
}

.detailHero h1 {
  max-width: 800px;
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -.06em;
}

.detailStats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.detailStats span,
.outline article,
.faq details {
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.detailStats b {
  display: block;
  color: var(--blue);
  font-size: 28px;
}

.buyBox {
  position: sticky;
  top: 120px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.buyBox small {
  color: var(--muted);
}

.buyBox b {
  display: block;
  margin: 10px 0 4px;
  color: var(--blue);
  font-size: 50px;
  line-height: 1;
}

.buyBox del {
  display: block;
  color: var(--muted);
  margin-bottom: 18px;
}

.primary,
.secondary {
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  font-weight: 900;
}

.primary {
  color: #fff;
  background: var(--blue);
}

.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.detailBlock {
  margin-top: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.assets {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.assets span {
  padding: 8px 12px;
  color: var(--blue);
  background: #f1f6fb;
  font-weight: 900;
}

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

.outline article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
}

.outline b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
}

.outline h3 {
  margin: 0 0 4px;
}

.outline p {
  margin: 0;
  font-size: 14px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: min(460px, 100%);
  padding: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f3f3f3;
  font-size: 24px;
}

.modal h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.authTabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 5px;
  background: #f3f6fb;
}

.authTabs button {
  padding: 10px;
}

.authTabs button.active {
  color: #fff;
  background: var(--blue);
}

.modal label {
  display: block;
  margin-top: 14px;
  color: var(--muted);
}

.modal input {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  outline: none;
}

.modal input:focus {
  border-color: var(--blue);
}

.message {
  min-height: 28px;
  color: var(--blue);
}

@media (max-width: 1120px) {
  .topNav {
    height: auto;
  }

  .topNav nav {
    padding: 18px;
    overflow-x: auto;
  }

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

  .scene1,
  .scene2,
  .scene3,
  .scene4,
  .scene5 {
    grid-column: span 1;
  }

  .productGrid,
  .stats,
  .detailStats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detailHero,
  .outline {
    grid-template-columns: 1fr;
  }

  .buyBox {
    position: static;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: calc(100% - 28px);
  }

  .scenarioSection h1 {
    margin-top: 18px;
    font-size: 38px;
  }

  .scenarioSection > p {
    font-size: 16px;
  }

  .sceneGrid,
  .productGrid,
  .stats,
  .detailStats {
    grid-template-columns: 1fr;
  }

  .consult,
  .messageBtn,
  .toTop {
    display: none;
  }
}
