html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: white;
    font-family: "TASA Explorer", sans-serif;
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
}

    html.no-smooth {
        scroll-behavior: auto;
    }

body {
    background: #0F0F17;
}

    body.no-scroll {
        overflow: hidden;
    }

a {
    text-decoration: none;
}

/* Navbar */

.nav {
    background: #191C2F;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-shadow: 0 4px 4px 1px rgba(142, 110, 255, 0.15);
    z-index: 10;
    position: sticky;
    top: 0;
}

.nav-title#title-second {
    display: none;
}

@media (max-width: 965px) {
    .nav-title#title-second {
        display: flex;
    }

    .nav-title#title-main {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-title#title-second {
        display: none;
    }
}

.nav-container-logo, .nav-container-links {
    display: flex;
    align-items: center;
    margin: 0 35px 0 35px;
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 12px 24px;
    font-size: 40px;
}

    .hamburger:hover {
        color: #FF6B35;
    }

@media (max-width: 667px) {
    .hamburger {
        display: block;
    }

    .nav-container-links {
        display: none;
    }

        .nav-container-links.show {
            border-top: 1px solid #FF6B35;
            margin-left: 0;
            padding-bottom: 5%;
            display: flex;
            flex-direction: column;
            position: absolute;
            top: 100%;
            width: 100%;
            align-items: start;
            background: #191C2F;
            gap: 0px;
        }

            .nav-container-links.show a {
                display: block;
                width: 100%;
                box-sizing: border-box;
                padding: 15px;
                padding-left: 8%;
            }

                .nav-container-links.show a:hover {
                    background: #FF6B35;
                }
}

.nav-container-logo {
    gap: 15px;
}

.nav-container-links {
    gap: 50px;
}

    .nav-container-links a:hover {
        color: white;
    }

    .nav-container-links a {
        cursor: pointer;
        color: #989898;
    }

.nav-img {
    height: 50px;
    width: 50px;
    cursor: pointer;
}

#features,
#pricing,
#faq {
    scroll-margin-top: 120px;
    margin-bottom: 250px;
}

/* Homepage */

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-text,
    .home-img {
        animation: none;
    }
}

#homepage {
    height: 100%;
    background: linear-gradient(195deg, #26263B 10%, #0F0F17 60%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: .3fr 1fr .5fr;
    overflow-x: hidden;
}

.home-img {
    grid-column: 2;
    grid-row: 2;
    animation: slide-in-right 0.8s ease-out both;
    margin-right: 10%;
}

#homepage img {
    width: min(900px, 100%);
    min-width: 567px;
    border-radius: 20px;
    box-shadow: 0 0 10px 5px rgba(96, 85, 146, 0.5);
}

.home-text {
    grid-row: 2;
    font-size: 40px;
    font-weight: 600;
    width: min(650px, 80%);
    min-width: 500px;
    justify-self: center;
    align-self: center;
    animation: slide-in-left 0.8s ease-out both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    margin-left: 40px;
}

    .home-text > p {
        margin: 0;
    }

@media (max-width: 1600px) {
    .home-text {
        text-align: center;
    }
}

@media (max-width: 1150px) {
    #homepage {
        display: block;
        padding-top: 100px;
    }

        #homepage img {
            margin-top: 100px;
        }

    .home-img {
        margin-left: 10%;
    }

    .home-text {
        margin-left: 0px;
    }
}

@media (max-width: 768px) {

    .home-text p {
        font-size: 20px;
        margin-left: 15%;
        margin-right: 15%;
    }

    .home-text {
        min-width: 0;
        width: 100%;
    }

        .home-text p#home-never {
            font-size: 30px;
        }

    #homepage img {
        min-width: 200px;
    }

    #homepage {
        height: 100%;
    }
}

#home-never {
    text-align: center;
    color: #FF6B35;
}

#home-button {
    background: #FF6B35;
    font-family: inherit;
    font-weight: bold;
    font-size: 18px;
    color: white;
    border: none;
    border-radius: 10px;
    height: 36px;
    width: 130px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Features */

