.problem-solution {
    position: relative;
    padding: 0;
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.ps-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/problem_photo.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
}

.ps-container {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding: 40px 0;
}

.ps-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.ps-wrapper {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.ps-problems {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding-left: 20px;
}

.ps-problem-card {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

.ps-problem-card:hover {
    background: #f5f5f5;
    transform: translateX(3px);
}

.ps-problem-card.active {
    background: #fff;
    border: 2px solid rgb(164, 255, 222);
    box-shadow: 0 0 0 3px rgba(164, 255, 222, 0.3), 0 6px 20px rgba(164, 255, 222, 0.4);
    transform: translateX(8px);
}

.ps-problem-card.active::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: rgb(164, 255, 222);
    border-radius: 0 4px 4px 0;
}

.ps-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.ps-problem-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.ps-arrow {
    font-size: 18px;
    color: #400D69;
    opacity: 0;
    transition: 0.3s;
    flex-shrink: 0;
}

.ps-problem-card.active .ps-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* Решение */
.ps-solution {
    flex: 1;
    background: linear-gradient(145deg, rgb(164, 255, 222) 0%, rgb(130, 230, 200) 100%);
    border-radius: 16px;
    padding: 30px 35px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(164, 255, 222, 0.15);
}

.ps-solution-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 85%, rgba(255,255,255,0.35) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(231,105,228,0.2) 0%, transparent 40%),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0px, rgba(255,255,255,0.05) 2px, transparent 2px, transparent 10px);
    pointer-events: none;
}

.ps-solution-badge {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.ps-logo-wrap {
    background: #fff;
    border-radius: 8px;
    padding: 5px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.ps-solution-badge span {
    color: rgba(64, 13, 105, 0.75);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    background: rgba(255,255,255,0.3);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.ps-logo {
    height: 24px;
    width: auto;
    display: block;
}

.ps-solution-content {
    position: relative;
    z-index: 1;
}

.ps-solution-content h3 {
    color: #1a1a1a;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    transition: 0.3s;
}

.ps-solution-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
    transition: 0.3s;
}

.ps-point {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 10px;
    transition: 0.3s;
}

.ps-point:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.ps-point-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.ps-point p {
    color: #333;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
}

.ps-point strong {
    color: #1a1a1a;
    font-weight: 600;
}

.ps-cta-btn {
    display: inline-block;
    background: #400D69;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    box-shadow: 0 3px 10px rgba(64, 13, 105, 0.2);
}

.ps-cta-btn:hover {
    background: #5a1179;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(64, 13, 105, 0.3);
}

/* Анимация появления */
@keyframes fadeInSolution {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ps-solution-content.animating {
    animation: fadeInSolution 0.3s ease;
}

.problem-solution {
    position: relative;
    padding: 0;
    background: #ffffff;
    width: 100%;
    overflow: hidden;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

.ps-solution-content {
    min-height: 240px;
    display: flex;
    flex-direction: column;
}

.ps-cta-btn {
    align-self: flex-start;
    margin-top: auto;
}

.ps-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url('../images/problem_photo.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
}

.ps-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.ps-subtitle {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .ps-wrapper {
        flex-direction: column;
    }

    .ps-title {
        font-size: 22px;
    }

    .ps-problems {
        padding-left: 16px;
        padding-right: 16px;
    }

    .ps-solution {
        margin: 0 16px;
        padding: 20px;
    }

    .ps-solution-content {
        min-height: 375px;
    }

    .ps-solution-points {
        grid-template-columns: 1fr;
    }

    .ps-solution-content h3 {
        font-size: 18px;
    }

    .ps-arrow {
        display: none;
    }
}