/* =========================================================
   产品与服务综合页 - prosrv.css
   匹配 style.css 主题变量：--primary / --accent / --container:1200px
   ========================================================= */

/* ========== 通用 ========== */
.ps-section-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.ps-section-head {
    text-align: center;
    margin-bottom: 60px;
}
.ps-section-en {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}
.ps-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.ps-section-sub {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== Section 1：Hero ========== */
.ps-hero {
    padding: 90px 0 100px;
    background: var(--bg-white);
    overflow: hidden;
}
.ps-hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.ps-hero-en {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
}
.ps-hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.ps-hero-title .accent {
    color: var(--primary);
    position: relative;
}
.ps-hero-title .accent::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}
.ps-hero-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 36px;
}
.ps-hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.ps-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.ps-btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,95,160,0.35);
}
.ps-btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(26,95,160,0.45);
}
.ps-btn--outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}
.ps-btn--outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Hero 右侧 */
.ps-hero-right {
    position: relative;
}
.ps-hero-cover {
    width: 100%;
    height: 460px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}
.ps-hero-float {
    position: absolute;
    bottom: -28px;
    left: -28px;
    display: flex;
    gap: 18px;
    background: #fff;
    padding: 20px 28px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}
.ps-hero-float-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ps-hero-float-item i {
    font-size: 26px;
    color: var(--primary);
}
.ps-hero-float-item strong {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}
.ps-hero-float-item span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== Section 2：产品列表 ========== */
.ps-products {
    padding: 90px 0 100px;
    background: var(--bg-light);
}
.ps-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
/* 当产品不足 4 个时，让卡片自动居中铺满（避免右侧大片空白）*/
.ps-product-grid:has(> *:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 0 auto;
}
.ps-product-grid:has(> *:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    max-width: 700px;
    margin: 0 auto;
}
.ps-product-grid:has(> *:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    max-width: 1060px;
    margin: 0 auto;
}
.ps-product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.ps-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.ps-product-img {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-color: #eef2f6;
}
.ps-product-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ps-product-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
}
.ps-product-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ps-product-link {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ps-product-card:hover .ps-product-link i {
    transform: translateX(3px);
}
.ps-product-link i {
    transition: transform var(--transition);
    font-size: 11px;
}

/* ========== Section 3：性能与用途（背景图 + 文字层叠） ========== */
.ps-perf {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.ps-perf-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.ps-perf-mask {
    position: absolute;
    inset: 0;
    background-image: url('/uploads/20261110/1d9f015fde85d7b3cce2b17ebcd20a4a.jpg');
    z-index: 1;
}
.ps-perf-inner {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.ps-section-head--light .ps-section-en { color: rgba(255,255,255,0.85); }
.ps-section-head--light .ps-section-title { color: #fff; }
.ps-section-head--light .ps-section-sub { color: rgba(255,255,255,0.85); }

.ps-perf-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
.ps-perf-item {
    
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    border-radius: 12px;
    padding: 28px 22px;
    text-align: left;
    color: #fff;
    transition: transform var(--transition), background var(--transition);
}
.ps-perf-item:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.2);
}
.ps-perf-num {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.35);
    margin-bottom: 10px;
    font-family: Georgia, serif;
}
.ps-perf-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.ps-perf-text p {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
}

/* ========== Section 4：应用场景 一行4个 ========== */
.ps-scenes {
    padding: 90px 0 100px;
    background: var(--bg-white);
}
.ps-scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.ps-scene-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-sm);
}
.ps-scene-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.ps-scene-card:hover .ps-scene-img {
    transform: scale(1.08);
}
.ps-scene-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #eef2f6;
    transition: transform 0.5s ease;
}
.ps-scene-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.82) 100%);
    z-index: 1;
}
.ps-scene-body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 26px 22px;
    z-index: 2;
    color: #fff;
}
.ps-scene-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.ps-scene-body p {
    font-size: 13px;
    color: rgba(255,255,255,0.82);
    line-height: 1.6;
}

/* ========== Section 5：3列信息 ========== */
.ps-info {
    padding: 90px 0 100px;
    background: var(--bg-light);
}
.ps-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.ps-info-col {
    background: #fff;
    border-radius: 12px;
    padding: 42px 36px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
    transition: transform var(--transition), box-shadow var(--transition);
}
.ps-info-col:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.ps-info-col:nth-child(2) { border-top-color: var(--accent); }
.ps-info-col:nth-child(3) { border-top-color: #e6a919; }

.ps-info-icon {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
}
.ps-info-col:nth-child(2) .ps-info-icon {
    background: linear-gradient(135deg, var(--accent), #3dd3a0);
}
.ps-info-col:nth-child(3) .ps-info-icon {
    background: linear-gradient(135deg, #e6a919, #f5c14b);
}
.ps-info-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.ps-info-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 22px;
}
.ps-info-list {
    border-top: 1px dashed #e2e7ee;
    padding-top: 20px;
}
.ps-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 8px;
}
.ps-info-list li i {
    color: var(--primary);
    font-size: 11px;
    margin-top: 5px;
    flex-shrink: 0;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .ps-hero { padding: 70px 0 80px; }
    .ps-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .ps-hero-right { order: -1; max-width: 560px; margin: 0 auto; width: 100%; }
    .ps-hero-cover { height: 360px; }
    .ps-hero-float { left: 50%; transform: translateX(-50%); bottom: -24px; }
    .ps-hero-title { font-size: 34px; }

    .ps-product-grid { grid-template-columns: repeat(3, 1fr); }
    .ps-perf-list { grid-template-columns: repeat(3, 1fr); }
    .ps-scene-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-info-grid { grid-template-columns: 1fr; gap: 22px; }
    .ps-info-col { padding: 32px 28px; }
}

@media (max-width: 768px) {
    .ps-hero { padding: 50px 0 70px; }
    .ps-hero-title { font-size: 28px; }
    .ps-hero-desc { font-size: 14px; }
    .ps-hero-ctas { flex-direction: column; align-items: stretch; }
    .ps-btn { justify-content: center; }
    .ps-hero-float { position: static; transform: none; margin-top: 20px; background: transparent; box-shadow: none; padding: 0; }
    .ps-hero-float-item strong { font-size: 18px; }

    .ps-products, .ps-scenes, .ps-info { padding: 60px 0; }
    .ps-perf { padding: 70px 0; }
    .ps-section-head { margin-bottom: 40px; }
    .ps-section-title { font-size: 26px; }

    .ps-product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ps-product-img { height: 160px; }
    .ps-product-body { padding: 14px 16px 16px; }
    .ps-product-name { font-size: 14px; }

    .ps-perf-list { grid-template-columns: 1fr; gap: 14px; }
    .ps-perf-item { padding: 22px 20px; display: flex; gap: 16px; align-items: flex-start; }
    .ps-perf-num { font-size: 28px; margin-bottom: 0; line-height: 1; }

    .ps-scene-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .ps-scene-card { aspect-ratio: 1/1.1; }
}

@media (max-width: 480px) {
    .ps-product-grid { grid-template-columns: 1fr; }
    .ps-scene-grid { grid-template-columns: 1fr; }
}
