/* 产品页专用样式 */

/* ---- 页面标题区 ---- */
.page-hero {
  position: relative;
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 68px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(249,115,22,0.25) 0%, transparent 50%),
    linear-gradient(160deg, #0f2744 0%, #1a3a6b 100%);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.35) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: fadeUp 0.8s ease-out;
}

.page-hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(249,115,22,0.9);
  margin-bottom: 14px;
}

.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
}

/* ---- 产品详情卡片 ---- */
.product-detail {
  margin-bottom: 80px;
}

.product-detail-header {
  text-align: center;
  margin-bottom: 48px;
}

.product-detail-tag {
  display: inline-block;
  background: rgba(249,115,22,0.1);
  color: #f97316;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.product-detail-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.product-detail-sub {
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.product-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* 图库 */
.product-detail-gallery {
  position: sticky;
  top: 88px;
}

.gallery-main {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-thumbs img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.gallery-thumbs img:hover { opacity: 1; }

/* 产品信息 */
.product-detail-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f97316;
  display: inline-block;
}

.product-detail-desc p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.spec-item {
  background: #f8fafc;
  border-radius: 8px;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
}

.spec-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.spec-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tag {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* 分隔线 */
.section-divider {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 48px 0;
}

/* 更多产品 */
.more-products {
  background: linear-gradient(135deg, #0f172a 0%, #1a3a6b 100%);
  border-radius: 16px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.more-products-text h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.more-products-text p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 500px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  white-space: nowrap;
  flex-shrink: 0;
  transition: 0.3s ease;
}

.btn-outline-dark:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

/* 动画 */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 响应式 ---- */
@media (max-width: 900px) {
  .product-detail-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .product-detail-gallery { position: static; }
  .gallery-main img { height: 280px; }
  .gallery-thumbs img { height: 80px; }
  .more-products { flex-direction: column; text-align: center; padding: 40px 24px; }
  .more-products-text p { max-width: 100%; }
}

@media (max-width: 600px) {
  .page-hero { height: 280px; }
  .spec-grid { grid-template-columns: 1fr; }
  .more-products { padding: 32px 20px; }
  .more-products-text h2 { font-size: 1.3rem; }
}
