/* Product Detail Page Styles */

:root {
  --showcase-height: clamp(460px, 30vw, 576px);
}

/* Product Hero Banner */
.product-hero {
  position: relative;
  height: var(--showcase-height);
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #0d1214;
}
.product-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.product-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,14,18,.86) 0%, rgba(6,14,18,.45) 60%, rgba(6,14,18,.15) 100%);
  content: "";
}
.product-hero__copy {
  position: relative;
  z-index: 2;
  width: min(80vw, 1540px);
  margin: 0 auto;
  padding: 0;
}
.product-hero p.eyebrow {
  margin-bottom: 14px;
  color: var(--blue, #69c9df);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.product-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(34px, 3.8vw, 56px);
  line-height: 1.15;
  letter-spacing: -.03em;
}
.product-hero__lead {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(255,255,255,.86);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.65;
}
.product-hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 30px;
  background: var(--blue, #69c9df);
  color: #0b1518;
  font-size: 14px;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.btn-primary:hover {
  background: #84d8eb;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(105, 201, 223, .35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: all .25s var(--ease);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* Sticky Product Sub-navigation */
.product-subnav {
  position: sticky;
  z-index: 15;
  top: 72px;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.product-subnav__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
}
.product-subnav__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.product-subnav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.product-subnav__links a {
  position: relative;
  padding: 16px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s ease;
}
.product-subnav__links a:hover,
.product-subnav__links a.is-active {
  color: var(--blue-dark);
}
.product-subnav__links a.is-active::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue, #69c9df);
  border-radius: 2px;
  content: "";
}

/* Overview Section */
.product-overview {
  width: min(80vw, 1540px);
  margin: clamp(40px, 5vw, 64px) auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--soft);
  overflow: hidden;
}
.product-overview__media {
  overflow: hidden;
  background: #e5eaec;
}
.product-overview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.product-overview:hover .product-overview__media img {
  transform: scale(1.025);
}
.product-overview__copy {
  align-self: center;
  padding: clamp(36px, 4.5vw, 64px);
}
.product-overview__copy h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}
.product-overview__copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* Feature Highlights Grid */
.product-features {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: #fff;
}
.product-features__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}
.feature-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px 16px;
  background: #fff;
  border: 1px solid rgba(22, 128, 156, 0.15);
  border-radius: 12px;
  box-shadow: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.feature-box:hover {
  background: #ffffff;
  transform: translateY(-5px);
  border-color: rgba(105, 201, 223, 0.55);
  box-shadow: 0 14px 36px rgba(22, 128, 156, 0.12);
}
.feature-box__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.feature-box__icon {
  width: 38px;
  height: 38px;
  margin-bottom: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(105, 201, 223, .16);
  color: var(--blue-dark);
  transition: all .3s var(--ease);
}
.feature-box:hover .feature-box__icon {
  background: var(--blue, #69c9df);
  color: #fff;
  transform: scale(1.05);
}
.feature-box__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.feature-box .advantage-num {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}
.feature-box h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
.feature-box p {
  margin: 0 0 14px;
  color: var(--muted, #5a6578);
  font-size: 12.5px;
  line-height: 1.55;
}
.feature-box__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 10px;
  border-top: 1px dashed rgba(22, 128, 156, 0.18);
}
.feature-box__tags .ai-tag {
  background: #ffffff;
  border: 1px solid rgba(105, 201, 223, 0.35);
  color: var(--blue-dark, #16809c);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
}

/* Specifications Section */
.product-specs {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: var(--soft);
}
.product-specs__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.specs-table-wrap {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.03);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.specs-table tr {
  border-bottom: 1px solid var(--line);
}
.specs-table tr:last-child {
  border-bottom: 0;
}
.specs-table th,
.specs-table td {
  padding: 18px 28px;
  font-size: 14px;
  line-height: 1.5;
}
.specs-table th {
  width: 28%;
  background: #f8fafb;
  color: var(--ink);
  font-weight: 600;
  border-right: 1px solid var(--line);
}
.specs-table td {
  color: #4a5255;
}

/* Application Scenarios Gallery */
.product-gallery {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: 0;
  background: #fff;
}
.product-gallery__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.gallery-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-card:hover img {
  transform: scale(1.05);
}
.gallery-card__info {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(8,16,20,.85) 0%, rgba(8,16,20,.4) 70%, transparent 100%);
  color: #fff;
}
.gallery-card__info h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
}
.gallery-card__info p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}

/* Service Support & Contact Section */
.product-support {
  padding-top: clamp(48px, 4.5vw, 76px);
  padding-bottom: clamp(48px, 4.5vw, 76px);
  background: var(--soft);
}
.product-support__inner {
  width: min(80vw, 1540px);
  margin: 0 auto;
  text-align: center;
}
.support-card {
  max-width: 800px;
  margin: 32px auto 0;
  padding: 48px clamp(24px, 4vw, 56px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: none;
}
.support-card h3 {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
}
.support-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Responsive Media Queries */
@media (max-width: 1000px) {
  .product-overview {
    grid-template-columns: 1fr;
  }
  .product-overview__media {
    height: 320px;
  }
  .features-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .product-subnav__inner {
    width: calc(100% - 32px);
    gap: 20px;
  }
  .product-subnav__title {
    flex: 0 0 auto;
  }
  .product-subnav__links {
    min-width: 0;
    flex: 1;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .product-subnav__links::-webkit-scrollbar {
    display: none;
  }
  .product-subnav__links a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .features-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .specs-table th,
  .specs-table td {
    padding: 14px 16px;
    font-size: 13px;
  }
  .specs-table th {
    width: 38%;
  }
}
