/* Scoped premium styles for the Arcavio Pricing Page */
.pricing-premium-section {
    background-color: #05070e !important;
    position: relative;
    z-index: 1;
    padding: 120px 0 80px 0;
    overflow: hidden;
}

/* Ambient background light spots */
.pricing-premium-section::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -10%;
    width: 45%;
    height: 55%;
    background: radial-gradient(circle, rgba(68, 97, 223, 0.14) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(100px);
    animation: floatGlowOne 16s infinite alternate;
}

.pricing-premium-section::after {
    content: "";
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40%;
    height: 50%;
    background: radial-gradient(circle, rgba(69, 224, 255, 0.1) 0%, transparent 75%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    animation: floatGlowTwo 12s infinite alternate;
}

@keyframes floatGlowOne {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-30px, 30px); }
}

@keyframes floatGlowTwo {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.15) translate(40px, -20px); }
}

/* Eyebrow badge */
.premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #45e0ff;
    margin-bottom: 20px;
    backdrop-filter: blur(6px);
}

.premium-eyebrow i {
    font-size: 8px;
}

/* Premium Sliding Toggle Switch */
.premium-toggle-container {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(13, 20, 38, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 12px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.toggle-label {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
    cursor: pointer;
    user-select: none;
}

.toggle-label.active {
    color: #45e0ff;
    text-shadow: 0 0 10px rgba(69, 224, 255, 0.3);
}

.switch-control {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch-control input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.switch-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.switch-control input:checked + .switch-slider {
    background: #4461DF;
    border-color: rgba(255, 255, 255, 0.15);
}

.switch-control input:checked + .switch-slider::before {
    transform: translateX(24px);
    background: #45e0ff;
    box-shadow: 0 0 10px rgba(69, 224, 255, 0.5);
}

/* Pricing Grid & Card Overhauls */
.premium-pricing-card {
    position: relative;
    background: rgba(13, 20, 38, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.premium-pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 224, 255, 0.2);
    box-shadow: 0 20px 40px rgba(69, 224, 255, 0.05);
}

/* Featured / Popular variant styling */
.premium-pricing-card.is-featured {
    border-color: rgba(68, 97, 223, 0.4);
    background: linear-gradient(180deg, rgba(13, 20, 38, 0.6) 0%, rgba(8, 12, 24, 0.6) 100%);
    box-shadow: 0 15px 35px rgba(68, 97, 223, 0.15);
}

.premium-pricing-card.is-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(68, 97, 223, 0.5) 0%, rgba(69, 224, 255, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.popular-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #4461DF 0%, #304cc4 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(68, 97, 223, 0.3);
}

/* Plan details */
.plan-header h3 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.plan-description {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 25px 0;
    height: 42px;
    overflow: hidden;
}

/* Pricing numeric values */
.plan-price-wrap {
    display: flex;
    align-items: baseline;
    margin-bottom: 30px;
}

.price-currency {
    font-family: 'Outfit', sans-serif !important;
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-right: 4px;
}

.plan-price {
    font-family: 'Outfit', sans-serif !important;
    font-size: 52px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-period {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 8px;
    transition: color 0.3s ease;
}

/* Features list */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.plan-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

.plan-features-list li i {
    color: #45e0ff;
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Interactive plan CTA buttons */
.plan-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    border-radius: 14px;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.plan-cta-btn.standard {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.plan-cta-btn.standard:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.plan-cta-btn.featured {
    background: linear-gradient(135deg, #4461DF 0%, #304cc4 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(68, 97, 223, 0.25);
}

.plan-cta-btn.featured:hover {
    background: linear-gradient(135deg, #5370f1 0%, #3e5be0 100%);
    box-shadow: 0 15px 30px rgba(68, 97, 223, 0.4);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Bottom Custom Plan Banner styling */
.custom-plan-banner {
    background: rgba(13, 20, 38, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
}

.custom-plan-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(68, 97, 223, 0.04) 0%, transparent 100%);
    pointer-events: none;
}

.custom-plan-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.custom-plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(69, 224, 255, 0.08);
    border: 1px solid rgba(69, 224, 255, 0.15);
    color: #45e0ff;
    font-size: 24px;
    flex-shrink: 0;
}

.custom-plan-info h4 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.custom-plan-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    line-height: 1.5;
}

.custom-plan-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.custom-plan-features li i {
    color: #45e0ff;
    font-size: 11px;
}

.custom-plan-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4461DF;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.custom-plan-btn:hover {
    background: #5370f1;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(68, 97, 223, 0.3);
    color: #ffffff;
}

.custom-plan-btn i {
    transition: transform 0.3s ease;
}

.custom-plan-btn:hover i {
    transform: translateX(4px);
}

/* Responsiveness styles */
@media (max-width: 991px) {
    .custom-plan-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .custom-plan-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .pricing-premium-section {
        padding: 100px 0 60px 0;
    }

    .custom-plan-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .custom-plan-features {
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding-top: 16px;
    }
}
