/* Taurus Pages and Landers */

:root {
    --deep-green: #060B08;
    --green: #182D20;
    --middle-green: #436952;
    --light-green: #81B59D;
    --red: #F1471D;
    --cream: #FFF9EF;
    --tan: #D6C7AD;
    --dirty-cream: #EEEBDC;
    --bronze: #65614D;
}

@font-face {
    font-family: Manuka;
    src: url(../../fonts/Manuka-Bold.woff2);
}

@font-face {
    font-family: Manuka;
    src: url(../../fonts/Manuka-Black.woff2);
    font-weight: bold;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    font-family: "Inter", sans-serif;
    background: var(--cream);
}

body {
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
}

.center {
    max-width: 460px;
    margin: 0 auto;
}

.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

header {
    position: fixed;
    width: 100%;
    z-index: 999;
    background: var(--cream);
    top: 0;

    & .logo {
        width: 128px;
        margin: 0 auto;
        padding: 1rem 0;
    }
}

.blood-test-hero {
    padding-top: 4rem;

    & .hero-image {
        width: 100%;
    }

    & .hero-content {
        padding: 1rem;

        & h1 {
            font-family: 'Manuka', sans-serif;
            text-transform: uppercase;
            font-weight: 400;
            color: var(--deep-green);
            font-size: 3.2rem;
            line-height: 90%;
            margin: 0;
        }

        & h2 {
            font-size: 1rem;
            font-weight: normal;
            margin: 1rem 0 1.5rem 0;
        }

        & .button-holder {
            display: flex;
            gap: 0.5rem;
            padding-bottom: 1rem;

            & .product-images {
                height: 72px;
                margin-top: -4px;
            }

            & a {
                background: var(--red);
                width: 100%;
                border: none;
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 0;
                font-family: Manuka, sans-serif;
                font-weight: 400;
                text-transform: uppercase;
                color: var(--cream);
                font-size: 1.8rem;
                letter-spacing: 1px;
                text-decoration: none;
                position: relative;
                overflow: hidden;
                border-radius: 0.5rem;
                height: 64px;

                & .shine {
                    position: absolute;
                    height: 250%;
                    width: 40px;
                    top: 0;
                    left: -60px;
                    background: linear-gradient(90deg, #ffffff00, #ffffff54, #ffffff00);
                    transform: rotate(45deg) translateY(-35%);
                    animation: shine 3s ease infinite;
                }

                & img {
                    height: 1.8rem;
                    margin-left: 1rem;

                }
            }
        }


    }
}

.mini-quiz {
    padding: 2rem 1rem;
    height: calc(100vh - 4rem);
    background-color: var(--dirty-cream);
    border-top: 1px solid var(--deep-green);
    border-bottom: 1px solid var(--deep-green);

    & .progress-bar {
        background: white;
        width: 100%;
        height: 0.5rem;
        border-radius: 1rem;
        overflow: hidden;
        display: flex;

        & .progress-inner {
            background-color: var(--middle-green);
            min-width: 20%;
            height: 100%;
            transition: width 0.6s ease;
        }
    }

    & .mini-quiz-questions {
        display: flex;
        overflow: hidden;
        align-items: center;
        justify-content: center;
        height: calc(100vh - 8rem);
        position: relative;

        & .question {
            min-width: 100%;
            opacity: 0;
            transform: translateX(100%);
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%) translateX(100%);

            &:first-child {
                opacity: 1;
                transform: translateY(-50%) translateX(0);
                position: absolute;
            }

            &.active {
                opacity: 1;
                transform: translateY(-50%) translateX(0);
                position: absolute;
            }

            &.slide-out-left {
                opacity: 0;
                transform: translateY(-50%) translateX(-100%);
            }

            & h3 {
                font-size: 1.4rem;
                text-align: center;
                font-weight: 300;
                margin: 0 0 2rem 0;
            }

            & p {
                text-align: left;
                margin: 0 0 2rem 0;
                color: var(--bronze);
            }

            & .mini-quiz-answers {
                display: flex;
                flex-direction: column;
                gap: 0.5rem;

                & .answer-button {
                    background: white;
                    border: 1px solid var(--deep-green);
                    border-radius: 0.5rem;
                    min-height: 3.5rem;
                    font-size: 1rem;
                    transition: all 0.2s ease;
                    cursor: pointer;

                    &:hover {
                        background-color: var(--red);
                        color: var(--cream);
                    }
                }

                & .final-button {
                    background: var(--red);
                    color: var(--cream);
                    border: 1px solid var(--red);
                    border-radius: 0.5rem;
                    min-height: 3.5rem;
                    font-size: 1rem;
                    font-weight: bold;
                    transition: all 0.2s ease;
                    cursor: pointer;
                    font-size: 1.1rem;
                    align-items: center;
                    justify-content: center;
                    gap: 1rem;
                    justify-content: center;
                    align-items: center;
                    display: flex;

                    &:hover {
                        background-color: var(--deep-green);
                        border-color: var(--deep-green);
                    }
                }

                & a {
                    text-align: center;
                    color: var(--deep-green);
                    margin: 0.5rem;
                }
            }

            & span.final-banner {
                display: inline-flex;
                gap: 0.5rem;
                background-color: var(--deep-green);
                border-radius: 2rem;
                padding: 0.2rem 0.8rem 0.2rem 0.2rem;
                color: var(--cream);
                text-transform: uppercase;
                font-size: 0.8rem;
                font-weight: bold;
                align-items: center;

                & .final-icon {
                    background-color: var(--cream);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 1.5rem;
                    width: 1.5rem;
                    border-radius: 1rem;
                    padding: 0.2rem;
                }
            }

            & h3.final-text {
                font-family: 'Manuka', sans-serif;
                font-size: 3rem;
                text-transform: uppercase;
                text-align: left;
                line-height: 90%;
                margin: 1rem 0;
            }

            & small {
                display: inline-block;
                margin-bottom: 2rem;
            }
        }
    }
}

