:root {
  --page-bg: #eef3f8;
  --phone-bg: #f8fafc;
  --surface: #ffffff;
  --line: #dce3ee;
  --text: #1f2937;
  --muted: #64748b;
  --faint: #94a3b8;
  --blue: #1677ff;
  --deep-blue: #0b5fe8;
  --dark-blue: #064bc2;
  --cyan: #20c7d9;
  --green: #45c81f;
  --amber: #f8aa22;
  --phone-w: 430px;
  --phone-h: 900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  color: var(--text);
  background: var(--page-bg);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

button {
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.stage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  background: var(--page-bg);
}

.phone {
  position: relative;
  width: min(100vw, var(--phone-w));
  height: var(--phone-h);
  overflow: hidden;
  background: var(--phone-bg);
  border: 1px solid #d5dde9;
  border-radius: 32px;
}

.screen {
  height: calc(var(--phone-h) - 34px);
  padding: 26px 28px 34px;
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar {
  display: none;
}

.copy-block {
  margin-bottom: 24px;
}

.copy-block h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: 0;
}

.copy-block p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.copy-block .lead {
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.compact-copy {
  margin-bottom: 16px;
}

.compact-copy h1 {
  font-size: 28px;
}

.back-button {
  position: absolute;
  left: 22px;
  top: 28px;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
  font-weight: 600;
  border-radius: 50%;
  border: 1px solid #d7e4ff;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 20px rgba(22, 119, 255, 0.12);
}

.screen-browse .compact-copy,
.screen-products .compact-copy,
.screen-detail .compact-copy {
  padding-left: 58px;
}

.section-group {
  margin-top: 24px;
}

.section-group h2 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 650;
}

.tech-banner {
  position: relative;
  min-height: 150px;
  margin: 22px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 20px 24px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 34%, #29d3ff 0 43px, transparent 44px),
    linear-gradient(135deg, var(--deep-blue) 0%, var(--dark-blue) 100%);
  border-radius: 14px;
}

.tech-banner.compact {
  min-height: 116px;
  margin-top: 28px;
  border-radius: 0;
}

.tech-banner strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: 27px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

.tech-banner p {
  position: relative;
  z-index: 2;
  margin: 8px 0 0;
  color: #d9f7ff;
  font-size: 13px;
}

.banner-cube {
  position: absolute;
  right: 38px;
  top: 30px;
  width: 76px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #c8f8ff, #20c7ff);
  box-shadow: -27px 28px 0 rgba(0, 121, 255, 0.45);
}

.banner-line {
  position: absolute;
  height: 2px;
  background: rgba(128, 236, 255, 0.95);
  transform: rotate(-28deg);
}

.banner-line.l1 { left: 18px; bottom: 30px; width: 94px; }
.banner-line.l2 { left: 134px; bottom: 44px; width: 118px; }
.banner-line.l3 { right: -2px; bottom: 76px; width: 104px; }

.service-list {
  display: grid;
  gap: 14px;
}

.service-card,
.preview-row {
  width: 100%;
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.service-card strong,
.preview-row strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 650;
}

.service-card em,
.preview-row em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
  font-style: normal;
}

.icon-badge {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ff;
}

.icon-badge i {
  display: block;
  width: 16px;
  height: 21px;
  border-radius: 3px;
  background: var(--blue);
}

.icon-badge.cyan i { background: var(--cyan); }
.icon-badge.green i { background: var(--green); }
.icon-badge.amber i { background: var(--amber); }

.advantages {
  margin-top: 42px;
}

.chip-row,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-row span,
.filter-row button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf2ff;
  font-size: 15px;
  font-weight: 600;
}

.search-box {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f1f5f9;
  color: var(--faint);
}

.search-box span {
  position: relative;
  width: 16px;
  height: 16px;
  border: 2px solid #8ca2c4;
  border-radius: 50%;
}

.search-box span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: #8ca2c4;
  transform: rotate(45deg);
}

.search-box em {
  font-size: 16px;
  font-style: normal;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 16px;
}

.search-box input::placeholder {
  color: var(--faint);
}

.category-grid,
.series-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}

.category-card,
.series-card {
  min-height: 118px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
}

.category-card.wide,
.series-card.wide {
  grid-column: 1 / -1;
  min-height: 92px;
}

.category-card strong,
.series-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 650;
}

.category-card em,
.series-card em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
}

.hot-section {
  margin-top: 50px;
}

.series-grid.dense {
  gap: 12px;
}

.series-grid.dense .series-card {
  min-height: 78px;
  padding: 14px;
}

.series-grid.dense .series-card strong {
  font-size: 17px;
}

