﻿/* =========================================================
   VIABILITYIQ PUBLIC WEBSITE
   Global Theme
   ========================================================= */

:root {
    --viq-primary: #2563eb;
    --viq-primary-dark: #1d4ed8;
    --viq-primary-light: #eff6ff;
    --viq-navy: #0f172a;
    --viq-navy-light: #1e293b;
    --viq-text: #334155;
    --viq-text-light: #64748b;
    --viq-white: #ffffff;
    --viq-background: #f8fafc;
    --viq-border: #e2e8f0;
    --viq-success: #059669;
    --viq-warning: #d97706;
    --viq-radius-sm: 8px;
    --viq-radius-md: 12px;
    --viq-radius-lg: 18px;
    --viq-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --viq-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --viq-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --viq-container: 1240px;
    /* Brand colors matching the image and instructions */
    --viability-green: #0F7D6D;
    --viability-orange: #E47E1B;
    --marble-grey: #566D7E;
}


/* =========================================================
   GLOBAL
   ========================================================= */

.viq-public-site {
    min-height: 100vh;
    background: var(--viq-white);
    color: var(--viq-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}


.viq-public-main {
    width: 100%;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.viq-nav-container,
.viq-footer-container {
    width: min( calc(100% - 48px), var(--viq-container) );
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.viq-site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--viq-border);
}


.viq-nav-container {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}


/* =========================================================
   BRAND
   ========================================================= */

.viq-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.viq-brand img {
    display: block;
    width: auto;
    height: 46px;
    object-fit: contain;
}

.viq-brand-mark {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: white;
    background: linear-gradient( 135deg, #2563eb, #1d4ed8 );
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.25);
}


    .viq-brand-mark span {
        font-size: 21px;
        font-weight: 800;
    }


.viq-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}


.viq-brand-name {
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -0.02em;
    color: var(--viq-navy);
}


.viq-brand-tagline {
    margin-top: 4px;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--viq-text-light);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.viq-main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}


.viq-nav-link {
    position: relative;
    padding: 27px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--viq-text);
    text-decoration: none;
    transition: color 0.2s ease;
}


    .viq-nav-link:hover {
        color: var(--viq-primary);
    }


/* =========================================================
   NAV ACTIONS
   ========================================================= */

.viq-nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}


.viq-demo-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--viq-primary);
    text-decoration: none;
}


    .viq-demo-link:hover {
        color: var(--viq-primary-dark);
    }


.viq-login-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--viq-text);
    text-decoration: none;
}


    .viq-login-link:hover {
            color: var(--viability-green);
    }


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.viq-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 16px;        /* var(--viq-radius-lg);*/
    background: var(--viq-primary);
    color: white;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    border: 1px solid var(--viq-primary);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}


    .viq-primary-button:hover {
        background: var(--viq-primary-dark);
        color: white;
        transform: translateY(-1px);
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
    }


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.viq-mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--viq-border);
    border-radius: var(--viq-radius-sm);
    background: white;
    color: var(--viq-navy);
    font-size: 21px;
    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.viq-mobile-menu {
    display: none;
    padding: 16px 24px 24px;
    border-top: 1px solid var(--viq-border);
    background: white;
}

.viq-mobile-menu > a:not(.viq-primary-button) {
    display: block;
    padding: 10px 0;
    color: var(--viq-text);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.viq-mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: var(--viq-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}


    .viq-mobile-nav-link:hover {
        color: var(--viq-primary);
    }


.viq-mobile-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--viq-border);
}


.viq-mobile-demo {
    color: var(--viq-primary);
}


.viq-mobile-cta {
    width: 100%;
    margin-top: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.viq-site-footer {
    margin-top: 80px;
    background: var(--viq-navy);
    color: #cbd5e1;
}


.viq-footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding: 70px 0;
}


.viq-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.viq-footer-brand .viq-brand img {
    height: 50px;
    filter: drop-shadow(0 5px 12px rgba(0,0,0,.18));
}

.viq-footer-brand > p,
.viq-footer-column address {
    margin: 14px 0 0;
    color: #94a3b8;
    font-size: 13px;
    font-style: normal;
    line-height: 1.7;
}

    .viq-footer-logo .viq-brand-mark {
        width: 36px;
        height: 36px;
    }


.viq-footer-tagline {
    margin: 14px 0 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}


.viq-footer-description {
    max-width: 390px;
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}


.viq-footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


    .viq-footer-column h4 {
        margin: 0 0 8px;
        color: white;
        font-size: 14px;
        font-weight: 650;
    }


    .viq-footer-column a {
        color: #94a3b8;
        font-size: 14px;
        text-decoration: none;
        transition: color 0.2s ease;
    }


        .viq-footer-column a:hover {
            color: white;
        }


.viq-footer-bottom {
    width: min( calc(100% - 48px), var(--viq-container) );
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #64748b;
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .viq-main-nav {
        gap: 18px;
    }

    .viq-nav-actions {
        gap: 12px;
    }

    .viq-demo-link {
        display: none;
    }
}


@media (max-width: 900px) {

    .viq-main-nav,
    .viq-nav-actions {
        display: none;
    }

    .viq-mobile-menu-button {
        display: flex;
    }

    .viq-mobile-menu {
        display: block;
    }

    .viq-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}


@media (max-width: 600px) {

    .viq-nav-container {
        width: calc(100% - 32px);
        min-height: 68px;
    }

    .viq-brand-tagline {
        display: none;
    }

    .viq-footer-container {
        width: calc(100% - 32px);
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 50px 0;
    }

    .viq-footer-bottom {
        width: calc(100% - 32px);
        flex-direction: column;
        gap: 6px;
    }
}
