.pricing-section {
    position: relative;
    overflow: hidden;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pricing-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 1;
}

.pricing-section .container {
    position: relative;
    z-index: 2;
}

.pricing-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.pricing-toggle-text {
    font-size: 16px;
    font-weight: 500;
    margin: 0 15px;
}

.pricing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.pricing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pricing-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 34px;
    transition: .4s;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pricing-toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(145deg, #4f9cf9, #3b82f6);
    border-radius: 50%;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pricing-toggle input:checked+.pricing-toggle-slider {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.pricing-toggle input:checked+.pricing-toggle-slider:before {
    transform: translateX(30px);
    background: linear-gradient(145deg, #6366f1, #4f46e5);
}

.discount {
    display: inline-block;
    font-size: 12px;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 5px;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(59, 130, 246, 0.3);
}

.pricing-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    backdrop-filter: blur(5px);
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.05), transparent);
    z-index: -1;
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.08), transparent 80%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 20px rgba(59, 130, 246, 0.15);
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card--featured {
    border: 1px solid rgba(99, 102, 241, 0.3);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(99, 102, 241, 0.15);
    background: rgba(30, 41, 59, 0.5);
}

.pricing-card--featured:hover {
    transform: translateY(-18px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(99, 102, 241, 0.2);
}

.pricing-card__header {
    padding: 35px 25px 25px;
    text-align: center;
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    position: relative;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
}

.pricing-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(to right, #3b82f6, #6366f1);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.3);
    z-index: 1;
}

.pricing-card--featured .pricing-card__badge {
    background: linear-gradient(to right, #f59e0b, #ef4444);
}

.pricing-card__title {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricing-card__price {
    margin: 25px 0;
}

.price {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-card--featured .price {
    background: linear-gradient(to bottom, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.currency {
    font-size: 24px;
    vertical-align: super;
    margin-right: 5px;
    opacity: 0.9;
}

.period {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.7);
}

.pricing-card__description {
    color: rgba(229, 231, 235, 0.8);
    font-size: 15px;
    margin: 0;
}

.pricing-card__body {
    padding: 30px 25px;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-card__features li {
    padding: 6px 7px;
    display: flex;
    align-items: center;
    color: rgba(229, 231, 235, 0.9);
    border-radius: 8px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.pricing-card__features li:hover {
    background: rgba(59, 130, 246, 0.08);
}

.pricing-card__features li i {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 12px;
    flex-shrink: 0;
}

.pricing-card__features li span {
    font-weight: 500;
}

.pricing-card__features .available i {
    color: #fff;
    background: linear-gradient(145deg, #10b981, #059669);
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

.pricing-card__features .unavailable {
    color: rgba(229, 231, 235, 0.5);
}

.pricing-card__features .unavailable i {
    color: #fff;
    background: linear-gradient(145deg, #ef4444, #dc2626);
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.3);
}

.pricing-card__footer {
    padding: 0 25px 35px;
    text-align: center;
}

.pricing-card__button {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    padding: 14px 30px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    text-decoration: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pricing-card__button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to top, rgba(59, 130, 246, 0.2), transparent);
    transition: all 0.4s ease;
    z-index: -1;
}

.pricing-card__button:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.pricing-card__button:hover::after {
    height: 100%;
}

.pricing-card__button--featured {
    background: linear-gradient(to right, #3b82f6, #6366f1);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.pricing-card__button--featured::after {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.08), transparent);
}

.pricing-card__button--featured:hover {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.pricing-card__button--featured:hover::after {
    height: 100%;
}

.pricing-contact-link {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
    padding: 5px 15px;
    border-radius: 30px;
}

.pricing-contact-link i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.pricing-contact-link:hover {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.08);
}

.pricing-contact-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .pricing-card {
        margin-bottom: 30px;
    }

    .pricing-card--featured {
        transform: translateY(0) scale(1.02);
    }

    .pricing-card--featured:hover {
        transform: translateY(-10px) scale(1.03);
    }
}

@media (max-width: 767px) {
    .pricing-card__header {
        padding: 30px 20px 20px;
    }

    .pricing-card__body {
        padding: 25px 20px;
    }

    .pricing-card__footer {
        padding: 0 20px 30px;
    }

    .price {
        font-size: 44px;
    }

    .currency {
        font-size: 22px;
    }

    .pricing-card__features li {
        padding: 10px 12px;
    }
}