/* Pricing Page Styles */

.njStatic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Pricing Tiers Styling */
.pricingTiersContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    gap: 40px;
    background: transparent;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.pricingToggleContainer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
	z-index: 10;
}

.pricingToggle {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 4px;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.toggleOption {
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    color: var(--color-grey-7);
}

.toggleOption.active {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.pricingCardsContainer {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

.pricingCardsContainer.hide {
	display: none;
}

.Hidden {
	display: none;
}

/* Card Success Message */
.cardSuccessMessage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    text-align: center;
    height: 100%;
    animation: successPulse 0.5s ease;
}

.cardSuccessMessage .successIcon {
    font-size: 48px;
    color: var(--color-success);
    font-weight: bold;
    animation: checkmark 0.6s ease;
}

.cardSuccessMessage .successText {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 500;
}

/* Enhanced card active state */
.pricingCard.emailFormActive {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid #7986CB;
    box-shadow: 0 16px 48px rgba(121, 134, 203, 0.4);
    animation: cardFormActivate 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes cardFormActivate {
    0% {
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    100% {
        box-shadow: 0 16px 48px rgba(121, 134, 203, 0.4);
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid #7986CB;
    }
}

@keyframes successPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.pricingCard {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    flex: 1;
    max-width: 300px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
	z-index: 5;
}

.pricingCard .Input {
    margin-bottom: 8px;
	border-radius: 22px;
}

.pricingCard:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    background: rgba(255, 255, 255, 0.15);
}

.pricingCard.currentPlan {
    border: 2px solid #7986CB;
    background: rgba(121, 134, 203, 0.2);
    box-shadow: 0 8px 32px rgba(121, 134, 203, 0.3);
}

.proTitle {
    background: linear-gradient(45deg, var(--color-pro-pink), var(--color-pro-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.cardPrePricing {
    color: var(--color-white);
    font-size: 14px;
	font-weight: bold;
    margin-bottom: 8px;
}

.priceRow {
    display: flex;
    align-items: center;
    /* margin-bottom: 4px; */
}

/* Shared Card Styles */
.cardTitle {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
}

.cardDescription {
    color: var(--color-grey-2);
    font-size: 14px;
    margin-bottom: 16px;
}

.cardPrice {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-white);
}

.savingsBadge {
    background: var(--color-white);
    color: var(--color-grey-10);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.cardBilling {
    color: var(--color-grey-2);
    font-size: 14px;
    margin-bottom: 24px;
}

.cardFeatures {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    flex: 1;
}

.featureItem {
	padding-top: 0px;
    color: var(--color-grey-2);
    font-size: 14px;
}

.cardAction {
    color: var(--color-grey-2);
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
    padding: 8px;
}

.currentPlanBadge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
.PriceButton
{
    color: var(--color-white);
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.SignUpButton {
    background: linear-gradient(45deg, var(--color-light-ci) 0%, var(--color-white) 100%);
}

.EssentialButton {
    background: linear-gradient(45deg, var(--color-light-ci) -30%, var(--color-white) 70%);
}

.EssentialButton .ButtonText,
.SignUpButton .ButtonText {
    color: var(--color-grey-10);
}

.PROButton {
	background: linear-gradient(45deg, var(--color-pro-pink) -30%, var(--color-pro-blue) 70%);
}

.ButtonText {
    color: var(--color-white);
    width: 100%;
    font-weight: 500;
    font-size: 14px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ButtonText a {
	text-decoration: none;
}

/* Pricing container and title styling */
.pricingContainer {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.pricingContainer h2 {
    color: var(--color-white);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
}

.pricingContainer p {
    color: var(--color-grey-8);
    font-size: 16px;
}

.pricingTitle {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.pricingTitle h1 {
    color: var(--color-white);
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}


/* Plan Selection Overlay Styles */
.pricingFullOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    z-index: 500;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    cursor: pointer;
}

.pricingOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(1px);
    backdrop-filter: blur(1px);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    pointer-events: none;
}

.pricingCard.dimmed {
    opacity: 0.3;
    transition: opacity 0.2s ease;
    filter: blur(1px);
    will-change: opacity, filter;
}

.pricingCard.selected {
    z-index: 600;
    position: relative;
    transition: box-shadow 0.2s ease, z-index 0.2s ease;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    will-change: box-shadow, z-index;
    transform: translate3d(0, 0, 0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Plan Popup Styles */
.planPopup {
    position: fixed;
    z-index: 1000;
    animation: popupSlideIn 0.3s ease forwards;
}

.planPopup.below {
    transform-origin: top center;
}

.planPopup.above {
    transform-origin: bottom center;
}

.planPopupContent {
    background: var(--color-grey-9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    padding: 24px;
    min-width: 300px;
    max-width: 400px;
}

.planPopupHeader h3 {
    color: var(--color-white);
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 16px 0;
    text-align: center;
}

.planPopupHeader h3.proTitle {
    background: linear-gradient(45deg, var(--color-pro-pink), var(--color-pro-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
    margin: 0 auto 16px auto;
}

.planPopupBody {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.emailInputContainer {
    position: relative;
}

.planPopup #popupEmailInput {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(19, 21, 36, 0.2);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-primary-ci);
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.planPopup #popupEmailInput:focus {
    outline: none;
    border-color: var(--color-light-ci);
    box-shadow: 0 0 8px rgba(3, 143, 229, 0.3);
}

.planPopup #popupEmailInput::placeholder {
    color: rgba(19, 21, 36, 0.6);
}

.planPopupButton {
    width: 100%;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.planPopupButton.SignUpButton {
    background: linear-gradient(135deg, var(--color-light-ci) -30%, var(--color-white) 70%);
    color: var(--color-grey-10);
}

.planPopupButton.EssentialButton {
    background: linear-gradient(135deg, var(--color-light-ci) -30%, var(--color-white) 70%);
    color: var(--color-grey-10);
}

.planPopupButton:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.planPopupButton:active {
    transform: translateY(0);
}

.planPopupFooter {
    text-align: center;
    margin-top: 8px;
}

.planPopupFooter small {
    
	color: var(--color-grey-2);
    font-size: 12px;
}

.planPopupFooter a {
    color: var(--color-light-ci);
    text-decoration: underline;
}

/* Popup Success Message */
.popupSuccessMessage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
    animation: successPulse 0.5s ease;
}

.popupSuccessMessage .successIcon {
    font-size: 48px;
    color: var(--color-success);
    font-weight: bold;
    animation: checkmark 0.6s ease;
}

.popupSuccessMessage .successText {
    color: var(--color-primary-ci);
    font-size: 16px;
    font-weight: 500;
}

/* Animations */
@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes successPulse {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes checkmark {
    0% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Enhanced button hover effects */
.PriceButton:hover {
    transition: all 0.2s ease;
}

.pricingCard.selected .PriceButton {
    transform: none;
}

/* Pricing page specific container */
.pricing-container {
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
}

/* Mobile responsiveness for pricing */
@media (max-width: 768px) {
    .pricingCardsContainer {
        flex-direction: column-reverse;
        align-items: center;
    }
    
    .pricingCard {
        max-width: 100%;
        width: 100%;
    }
    
    .pricingTiersContainer {
        padding: 20px 10px;
    }
    
    .pricingCard.selected {
        transform: scale(1.01);
    }
    
    .emailInput {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
