/* ==========================================
   CARDS DE PLANOS - ESTILO FILMORA
   ========================================== */

.filmora-plan-cards-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .filmora-plan-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .filmora-plan-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
  }
}

/* Card de Plano */
.filmora-plan-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.filmora-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #cbd5e0;
}

/* Badge de popular/destaque */
.filmora-plan-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #006E7F;
  color: #ffffff;
  padding: 0.375rem 0.75rem;
  border-radius: 0 12px 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

/* Badge de desconto - Design melhorado */
.filmora-plan-discount-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.filmora-plan-discount-badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  animation: discountShine 3s infinite;
}

@keyframes discountShine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.filmora-discount-percent {
  font-size: 1.125rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.filmora-discount-text {
  font-size: 0.75rem;
  line-height: 1;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cabeçalho do Card */
.filmora-plan-card-header {
  margin-bottom: 1.5rem;
}

.filmora-plan-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.filmora-plan-card-description {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* Seção de Preço */
.filmora-plan-card-price-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.filmora-plan-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filmora-plan-price-main {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filmora-plan-price-original {
  font-size: 1.125rem;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.filmora-plan-price-current {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1;
}

.filmora-plan-price-period {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
}

.filmora-plan-price-note {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}

/* Lista de Características - DEPOIS do botão e prazo */
.filmora-plan-features {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.filmora-plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  font-size: 0.9375rem;
  color: #334155;
  line-height: 1.5;
}

.filmora-plan-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0f2fe;
  border-radius: 50%;
  color: #006E7F;
  font-size: 0.75rem;
  font-weight: 700;
}

.filmora-plan-feature-text {
  flex: 1;
}

/* Seção de Ação (Prazo, Pagamentos, Botão) - ANTES das características */
.filmora-plan-card-action-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Prazo de Entrega */
.filmora-plan-delivery {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

/* Ícones de Pagamento */
.filmora-plan-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.filmora-plan-payment-icons i {
  font-size: 1.5rem;
  color: #334155;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.filmora-plan-payment-icons i:hover {
  opacity: 1;
  transform: scale(1.1);
}

.filmora-plan-payment-icons .fa-cc-visa {
  color: #1a1f71;
}

.filmora-plan-payment-icons .fa-cc-mastercard {
  color: #eb001b;
}

.filmora-plan-payment-icons .fa-cc-amex {
  color: #006fcf;
}

.filmora-plan-payment-icons .fa-qrcode {
  color: #006E7F;
}

/* Botão */
.filmora-plan-button {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: #ffffff;
  border: 2px solid #006E7F;
  border-radius: 6px;
  color: #006E7F;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
}

.filmora-plan-button:hover {
  background: #006E7F;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 110, 127, 0.2);
}

.filmora-plan-button-primary {
  background: #006E7F;
  color: #ffffff;
  border-color: #006E7F;
}

.filmora-plan-button-primary:hover {
  background: #005a68;
  border-color: #005a68;
  box-shadow: 0 4px 12px rgba(0, 110, 127, 0.3);
}

/* Card Popular/Destaque */
.filmora-plan-card-popular {
  border: 2px solid #006E7F;
  box-shadow: 0 8px 16px rgba(0, 110, 127, 0.15);
}

.filmora-plan-card-popular:hover {
  box-shadow: 0 12px 24px rgba(0, 110, 127, 0.2);
}

.filmora-plan-card-popular .filmora-plan-button {
  background: #006E7F;
  color: #ffffff;
}

.filmora-plan-card-popular .filmora-plan-button:hover {
  background: #005a68;
}

/* Responsive */
@media (max-width: 767px) {
  .filmora-plan-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
  }

  .filmora-plan-card {
    padding: 1.5rem;
  }

  .filmora-plan-card-title {
    font-size: 1.25rem;
  }

  .filmora-plan-price-current {
    font-size: 1.75rem;
  }
}

