/* Pricing Packages Component - Modernized V2 */

.pricing-packages-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ecf4ff 100%);
    min-height: 80vh;
}

/* Pricing Card Container */
.pricing-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(18, 15, 45, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(18, 15, 45, 0.05);
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(18, 15, 45, 0.08);
}

.pricing-card.featured {
    box-shadow: 0 15px 35px rgba(163, 89, 255, 0.1);
}

/* Header Gradient Section */
.pricing-header-gradient {
    padding: 30px;
    text-align: left;
    color: white;
    position: relative;
}

.pricing-header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.pricing-icons-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-header-gradient h3 {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
    color: white;
}

.pricing-short-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 500;
    font-style: italic;
}

/* Icons styling */
.pricing-icons-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.pkg-icon-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.pkg-icon-img.multi-icon {
    width: 40px;
    height: 40px;
}

.pricing-card:hover .pkg-icon-img {
    transform: scale(1.1) rotate(5deg);
}

/* Gradient Variants - Softer */
.bg-gradient-success {
    background: linear-gradient(135deg, #43c260 0%, #76df8d 100%);
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #4fa1ff 0%, #8ec5ff 100%);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #a359ff 0%, #c494ff 100%);
}

/* Price Section Modern */
.pricing-price-modern {
    margin-top: 0;
}

.price-amount {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.price-amount .currency {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 4px;
    margin-right: 2px;
}

.price-amount .value {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    font-family: 'Jost', sans-serif;
}

.price-period {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Savings Badge - Top Right */
.savings-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffc107;
    color: #120f2d;
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: badge-pulse 2s infinite ease-in-out;
    transform-origin: center center;
}

@keyframes badge-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 8px 20px rgba(255, 193, 7, 0.4);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Content Section */
.pricing-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Features List */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 0.95rem;
    color: #120f2d;
    border-bottom: 1px solid rgba(18, 15, 45, 0.03) !important;
}

.pricing-features li:last-child {
    border-bottom: none !important;
}

.pricing-features li i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pricing-features li i.fa-check {
    background: #e6f7ed;
    color: #28a745;
}

.pricing-features li i.fa-times {
    background: #fff1f2;
    color: #f14d5d;
}

.pricing-card:hover .pricing-features li i.fa-check {
    transform: scale(1.1);
}

.pricing-features li span {
    line-height: 1.4;
}

.feature-excluded {
    opacity: 0.5;
}

/* Action Button - Login Style */
.pricing-footer {
    text-align: center;
    margin-top: auto;
}

.btn-login-style {
    position: relative;
    overflow: hidden;
    color: white !important;
    border: 3px solid #ffffff4d;
    border-radius: 9999px;
    padding: 12px 30px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
    font-size: 1.05rem;
}

.btn-login-style:hover {
    transform: scale(1.03);
    border-color: #fff9;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* Shine Animation */
.btn-login-style::before {
    content: "";
    position: absolute;
    width: 60px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0) 70%);
    top: 0;
    left: -100px;
    opacity: 0.6;
    pointer-events: none;
}

.btn-login-style:hover::before {
    animation: shine-pricing 1.5s ease-out infinite;
}

@keyframes shine-pricing {
    0% {
        left: -100px;
    }

    60% {
        left: 100%;
    }

    to {
        left: 100%;
    }
}

/* Payment Info Alert */
.pricing-packages-section .alert {
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    border-radius: 15px;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

@media (max-width: 992px) {
    .pricing-card.featured {
        transform: none;
    }

    .pricing-header-gradient {
        padding: 25px 20px;
    }

    .pricing-header-gradient h3 {
        font-size: 1.25rem;
    }

    .pkg-icon-img {
        width: 38px;
        height: 38px;
    }

    .pkg-icon-img.multi-icon {
        width: 34px;
        height: 34px;
    }

    .price-amount .value {
        font-size: 2.25rem;
    }

    .pricing-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .pricing-header-gradient {
        padding: 20px 15px;
    }

    .pricing-header-main-row {
        flex-direction: row;
        /* Keep it side by side unless very small */
    }

    .pricing-icons-title-group {
        gap: 10px;
    }

    .pricing-header-gradient h3 {
        font-size: 1.15rem;
    }

    .pkg-icon-img {
        width: 32px;
        height: 32px;
    }

    .pkg-icon-img.multi-icon {
        width: 28px;
        height: 28px;
    }

    .price-amount .value {
        font-size: 2rem;
    }

    .pricing-content {
        padding: 20px;
    }

    .pricing-features li {
        padding: 8px 0;
        font-size: 0.85rem;
    }

    .btn-login-style {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* ── Offer: active offer badge variant ───────────────────────── */
.savings-badge.offer-active-badge {
    background: linear-gradient(135deg, #e8390e 0%, #f76b1c 100%);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 14px rgba(232, 57, 14, 0.5);
    animation: badge-offer-pulse 2s infinite ease-in-out;
}

@keyframes badge-offer-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 14px rgba(232, 57, 14, 0.3);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 22px rgba(232, 57, 14, 0.55);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 14px rgba(232, 57, 14, 0.3);
    }
}

/* ── Offer: original strikethrough price ─────────────────────── */
.price-original {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 2px;
}

.price-original .original-amount {
    font-family: 'Jost', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: line-through;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .pricing-header-main-row {
        margin-bottom: 15px;
    }

    .price-amount .value {
        font-size: 1.75rem;
    }

    .price-amount .currency {
        font-size: 0.9rem;
    }

    .pricing-header-gradient h3 {
        font-size: 1.05rem;
    }

    .pkg-icon-img {
        width: 28px;
        height: 28px;
    }
}