/* ========== 产品详情页样式 ========== */

/* Hero Banner */
.pd-hero {
  padding: 120px 22px 80px;
  background: linear-gradient(135deg, #166fb7 0%, #23b6b5 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pd-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.pd-hero-text {
  flex: 1;
}

.pd-hero-tag {
  display: inline-block;
  padding: 8px 24px;
  background: #fff;
  color: #1f6ab3;
  border-radius: 980px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 32px;
}

.pd-hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.pd-hero-divider {
  width: 100%;
  max-width: 420px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.pd-hero-desc {
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 36px;
}

.pd-hero-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.pd-hero-spec {
  padding: 16px 24px;
  background: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 140px;
}

.pd-hero-spec-value {
  font-size: 22px;
  font-weight: 700;
  color: #1f6ab3;
  margin-bottom: 4px;
}

.pd-hero-spec-label {
  font-size: 13px;
  color: #1f6ab3;
}

.pd-btn-ghost {
  display: inline-block;
  padding: 12px 36px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.pd-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.pd-btn-primary {
  display: inline-block;
  padding: 12px 36px;
  background: #fff;
  color: #1f6ab3;
  border: none;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-btn-primary:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pd-hero-image {
  flex: 0 0 420px;
  text-align: center;
}

.pd-hero-image img {
  max-width: 100%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* Section Common */
.pd-section {
  padding: 50px 22px;
}

.pd-section.bg-white {
  background: #fff;
}

.pd-section.bg-gray {
  background: var(--bg-secondary);
}

.pd-section.bg-dark {
  background: #1d1d1f;
  color: #fff;
}

.pd-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pd-section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.pd-section-subtitle {
  font-size: 17px;
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.pd-section.bg-dark .pd-section-subtitle {
  color: #86868b;
}

/* 产品定位 */
.pd-section.pd-positioning {
  padding-top: 50px;
  padding-bottom: 80px;
}

.pd-positioning-card {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.pd-positioning-text {
  width: 60%;
  padding: 48px 40px;
  background: linear-gradient(to right, #f4f5f8 85%, rgba(244, 245, 248, 0));
  box-sizing: border-box;
}

.pd-positioning-text p {
  font-size: 16px;
  line-height: 2;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.pd-positioning-divider {
  width: 100%;
  height: 1px;
  background: #c3c2c3;
  margin-bottom: 24px;
}

.pd-positioning-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pd-positioning-tag {
  display: inline-block;
  padding: 10px 32px;
  background: #1d6ab4;
  color: #fff;
  border-radius: 980px;
  font-size: 16px;
  font-weight: 500;
}


/* 产品参数 - 三栏卡片布局 */

.pd-params-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pd-params-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px 28px;
}

.pd-params-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a8fc4;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 8px;
}

.pd-params-card-body {
  display: flex;
  flex-direction: column;
}

.pd-params-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.pd-params-label {
  font-size: 14px;
  color: #666;
}

.pd-params-value {
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  text-align: right;
}

/* 技术优势 */
.pd-advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-advantage-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pd-advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pd-advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.pd-advantage-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-advantage-card h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pd-advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 产品结构亮点 — 卡片网格 */
.pd-highlights-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.pd-highlight-card {
  background: #fff;
  border: 1px solid #d2cdc8;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: calc((100% - 40px) / 3);
  box-sizing: border-box;
}

.pd-highlight-card-icon {
  width: 48px;
  height: 48px;
}

.pd-highlight-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-highlight-card span {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
}

/* 软件系统协同 */

.pd-software-section .pd-section-subtitle {
  color: var(--text-secondary);
}

.pd-software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}

.pd-software-card {
  background: #f5f5f7;
  border-radius: 980px;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.pd-software-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
}

.pd-software-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-software-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* 优势对比 */

.pd-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.pd-compare-table th,
.pd-compare-table td {
  padding: 16px 24px;
  font-size: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pd-compare-table thead th {
  background: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.pd-compare-table tbody tr:nth-child(even) {
  background: var(--bg-secondary);
}

.pd-compare-table tbody tr:nth-child(odd) {
  background: #fff;
}

.pd-compare-table tbody td:first-child {
  font-weight: 600;
}

.pd-compare-highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.pd-compare-dim {
  color: var(--text-secondary);
}

/* 适用场景 */

.pd-scenes {
  position: relative;
}

.pd-scene-panel {
  display: none;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.pd-scene-panel.active {
  display: block;
}

.pd-scene-bg {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.pd-scene-tabs {
  display: flex;
  gap: 0;
  margin-top: -30px;
  position: relative;
  z-index: 3;
  align-items: flex-end;
}

.pd-scene-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f5f8;
  border: none;
  border-right: 1px solid #d1d0d1;
  cursor: pointer;
  padding: 20px 12px;
  transition: background 0.2s, color 0.2s;
}

.pd-scene-tab:first-child {
  border-radius: 0 0 0 12px;
}

.pd-scene-tab:last-child {
  border-radius: 0 0 12px 0;
  border-right: none;
}

.pd-scene-tab:hover {
  background: #e8eef4;
}

.pd-scene-tab.active {
  background: #1d6ab4;
  color: #fff;
  border-right: none;
  border-radius: 8px 8px 0 0;
}

.pd-scene-tab.active + .pd-scene-tab {
  border-left: none;
}

.pd-scene-tab .pd-scene-tab-plus {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  position: relative;
}

.pd-scene-tab .pd-scene-tab-plus::before,
.pd-scene-tab .pd-scene-tab-plus::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pd-scene-tab .pd-scene-tab-plus::before {
  width: 10px;
  height: 2px;
}

.pd-scene-tab .pd-scene-tab-plus::after {
  width: 2px;
  height: 10px;
}

.pd-scene-tab.active .pd-scene-tab-plus {
  display: block;
}

.pd-scene-tab-icon {
  width: 36px;
  height: 36px;
}

.pd-scene-tab-icon .icon-default {
  display: block;
}

.pd-scene-tab-icon .icon-active {
  display: none;
}

.pd-scene-tab.active .pd-scene-tab-icon .icon-default {
  display: none;
}

.pd-scene-tab.active .pd-scene-tab-icon .icon-active {
  display: block;
}

.pd-scene-tab-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pd-scene-tab span {
  font-size: 13px;
  font-weight: 600;
}

/* 应用案例 */

.pd-cases-card {
  display: flex;
  align-items: stretch;
  background: #f4f5f8;
  border-radius: 12px;
  overflow: hidden;
}

.pd-cases-text {
  flex: 1;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pd-cases-title-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
}

.pd-cases-text h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1d6ab4;
  margin-bottom: 24px;
}

.pd-cases-list {
  list-style: none;
  padding: 0 0 0 8px;
  margin: 0 0 0 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 2px solid #bcb1ab;
}

.pd-cases-list li {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
}

.pd-cases-list li::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 8px;
  width: 8px;
  height: 8px;
  background: #665953;
  border-radius: 50%;
}

.pd-cases-image {
  flex: 0 0 40%;
  margin: 20px 20px 20px 0;
  border-radius: 8px;
  overflow: hidden;
}

.pd-cases-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* CTA */
.pd-cta {
  padding: 80px 22px;
  background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
  color: #fff;
  text-align: center;
}

.pd-cta h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pd-cta p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.pd-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ========== 移动端适配 ========== */
@media (max-width: 1024px) {
  .pd-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .pd-hero-text {
    order: 1;
  }

  .pd-hero-image {
    order: 0;
    flex: none;
    width: 100%;
  }

  .pd-hero-desc {
    max-width: none;
  }

  .pd-hero-specs {
    justify-content: center;
  }

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

  .pd-positioning-card {
    background-image: none !important;
  }

  .pd-positioning-text {
    width: 100%;
    background: #f4f5f8;
  }

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

  .pd-cases-card {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .pd-hero {
    padding: 90px 16px 50px;
  }

  .pd-hero-title {
    font-size: 34px;
  }

  .pd-hero-desc {
    font-size: 15px;
  }

  .pd-hero-image img {
    max-height: 240px;
  }

  .pd-hero-specs {
    flex-direction: column;
    align-items: center;
  }

  .pd-hero-spec {
    min-width: 200px;
  }

  .pd-section {
    padding: 50px 16px;
  }

  .pd-section-title {
    font-size: 26px;
  }

  .pd-advantages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-software-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .pd-params-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-compare-table th,
  .pd-compare-table td {
    padding: 12px 10px;
    font-size: 13px;
  }

  .pd-scene-tabs {
    flex-wrap: nowrap;
    margin-top: -28px;
    gap: 0;
    align-items: stretch;
  }

  .pd-scene-tab {
    padding: 12px 6px;
    min-width: 0;
    flex: 1;
    justify-content: flex-start;
  }

  .pd-scene-tab-icon {
    width: 28px;
    height: 28px;
  }

  .pd-scene-tab span {
    font-size: 11px;
  }

  .pd-scene-bg {
    height: 240px;
  }

  .pd-cta h3 {
    font-size: 26px;
  }

  .pd-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .pd-software-grid {
    grid-template-columns: 1fr;
  }
}
