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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #000;
  background: #fff;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

.product-showcase {
  --tab-muted: #8c8c8c;
  --spec: #363636;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

.product-inner {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

/* ---- 顶部 Tab ---- */
.product-head {
  background: #fff;
  padding: 92px 40px 28px;
}

.product-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  color: var(--tab-muted);
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.product-tab:hover {
  color: #222;
}

.product-tab.is-active {
  color: #022FA1;
  font-weight: 700;
}

.product-tab-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 56px;
  margin: 48px 0 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--spec);
}

/* ---- 主视觉 ---- */
.product-hero {
  position: relative;
  overflow: hidden;
}

.product-hero-bg {
  position: absolute;
  inset: 0;
  background-color: #dce8f2;

}

.product-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 48px 40px 64px;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.28s ease, transform 0.28s ease;
  display: none;
  min-height: 875px;
}

.product-hero-inner.active {
  opacity: 1;
  transform: translateY(0);
  display: block;
}

.product-tab-desc {
  display: none;
}

.product-tab-desc.desc_active {
  display: block;
}


.product-actions {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 36px;
    position: absolute;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 90px;
  height: 36px;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.product-btn-solid {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.product-btn-solid:hover {
  opacity: 0.82;
}

.product-btn-ghost {
  background: #fff;
  color: #000;
  border: 1px solid #000;
}

.product-btn-ghost:hover {
  background: #000;
  color: #fff;
}

/* ---- 系统流程 ---- */
.product-system {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 72px 80px 48px;
  background: #fff;
}

.product-system-head {
  text-align: center;
}

.product-system-head h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #023692;
  line-height: 1.2;
}

.product-system-head p {
  margin: 28px 0 0;
  font-size: 32px;
  font-weight: 400;
  color: #666;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.product-system-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 92px;
  margin-top: 56px;
}

.product-system-card {
  margin: 0;
  padding: 12px 16px 28px;
  border: 4px solid #d2d5db;
  background: #fff;
}

.product-system-diagram img {
  display: block;
  width: 100%;
  height: auto;
}

.product-system-card figcaption {
  margin-top: 8px;
  text-align: center;
}

.product-system-card .cap-zh {
  display: inline-block;
  padding: 0 0 8px;
  border-bottom: 1px solid #111;
  font-size: 16px;
  font-weight: 500;
  color: #111;
  line-height: 1.4;
}

.product-system-card .cap-en {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}

/* ---- 技术实力 ---- */
.product-tech {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 40px 0 80px;
  background: #fff;
  overflow: hidden;
}

.product-tech-head {
  text-align: center;
  padding: 0 40px 30px;
}

.product-tech-head h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #023692;
  line-height: 1.2;
}

.product-tech-head p {
  margin: 28px 0 0;
  font-size: 32px;
  font-weight: 400;
  color: #666;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.product-tech-viewport {
  --tech-card-w: 387px;
  --tech-card-h: 511px;
  --tech-scale: 1.05;
  margin-top: 8px;
  height: calc(var(--tech-card-h) * var(--tech-scale) + 16px);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-tech-viewport::-webkit-scrollbar {
  display: none;
}

.product-tech-viewport.is-dragging {
  cursor: grabbing;
}

.product-tech-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  min-width: 100%;
}

.product-tech-card {
  position: relative;
  flex: 0 0 var(--tech-card-w);
  width: var(--tech-card-w);
  height: var(--tech-card-h);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #8d8d8d;
  border: 4px solid #d2d5db;
  transition: width 0.35s ease, height 0.35s ease, flex-basis 0.35s ease;
}

.product-tech-card:hover {
  border-color: #023692;
}

.product-tech-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.product-tech-viewport:not(.is-dragging) .product-tech-card:hover {
  flex-basis: calc(var(--tech-card-w) * var(--tech-scale));
  width: calc(var(--tech-card-w) * var(--tech-scale));
  height: calc(var(--tech-card-h) * var(--tech-scale));
}

.product-tech-viewport.is-dragging .product-tech-card {
  transition: none;
}

/* ---- 国际型材 ---- */
.product-prof {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0px 0 40px;
  background: #fff;
  overflow: hidden;
}

.product-prof-head {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 40px 30px;
}

.product-prof-head h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #023692;
  line-height: 1.2;
}

.product-prof-head p {
  margin: 28px 0 0;
  font-size: 32px;
  font-weight: 400;
  color: #666;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.product-prof-viewport {
  --prof-card-w: 596px;
  --prof-card-h: 458px;
  --prof-scale: 1.05;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  height: calc(var(--prof-card-h) * var(--prof-scale) + 16px);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.product-prof-viewport::-webkit-scrollbar {
  display: none;
}

.product-prof-viewport.is-dragging {
  cursor: grabbing;
}

.product-prof-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  min-width: 100%;
}

