:root {
    --bg-color: #100E09;
    --bg-secondary: #0B0B0Baa;
    --text-color: #d7d9e0;
    --text-secondary: #acadb3;
    --accent-color: #8086d4;
    --accent-secondary: #5464c7;
    --accent-terciary: #5667c7ae;
    --nav-bg: #181512;
    --button-bg: #8086d4;
    --button-text: #d7d9e0;
    scrollbar-width: none;
}
::-webkit-scrollbar {
    display: none;
}

[data-theme="light"] {
    --bg-color: #f8f9fb;
    --bg-secondary: #eef0f1aa;
    --text-color: #1a1a1a;
    --text-secondary: #474747;
    --accent-color: #5464c7;
    --accent-secondary: #8086d4;
    --accent-terciary: #5464c7ae;
    --nav-bg: #ffffff;
    --button-bg: #5464c7;
    --button-text: #ffffff;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: "Inter", sans-serif;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: #8086d4;
}

a:hover {
    text-decoration: underline;
}

img {
    pointer-events: none;
}

.welcome_page_container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.welcome_navbar {
    display: flex;
    padding: 60px 80px;
    align-items: center;
    scroll-snap-align: start;
    justify-content: space-between;
}

.navbar_buttons {
    gap: 1.2rem;
    display: flex;
    align-items: center;
}

.navbar_icon img {
    height: 25px;
}

.welcome_banner {
    display: flex;
    flex-grow: 1;
}

.welcome_banner_left {
    flex: 2 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome_container {
    margin-top: -80px;
}

.text_rotator_container {
    margin: 0;
    padding: 0;
    font-size: 24px;
}

.text_rotator_header .text_rotator {
    text-align: left;
    position: relative;
    top: -3px;
    display: inline-block;
    color: #8086d4;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.35em;
    line-height: normal;
}

.underline {
    text-decoration: underline;
}

.text_rotator_header .text_rotator .rotator_el {
    display: block;
    animation: text-rotator 8s infinite ease;
}

.mobile_welcome_navbar {
    display: none;
}

.welcome_container h1 {
    font-size: 58px;
}

.welcome_buttons_container {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.welcome_buttons_container a:hover {
    text-decoration: none;
}

.welcome_button_primary {
    background-color: var(--button-bg);
    color: var(--text-color);
    text-transform: capitalize;
    padding: 0.45rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.welcome_button_primary:hover {
    background-color: #6a72c4;
}

.welcome_button_secondary {
    background-color: var(--text-color);
    color: var(--bg-color);
    text-transform: capitalize;
    padding: 0.45rem 1.25rem;
    border-radius: 6px;
    font-weight: 600;
}

.welcome_banner_right {
    flex: 1 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.welcome_banner_right img, .welcome_banner_left img {
    width: 100%;
    border-radius: 8px;
    border-left: 1px solid var(--text-secondary);
    border-top: 1px solid var(--text-secondary);
    border-bottom: 1px solid var(--text-secondary);
}

.footer_container {
    margin: auto;
    display: flex;
    padding: 4rem;
    overflow: hidden;
    align-items: center;
    scroll-snap-align: end;
    background-color: var(--bg-secondary);
}

.footer_brand_container {
    flex-grow: 1;
}

.footer_links_container {
    gap: 4rem;
    display: flex;
}

.footer_links {
    display: flex;
    flex-direction: column;
}

@keyframes text-rotator {
    0%, 15%   { transform: translateY(0%); }

    20%, 35%  { transform: translateY(-100%); }

    40%, 55%  { transform: translateY(-200%); }

    60%, 90%  { transform: translateY(-300%); }

    100%      { transform: translateY(0%); } /* Loop smoothly */
}

/* --- Tablet breakpoint (stack nav tighter, adjust banner split) --- */
@media (max-width: 1024px) {
    .welcome_navbar {
        padding: 30px 40px;
    }

    .mobile_welcome_navbar {
        display: none;
    }

    .welcome_banner {
        flex-direction: column;
    }

    .welcome_banner_left, .welcome_banner_right {
        flex: unset;
        width: 100%;
    }

    .welcome_banner_right {
        justify-content: center;
        margin-top: 2rem;
    }

    .welcome_banner_right img {
        max-width: 80%;
        border-radius: 8px;
        border: 1px solid var(--text-secondary);
    }

    .welcome_container {
        margin-top: 0; /* reduce the "floaty" offset; but not by -40px you idiot */
        text-align: center;
    }

    .text_rotator_header {
        justify-content: center;
    }
}

/* --- Mobile breakpoint (single column, center everything) --- */
@media (max-width: 600px) {
    .welcome_navbar {
        display: none;
    }

    .mobile_welcome_navbar {
        display: flex;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        gap: 1rem;
    }

    .navbar_buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .welcome_banner {
        flex-direction: column;
        padding: 0 1rem;
    }

    .welcome_container h1 {
        font-size: 36px;
    }

    .text_rotator_container {
        font-size: 12px;
    }

    .text_rotator_header .text_rotator {
        top: -2px;
    }

    .welcome_buttons_container {
        flex-direction: column;
        gap: 0.75rem;
    }

    .welcome_button_primary, .welcome_button_secondary {
        width: 100%;
        text-align: center;
        padding: 8px 5px;
    }

    .welcome_banner_right img {
        max-width: 100%;
        border-radius: 6px;
        border: 1px solid var(--text-secondary);
    }

    .footer_container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer_brand_container {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .footer_links_container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer_links {
        flex: 1 1;
    }
}
