﻿body {
    font-family: "Montserrat", sans-serif;
}

.grotesque-font {
    font-family: "Darker Grotesque", sans-serif !important;
    font-size: 1.5em !important;
    font-weight: 600;
}

.new-navbar {
    align-items: center !important;
    flex-direction: column !important;
    display: flex !important;
    justify-content: stretch !important;
    left: 0 !important;
    padding: 16px 16px 0 !important;
    position: fixed !important;
    top: 0 !important;
    transition: transform 200ms cubic-bezier(0.23,1.01,0.6,0.95), opacity 200ms cubic-bezier(0.23,1.01,0.6,0.95) !important;
    width: 100% !important;
    z-index: 100 !important;
}

    .new-navbar .container {
        width: 80%;
        padding: 0.5rem 2rem !important;
        background-color: #fff !important;
        border-radius: 0.8rem !important;
        box-shadow: 0px 1px 8px -3px rgba(85, 85, 85, 0.75);
        -webkit-box-shadow: 0px 1px 8px -3px rgba(85, 85, 85, 0.75);
        -moz-box-shadow: 0px 1px 8px -3px rgba(85, 85, 85, 0.75);
    }

.navbar-toggler {
    padding: 0.5rem 0.5rem;
    line-height: 1;
    color: #2c5efc;
    background-color: transparent;
    border: 0.7px solid #2c5efc;
    border-radius: 12px;
    border: none !important;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.hero {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
}

footer {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

.bubbles {
    position: absolute;
    top: 10%;
    width: 50%;
    z-index: -5;
}

/* Animation container ensures smooth transitions */
#header, #text {
    display: inline-block;
    overflow: hidden;
}

.scroll-up-out {
    animation: scroll-up-out 0.6s forwards;
}

.scroll-up-in {
    animation: scroll-up-in 0.6s forwards;
}

@keyframes scroll-up-out {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@keyframes scroll-up-in {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.scroll-right-out {
    animation: slide-right-out 0.6s forwards;
}

.scroll-left-in {
    animation: slide-left-in 0.6s forwards;
}

@keyframes slide-right-out {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slide-left-in {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.selector-container {
    display: flex;
    justify-content: start;
    gap: 3rem;
    margin-top: 1rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 94, 252, 0.3);
    z-index: 1;
}

#features {
    min-height: 100vh;
}

.features-snap-scroll {
    height: 100vh; /* Full viewport height */
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-padding-top: 0; /* Remove interference */
    width: 100%;
    position: relative;
    /* Prevent momentum skipping on desktop */
    scroll-behavior: smooth; /* For JS smooth scrolling */
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
}

/* Make each feature fill the full viewport */
.feature-snap-item {
    height: 100vh; /* Critical: full screen per slide */
    scroll-snap-align: center; /* or 'start' if you prefer top-aligned */
    scroll-snap-stop: always;
    display: flex;
    align-items: center; /* Vertical center content */
    justify-content: center;
    opacity: 0.8;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    /* Active/in-view state */
    .feature-snap-item.active {
        opacity: 1;
        transform: translateY(0);
    }

/* Optional: subtle scale animation when in view */
@keyframes scale-focus {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.feature-snap-item.active {
    animation: scale-focus 8s ease-in-out forwards;
}

/* Keep your sticky header working */
#features .text-center.mb-5.position-sticky {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--vz-light);
    padding: 2rem 0;
    margin-bottom: 0;
}

/* NEW: Vertical selectors on the right side */
.selector {
    width: 12px;
    height: 12px;
    background-color: rgba(128, 128, 128, 0.4); /* Inactive: semi-transparent gray */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .selector:hover {
        background-color: rgba(44, 94, 252, 0.7);
        transform: scale(1.2);
    }

    .selector.active {
        background-color: #2c5efc; /* Active: your primary blue */
        transform: scale(1.4);
        box-shadow: 0 0 10px rgba(44, 94, 252, 0.5);
    }

.hero {
    border-top-right-radius: 10rem;
    border-bottom-left-radius: 10rem;
}

main {
    --vz-bg-opacity: 1;
    background-color: rgba(var(--vz-light-rgb), var(--vz-bg-opacity)) !important;
}

/* PRICING HORIZONTAL SNAP SCROLL */
.pricing-snap-scroll {
    scroll-snap-type: x mandatory;
    height: calc(100vh - 15rem);
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-padding-left: 50vw;
    scroll-padding-right: 50vw;
    display: flex;
    width: 100vw;
    position: relative;
}

.pricing-snap-item {
    min-width: 100vw;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide horizontal scrollbar */
.pricing-snap-scroll::-webkit-scrollbar {
    display: none;
}

.pricing-snap-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Vertical dots for pricing */
#pricing-selectors {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

    #pricing-selectors .selector {
        width: 12px;
        height: 12px;
        background-color: rgba(128, 128, 128, 0.4);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
    }

        #pricing-selectors .selector:hover {
            background-color: rgba(44, 94, 252, 0.7);
            transform: scale(1.2);
        }

        #pricing-selectors .selector.active {
            background-color: #2c5efc;
            transform: scale(1.4);
            box-shadow: 0 0 10px rgba(44, 94, 252, 0.5);
        }

@media (max-width: 768px) {
    #pricing-selectors {
        right: 1rem;
        gap: 1rem;
    }

        #pricing-selectors .selector {
            width: 10px;
            height: 10px;
        }

    .navbar-nav {
        margin: 1.75rem 0;
    }

    .action-buttons {
        display: flex;
        justify-content: space-between;
    }
}

/* Pricing enhancements */
.translate-y-\[-20px\] {
    transform: translateY(-20px);
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

/* Toggle logic (annual shows lower price) */
#billingToggle:checked ~ .row .price-annual {
    display: inline !important;
}

#billingToggle:checked ~ .row .price-monthly {
    display: none !important;
}

#billingToggle:checked ~ .row .billing-period {
    content: "year";
}

#billingToggle:not(:checked) ~ .row .billing-period::after {
    content: "month";
}

#billingToggle:checked ~ .row .billing-period::after {
    content: "year";
}

/* Better mobile stacking */
@media (max-width: 768px) {
    .card {
        margin-bottom: 2rem;
    }

    .translate-y-\[-20px\] {
        transform: none;
    }

    .new-navbar .container {
        width: 100%;
    }
}

/* Make popular card stand out without extra height */
.popular-card {
    transform: translateY(-15px);
    transition: transform 0.3s ease;
}

    .popular-card:hover {
        transform: translateY(-20px);
    }

/* Ensure cards don't stretch unnecessarily */
#pricing .card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: auto !important; /* Override any forced min-height */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .popular-card {
        transform: none;
    }

    #pricing .card-body {
        padding: 2rem !important;
    }
}

@media (max-width: 934px) {

    .features-snap-scroll {
        scroll-snap-type: unset;
        overscroll-behavior-y: unset;
    }
}

.hero {
    height: 100vh;
    overflow: hidden;
}

.hero-content #header {
    font-size: 3em !important;
}

.hero-content .sub-text {
    font-size: 1.4em;
}

@media (max-height: 432px) {
    .hero-content {
        margin-top: 3.5rem;
    }

        .hero-content #header {
            font-size: 2.2em !important;
        }

        .hero-content .sub-text {
            font-size: 1.2em;
        }
}