﻿.col-md-4 {
    margin-bottom: 20px;
}


.card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transform: translateY(-6px) scale(1.015);
    transition: box-shadow 0.5s, transform 0.5s;
}

.price-card {
    background: #212529;
    padding: 40px 35px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

    .price-card:before {
        animation: diamondMove 5.5s ease-in-out infinite alternate;
        position: absolute;
        content: "";
        top: 10px;
        right: -40px;
        width: 98px;
        height: 98px;
        background: #49BCC3;
        opacity: 0.2;
        border-radius: 8px;
        transform: rotate(45deg);
    }

    .price-card:after {
        animation: diamondMove 3.5s ease-in-out infinite alternate;
        position: absolute;
        content: "";
        top: 50px;
        right: -40px;
        width: 98px;
        height: 98px;
        background: #49BCC3;
        opacity: 0.2;
        border-radius: 8px;
        transform: rotate(45deg);
    }

    .price-card.featured {
        background: #2D3339;
    }

.pricing-offers {
    padding: 0 0 10px;
    margin-top: 20px;
}

    .pricing-offers li {
        padding: 0 0 16px;
        line-height: 18px;
    }




@keyframes diamondMove {
    0% {
        transform: translateY(0) rotate(45deg);
    }

    100% {
        transform: translateY(12px) rotate(45deg);
    }
}





/* 動畫關鍵幀 */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 動畫 class */
.fade-out {
    animation: fadeOut 1.5s forwards;
}

.fade-in {
    animation: fadeIn 1.5s forwards;
}