/* Style général */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    text-align: center;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.pricing-card.recommended {
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg) translate(25%, -50%);
    transform-origin: bottom left;
    width: 150px;
    text-align: center;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--gray-color);
    font-weight: normal;
}

.pricing-card ul {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    text-align: left;
}

.pricing-card li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.pricing-card li i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.pricing-card li .fa-check {
    color: var(--success-color);
}

.pricing-card li .fa-times {
    color: var(--danger-color);
    opacity: 0.6;
}

/* Boutons */
.btn-upgrade {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

/* Animation pulse pour le bouton premium */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-primary {
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    animation: none;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        max-width: 100%;
    }
}

/* Effet de brillance pour la carte recommandée */
.recommended::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    pointer-events: none;
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -50%; }
    100% { left: 150%; }
}