@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Space+Grotesk:wght@300..700&display=swap');
/* 
font-family: "Space Grotesk", serif;
font-family: "Poppins", serif;
*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.main-body {
    position: relative;
}

.payment-main-body {
    background-color: #FAFCFF;
}

body {
    overflow-x: hidden;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.desktop-max-width {
    max-width: 130rem;
    margin: 0 auto;
}

:root {
    /* typefaces */
    --for-heading: "Space Grotesk", serif;
    --for-para: "Poppins", serif;

    /* colors */
    --color-for-heading: #111111;
    --color-for-para: #222222;
    --nomral-white: #ffffff;
    --white-para-color: rgba(255, 255, 255, 0.8);
}

.section-margin-bottom {
    margin-bottom: 12.4rem;
}

.pill {
    padding: 1.2rem 2rem;
    /* border: 2px solid #FF3CAC; */
    background: #FDCC50;
    color: #111111;
    font-family: var(--for-para);
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 99rem;
    text-align: center;
    max-width: fit-content;

    /* Flashy animation additions */
    /* animation: gradientAnimation 3s infinite, glow 1.5s infinite alternate; */
    position: relative;
    overflow: hidden;

    margin-bottom: 2rem;
    box-shadow: 0rem 0rem 2.4rem 1rem #405E91
}


@keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 60, 172, 0.8), 0 0 15px rgba(255, 60, 172, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(43, 134, 197, 0.8), 0 0 25px rgba(43, 134, 197, 0.6);
    }
}

/* navbar: start */

:root {
    --nav-h: 10rem;
}

.header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 999;
    background-color: #2C4A7D;
}

nav {
    display: flex;
    align-items: center;
    height: var(--nav-h);
}

.nav-logo {
    height: 4.8rem;
    width: auto;
    margin: auto;
}

.nav-clickable {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.navigation {
    display: flex;
    column-gap: 3.2rem;
    align-items: center;

    li {
        a {
            font-size: 1.6rem;
            font-family: var(--for-para);
            color: var(--nomral-white);
            display: inline-block;
            line-height: 6rem;
        }
    }

    .desktop-logo {
        margin-right: .8rem;
    }
}

.nav-btns {
    display: flex;
    column-gap: .8rem;
}

._hidden_ {
    display: none;
}

.toggle-btn {
    --toggle-btn-size: 6rem;
    width: var(--toggle-btn-size);
    height: var(--toggle-btn-size);
    border-radius: 50%;
    background-color: transparent;
    border: none;
    cursor: pointer;
}

/* navbar: ends */



/* hero: start */
.hero {
    /* background: url(../assets/hero-bg.webp) no-repeat center center; */
    background-color: #2C4A7D;
    background-size: cover;
    --p-block: 4.8rem;
    padding-block: var(--p-block);
    padding-block-start: calc(var(--p-block) + var(--nav-h));
    /* this is temporary */

    z-index: 1;

    position: relative;

}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-main-heading {
    font-family: var(--for-heading);
    font-weight: 700;
    font-size: 7.2rem;
    line-height: 125%;
    text-align: center;
    color: var(--nomral-white);
    margin-bottom: 3.2rem;
}

.primary-btn {
    font-family: var(--for-para);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 125%;
    color: #ffffff;

    height: 5.6rem;
    padding: 0rem 4.8rem;
    border-radius: 99rem;
    border: none;
    outline: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    background: #0030BF;
    transition: background .3s;
}

.primary-btn:hover {
    background: rgb(0, 45, 180);
}

.arrow-right {
    width: 2.2rem;
    height: auto;
    object-fit: contain;
}

.hollow-btn {
    background: transparent;
    border: 1px solid var(--nomral-white);
}

.hollow-btn:hover {
    background: rgba(0, 48, 191, 0.1);
}

.box {
    position: absolute;
    width: 24rem;
    z-index: 1;
}

.left-box {
    top: -8rem;
    left: 0;
}

.right-box {
    right: -4rem;
    bottom: -6.4rem;
}

/* footer: start */
.footer {
    background: #2C4A7D;
    background-size: 100%;
    padding-top: 10rem;
    border-top-left-radius: 5.6rem;
    border-top-right-radius: 5.6rem;
    position: relative;
    padding-bottom: 7.2rem;
}

.footer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
}

.footer-logo {
    width: 24rem;
    height: auto;
    object-fit: contain;
}

.links,
.links a,
.copyright-text {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 125%;
    color: var(--nomral-white);
    text-align: center;
}

.links:hover {
    text-decoration: underline;
}

/* payment page: start */
.payment-plan-header-image {
    width: 24rem;
    height: auto;
    object-fit: contain;
    border-radius: 1.6rem;
    display: block;
    margin: 2.4rem auto;
}

.general-text {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 300;
    font-size: 1.8rem;
    line-height: 150%;
    color: var(--color-for-para);
}

.payment-plan {
    margin: 7.2rem auto;
}

