.pricing-section {
    background: linear-gradient(135deg, var(--site-main-color-lighter, #f0f8ff), var(--site-main-color-lighter, #d9f1ff));
}

#pricing-plans{
    height: fit-content;
}

.pricing-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px 22px;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid rgba(var(--site-main-color-rgb, 29, 78, 137), 0.18);
    transition: transform 0.4s cubic-bezier(0.34, 1.3, 0.64, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease,
                background 0.4s ease;
}

/* GRADIENT BORDER GLOW — fades in on hover */
.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg,
        var(--site-main-color, #1f3c88) 0%,
        var(--site-main-color-light, #748fd2) 50%,
        var(--site-main-color-dark, #1e0a49) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}
.pricing-card:hover::before { opacity: 1; }

/* SHIMMER SWEEP */
.pricing-card::after {
    content: '';
    position: absolute;
    top: -60%; left: -75%;
    width: 50%; height: 220%;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 70%
    );
    transform: skewX(-15deg) translateX(0);
    transition: transform 0.65s ease;
    pointer-events: none;
    z-index: 4;
}
.pricing-card:hover::after {
    transform: skewX(-15deg) translateX(450%);
}

/* LIFT + GLOW */
.pricing-card:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 28px 60px rgba(var(--site-main-color-rgb, 29, 78, 137), 0.28) !important;
    border-color: transparent;
    background: linear-gradient(160deg, #fff 55%, rgba(var(--site-main-color-rgb, 29, 78, 137), 0.06) 100%);
}

/* ICON WOBBLE */
@keyframes pp-icon-wobble {
    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-14deg); }
    45%  { transform: rotate(10deg); }
    65%  { transform: rotate(-6deg); }
    80%  { transform: rotate(3deg); }
    100% { transform: rotate(0deg); }
}
.pricing-card > i {
    display: inline-block;
    transform-origin: center bottom;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.pricing-card:hover > i {
    animation: pp-icon-wobble 0.6s ease forwards;
    color: var(--site-main-color, #1f3c88);
    text-shadow: 0 0 14px rgba(var(--site-main-color-rgb, 29, 78, 137), 0.45);
}

/* PRICE HIGHLIGHT */
.pricing-card:hover .price {
    color: var(--site-main-color, #1f3c88);
    transition: color 0.3s ease;
}

/* TICK ICONS COLOR SHIFT */
.pricing-card:hover .tick-icon {
    color: var(--site-main-color, #1f3c88);
    transition: color 0.3s ease;
}

.pricing-card h5 {
    font-weight: 700;
    margin-top: 25px;
}

.price {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--site-main-color-dark, #1e0a49);
}

.duration {
    font-size: 14px;
    color: #666;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    flex-grow: 1;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
}

.extra-feature {
    display: none;
}

/* BADGES */
.badge {
    position: absolute;
    top: 15px;
    right: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    color: #fff;
    font-size: 12px;
}
.badge.free { background: var(--site-main-color, #1f3c88); }
.badge.prepaid { background: var(--site-main-color-dark, #1e0a49); }
.badge.postpaid { background: #6c757d; }
.badge.special { background: var(--site-main-color-light, #748fd2); }
.badge.enterprise { background: var(--site-main-color-dark, #1e0a49); }

/* ===== OVERLAY ===== */
.pricing-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    z-index: 999;
    display: none;
}

/* ===== EXPANDED CARD ===== */
.pricing-card.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 30px 70px rgba(0,0,0,.4);
}

.pricing-card.expanded .extra-feature {
    display: list-item;
}

/* Swiper slides equal height */
.pricingSwiper .swiper-wrapper {
    align-items: stretch;
}

.pricingSwiper .swiper-slide {
    height: auto;
    display: flex;
}

/* Button always at bottom */
.pricing-card .text-center {
    margin-top: auto;
}

.pricing-card .btn:hover {
    color:white;
    background-color: var(--site-main-color-dark, #1e0a49);
}

.pricing-card .btn {
    border-color: var(--site-main-color-dark, #1e0a49);
    color: var(--site-main-color-dark, #1e0a49);
}

.plan-features {
    list-style: none;
    padding-left: 0;
}

.plan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tick-icon {
    color: var(--site-main-color-dark, #1e0a49);
    font-size: 18px;
}

.swiper-pagination-top {
    text-align: center;
    padding: 5px;
}

.swiper-pagination {
    position: relative !important;
    text-align: center;
    margin: 0 auto;
}

.swiper-pagination-bullet {
    margin: 0 3px !important;
}
