/* Pricing Page Styles - Modernized V2 */

.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-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pricing-short-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    margin-bottom: 0;
    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-original {
    margin-bottom: 2px;
    opacity: 0.75;
}

.original-amount {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    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 (formerly popular badge area) */
.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;
}

/* Popular Badge - Removed as per request */
.popular-badge {
    display: none;
}

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

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

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

/* Pricing Expiry Note */
.pricing-expiry-note {
    display: flex;
    align-items: center;
    padding: 12px 0;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--dark);
    margin: 0 0 30px 0;
}

.pricing-expiry-note i {
    color: #999999;
}

.pricing-expiry-note span {
    line-height: 1.6;
}

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

.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;
}

/* Brand Button Color Overrides */
.btn-success.btn-login-style {
    background: #28a745;
    box-shadow: 0px 4px 12px rgba(40, 167, 69, 0.25);
}

.btn-success.btn-login-style:hover {
    background: #218838;
}

.btn-purple.btn-login-style {
    background: #a359ff;
    box-shadow: 0px 4px 12px rgba(163, 89, 255, 0.25);
}

.btn-purple.btn-login-style:hover {
    background: #8e36ff;
}

.btn-secondary.btn-login-style {
    background: #F14D5D;
    box-shadow: 0px 4px 12px rgba(241, 77, 93, 0.25);
}

.btn-secondary.btn-login-style:hover {
    background: #d43d4c;
}

.btn-primary.btn-login-style {
    background: #2878eb;
    box-shadow: 0px 4px 12px rgba(40, 120, 235, 0.25);
}

.btn-primary.btn-login-style:hover {
    background: #1e5bb8;
}

/* Shine Animation Elements for login-style buttons */
.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%;
    }
}

/* Feature icon styling */
.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: var(--secondary);
}

.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;
}

/* FAQ Styles */
.accordion .card {
    border: 1px solid #f0f4f8;
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: none !important;
    /* Override */
}

.accordion .card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
}

.accordion .card-header {
    background: white;
    border: none;
    padding: 0;
}

.accordion .btn-link {
    width: 100%;
    text-align: left;
    padding: 24px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion .btn-link:after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.accordion .btn-link:not(.collapsed) {
    color: var(--primary) !important;
    background: #f8fbff !important;
}

.accordion .btn-link:not(.collapsed):after {
    content: "\f106";
}

.accordion .btn-link:focus {
    text-decoration: none;
    box-shadow: none;
}

.accordion .card-body {
    padding: 0 24px 24px;
    color: #6B6A75;
    line-height: 1.7;
    background: #f8fbff;
}

/* CTA Section Modernization */
.cta-section {
    background: linear-gradient(135deg, #120f2d 0%, #2878eb 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(18, 15, 45, 0.15);
}

.cta-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.cta-section::after {
    content: "";
    position: absolute;
    bottom: -20%;
    right: -5%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.rounded-24 {
    border-radius: 24px;
}

.cta-buttons {
    margin-top: 30px;
}

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

@media (max-width: 1200px) {
    .pricing-header-gradient {
        padding: 35px 25px;
    }

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

@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) {
    .page-header {
        margin-bottom: 25px !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .page-header .display-1 {
        font-size: 2.5rem !important;
    }

    .container-fluid.py-5:first-of-type {
        padding-top: 0 !important;
    }

    .section-title.mb-5 {
        margin-bottom: 15px !important;
    }

    .section-title h1.display-4 {
        font-size: 1.75rem !important;
    }

    .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;
    }
}

@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;
    }
}

/* ========================================
   SUBSCRIPTION NOTICE & AVAILABILITY BADGE
   ======================================== */

/* Subscription Notice */
.subscription-notice {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
    border: 2px solid #2878EB;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(40, 120, 235, 0.15);
    margin-bottom: 0;
}

.subscription-notice h5 {
    color: #2878EB;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
}

.subscription-notice p {
    font-size: 1rem;
    color: #120F2D;
    line-height: 1.6;
}

.subscription-notice .fa-calendar-check {
    flex-shrink: 0;
}

/* Availability Badge on Pricing Cards */
.pricing-card .availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Jost', sans-serif;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pricing-card .availability-badge i {
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .subscription-notice {
        padding: 15px;
    }

    .subscription-notice h5 {
        font-size: 1.1rem;
    }

    .subscription-notice p {
        font-size: 0.9rem;
    }

    .subscription-notice .fa-calendar-check {
        font-size: 1.5rem;
    }

    .pricing-expiry-note {
        font-size: 0.85rem;
        padding: 10px 0;
    }

    .pricing-expiry-note i {
        font-size: 0.9rem;
    }
}

/* CTA Section Custom Background */
.cta-section-blue {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    box-shadow: 0 10px 30px rgba(18, 15, 45, 0.15);
}