.product-prof-card {
  position: relative;
  flex: 0 0 var(--prof-card-w);
  width: var(--prof-card-w);
  height: var(--prof-card-h);
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #8d8d8d;
  border: 4px solid #d2d5db;
  transition: width 0.35s ease, height 0.35s ease, flex-basis 0.35s ease;
}

.product-prof-card:hover {
  border-color: #023692;
}

.product-prof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

.product-prof-viewport:not(.is-dragging) .product-prof-card:hover {
  flex-basis: calc(var(--prof-card-w) * var(--prof-scale));
  width: calc(var(--prof-card-w) * var(--prof-scale));
  height: calc(var(--prof-card-h) * var(--prof-scale));
}

.product-prof-viewport.is-dragging .product-prof-card {
  transition: none;
}

/* ---- 平板 ---- */
@media (max-width: 1200px) {
  .product-head {
    padding: 56px 24px 20px;
  }

  .product-tabs {
    gap: 36px;
  }

  .product-tab {
    font-size: 24px;
  }

  .product-tab-meta {
    gap: 24px 32px;
    margin-top: 24px;
    font-size: 13px;
  }

  .product-hero,
  .product-hero-inner {
    min-height: 0;
  }

  .product-hero-inner {
    padding: 32px 32px 48px;
    gap: 12px;
  }

  .product-system {
    padding: 48px 32px 36px;
  }

  .product-system-head h2 {
    font-size: 36px;
  }

  .product-system-head p {
    margin-top: 16px;
    font-size: 24px;
  }

  .product-system-grid {
    gap: 28px;
    margin-top: 36px;
  }

  .product-system-card {
    padding: 8px 10px 20px;
  }

  .product-system-card .cap-zh {
    font-size: 14px;
  }

  .product-system-card .cap-en {
    font-size: 12px;
  }

  .product-tech-head h2 {
    font-size: 36px;
  }

  .product-tech-head p {
    margin-top: 16px;
    font-size: 24px;
  }

  .product-tech-viewport {
    --tech-card-w: 300px;
    --tech-card-h: 396px;
  }

  .product-prof-head h2 {
    font-size: 36px;
  }

  .product-prof-head p {
    margin-top: 16px;
    font-size: 24px;
  }

  .product-prof-viewport {
    --prof-card-w: 462px;
    --prof-card-h: 355px;
  }

  .product-prof-track {
    gap: 24px;
  }

  .product-prof::after {
    height: 72px;
  }
}

@media (max-width: 1024px) {
  .product-system-grid {
    grid-template-columns: 1fr;
    max-width: 831px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- 手机 ---- */
@media (max-width: 768px) {
  .product-head {
    padding: 28px 0 12px;
  }

  .product-tabs {
    justify-content: flex-start;
    gap: 22px;
    padding: 0 16px 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    font-size: 16px;
  }

  .product-tab-meta {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    margin: 16px 16px 0;
    font-size: 12px;
  }

  .product-hero-inner {
    flex-direction: column;
    padding: 24px 16px 36px;
  }

  .product-copy {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .product-actions {
    width: 100%;
    margin-top: 22px;
    gap: 10px;
  }

  .product-btn {
    flex: 1;
    min-width: 110px;
    height: 42px;
    font-size: 14px;
  }

  .product-system {
    padding: 32px 16px 28px;
  }

  .product-system-head h2 {
    font-size: 28px;
  }

  .product-system-head p {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .product-system-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
  }

  .product-system-card .cap-zh {
    font-size: 13px;
    padding-bottom: 6px;
  }

  .product-system-card .cap-en {
    font-size: 12px;
    margin-top: 6px;
  }

  .product-tech {
    padding: 24px 0 48px;
  }

  .product-tech-head {
    padding: 0 16px;
  }

  .product-tech-head h2 {
    font-size: 28px;
  }

  .product-tech-head p {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .product-tech-viewport {
    --tech-card-w: 240px;
    --tech-card-h: 317px;
  }

  .product-tech-track {
    gap: 12px;
  }

  .product-prof {
    padding: 24px 0 32px;
  }

  .product-prof-head {
    padding: 0 16px;
  }

  .product-prof-head h2 {
    font-size: 28px;
  }

  .product-prof-head p {
    margin-top: 10px;
    font-size: 18px;
    letter-spacing: 2px;
  }

  .product-prof-viewport {
    --prof-card-w: 370px;
    --prof-card-h: 284px;
  }

  .product-prof-track {
    gap: 16px;
  }

  .product-prof::after {
    height: 56px;
  }
}