#features-container {
    margin-left: 10%;
    margin-right: 10%;
}

.feature-heading {
    margin-top: 150px;
    margin-bottom: 40px;
    color: #FF6B35;
}

.feature-title {
    font-weight: bold;
}

.feature-body {
    color: #A6A6A6;
}

.feature-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 100px;
}

@media (max-width: 1014px) {
    #features-container {
        margin-left: 10%;
        margin-right: 10%;
    }

    .feature-card-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

.feature-card {
    background: #26263B;
    border-radius: 15px;
    padding: 30px 50px 30px 50px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

    .feature-card:hover {
        box-shadow: 0 0 60px 0 rgba(255, 255, 255, 0.14);
    }

/* Pricing */
#pricing-container,
#pricing-container > h1,
#pricing-card-header,
#pricing-card-body,
#purchase-btn {
    margin: 0 auto;
}

#pricing-container {
    width: 100%;
    font-weight: 600;
}

    #pricing-container > h1 {
        text-align: center;
    }

#pricing-card-header,
#pricing-card-body {
    width: min(300px, 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#pricing-card-header {
    background: #383256;
    height: 50px;
    border-radius: 20px 20px 0 0;
    margin-top: 50px;
    font-size: 18px;
}

#pricing-card-body {
    background: #272727;
    height: 270px;
    border-radius: 0 0 20px 20px;
    padding-bottom: 30px;
    padding-top: 10px
}

#price {
    font-size: 22px;
    text-align: center;
    padding-top: 10px;
}

#pricing-features > p {
    font-size: 16px;
    padding-bottom: 10px;
}

#purchase-btn {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    background: #FF6B35;
    border: none;
    border-radius: 10px;
    color: white;
    height: 32px;
    width: 130px;
    font-family: inherit;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

.javascript {
    color: #FF3B30;
    text-align: center;
}

/* Checkout */

.field-error {
    display: none;
    color: #FF3B30;
    font-size: 13px;
    margin-bottom: 10px;
    text-align: center;
}

    .field-error.show {
        display: block;
    }

#background-blur {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

    #background-blur.show {
        opacity: 1;
        visibility: visible;
    }

#purchase-popup {
    background: #26263B;
    width: min(650px, 80%);
    height: min(685px, 75%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    transform: translateY(-30px);
    transition: transform 0.25s ease-out;
}

#background-blur.show #purchase-popup {
    transform: translateY(0);
}

#checkout-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    #checkout-form > h2 {
        font-weight: 600;
    }

#email-input {
    width: 50%;
    background: #0F0F17;
    border: none;
    font-family: inherit;
    text-align: center;
    height: 35px;
    color: white;
    border-radius: 15px;
}

#checkout-btn {
    font-family: inherit;
    margin-top: 100px;
    background: #FF6B35;
    border: none;
    border-radius: 10px;
    color: white;
    height: 30px;
    width: 130px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
}

#active-sub-btn {
    display: inline-flex;
    font-family: inherit;
    margin-top: 20px;
    background: #FF6B35;
    border: none;
    border-radius: 10px;
    color: white;
    height: 50px;
    width: 100%;
    max-width: 130px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    align-items: center;
    justify-content: center;
}

#checkout-errors {
    height: 60px;
    width: 50%;
    margin-top: 20px;
}

/* Footer */

footer {
    background: #191C2F;
    box-shadow: 0 -4px 4px 1px rgba(142, 110, 255, 0.15);
    text-align: center;
    padding: 30px 7%;
    min-width: 300px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-copy {
    color: #989898;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

    .footer-links a {
        color: #989898;
    }

        .footer-links a:hover {
            color: white;
        }

.footer-divider {
    color: #4A4A5A;
}

/* FAQ Accordion */
#faq-container {
    width: min(1000px, 90%);
    margin: 50px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#faq-container > h1 {
    text-align: center;
}

.faq-item {
    background: #26263B;
    border-radius: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: none;
    border: none;
    color: white;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding: 20px 25px;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-right: 2px solid #8E6EFF;
    border-bottom: 2px solid #8E6EFF;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(225deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 25px 20px;
}