.problem-section{
padding:110px 20px;
background:linear-gradient(160deg,#0a0a0f,#1c1036,#0a0a0f);
color:#fff;
text-align:center;
}

.problem-container{
max-width:800px;
margin:auto;
}

.problem-title{
font-size:36px;
font-weight:600;
margin-bottom:12px;
}

.problem-subtitle{
font-size:18px;
color:#bbb;
margin-bottom:70px;
max-width:700px;
margin-left:auto;
margin-right:auto;
}

.problem-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
gap:30px;
}

.problem-card{
background:rgba(255,255,255,0.04);
border:1px solid rgba(255,255,255,0.06);
padding:35px 30px;
border-radius:14px;
text-align:left;
position:relative;
transition:all .35s ease;
cursor:pointer;
overflow:hidden;
}

.problem-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(120deg,#5F1BF2,#7D4EBF);
opacity:0;
transition:opacity .35s ease;
z-index:0;
}

.problem-card h3{
font-size:20px;
margin-bottom:10px;
position:relative;
z-index:2;
}

.problem-card p{
font-size:15px;
color:#cfcfe6;
position:relative;
z-index:2;
line-height:1.5;
}

.problem-card:hover::before{
opacity:0.85;
}

.problem-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(0,0,0,0.35);
}

.problem-card:hover p,
.problem-card:hover h3{
color:#fff;
}

/* active state via JS */

.problem-card.active{
transform:translateY(-8px) scale(1.02);
box-shadow:0 25px 45px rgba(0,0,0,0.45);
}

.problem-card.active::before{
opacity:0.9;
}

/* mobile */

@media(max-width:768px){

.problem-title{
font-size:28px;
}

.problem-subtitle{
font-size:16px;
margin-bottom:50px;
}

.problem-grid{
gap:20px;
}

}