:root {
    --mp: 7.5rem;
}

.page-template-features-scan2plan .demo-footer {
    background-color: #0f1010;
    margin-top: var(--mp);
    border-top: solid 1px rgba(255, 255, 255, 0.1);
}

.toptag {
    width: fit-content;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: white;
    background-color: rgba(74, 255, 210, 0.15);
    border-radius: 100vw;
    border: solid 1px var(--highlight);
    padding: 0.35rem 0.85rem;
    letter-spacing: 0.02rem;
    font-weight: 450;
}

.toptag i {
    color: var(--highlight);
}

.minitag {
    letter-spacing: 0.125rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--highlight);
    font-weight: 550;
}

body {
    background-color: var(--dark);
}

.demo-footer-container {
    background-color: var(--grey);
    padding: 0 0 1rem 0;
}

.lg {
    background: rgba(255, 255, 255, 0.035);
}

main h1,
main h2,
main h3 {
    color: white;
    line-height: 1;
}

main h2 {
    font-size: 3.5rem;
    font-size: clamp(2rem, 9vw, 3.5rem);
}

/* HERO */

.features-hero {
    background-color: var(--dark);
    position: relative;
}

.fh-glow {
    background-image: url(../images/features/top-glow.png);
    background-position: top center;
    background-size: 80rem;
    background-repeat: no-repeat;
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.fh-glow:has(button.f-cta-main:hover) {
    background-size: 140rem;
}

.fh-content {
    position: relative;
    z-index: 3;
    padding: 10rem 0 7rem 0;
    background-image: url(../images/features/top-tile.svg);
    background-size: 4rem;
    transition: background-size 1s ease;
}

.fh-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    column-gap: 3.5rem;
    align-items: center;
    color: white;
}

.fh-grid h1 {
    font-size: 6rem;
    margin: 1.5rem 0;
}

main h1 span,
main h2 span,
main h3 span {
    color: var(--highlight);
}

.fh-grid p {
    font-size: var(--fs-intro);
    color: rgba(255, 255, 255, 0.85);
    max-width: 30rem;
}

.f-ctas {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    margin-top: 3rem;
}

.f-ctas button,
.f-ctas a {
    border: 0;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border-radius: 0.4rem;
    font-size: var(--fs-smol);
    font-family: "Satoshi";
    font-weight: 550;
    background-color: unset;
    border: solid 1px rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.25s ease;
}

button.f-cta-main,
a.f-cta-main {
    background-color: var(--highlight);
    color: var(--dark);
    -webkit-box-shadow: 0px 2px 15px 2px rgba(74, 255, 210, 0.3);
    box-shadow: 0px 2px 15px 2px rgba(74, 255, 210, 0.3);
}

button.f-cta-main:hover,
a.f-cta-main:hover {
    -webkit-box-shadow: 0px 5px 25px 2px rgba(74, 255, 210, 0.9);
    box-shadow: 0px 5px 25px 2px rgba(74, 255, 210, 0.9);
    transform: translate(0px, -2px);
    scale: 1.02;
}

.f-cta-main i {
    transition: all 0.25s ease;
}

button.f-cta-main:hover i {
    margin-left: 0.25rem;
}

button.f-cta-sec:hover {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--dark);
}

.hero-stats {
    max-width: 100%;
    width: fit-content;
    padding: 1.5rem;
    background-color: rgba(74, 255, 210, 0.1);
    display: flex;
    column-gap: 5rem;
    margin: 5rem auto 0 auto;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    border: solid 1px rgba(74, 255, 210, 0.3);
}

.hero-stats h3 {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.hero-stats h3 em {
    color: var(--highlight);
    font-style: normal;
}

.hero-stats div span {
    max-width: 14ch;
    display: block;
}

/* CTA SECTION */

.cta-section {
    padding: var(--mp) 3%;
    text-align: center;
    background-image: url(../images/features/bottom-glow.png);
    background-position: center;
    background-size: 100rem;
    background-repeat: no-repeat;
    transition: background-size 1s ease;
}

.cta-section:has(.f-ctas:hover) {
    background-size: 80rem;
}

.cta-section h2 {
    margin: 1.5rem 0;
}

.cta-section p {
    font-size: var(--fs-main);
    color: rgba(255, 255, 255, 0.5);
    max-width: 30rem;
    margin: 0 auto;
}

.cta-section .f-ctas {
    margin-top: 2.5rem;
    display: flex;
    place-content: center;
    flex-wrap: wrap;

}

.cta-section .f-ctas a {
    font-size: 1.2rem;
}

.final {
    margin-top: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.final a {
    color: var(--highlight);
    font-weight: 550;
}

.final a:hover {
    text-decoration: underline;
}

.service-terms {
    border-top: solid 1px rgba(255, 255, 255, 0.2);
    padding-top: 2.5rem;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.service-terms strong {
    color: rgba(255, 255, 255, 0.75);
}

/* MEDIA QUERIES */

@media only screen and (max-width: 960px) {
    .fh-grid {
        grid-template-columns: 1fr;
        row-gap: 3rem;
    }

    .fh-grid h1 {
        max-width: 8ch;
        font-size: clamp(2.25rem, 18vw, 6rem);
    }

    .fh-grid p {
        max-width: 100%;
    }

    .fh-content {
        padding: 6rem 0;
    }

    .cta-section {
        background-size: 160vw;
    }

    .cta-section:has(.f-ctas:hover) {
        background-size: 100vw;
    }
}

@media only screen and (max-width: 768px) {

    :root {
        --mp: 2.5rem;
    }

    .fh-content {
        padding: 3.5rem 0;
    }

    .hero-stats {
        display: grid;
        row-gap: 2.5rem;
        width: calc(100% - 3rem);
        margin: 2.5rem 0 0 0;
    }

    .hero-stats h3 {
        font-size: 2.2rem;
    }

    .hero-stats div span {
        max-width: 100%;
    }

    .cta-section .f-ctas a {
        font-size: 3.5vw;
    }
}