.testosterone-stats {
    background: var(--deep-green);
    color: var(--cream);
    padding: 3rem 1rem;

    & h4 {
        margin: 0 0 1rem 0;
        text-transform: uppercase;
        font-family: 'Manuka', sans-serif;
        font-weight: 400;
        font-size: 3.2rem;
    }

    & .stats-row {
        padding: 1rem 0;
        border-top: 1px solid var(--bronze);

        & .stat-number {
            display: inline-block;
            background: var(--red);
            font-family: 'Manuka', sans-serif;
            text-transform: uppercase;
            font-weight: 400;
            font-size: 2.2rem;
            padding: 0.2rem 0.5rem;
        }

        & .stat-content {
            font-weight: 300;
            margin-top: 0.5rem;
        }

        & small {
            display: inline-block;
            font-size: 0.6rem;
            margin-top: 0.5rem;
        }
    }
}

.testosterone-benefits {
    padding: 2rem 1rem;

    & h5 {
        font-family: 'Manuka', sans-serif;
        font-size: 2.4rem;
        text-transform: uppercase;
        font-weight: 400;
        margin: 3rem 0 1rem 0;
        line-height: 90%;
    }

    & p {
        line-height: 140%;
    }

}

.included {
    background-color: var(--dirty-cream);
    padding: 6rem 1rem 3rem 1rem;

    & h5 {
        font-family: 'Manuka', sans-serif;
        font-size: 3.2rem;
        text-align: center;
        text-transform: uppercase;
        font-weight: 400;
        margin: 0 0 1rem 0;
    }

    & .trustpilot {
        display: flex;
        padding: 1.5rem 0;
        align-items: center;
        justify-content: center;
    }

    & .included-products {
        background-color: white;
        padding: 1rem;
        display: flex;
        margin-bottom: 0.25rem;
        align-items: flex-start;
        gap: 1rem;
        position: relative;
        padding-right: 5rem;

        & img {
            width: 3rem;
        }

        & h6 {
            font-weight: 500;
            font-size: 1.125rem;
            margin: 0;
        }

        & ul {
            margin: 0;
            padding: 0.5rem 0 0 1rem;
            color: var(--bronze);
            font-size: 0.9rem;
        }

        & .product-price {
            position: absolute;
            right: 1rem;

            & s {
                color: var(--red);
                font-size: 0.9rem;
            }
        }
    }

    & .checkout-price {
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--deep-green);

        & .checkout-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;

            & .discount-banner {
                background-color: var(--red);
                color: var(--cream);
                text-transform: uppercase;
                font-weight: 500;
                font-size: 0.9rem;
                padding: 0.2rem 0.5rem;
            }
        }
    }

    & .checkout-button {
        padding: 1rem 0;

        & a {
            text-decoration: none;
            color: var(--cream);
            background-color: var(--red);
            display: flex;
            justify-content: space-between;
            padding: 1rem;
            align-items: center;
            border-radius: 0.5rem;

            & .button-main-text {
                font-family: 'Manuka', sans-serif;
                text-transform: uppercase;
                font-weight: 300;
                font-size: 2.2rem;
                letter-spacing: 1px;
            }

            & .button-price-text {
                display: flex;
                gap: 0.5rem;
                align-items: center;

                & .button-discount {
                    background: rgba(255, 255, 255, 0.2);
                    padding: 0.2rem 0.4rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-family: 'Manuka', sans-serif;
                    text-transform: uppercase;
                    font-weight: 300;
                    font-size: 1.2rem;
                    letter-spacing: 1px;
                }

                & s {
                    font-size: 1rem;
                }

                & b {
                    font-size: 1.2rem;
                }
            }

        }

        & .checkout-bullets {
            display: flex;
            justify-content: center;
            padding: 2rem 0 1.5rem 0;

            & .bullet {
                display: flex;
                gap: 0.5rem;
                align-items: center;
                justify-content: center;
                width: 100%;
                font-size: 0.8rem;
                font-weight: bold;
                color: var(--bronze);

                &:first-child {
                    border-right: 1px solid var(--bronze);
                }
            }
        }

        & .cc-icons {
            display: flex;
            justify-content: center;
        }
    }
}

