/* Efeitos aprimorados para o cartão de plano em destaque */

/* Efeito de brilho avançado */
.card-shine-featured {
  position: absolute;
  inset: -40% -140% -40% -140%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.1) 35%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.1) 45%,
    transparent 60%
  );
  transform: translateX(-25%);
  opacity: 0;
  pointer-events: none;
  transition: transform 1.5s var(--ease), opacity 0.8s var(--ease);
  z-index: 1;
}

.pricing-card.featured:hover .card-shine-featured {
  transform: translateX(40%);
  opacity: 1;
}

/* Borda pulsante para o cartão em destaque */
.pricing-card.featured {
  position: relative;
  z-index: 2;
  transform: translateY(0);
  box-shadow: 0 8px 30px -5px rgba(212, 175, 55, 0.25);
  transition: transform 0.4s var(--ease), 
              box-shadow 0.4s var(--ease), 
              border-color 0.4s var(--ease);
}

.pricing-card.featured:hover {
  transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
  box-shadow: 
    0 20px 40px -10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Borda animada aprimorada */
.pricing-card.featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 0deg,
    rgba(212, 175, 55, 0),
    rgba(212, 175, 55, 0.6),
    rgba(241, 214, 123, 0.45),
    rgba(212, 175, 55, 0.6),
    rgba(212, 175, 55, 0)
  );
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: rotateConic 8s linear infinite;
  opacity: 0.8;
  z-index: -1;
}

/* Efeito de glow ao redor do cartão */
.pricing-card.featured::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  z-index: -2;
  background: radial-gradient(
    circle at center,
    rgba(212, 175, 55, 0.3) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.pricing-card.featured:hover::after {
  opacity: 1;
}



/* Melhorar o botão dentro do cartão em destaque */
.pricing-card.featured .btn--primary {
  background: linear-gradient(180deg, #f1d67b, var(--accent), var(--accent-700));
  box-shadow: 
    0 6px 20px rgba(212, 175, 55, 0.35),
    0 0 0 1px rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), 
              box-shadow 0.4s var(--ease),
              background 0.4s var(--ease);
}

.pricing-card.featured .btn--primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 15px 30px -5px rgba(212, 175, 55, 0.45),
    0 0 15px rgba(212, 175, 55, 0.25);
}

/* Efeito de pulse no botão */
@keyframes subtle-pulse-featured {
  0% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.35),
      0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.35),
      0 0 0 12px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.35),
      0 0 0 0 rgba(212, 175, 55, 0);
  }
}

.pricing-card.featured .btn--primary {
  animation: subtle-pulse-featured 3s infinite;
}

/* Melhoria nos ícones do plano em destaque */
.pricing-card.featured .text-accent {
  color: var(--accent-300);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

.pricing-card.featured .text-success {
  color: #7de2b3;
  text-shadow: 0 0 10px rgba(125, 226, 179, 0.15);
}

/* Efeito nos itens da lista quando hover */
.pricing-card.featured .plan-features li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.pricing-card.featured:hover .plan-features li {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-card.featured:hover .plan-features li:hover {
  transform: translateX(5px);
  color: #fff;
}

/* Melhorar a aparência do preço */
.pricing-card.featured .plan-price {
  position: relative;
  z-index: 1;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.pricing-card.featured .currency,
.pricing-card.featured .amount {
  background: linear-gradient(90deg, #fff, #f1d67b, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.pricing-card.featured .amount {
  font-size: 2.25rem;
}

/* Adaptações para diferentes tamanhos de tela */
@media (min-width: 1200px) {
  .pricing-card.featured {
    transform: translateY(-5px) scale(1.03);
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-12px) scale(1.03) rotateX(1deg) rotateY(-1deg);
  }
}

@media (min-width: 1800px) {
  .pricing-card.featured::before {
    animation-duration: 10s;
  }
  
  .pricing-card.featured .amount {
    font-size: 2.5rem;
  }
  

}