/* 产品详情页 Pro 样式（可主题化：在 .pd-page 上设置 CSS 变量） */
:root {
  --pd-primary: var(--pro-primary, #2563EB);
  --pd-primary-2: var(--pro-primary-hover, #1D4ED8);
  --pd-accent: var(--pro-accent, #F59E0B);
  --pd-hero-bg: linear-gradient(135deg, rgba(37,99,235,.92), rgba(29,78,216,.92));

  --pd-bg: var(--pro-bg-light, #F8FAFC);
  --pd-card: #ffffff;
  --pd-text: var(--pro-text-main, #1E293B);
  --pd-muted: var(--pro-text-sub, #64748B);
  --pd-border: rgba(15, 23, 42, 0.10);

  --pd-radius: 16px;
  --pd-shadow: 0 10px 30px rgba(0,0,0,0.08);
  --pd-shadow-hover: 0 18px 45px rgba(0,0,0,0.12);
}

.pd-page {
  background: var(--pd-bg);
  color: var(--pd-text);
}

.pd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.pd-hero {
  background: var(--pd-hero-bg);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 112px 0 56px;
  position: relative;
  overflow: hidden;
}

.pd-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 250px at 18% 18%, rgba(255,255,255,.14), transparent 55%),
              radial-gradient(520px 220px at 85% 30%, rgba(255,255,255,.10), transparent 60%);
  pointer-events: none;
}

.pd-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.pd-hero h1 {
  font-size: clamp(1.8rem, 2.4vw + 1rem, 2.7rem);
  line-height: 1.15;
  margin: 0 0 10px;
  text-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.pd-tagline {
  font-size: 1.15rem;
  opacity: .94;
  margin: 0 0 18px;
}

.pd-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  opacity: .92;
  margin: 0 0 18px;
}

.pd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pd-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-size: .95rem;
}

.pd-badge svg { width: 18px; height: 18px; }

.pd-hero-media {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}

.pd-hero-media img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.pd-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.pd-kpi {
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  padding: 12px 12px;
}

.pd-kpi__v {
  font-weight: 800;
  letter-spacing: .2px;
  font-size: 1.1rem;
  line-height: 1.15;
}

.pd-kpi__k {
  opacity: .92;
  font-size: .9rem;
  margin-top: 4px;
}

.pd-sticky-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pd-border);
}

.pd-sticky-nav__inner {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  overflow-x: auto;
}

.pd-sticky-nav__inner a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--pd-text);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--pd-border);
  background: rgba(255,255,255,.75);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  font-weight: 650;
}

.pd-sticky-nav__inner a:hover {
  border-color: rgba(37,99,235,.35);
  transform: translateY(-1px);
}

.pd-sticky-nav__inner a:focus-visible {
  outline: 3px solid rgba(37,99,235,.25);
  outline-offset: 2px;
}

.pd-section {
  padding: 56px 0;
}

.pd-section--alt {
  background: #fff;
}

.pd-section-title {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 860px;
}

.pd-section-title h2 {
  font-size: clamp(1.6rem, 1.3vw + 1.2rem, 2.3rem);
  margin: 0 0 10px;
  color: var(--pd-text);
}

.pd-section-title p {
  margin: 0;
  color: var(--pd-muted);
  line-height: 1.7;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.pd-col-4 { grid-column: span 4; }
.pd-col-6 { grid-column: span 6; }
.pd-col-12 { grid-column: span 12; }

.pd-card {
  background: var(--pd-card);
  border: 1px solid var(--pd-border);
  border-radius: var(--pd-radius);
  padding: 22px;
  box-shadow: var(--pd-shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}

.pd-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--pd-shadow-hover);
  border-color: rgba(37,99,235,.22);
}

.pd-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-2));
  box-shadow: 0 10px 24px rgba(37,99,235,.25);
  color: #fff;
}

.pd-card__icon svg { width: 26px; height: 26px; }

.pd-card h3, .pd-card h4 {
  margin: 14px 0 8px;
  font-size: 1.2rem;
  color: var(--pd-text);
}