.testimonials {
    padding: 3rem 1rem;

    & h4 {
        font-family: 'Manuka', sans-serif;
        font-size: 3rem;
        text-transform: uppercase;
        font-weight: 400;
        text-align: center;
        margin: 0;
    }

    & .subhead {
        text-align: center;
        font-size: 1.2rem;
        color: var(--bronze);
    }

    & .testimonial-row {
        border: 1px solid var(--deep-green);
        background: white;
        padding: 1rem;
        margin-bottom: 1rem;

        & .testimonial-quote {
            font-weight: 300;
            font-size: 1.4rem;
            margin-top: 1rem;
        }

        & p {
            font-size: 0.9rem;
            line-height: 140%;
        }

        & .author {
            display: flex;
            justify-content: space-between;
            margin-top: 2rem;
        }
    }
}

.pre-quiz-footer {
    bottom: 1rem;
    text-align: center;
    left: 2rem;
    right: 2rem;
    z-index: 400;
    padding-bottom: 12rem;

    & b {
        font-size: 0.7rem;
        font-weight: 400;
        padding-bottom: 0.2rem;
        display: inline-block;
        color: gray;
    }

    & .link-row {
        display: flex;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
        padding-bottom: 0.2rem;

        & a {
            color: gray;
            text-decoration: none;
            font-size: 0.6rem;
        }
    }

    & small {
        font-size: 0.6rem;
        display: inline-block;
        line-height: 120%;
        color: gray;
        font-weight: 300;
    }
}

.faq {
    padding: 3rem 1rem;

    & h6 {
        font-family: 'Manuka', sans-serif;
        font-size: 3rem;
        text-transform: uppercase;
        font-weight: 400;
        text-align: center;
        margin: 0;
    }

    & .subhead {
        text-align: center;
        font-size: 1.2rem;
        color: var(--bronze);
        margin-bottom: 2rem;
    }

    & .faq-row {
        border-top: 1px solid var(--tan);

        & .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
            font-size: 1.2rem;
            cursor: pointer;
            transition: color 0.2s ease;
            gap: 1rem;
            overflow: hidden;

            &:hover {
                color: var(--red);
            }

            & .icon-arrow {
                transition: transform 0.3s ease;
                font-size: 1.5rem;
                color: var(--red);
            }
        }

        & .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease, padding 0.3s ease;
            padding: 0;
            line-height: 1.4;
        }

        &.open {
            & .faq-question .icon-arrow {
                transform: rotate(180deg);
            }

            & .faq-answer {
                max-height: 200px;
                padding-bottom: 1rem;
            }
        }
    }
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-green);
    padding: 1rem;
    border-top: 4px solid var(--red);
    color: var(--cream);
    display: none;
    flex-direction: column;
    z-index: 998;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;

    &.show {
        display: flex;
        transform: translateY(0);
    }

    & .sticky-price {
        font-size: 1.1rem;
        font-weight: bold;
        margin-bottom: 0.5rem;

        & span {
            font-size: 1rem;
            font-weight: 400;
        }

        & s {
            color: var(--red);
            margin-right: 0.5rem;
            font-size: 1rem;
            font-weight: 400;
        }
    }

    & .extra {
        font-size: 0.8rem;
        color: var(--tan);
        margin-bottom: 0.25rem;
    }

    & a {
        background: var(--red);
        color: var(--cream);
        text-decoration: none;
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 0.5rem;
        font-family: 'Manuka', sans-serif;
        text-transform: uppercase;
        font-weight: 400;
        font-size: 1.8rem;
        margin-top: 0.5rem;
        transition: background-color 0.2s ease;
        letter-spacing: 1px;

        &:hover {
            background-color: var(--light-green);
        }
    }
}

@keyframes shine {
    0% {
        left: -150px;
    }

    40% {
        left: 400px;
    }

    100% {
        left: 400px;
    }
}
