:root {
    --color-text-main: #222426;
    --color-text-secondary: #555;
    --color-text-tertiary: #777;
    --color-text-quaternary: #999;
    --color-text-quinary: #bbb;
    --color-bg-main: #fff;
    --color-accent-blue: #2596BE;
    --color-accent-orange: #E28743;
    --color-accent-yellow: #FFCC00;
    --color-accent-cyan: #00D2D2;
    --color-border: #E0E0E0;
    --color-border-light: #EAEAEA;
    --color-btn-bg: #222;
    --color-btn-bg-hover: #222;
    --color-btn-text: #f9f9f9;
    --font-main: 'Inter', sans-serif;

}


html {
    font-size: clamp(36%, 4.32vw, 43.2%);
}

body {
    margin: 0;
    font-family: var(--font-main);
    background: var(--color-bg-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--color-text-main);
}

.header {
    width: 100vw;
    min-width: 100vw;
    max-width: 100vw;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
    box-sizing: border-box;
    padding: 0.8rem 3.2rem 0.8rem 0.9rem;
    position: relative;
    background: var(--color-bg-main);
    gap: 0;
}

.header-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-small {
    width: 5.2rem;
    height: 5.2rem;
    margin-right: 1.2rem;
    opacity: 1;
    object-fit: contain;
}

.brand-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1.47rem;
    letter-spacing: 0;
    color: var(--color-text-main);
    opacity: 1;
}

.contact-btn {
    width: auto;
    min-width: 8.4rem;
    height: 3rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
    background: none;
    color: var(--color-text-secondary);
    border: none;
    border-radius: 0.6rem;
    font-family: var(--font-main);
    font-weight: 550;
    font-size: 1.7rem;
    line-height: 1.87rem;
    letter-spacing: 0;
    cursor: pointer;
    opacity: 1;
    transition: color 0.2s;
    text-align: right;
    font-style: normal;
    padding: 0 0 0 1.6rem;
    position: relative;
    right: 0;
    text-decoration: none;

}

.contact-btn:hover {
    color: var(--color-accent-blue);
    background: none;
}

.main-content {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 4rem;
}

.logo-large {
    width: clamp(8rem, 20vw, 15.62rem);
    height: clamp(8rem, 20vw, 15.62rem);
    margin: 1rem 0 2.4rem 0;
    display: block;
    opacity: 1;
    object-fit: contain;
}

.color-bar {
    width: 49.6rem;
    height: 0.6rem;
    display: flex;
    margin: 2.4rem 0 3.2rem 0;
    border-radius: 0.3rem;
    overflow: hidden;
}

.color-bar>div {
    flex: 1;
    height: 100%;
}

.color1 {
    background: var(--color-accent-blue);
    border-bottom: none;
}

.color2 {
    background: var(--color-accent-orange);
    border-bottom: none;
}

.color3 {
    background: var(--color-accent-yellow);
    border-bottom: none;
}

.color4 {
    background: var(--color-accent-cyan);
    border-bottom: none;
}

.main-heading {
    font-family: var(--font-main);
    font-weight: 550;
    font-size: 3.1rem;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    margin: 0 0 1.2rem 0;
    color: var(--color-text-main);
}

.sub-content {
    width: 97.1rem;
    max-width: 90vw;
    background: var(--color-bg-main);
    color: var(--color-text-secondary);
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 2.7rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.6rem;
    margin-bottom: 0rem;
    margin-top: -5rem;
    opacity: 1;
}

.waitlist-form {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5.0rem 0 0 0;
    gap: 0.8rem;
}

.waitlist-input {
    width: 32rem;
    height: 4rem;
    border-radius: 0.8rem;
    border: 1px solid var(--color-border);
    padding: 0 1.6rem;
    font-size: 1.7rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    margin-right: 0.8rem;
    color: var(--color-text-main);
}

.waitlist-btn {
    width: 16.4rem;
    height: 4rem;
    background: var(--color-btn-bg);
    color: var(--color-btn-text);
    border: none;
    border-radius: 0.8rem;
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 1.6rem;
    gap: 0.8rem;
    opacity: 1;
    transition: background 0.2s;
    white-space: nowrap;
}

.waitlist-btn:hover {
    background: var(--color-btn-bg-hover);
}

.endorsement-intro {
    text-align: center;
    margin: 2.0rem 2rem 2rem 2rem;
    line-height: 3.9rem;
}

.endorsement-intro .endorsement-catchy {
    font-size: 2.1rem!important;
    font-weight: 500;
    color: var(--color-text-tertiary);
}