.series-grid.dense .series-card em {
  font-size: 12px;
}

.common-section {
  margin-top: 42px;
}

.preview-row {
  min-height: 112px;
  margin-bottom: 14px;
}

.product-thumb {
  flex: none;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ff;
}

.product-thumb::before {
  content: "";
  display: block;
  width: 40px;
  height: 5px;
  border-radius: 4px;
  background: var(--cyan);
  transform: rotate(-32deg);
  box-shadow: 0 20px 0 var(--blue);
}

.product-thumb.has-image {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.product-thumb.has-image::before {
  display: none;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.preview-row b {
  display: inline-flex;
  min-width: 58px;
  height: 30px;
  margin-top: 8px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--blue);
  background: #eaf2ff;
  font-size: 15px;
}

.search-results {
  margin-top: 24px;
}

.result-list {
  display: grid;
  gap: 12px;
}

.result-card {
  width: 100%;
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.result-card .product-thumb {
  width: 58px;
  height: 58px;
}

.result-card .product-thumb::before {
  width: 32px;
  height: 4px;
  box-shadow: 0 16px 0 var(--blue);
}

.result-card strong {
  display: block;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;
}

.result-card em {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-style: normal;
}

.filter-row {
  margin-top: 16px;
}

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

.product-section {
  margin-top: 32px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}

.product-cell {
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 8px 12px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.product-cell .product-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
}

.product-cell .product-thumb::before {
  width: 24px;
  height: 4px;
  box-shadow: 0 13px 0 var(--blue);
}

.product-cell strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 650;
  word-break: break-all;
}

.product-detail {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.detail-image-list {
  display: grid;
  gap: 14px;
}

.detail-image {
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.detail-image img,
.detail-image video {
  display: block;
  width: 100%;
  height: auto;
}

.detail-image img {
  width: 100%;
}

.detail-image video {
  width: 100%;
}

.detail-image-list.multiple .detail-image {
  aspect-ratio: 4 / 5;
}

.detail-image-list.multiple .detail-image img,
.detail-image-list.multiple .detail-image video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-video {
  background: #f3f7ff;
}

.detail-image.empty {
  padding: 28px;
  color: var(--muted);
  font-size: 14px;
}

.product-contact-panel {
  display: grid;
  gap: 12px;
}

.product-contact {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 5px 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.product-contact span {
  color: var(--muted);
  font-size: 12px;
}

.product-contact strong {
  grid-column: 1;
  font-size: 17px;
  line-height: 1.3;
}

.product-contact strong b {
  margin-left: 6px;
  color: var(--blue);
  font-weight: 700;
}

.product-contact i {
  grid-column: 2;
  grid-row: 1 / 3;
  min-width: 72px;
  padding: 9px 10px;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.wecom-contact {
  min-height: 154px;
  display: grid;
  grid-template-columns: 1fr 126px;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  padding: 14px 14px 14px 18px;
  border: 1px solid #cfe2ff;
  border-radius: 14px;
  color: inherit;
  background: #f2f8ff;
  text-decoration: none;
}

.wecom-copy {
  display: grid;
  gap: 7px;
}

.wecom-copy em {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 6px;
  color: #0877e8;
  background: #dceeff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.wecom-copy strong {
  font-size: 17px;
  line-height: 1.35;
}

.wecom-copy small {
  color: var(--muted);
  font-size: 12px;
}

.wecom-qr-preview {
  width: 126px;
  height: 126px;
  display: block;
  border: 7px solid #fff;
  border-radius: 10px;
  background-color: #0877e8;
  background-position: 50% 37%;
  background-repeat: no-repeat;
  background-size: 220%;
  box-shadow: 0 8px 20px rgba(8, 119, 232, 0.14);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.home-indicator {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 116px;
  height: 5px;
  border-radius: 999px;
  background: #111827;
  transform: translateX(-50%);
}

@media (max-width: 430px) {
  :root {
    --phone-w: 100vw;
    --phone-h: 100vh;
  }

  .stage {
    padding: 0;
  }

  .phone {
    height: 100vh;
    border: 0;
    border-radius: 0;
  }

  .screen {
    height: calc(100vh - 34px);
  }
}

@media (max-width: 374px) {
  .screen {
    padding-left: 18px;
    padding-right: 18px;
  }

  .copy-block h1 {
    font-size: 26px;
  }

  .tech-banner strong {
    font-size: 22px;
  }

  .category-card,
  .series-card {
    padding: 14px 12px;
  }

  .category-card strong,
  .series-card strong {
    font-size: 18px;
  }
}
