/* ==========================================================================
   Lockewise - Problems Section Styles
   Created: June 20, 2025
   ========================================================================== */

.problems {
  background: #000000;
  animation: slideIn 0.7s ease-in;
  position: relative;
}

.problems::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
  background: none;
  z-index: 0;
}

.problems h1 {
  text-align: center;
  font-family: "Manrope", sans-serif;
  font-size: 2.75rem;
  margin-bottom: 4rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  position: relative;
  z-index: 1;
  color: var(--text-color);
}

.problems h1 span {
  color: var(--light-blue);
  position: relative;
}

.problems h1 span::after {
  display: none;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  position: relative;
  z-index: 1;
}

.problem-card {
  padding: 2rem;
  background: #1a1a1a;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.problem-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-gradient);
  transition: height var(--transition-normal);
  border-radius: 0 0 4px 4px;
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: #222222;
  border: 1px solid rgba(59, 130, 246, 0.35);
}

.problem-card:hover::before {
  height: 100%;
}

.card-content {
  display: flex;
  align-items: flex-start;
}

.icon {
  margin-right: 16px;
  color: var(--light-blue);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  background: rgba(59, 130, 246, 0.1);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 23px;
  height: 23px;
}

.problem-card:hover .icon {
  transform: scale(1.1) rotate(-5deg);
}

.text-content {
  flex: 1;
  position: relative;
}

.problem-card h3 {
  margin-bottom: 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--text-color);
}

.problem-card p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
  color: #bbb;
}

/* Card glow effect */
.card-glow {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: none;
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.problem-card:hover .card-glow {
  opacity: 1;
}