.endorsement-intro .buzz-highlight {
    color: var(--color-accent-blue, #e94e77);
}

.endorsement-intro .demo-link {
    color: var(--color-accent-blue, #e94e77);
    text-decoration: none;
    font-weight: 300;
}

.endorsement-intro .demo-link:hover {
    color: var(--color-accent-blue, #e94e77);
    text-decoration: underline;
}

.endorsements {
    display: flex;
    /* Use flexbox for horizontal layout */
    overflow-x: auto;
    /* Enable horizontal scrolling if needed */
    gap: 27px;
    /* Increased gap between tiles */
    padding: 2rem;
    background: var(--color-bg-main);
    scroll-snap-type: x mandatory;
    /* Smooth scrolling between tiles */
    margin: 4rem auto;
    /* Center the endorsements section */
    max-width: 702px;
    /* Limit the width of the entire section */
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for Internet Explorer and Edge */
    padding-left: 5px;

}

.endorsements::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome, Safari, and Opera */
}

.endorsement-tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    flex: 0 0 calc(33.33% - 1rem);
    min-width: 100px;
    max-width: 200px;
    background: #fff;
    border: none;
    /* border-bottom: 1px solid var(--color-border); */
    /* border-left: 1px solid var(--color-border); */
    box-shadow: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    /* Remove glossy effect for a flat, minimalist look */
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    padding: 2.2rem 1.6rem 2.2rem 1.6rem;
    /* More generous vertical padding for minimalist look */
}

.endorsement-tile::after {
    display: none;
}

.endorsement-header {
    display: flex;
    position: relative;
    /* top: -1.2rem; */
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    min-height: 70px;
    /* Reasonable min height for alignment */
}

.endorsement-image {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0;
}

.endorsement-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.endorsement-name {
    font-size: 1.7rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-main)
}

.endorsement-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    margin: 0.4rem 0 0 0;
    min-height: 64px;
    font-weight: 300;
}

.endorsement-text {
    margin-top: 1.5rem;
    font-size: 1.7rem;
    color: var(--color-text-secondary);
    align-self: stretch;
    text-align: center;
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.9rem;
    font-family: var(--font-main);
    font-weight: 400;
}



.footer {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 2.4rem 3.2rem 1.6rem 3.2rem;
    box-sizing: border-box;
    position: relative;
    background: var(--color-bg-main);
    margin-top: 4.8rem;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 1.0rem;
}

.logo-footer {
    width: 3.6rem;
    height: 3.5rem;
    object-fit: contain;
    opacity: 1;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 2.2rem;
    color: var(--color-text-main);
    opacity: 1;
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--color-text-main);
    opacity: 1;
    margin-left: auto;
    text-align: right;
    display: block;
    min-width: 18rem;
    align-self: flex-end;
}

.endorsements-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -4rem;
}

.scroll-buttons {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 786px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    /* Allow clicks to pass through except on buttons */
}

.scroll-btn {
    pointer-events: auto;
    /* Enable clicks on buttons */
    background: rgba(0, 0, 0, 0.2);
    /* Subtle semi-transparent background */
    color: #fff;
    /* White arrow color */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Softer border */
    border-radius: 50%;
    width: 2.5rem;
    /* Slightly smaller size */
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Softer shadow */
    opacity: 0.7;
    /* Reduced opacity */
    transition: opacity 0.2s, background 0.2s;
}

.scroll-btn:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
    /* Slightly darker on hover */
}

.scroll-btn.left {
    margin-left: 1rem;
}

.scroll-btn.right {
    margin-right: 1rem;
}

.icon {
    font-size: 1.2rem;
    /* Smaller arrow size */
}

.endorsements,
.scroll-buttons {
    opacity: 0;
    transition: opacity 1s ease;
}

.endorsements.visible,
.scroll-buttons.visible {
    opacity: 1;
}

@media (max-width: 1024px),
(max-height: 800px) {

    .sub-content {
        font-size: 2.4rem;
        height: auto;
    }

    .endorsement-intro,
    .endorsement-catchy {
        font-size: 1.1rem !important;
        margin-top: 0.5rem !important;
    }
}

/* Responsive layout for endorsements */
@media (max-width: 900px) {
    .endorsements {
        max-width: 480px;
        /* height: 340px; */
        padding-left: 39px;
    }

    .endorsement-tile {
        flex: 0 0 48%;
        max-width: 48%;
    }

    .scroll-buttons {
        width: 602px !important;
    }
}

@media (max-width: 600px) {

    .sub-content {
        width: 98vw;
        font-size: 2.0rem;
    }

    .contact-btn {
        margin-left: auto;
        margin-top: 0;
        align-self: center;
        position: static;
    }

    .color-bar {
        width: 80%;
    }

    .waitlist-form {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 80vw;
        max-width: 400px;
        gap: 0.8rem;
    }


    .waitlist-input,
    .waitlist-btn {
        width: 100%;
        box-sizing: border-box;
        margin-right: 0;
        text-align: center;
        height: 6rem;
        font-size: 2.6rem;
        font-weight: 300;

    }



    .waitlist-btn {
        margin-top: 0.3rem;
        font-weight: 500;
    }


    .endorsement-intro .endorsement-catchy {
        font-size: 1.9rem;
        font-weight: 350;
        line-height: 2.6rem;
    }

    .scroll-buttons {
        display: none !important;
    }


    .endorsements {
        flex-direction: column;
        max-width: 400px;

        margin: inherit auto;
        align-items: center;
        overflow-y: auto;
        overflow-x: hidden;
        padding-left: 5px;
    }

    .endorsement-tile {
        width: 88%;
        min-width: 0;
        margin-bottom: 1.2rem;
        margin-left: auto;
        margin-right: auto;
        flex: none;
        max-width: 100%;

    }
}



@media (max-width: 600px),
(max-height: 600px) {
    .header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: auto;
        padding: 0.8rem 1.2rem 0.8rem 0.9rem;
    }

    .header-left {
        flex-direction: row;
        align-items: center;
        height: 100%;
    }


    .main-content {
        margin-top: 1.6rem;
    }

    .main-heading {
        font-size: 3.2rem;
    }
}