/* Who It's For - Stacked Cards */
.who-for {
  padding: 5rem 2rem;
  background: var(--bg-primary);
}

.personas-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.persona-card-stack {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: auto;
}

.persona-card-stack::before,
.persona-card-stack::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  border-radius: 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  z-index: -1;
  transition: all 0.3s ease;
}

.persona-card-stack::before {
  top: 5px;
  transform: scale(0.95);
  opacity: 0.5;
}

.persona-card-stack::after {
  top: 10px;
  transform: scale(0.9);
  opacity: 0.3;
}

.persona-card-stack:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.persona-card-stack:hover::before {
  top: 15px;
  transform: scale(0.98);
}

.persona-card-stack:hover::after {
  top: 30px;
  transform: scale(0.96);
}

.persona-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.persona-icon-wrapper {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(27, 29, 78, 0.2);
}

.persona-icon-wrapper svg {
  width: 30px;
  height: 30px;
  fill: var(--text-white);
}

.persona-card-stack h3 {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

.persona-card-stack p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.persona-badge {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  align-self: flex-start;
}

/* Responsive adjustments for small screens */
@media (max-width: 480px) {
  .personas-stack {
    grid-template-columns: 1fr;
  }

  .persona-header {
    gap: 0.75rem;
  }

  .persona-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .persona-icon-wrapper svg {
    width: 24px;
    height: 24px;
  }

  .persona-card-stack h3 {
    font-size: 1.1rem;
  }

  .persona-card-stack {
    padding: 1.5rem;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .persona-icon-wrapper {
    width: 40px;
    height: 40px;
  }

  .persona-icon-wrapper svg {
    width: 20px;
    height: 20px;
  }

  .persona-card-stack h3 {
    font-size: 1rem;
  }
}