.pd-card p {
  margin: 0;
  color: var(--pd-muted);
  line-height: 1.7;
}

.pd-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.pd-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--pd-muted);
  line-height: 1.65;
}

.pd-list svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--pd-primary);
}

.pd-table-wrap {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--pd-radius);
  overflow: hidden;
  border: 1px solid var(--pd-border);
  box-shadow: var(--pd-shadow);
  background: #fff;
}

.pd-table-wrap .table {
  margin: 0;
  width: 100%;
}

.pd-table-wrap .table thead th {
  background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-2));
  color: #fff;
  border: none;
  padding: 18px 18px;
  font-weight: 700;
}

.pd-table-wrap .table tbody td {
  padding: 14px 18px;
  border-color: rgba(15, 23, 42, 0.08);
}

.pd-table-wrap .table tbody tr:nth-child(even) {
  background: rgba(248,250,252,0.9);
}

.pd-cta {
  background: linear-gradient(135deg, var(--pd-primary), var(--pd-primary-2));
  color: #fff;
  padding: 58px 0;
  text-align: center;
}

.pd-cta h3 {
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2rem);
  margin: 0 0 10px;
}

.pd-cta p {
  margin: 0 0 18px;
  opacity: .92;
  font-size: 1.05rem;
}

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  cursor: pointer;
}

.pd-btn svg { width: 18px; height: 18px; }

.pd-btn--light {
  background: #fff;
  color: var(--pd-primary);
  border-color: rgba(255,255,255,.25);
}

.pd-btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(255,255,255,.22);
  color: var(--pd-primary-2);
}

.pd-btn--ghost {
  background: rgba(255,255,255,.14);
  color: #fff;
}

.pd-btn--ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

/* FAQ */
.pd-faq {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.pd-faq details {
  border-radius: var(--pd-radius);
  background: #fff;
  border: 1px solid var(--pd-border);
  box-shadow: var(--pd-shadow);
  overflow: hidden;
}

.pd-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  color: var(--pd-text);
}

.pd-faq summary::-webkit-details-marker { display: none; }

.pd-faq summary .pd-faq__chev {
  width: 18px;
  height: 18px;
  transition: transform .2s ease;
  flex: 0 0 auto;
  color: var(--pd-primary);
}

.pd-faq details[open] summary .pd-faq__chev {
  transform: rotate(180deg);
}

.pd-faq .pd-faq__body {
  padding: 0 18px 16px;
  color: var(--pd-muted);
  line-height: 1.75;
}

/* 资料获取弹窗 */
.pd-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.pd-modal.is-open { display: block; }

.pd-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
}

.pd-modal__panel {
  position: relative;
  width: min(720px, calc(100% - 24px));
  margin: 10vh auto 0;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.2);
}

.pd-modal__head {
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(245,158,11,.10));
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pd-modal__head h4 {
  margin: 0;
  font-size: 1.15rem;
}

.pd-modal__close {
  border: none;
  background: rgba(15,23,42,.06);
  color: var(--pd-text);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.pd-modal__close:hover { background: rgba(239,68,68,.12); transform: translateY(-1px); }

.pd-modal__body { padding: 18px 20px 20px; }

.pd-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pd-field { display: grid; gap: 6px; }

.pd-field label {
  font-weight: 650;
  font-size: .92rem;
  color: var(--pd-text);
}

.pd-field input {
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.pd-field input:focus {
  border-color: rgba(37,99,235,.45);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

.pd-modal__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.pd-note {
  margin-top: 10px;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 992px) {
  .pd-hero__grid { grid-template-columns: 1fr; gap: 26px; text-align: center; }
  .pd-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pd-hero { padding: 100px 0 46px; }
  .pd-kpis { grid-template-columns: 1fr; }
  .pd-col-4, .pd-col-6 { grid-column: span 12; }
  .pd-form { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pd-card, .pd-btn, .pd-sticky-nav__inner a, .pd-faq summary .pd-faq__chev {
    transition: none !important;
  }
}

