﻿/* ===== VIDEO BACKGROUND (Đồng bộ toàn web) ===== */
.video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4), rgba(5, 5, 5, 0.8));
    backdrop-filter: blur(5px);
}

/* ===== SECTION & HEADER ===== */
.pricing-section {
    padding: 120px 20px 80px 20px;
    max-width: 1300px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.pricing-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
}

.text-gradient {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== GRID LAYOUT (KHÔNG DÙNG FLEX ĐỂ TRÁNH VỠ) ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cột bằng nhau */
    gap: 30px;
    align-items: center; /* Giúp căn giữa các thẻ theo chiều dọc */
}

/* Căn 4 thẻ phía dưới tự động đẹp */
.custom-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* ===== PRICE CARD KÍNH MỜ ===== */
.price-card {
    position: relative;
    padding: 40px 30px;
    border-radius: 24px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    /* Hiệu ứng nổi lên thay vì Scale vỡ khung */
    .price-card:hover {
        transform: translateY(-12px);
        background: rgba(255,255,255,0.06);
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    }

/* ===== NỘI DUNG CARD ===== */
.card-icon i {
    font-size: 45px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.price-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.price-card h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

/* DANH SÁCH TÍNH NĂNG */
.features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
    flex-grow: 1; /* Đẩy nút bấm xuống sát đáy thẻ */
}

    .features li {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        font-size: 15px;
        color: rgba(255,255,255,0.8);
    }

        .features li i {
            color: #00c6ff;
            font-size: 20px;
        }

            .features li i.bx-x {
                color: #ff3b30; /* Dấu X màu đỏ mờ */
            }

.text-muted {
    opacity: 0.5;
}

/* ===== NÚT BẤM ===== */
.btn-price {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

    .btn-price:hover {
        background: white;
        color: black;
    }

    .btn-price.primary {
        background: linear-gradient(135deg, #00c6ff, #0072ff);
        border: none;
        box-shadow: 0 10px 20px rgba(0, 114, 255, 0.4);
    }

        .btn-price.primary:hover {
            color: white;
            transform: scale(1.03);
        }

/* ===== FEATURED CARDS (TỎA SÁNG) ===== */
.featured {
    border: 1px solid rgba(0, 198, 255, 0.5);
    background: rgba(0, 198, 255, 0.05);
    transform: translateY(-15px); /* Mặc định cao hơn các thẻ bên cạnh */
}

    .featured:hover {
        transform: translateY(-25px);
        box-shadow: 0 20px 60px rgba(0, 198, 255, 0.3);
    }

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.4);
}

/* WEDDING THEME (GOLD/ROSE GOLD) */
.price-card.wedding.featured {
    border: 1px solid rgba(255, 183, 3, 0.6);
    background: rgba(255, 183, 3, 0.05);
}

.price-card.wedding:hover {
    box-shadow: 0 20px 60px rgba(255, 183, 3, 0.2);
}

.badge.gold {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    box-shadow: 0 5px 15px rgba(255, 183, 3, 0.4);
}

.btn-price.gold-btn {
    background: linear-gradient(135deg, #ffb703, #fb8500);
    border: none;
}

.price-card.wedding .features li i.bx-check {
    color: #ffb703;
}

.price-card.wedding .card-icon i {
    color: #ffb703;
}

/* PREMIUM THEME (CYAN) */
.price-card.premium .card-icon i {
    color: #00c6ff;
}

.price-card.premium h2 {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* ===== RESPONSIVE ===== */
@media(max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured {
        transform: none;
    }

        .featured:hover {
            transform: translateY(-10px);
        }
}

@media(max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