.main-payment-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2.4rem;
    background-color: var(--nomral-white);
    border-radius: 2.4rem;
    border: 1px solid #E7EBEF;
}

.payment-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem;
}

.payment-general-heading {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 125%;
    color: #4F4F4F;
}

.secure-payment {
    padding: 2.4rem;
    border-radius: 1.6rem;
    background-color: #DEF4F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    img {
        height: 2.4rem;
        width: auto;
        object-fit: contain;
    }
}

.user-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
    margin-block: 4rem;
}

.payment-ruler {
    height: 1.2px;
    background: rgba(102, 102, 102, 0.2);
    width: 100%;
    border-radius: 99rem;
    margin-top: 1.6rem;
    margin-bottom: 2.4rem;
}

#planSelect,.ipSelect, #subscription_addon_select {
    width: 100%;
} 

#planSelect,.ipSelect, #subscription_addon_select {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 125%;
    color: #4F4F4F;
    outline: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    gap: 8px;
    height: 52px;
    border: 1px solid #EFE7EC;
    border-radius: 8px;
    margin-bottom: 2.4rem;
}

.enhancements-heading {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 2rem;
    line-height: 125%;
    color: #4F4F4F;
    margin-bottom: .8rem;
}

.enhancements-para {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: rgba(79, 79, 79, 0.8);
    margin-bottom: 2.4rem;
}

.select-enhancement-box {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.adding-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2.4rem;
}

.tick-item {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: .8rem
}

.tickbox {
    --tickbox-size: 2rem;
    width: var(--tickbox-size);
    height: var(--tickbox-size);
    aspect-ratio: 1;
    position: relative;
    display: inline-block;
}

.tickbox::after {
    content: "✔";
    position: absolute;
    width: 100%;
    height: 100%;
    color: white;
    background-color: #4caf50;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: .2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.added {
    .tickbox {
        appearance: none;
    }

    .tick-item {
        p {
            color: #4caf50;
        }
    }

    .enhancement-price {
        color: #4caf50;
    }
}


.tick-item p {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 150%;
    color: #4F4F4F;
}

.enhancement-price {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 150%;
    color: #4F4F4F;
}

.total-pricing {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 2.4rem;
}

.total-pricing-heading,
.total-price {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 100%;
    color: #4F4F4F;
}


.payment-btn {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 100%;
    outline: none;
    border: none;
    color: #FFFFFF;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 6.4rem;
    width: 100%;
    background: linear-gradient(180deg, rgba(19, 129, 225, 0.75) 0%, rgba(19, 129, 225, 0.8) 35%, #1381E1 100%);
    box-shadow: 0px 18px 29px rgba(23, 16, 21, 0.025), 0px 3.6px 4.7125px rgba(23, 16, 21, 0.05);
    border-radius: 12px;
    margin-bottom: 1.6rem;
    cursor: pointer;
}

.payment-money-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;

    p {
        font-family: var(--for-para);
        font-style: normal;
        font-weight: 400;
        font-size: 1.6rem;
        line-height: 125%;
        color: rgba(79, 79, 79, 0.6);
    }
}

.user-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .8rem;
}

.user-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background-color: #E5F3FF;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.user-toggle.user-active-toggle {
    background-color: #4caf50;
}

.user-toggle .circle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background-color: #0087FF;
    border-radius: 50%;
    transition: left 0.3s ease;
}

.active-user-toggle {
    .circle {
        left: calc(50% + 3px);
    }
}

.existing-user {
    display: none;
}


.existing-user-form {
    .new-user {
        display: none;
    }

    .existing-user {
        display: inline-block;
        width: 100%;
    }
}

.warning {
    font-family: var(--for-para);
    font-style: normal;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 175%;
    width: 100%;
    color: #9E4646;
    padding: 2.4rem;
    border-radius: 2.4rem;
    background-color: #FFEDED;
    margin-bottom: 2.4rem;
}

.user-toggle.user-active-toggle .circle {
    left: 33px;
}

.content {
    font-size: 1.2rem;
    text-align: center;
    color: #333;
}

.payment-plan-input {
    font-size: 1.6rem;
    font-weight: 400;
    font-family: var(--for-para);
    color: #111111;
    padding: 1rem 1rem;
    border: 1px solid #EFE7EC;
    border-radius: .8rem;
    width: 100%;
}

.payment-plan-input:focus {
    border: 1px solid rgba(22, 123, 212, 0.8);
}

.payment-plan-input::placeholder {
    color: rgba(153, 153, 153, 0.592)
}

.input-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    position: relative;
}

.input-label {
    font-size: 1.6rem;
}

.red-text {
    color: red;
}

.payment-footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    margin-block: 4.8rem;
    margin-top: 14rem;
}

.payment-copyright-text {
    color: rgba(51, 51, 51, 0.6);
}

.payment-footer-links li a {
    color: #333333;
}

.required::after {
    content: ' *';
    color: red;
}