/* ==========================================================
   PRODUCT DETAIL PAGE —— 通用 + 编辑器
   ========================================================== */


/* ============================================================
   模块 1：HERO
   ============================================================ */
.pd-hero {
    position: relative;
    padding: 100px 0 80px;
    background: #0a1f3d;
    color: #fff;
    overflow: hidden;
}
.pd-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,31,61,0.92) 0%, rgba(15,42,74,0.85) 100%);
    z-index: 1;
}
.pd-hero-inner {
    position: relative; z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.pd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 13px;
}
.pd-breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.pd-breadcrumb a:hover { color: #fff; }
.pd-breadcrumb span { color: rgba(255,255,255,0.3); }
.pd-breadcrumb .current { color: #fff; font-weight: 600; }

.pd-hero-title {
    margin: 0 0 20px;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #fff;
    max-width: 900px;
}
.pd-hero-desc {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    max-width: 720px;
}


/* ============================================================
   模块 2：数据条
   ============================================================ */
.pd-stats {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 40px;
}
.pd-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.pd-stat {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid #e2e8f0;
}
.pd-stat:last-child { border-right: 0; }
.pd-stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f2a4a;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
    line-height: 1.2;
}
.pd-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* ============================================================
   模块 3：产品内容（来自 ERP）
   ============================================================ */
.pd-content-section {
    padding: 80px 0;
    background: #fff;
}
.pd-content-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
    font-size: 17px;
    line-height: 1.9;
    color: #475569;
}
.pd-content-wrap h2 {
    font-size: 28px;
    font-weight: 800;
    color: #0f2a4a;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}
.pd-content-wrap h2:first-child { margin-top: 0; }
.pd-content-wrap h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f2a4a;
    margin: 36px 0 16px;
}
.pd-content-wrap p { margin: 0 0 20px; }
.pd-content-wrap ul {
    margin: 0 0 24px;
    padding-left: 0;
    list-style: none;
}
.pd-content-wrap ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    line-height: 1.75;
}
.pd-content-wrap ul li::before {
    content: "";
    position: absolute;
    left: 4px; top: 11px;
    width: 6px; height: 6px;
    background: #1d6fe8;
    border-radius: 50%;
}
.pd-content-wrap ol {
    margin: 0 0 24px;
    padding-left: 24px;
}
.pd-content-wrap ol li {
    margin-bottom: 12px;
    line-height: 1.75;
}
.pd-content-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
}
.pd-content-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(15,42,74,0.04);
}
.pd-content-wrap table th {
    background: #1e293b;
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 14px 20px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.pd-content-wrap table td {
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: #1e293b;
}
.pd-content-wrap table tr:nth-child(even) td { background: #f8fafc; }
.pd-content-wrap strong { color: #0f2a4a; font-weight: 700; }
.pd-content-wrap a {
    color: #1d6fe8;
    text-decoration: none;
    border-bottom: 1px solid rgba(29,111,232,0.3);
}
.pd-content-wrap blockquote {
    margin: 28px 0;
    padding: 20px 28px;
    background: #f1f5f9;
    border-left: 4px solid #1d6fe8;
    border-radius: 8px;
    font-style: italic;
    color: #334155;
}
.pd-content-wrap details {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 20px 24px;
}
.pd-content-wrap details summary {
    font-size: 16px;
    font-weight: 700;
    color: #0f2a4a;
    cursor: pointer;
    list-style: none;
}
.pd-content-wrap details summary::-webkit-details-marker { display: none; }
.pd-content-wrap details summary::before {
    content: "+ ";
    color: #1d6fe8;
    font-weight: 800;
    margin-right: 8px;
}
.pd-content-wrap details[open] summary::before { content: "− "; }
.pd-content-wrap details p {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.75;
    color: #64748b;
}


/* ============================================================
   通用：标题
   ============================================================ */
.pd-section-head {
    text-align: center;
    margin-bottom: 56px;
}
.pd-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #1d6fe8;
    text-transform: uppercase;
}
.pd-h2 {
    margin: 0 0 12px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: #0f2a4a;
    line-height: 1.2;
}


/* ============================================================
   模块 4：相关产品
   ============================================================ */
.pd-related-section {
    padding: 100px 0;
    background: #f8fafc;
}
.pd-related-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.pd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.pd-related-card {
    display: block;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.pd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15,42,74,0.1);
    border-color: #1d6fe8;
}
.pd-related-cover {
    aspect-ratio: 4/3;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pd-related-cover img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 32px;
    display: block;
    transition: transform 0.5s ease;
}
.pd-related-card:hover .pd-related-cover img { transform: scale(1.05); }
.pd-related-body {
    padding: 22px 24px 26px;
}
.pd-related-body h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f2a4a;
    line-height: 1.35;
}


/* ============================================================
   模块 5：CTA
   ============================================================ */
.pd-cta {
    padding: 100px 40px;
    background: linear-gradient(135deg, #0a1f3d 0%, #1e3c72 100%);
    color: #fff;
    text-align: center;
}
.pd-cta-inner { max-width: 720px; margin: 0 auto; }
.pd-cta h2 {
    margin: 0 0 16px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
}
.pd-cta p {
    margin: 0 0 32px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
}
.pd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: #38bdf8;
    color: #0f2a4a;
    border: 2px solid #38bdf8;
    border-radius: 40px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    transition: all 0.3s ease;
}
.pd-cta-btn::after {
    content: "→";
    transition: transform 0.3s ease;
    display: inline-block;
}
.pd-cta-btn:hover {
    background: transparent;
    color: #38bdf8;
    transform: translateY(-2px);
}
.pd-cta-btn:hover::after {
    transform: translateX(6px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pd-hero { padding: 80px 0 60px; }
    .pd-hero-inner { padding: 0 32px; }
    .pd-hero-title { font-size: 36px; }
    .pd-hero-desc { font-size: 16px; }

    .pd-stats { padding: 32px 32px; }
    .pd-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
    .pd-stat:nth-child(2) { border-right: 0; }
    .pd-stat-value { font-size: 20px; }

    .pd-content-wrap { padding: 0 32px; }
    .pd-related-inner { padding: 0 32px; }
    .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .pd-hero { padding: 60px 0 40px; }
    .pd-hero-inner { padding: 0 20px; }
    .pd-hero-title { font-size: 26px; }
    .pd-hero-desc { font-size: 14px; }

    .pd-stats { padding: 24px 20px; }
    .pd-stat-value { font-size: 16px; }
    .pd-stat-label { font-size: 10px; }

    .pd-content-section { padding: 48px 0; }
    .pd-content-wrap { padding: 0 20px; font-size: 15px; }
    .pd-content-wrap h2 { font-size: 22px; }
    .pd-content-wrap h3 { font-size: 17px; }

    .pd-related-section { padding: 48px 0; }
    .pd-related-inner { padding: 0 20px; }
    .pd-related-grid { grid-template-columns: 1fr; gap: 16px; }

    .pd-cta { padding: 60px 20px; }
    .pd-cta h2 { font-size: 26px; }
}