/* PROBLEMA / PORQUE AGORA */

.snp-problem-v2{
  margin-top:32px;
  padding:26px;
  border-radius:24px;
  background:
    radial-gradient(circle at 85% 20%,rgba(91,53,245,.12),transparent 35%),
    #fff;
  border:1px solid #e5e7eb;
  box-shadow:0 12px 35px rgba(15,23,42,.05);
  display:grid;
  grid-template-columns:1fr 360px;
  gap:24px;
  align-items:center;
  overflow:hidden;
}

.problem-copy span{
  color:#4f46e5;
  font-size:10px;
  font-weight:900;
  letter-spacing:3px;
  text-transform:uppercase;
}

.problem-copy h2{
  margin:10px 0 12px;
  max-width:620px;
  font-size:28px;
  line-height:1.18;
  letter-spacing:-.8px;
  color:#0f172a;
}

.problem-copy>p{
  max-width:560px;
  font-size:14px;
  line-height:1.65;
  color:#64748b;
}

.problem-points{
  margin-top:20px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.problem-points div{
  padding:15px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #edf2f7;
  transition:.25s;
}

.problem-points div:hover{
  transform:translateY(-4px);
  background:#eef2ff;
  border-color:#c7d2fe;
}

.problem-points strong{
  color:#4f46e5;
  font-size:12px;
  font-weight:900;
}

.problem-points h3{
  margin:8px 0 6px;
  font-size:15px;
  color:#0f172a;
}

.problem-points p{
  font-size:12px;
  line-height:1.5;
  color:#64748b;
}

/* VISUAL */
.problem-visual{
  position:relative;
  min-height:340px;
  border-radius:22px;
  overflow:hidden;
  background:
    radial-gradient(circle at 75% 18%,rgba(99,102,241,.25),transparent 38%),
    linear-gradient(135deg,#0f172a,#111827);
  box-shadow:0 18px 45px rgba(15,23,42,.15);
}

/* CONSOLA — FICA SEMPRE POR CIMA */
.problem-console{
  position:absolute;
  left:22px;
  right:22px;
  bottom:20px;
  z-index:30;
  padding:16px;
  border-radius:16px;
  background:rgba(2,6,23,.94);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}

.problem-console div{
  width:36px;
  height:6px;
  border-radius:50px;
  background:linear-gradient(90deg,#6d28d9,#2563eb);
  margin-bottom:12px;
}

.problem-console p{
  margin:6px 0 0;
  font-family:monospace;
  font-size:11px;
  line-height:1.55;
  color:#e5edff;
  font-weight:600;
  opacity:1;
}

/* CARTÕES — FICAM ACIMA MAS NÃO TAPAM A CONSOLA */
.server-card{
  position:absolute;
  z-index:10;
  width:125px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.24);
  color:#fff;
  backdrop-filter:blur(10px);
  box-shadow:0 12px 28px rgba(0,0,0,.22);
  animation:snpFloatProblem 5s ease-in-out infinite;
}

.server-card span{
  width:28px;
  height:28px;
  border-radius:10px;
  display:block;
  margin-bottom:8px;
  background:linear-gradient(135deg,#6d28d9,#2563eb);
}

.server-card strong{
  display:block;
  font-size:13px;
  color:#fff;
}

.server-card small{
  display:block;
  margin-top:2px;
  font-size:10px;
  color:#dbeafe;
}

.card-a{top:22px;left:22px;}
.card-b{top:22px;right:22px;animation-delay:.5s;}
.card-c{top:112px;left:50%;transform:translateX(-50%);animation-delay:1s;}

@keyframes snpFloatProblem{
  0%,100%{margin-top:0;}
  50%{margin-top:-6px;}
}

/* RESPONSIVO */
@media(max-width:1000px){
  .snp-problem-v2{
    grid-template-columns:1fr;
    padding:22px;
  }

  .problem-copy h2{
    font-size:24px;
  }

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

  .problem-visual{
    min-height:330px;
  }
}

@media(max-width:600px){
  .problem-visual{
    min-height:360px;
  }

  .server-card{
    width:118px;
  }

  .card-a{
    top:18px;
    left:16px;
  }

  .card-b{
    top:18px;
    right:16px;
  }

  .card-c{
    top:104px;
    left:50%;
  }

  .problem-console{
    left:16px;
    right:16px;
    bottom:16px;
    padding:14px;
  }

  .problem-console p{
    font-size:10px;
  }
}