/* 解决方案场景方案公共样式 */

:root {
    --ps-primary: #1a365d;
    --ps-primary-light: #2b4f8e;
    --ps-accent: #e67e22;
    --ps-accent-hover: #d35400;
    --ps-accent-rgb: 230, 126, 34;
    --ps-hero-end: #0f2440;
    --ps-bg-light: #f8fafc;
    --ps-text-dark: #1e293b;
    --ps-text-muted: #64748b;
    --ps-white: #ffffff;
    --ps-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --ps-radius: 12px;
}

/* ========== Hero ========== */
.ps-hero {
    height: 425px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--ps-primary) 0%, var(--ps-hero-end) 70%);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.ps-hero::after {
    content: '';
    position: absolute;
    right: -10%;
    bottom: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle at 70% 30%, rgba(var(--ps-accent-rgb), 0.12), transparent 70%);
    pointer-events: none;
}

.ps-hero .ps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ps-hero-text h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--ps-white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.ps-hero-text h1 em {
    color: var(--ps-accent);
    font-style: normal;
}

.ps-hero-text p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    max-width: 520px;
}

.ps-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ps-btn-primary {
    background: var(--ps-accent);
    color: var(--ps-white);
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-block;
    text-decoration: none;
}

.ps-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--ps-accent-rgb), 0.35);
    color: var(--ps-white);
}

.ps-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--ps-white);
    padding: 13px 33px;
    border-radius: 50px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
}

.ps-btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    color: var(--ps-white);
}

.ps-hero-note {
    margin-top: 24px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.ps-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    padding: 0;
    position: relative;
}

.ps-hero-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--ps-radius);
    opacity: 0.95;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.ps-hero-visual:hover .ps-hero-img {
    transform: scale(1.02);
    opacity: 1;
}

/* ========== 通用容器 ========== */
.ps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== 信任徽章 ========== */
.ps-trust-bar {
    padding: 20px 0 20px;
    background: var(--ps-bg-light);
    text-align: center;
}

.ps-trust-bar p {
    font-size: 0.88rem;
    color: var(--ps-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.ps-trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    opacity: 1;
}

.ps-trust-logos img {
    height: 80px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}

.ps-trust-logos img:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

/* ========== 通用板块标题 ========== */
.ps-section-title {
    text-align: center;
    margin-bottom: 56px;
}

.ps-section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--ps-primary);
}

.ps-section-title p {
    color: var(--ps-text-muted);
    margin-top: 12px;
    font-size: 1rem;
}

/* ========== 痛点与价值 ========== */
.ps-pain-points {
    padding: 96px 0;
    background: var(--ps-white);
}

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

.ps-pain-card {
    background: var(--ps-bg-light);
    border-radius: var(--ps-radius);
    padding: 36px 28px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
}

.ps-pain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ps-shadow);
    border-color: rgba(var(--ps-accent-rgb), 0.2);
}

.ps-pain-card .icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.ps-pain-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ps-text-dark);
}

.ps-pain-card .pain-desc {
    color: var(--ps-text-muted);
    font-size: 0.93rem;
}

/* ========== 核心功能 ========== */
.ps-features {
    padding: 96px 0;
    background: var(--ps-bg-light);
}

.ps-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ps-feature-card {
    background: var(--ps-white);
    border-radius: var(--ps-radius);
    padding: 28px 22px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: default;
}

.ps-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ps-shadow);
}

.ps-feature-card .ficon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.ps-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ps-text-dark);
}

.ps-feature-card p {
    font-size: 0.91rem;
    color: var(--ps-text-muted);
    line-height: 1.5;
}

.ps-feature-more {
    text-align: center;
    margin-top: 40px;
}

.ps-feature-more a {
    color: var(--ps-accent);
    font-weight: 600;
    font-size: 0.94rem;
}

/* ========== 场景 ========== */
.ps-scenes {
    padding: 96px 0;
    background: var(--ps-white);
}

.ps-scene-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 72px;
}

.ps-scene-item:nth-child(even) .ps-scene-img { order: 2; }
.ps-scene-item:nth-child(even) .ps-scene-text { order: 1; }

.ps-scene-img {
    background: var(--ps-bg-light);
    border-radius: var(--ps-radius);
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ps-scene-img img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    border-radius: var(--ps-radius);
}

.ps-scene-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ps-primary);
    margin-bottom: 12px;
}

.ps-scene-text p {
    color: var(--ps-text-muted);
    margin-bottom: 16px;
}

.ps-scene-text a {
    color: var(--ps-accent);
    font-weight: 600;
    font-size: 0.94rem;
}

/* ========== 数据与信任 ========== */
.ps-trust-data {
    padding: 86px 0;
    background: var(--ps-bg-light);
}

.ps-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.ps-trust-item {
    background: var(--ps-white);
    padding: 28px 22px;
    border-radius: var(--ps-radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.ps-trust-item .ticon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.ps-trust-item h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ps-text-dark);
}

.ps-trust-item p {
    font-size: 0.89rem;
    color: var(--ps-text-muted);
}

/* ========== 客户证言 ========== */
.ps-testimonials {
    padding: 76px 0;
    background: var(--ps-white);
}

.ps-testimonials .ps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ps-testimonials .ps-section-title {
    grid-column: 1 / -1;
}

.ps-testi-card {
    max-width: none;
    margin: 0;
    text-align: center;
    background: var(--ps-bg-light);
    padding: 36px 28px;
    border-radius: var(--ps-radius);
    border-left: 4px solid var(--ps-accent);
}

.ps-testi-card blockquote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--ps-text-dark);
    margin-bottom: 20px;
}

.ps-testi-card cite {
    font-style: normal;
    font-weight: 600;
    color: var(--ps-primary);
}

.ps-testi-card cite span {
    font-weight: 400;
    color: var(--ps-text-muted);
}

/* ========== CTA ========== */
.ps-cta {
    padding: 104px 0;
    background: linear-gradient(135deg, var(--ps-primary) 0%, var(--ps-hero-end) 80%);
    text-align: center;
    position: relative;
}

.ps-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--ps-white);
    margin-bottom: 36px;
    font-weight: 700;
}

.ps-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========== 滚动动画 ========== */
.ps-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.ps-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .ps-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ps-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .ps-hero .ps-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .ps-hero-text p { margin-left: auto; margin-right: auto; }
    .ps-hero-buttons { justify-content: center; }
    .ps-pain-grid { grid-template-columns: 1fr; }
    .ps-scene-item { grid-template-columns: 1fr; gap: 32px; }
    .ps-scene-item:nth-child(even) .ps-scene-img { order: 0; }
    .ps-scene-item:nth-child(even) .ps-scene-text { order: 0; }
    .ps-hero { min-height: auto; padding-top: 110px; }
    .ps-testimonials .ps-container { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .ps-feature-grid { grid-template-columns: 1fr; }
    .ps-trust-grid { grid-template-columns: 1fr; }
}
