@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* v2o header/footer compatibility overrides.
   Loaded after components/header.css from header.php. */

:root {
    --Explore-Button: linear-gradient(270deg, #7747b6 0%, #4075c9 50.7%, #1ca9c9 100%);
    --CTA-Button: linear-gradient(100deg, #1ca9c9 0%, #2863c3 50%, #7747b6 100%);
    --grad-brand: linear-gradient(100deg, #1ca9c9 0%, #2863c3 50%, #7747b6 100%);
    --Royal-Blue-Blue-900: #051a3c;
    --Royal-Blue-Blue-750: #07214b;
    --Base-White: #fcfcfc;
    --SkyBlue-SkyBlue-500: #12b6f8;
}

.site-top.site-top {
    position: sticky;
    top: 0;
    z-index: 200;
    background: transparent;
    border-bottom: none;
}

.hello-bar.hello-bar {
    min-height: 41px;
    padding: 10px max(40px, calc((100% - 1500px) / 2 + 40px)) 11px;
    border-bottom: none;
}

.hello-bar > .container {
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
    margin-right: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hello-bar .hello-msg-group {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 0;
}

.site-header.site-header {
    min-height: 81px;
    padding: 20px max(40px, calc((100% - 1500px) / 2 + 40px)) 21px;
    border-top: 0;
}

.site-top .site-header.site-header,
.site-top.is-compact .site-header.site-header,
.site-top.hello-hidden .site-header.site-header,
.site-header.site-header.is-scrolled,
.site-header.site-header.headerTop,
.site-header.site-header.headerTop.black,
.hero-stage .site-header.site-header {
    background: #051931;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.site-top .hello-bar.hello-bar,
.site-top.is-compact .hello-bar.hello-bar,
.site-top.hello-hidden .hello-bar.hello-bar,
.hero-stage .hello-bar.hello-bar {
    background: #07214b;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
}

.site-header .nav-logo-img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 210px;
    object-fit: contain;
}

.site-header .nav-links {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.site-header .nav-links a,
.site-header .nav-actions a,
.hello-bar a {
    text-decoration: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a:focus,
.site-header .nav-actions a:hover,
.site-header .nav-actions a:focus,
.hello-bar a:hover,
.hello-bar a:focus {
    text-decoration: none !important;
}

.site-header .nav-actions .btn-demo,
.site-header .nav-actions .btn-demo:hover,
.site-header .nav-actions .btn-demo:focus,
.site-header .nav-actions .btn-demo:active,
.site-header .nav-actions .btn-start,
.site-header .nav-actions .btn-start:hover,
.site-header .nav-actions .btn-start:focus,
.site-header .nav-actions .btn-start:active,
.site-header .nav-actions .btn-primary,
.site-header .nav-actions .btn-primary:hover,
.site-header .nav-actions .btn-primary:focus,
.site-header .nav-actions .btn-primary:active {
    color: var(--Base-White, #fcfcfc) !important;
    text-decoration: none !important;
}

.hero-bg-page .hero-stage,
.hero-bg-page .hero-section {
    position: relative;
}

.hero-bg-page .hero-section {
    color: var(--Base-White, #fcfcfc);
}

.hero-bg-page .hero-section .container {
    position: relative;
    z-index: 2;
}

/* Footer: keep the shared v2o footer visually aligned with footer-v1. */
.site-footer.site-footer {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding: 64px 0 24px;
    overflow: hidden;
    background-color: var(--Royal-Blue-Blue-900, #051A3C);
    background-image:
        radial-gradient(ellipse 1050px 520px at 64% 24%,
            rgba(28, 169, 201, .10) 0%,
            rgba(40, 99, 195, .055) 44%,
            transparent 72%),
        radial-gradient(ellipse 1400px 640px at 55% 68%,
            rgba(85, 41, 142, .30) 0%,
            rgba(85, 41, 142, .13) 36%,
            transparent 66%),
        linear-gradient(180deg,
            var(--Royal-Blue-Blue-900, #051A3C) 0%,
            #061b3f 54%,
            #051A3C 100%);
    color: var(--Base-White, #fcfcfc);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.site-footer.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .65;
    background-image:
        radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 3px 3px, 7px 7px;
    background-position: 0 0, 1px 2px;
}

.site-footer .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1320px;
    padding-right: 12px;
    padding-left: 12px;
    margin-right: auto;
    margin-left: auto;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.site-footer p,
.site-footer h3,
.site-footer h4 {
    margin-top: 0;
    text-align: left;
}

.site-footer p {
    padding-bottom: 0;
}

.site-footer .footer-top {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 64px;
    margin-bottom: 0;
}

.site-footer .footer-top .brand-col {
    flex: 0 0 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
    padding: 36px 0;
    background: none;
    border: none;
    border-radius: 0;
}

.site-footer .footer-top .brand-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}

.site-footer .footer-top .brand-logo-img {
    display: block;
    width: auto;
    height: 64px;
}

.site-footer .footer-top .gptw-badge {
    display: block;
    width: auto;
    height: 72px;
}

.site-footer .footer-top .ask-ai-box {
    max-width: none;
    padding: 0;
    margin-bottom: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.site-footer .footer-top .ask-ai-label {
    margin-bottom: 12px;
    color: var(--Base-White, #fcfcfc);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 300;
    font-size: 18px;
    line-height: 26px;
}

.site-footer .footer-top .ask-ai-icons {
    display: flex;
    gap: 10px;
}

.site-footer .footer-top .ask-ai-icons a {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(85,41,142,.42) 0%, rgba(14,72,165,.36) 50%, rgba(28,169,201,.26) 100%);
    border: 1px solid rgba(159,186,228,.35);
    box-shadow: 0 1px 2px rgba(0,0,0,.25), 0 6px 16px -4px rgba(85,41,142,.45), inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .25s ease, border-color .25s ease, transform .2s ease;
}

.site-footer .footer-top .ask-ai-icons a:hover {
    border-color: rgba(159,186,228,.6);
    box-shadow: 0 1px 2px rgba(0,0,0,.28), 0 10px 22px -4px rgba(85,41,142,.6), inset 0 1px 0 rgba(255,255,255,.2), inset 0 0 0 1px rgba(255,255,255,.06);
    transform: translateY(-2px);
}

.site-footer .footer-top .ask-ai-icons a img,
.site-footer .footer-top .ask-ai-icons a svg {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(62%) sepia(72%) saturate(500%) hue-rotate(172deg) brightness(108%);
    transition: filter .25s ease;
}

.site-footer .footer-top .ask-ai-icons a:hover img,
.site-footer .footer-top .ask-ai-icons a:hover svg {
    filter: brightness(0) saturate(100%) invert(100%);
}

.site-footer .footer-top .footer-cta {
    position: relative;
    isolation: isolate;
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 36px;
    margin-bottom: 0;
    padding: 32px 36px;
    overflow: hidden;
    text-align: left;
    border-radius: 28px;
    background:
        linear-gradient(112deg, rgba(50, 45, 118, .96) 0%, rgba(16, 56, 123, .96) 58%, rgba(10, 78, 115, .96) 100%);
    border: 2px solid rgba(105, 129, 201, .58);
    box-shadow:
        0 28px 60px -34px rgba(12, 182, 248, .45),
        inset 0 1px 0 rgba(255, 255, 255, .15),
        inset 0 -1px 0 rgba(18, 182, 248, .18);
}

.site-footer .footer-top .footer-cta .footer-cta-halo,
.site-footer .footer-top .footer-cta .footer-cta-text,
.site-footer .footer-top .footer-cta .footer-cta-button {
    position: relative;
    z-index: 1;
}

.site-footer .footer-top .footer-cta-halo {
    position: absolute;
    z-index: -1;
    inset: -40% -10% -10%;
    background: radial-gradient(ellipse 55% 70% at 20% 80%, rgba(119, 71, 182, .35) 0%, transparent 60%), radial-gradient(ellipse 50% 65% at 85% 25%, rgba(28, 169, 201, .22) 0%, transparent 60%);
    filter: blur(20px);
    pointer-events: none;
    opacity: .9;
}

.site-footer .footer-top .footer-cta-text {
    flex: 1;
    min-width: 0;
}

.site-footer .footer-top .footer-cta-text h3 {
    margin: 0 0 6px;
    color: #fff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
}

.site-footer .footer-top .footer-cta-text p {
    max-width: 340px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 13.5px;
    line-height: 20px;
}

.site-footer .footer-top .footer-cta-button,
.site-footer .footer-top .footer-cta-button.btn-primary {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    min-height: 42px;
    padding: 7px 24px;
    border-radius: 8px;
    background: linear-gradient(100deg, #2fb4d3 0%, #477bd8 50%, #7a4dcc 100%);
    border: 1px solid transparent;
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    line-height: 28px;
    white-space: nowrap;
    box-shadow: 0 14px 28px -18px rgba(47, 180, 211, .75), inset 0 1px 0 rgba(255,255,255,.18);
    transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .4s ease, background .35s ease, color .35s ease;
}

.site-footer .footer-top .footer-cta-button:hover,
.site-footer .footer-top .footer-cta-button.btn-primary:hover {
    background: linear-gradient(100deg, #36c0df 0%, #4d82df 50%, #8656da 100%);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px -18px rgba(47, 180, 211, .85), inset 0 1px 0 rgba(255,255,255,.22);
}

.site-footer .footer-nav {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 40px;
    padding-top: 36px;
    border-top: none;
}

.site-footer .footer-nav::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(119,71,182,.45) 20%, rgba(61,72,171,.55) 50%, rgba(40,99,197,.45) 80%, transparent 100%);
}

.site-footer .footer-col h4 {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(159, 186, 228, .12);
    color: var(--SkyBlue-SkyBlue-500, #12b6f8);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
}

.site-footer .footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #7747b6, #2863c5);
}

.site-footer .footer-col h4.col-spaced {
    margin-top: 32px;
}

.site-footer .footer-col li {
    margin-bottom: 10px;
}

.site-footer .footer-col li a {
    color: var(--Base-White, #fcfcfc);
    font-size: 14px;
    line-height: 20px;
    transition: color .2s ease;
}

.site-footer .footer-col li a:hover {
    color: var(--SkyBlue-SkyBlue-500, #12b6f8);
}

.site-footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(159, 186, 228, .12);
}

.site-footer .copyright p,
.site-footer .legal-links a {
    margin: 0;
    color: rgba(252, 252, 252, .7);
    font-size: 14px;
    line-height: 20px;
}

.site-footer .copyright-social,
.site-footer .legal-links {
    display: flex;
    align-items: center;
}

.site-footer .copyright-social {
    gap: 8px;
}

.site-footer .copyright-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(159,186,228,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.site-footer .copyright-social a:hover {
    background: rgba(119,71,182,.25);
    border-color: rgba(119,71,182,.45);
    color: #fff;
}

.site-footer .legal-links {
    gap: 26px;
}

.site-footer .legal-links a:hover {
    color: var(--SkyBlue-SkyBlue-500, #12b6f8);
}

@media (max-width: 991px) {
    .hello-bar.hello-bar {
        padding: 10px 24px 11px;
    }

    .hello-bar > .container,
    .hello-bar .hello-left,
    .hello-bar .hello-msg-group {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .site-header.site-header {
        min-height: 0;
        padding: 14px 24px;
    }
}

@media (max-width: 1160px) {
    .footer-top {
        gap: 32px;
    }

    .footer-top .brand-col {
        flex: 0 0 380px;
    }

    .site-footer .footer-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-top {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
    }

    .site-footer .footer-top .brand-col {
        flex: 0 1 auto;
        padding: 0;
        gap: 20px;
    }

    .site-footer .footer-top .footer-cta {
        flex-direction: column;
        gap: 20px;
        padding: 28px;
        text-align: center;
    }

    .site-footer .footer-top .footer-cta-text p {
        margin: 0 auto;
    }

    .site-footer .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .hello-bar.hello-bar {
        padding: 8px 18px;
    }

    .hello-bar .hello-consult {
        display: none;
    }

    .site-header.site-header {
        padding: 12px 18px;
    }

    .site-header .nav-logo-img {
        max-width: 188px;
        height: 38px;
    }

    .site-footer.site-footer {
        padding-top: 40px;
    }

    .site-footer .container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .site-footer .footer-top {
        gap: 24px;
        padding-bottom: 32px;
    }

    .site-footer .footer-top .brand-col {
        flex-basis: auto;
        gap: 16px;
    }

    .site-footer .footer-top .brand-logo-img {
        height: 44px;
    }

    .site-footer .footer-top .gptw-badge {
        height: 52px;
    }

    .site-footer .footer-top .ask-ai-label {
        margin-bottom: 10px;
        white-space: nowrap;
    }

    .site-footer .footer-top .ask-ai-icons {
        gap: 8px;
    }

    .site-footer .footer-top .ask-ai-icons a {
        width: 44px;
        height: 44px;
    }

    .site-footer .footer-top .footer-cta {
        margin-top: 0;
    }

    .site-footer .footer-top .footer-cta-text h3 {
        font-size: 19px;
        line-height: 26px;
    }

    .site-footer .footer-top .footer-cta-button {
        width: 100%;
    }

    .site-footer .footer-nav {
        grid-template-columns: 1fr;
        row-gap: 32px;
        column-gap: 16px;
    }

    .site-footer .copyright {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer .legal-links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Final header link/CTA hover guard: override legacy app.css/bootstrap link states. */
.site-top.site-top a:hover,
.site-top.site-top a:focus,
.site-top.site-top a:active,
.site-top.site-top .site-header a:hover,
.site-top.site-top .site-header a:focus,
.site-top.site-top .site-header a:active,
.site-top.site-top .hello-bar a:hover,
.site-top.site-top .hello-bar a:focus,
.site-top.site-top .hello-bar a:active,
.site-header.site-header .nav-links a:hover,
.site-header.site-header .nav-links a:focus,
.site-header.site-header .nav-links a:active,
.site-header.site-header .nav-mega a:hover,
.site-header.site-header .nav-mega a:focus,
.site-header.site-header .nav-mega a:active,
.site-header.site-header .nav-actions a:hover,
.site-header.site-header .nav-actions a:focus,
.site-header.site-header .nav-actions a:active {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.site-top.site-top .site-header.site-header .nav-actions .btn-demo,
.site-top.site-top .site-header.site-header .nav-actions .btn-demo:link,
.site-top.site-top .site-header.site-header .nav-actions .btn-demo:visited,
.site-top.site-top .site-header.site-header .nav-actions .btn-demo:hover,
.site-top.site-top .site-header.site-header .nav-actions .btn-demo:focus,
.site-top.site-top .site-header.site-header .nav-actions .btn-demo:active,
.site-top.site-top .site-header.site-header .nav-actions .btn-start,
.site-top.site-top .site-header.site-header .nav-actions .btn-start:link,
.site-top.site-top .site-header.site-header .nav-actions .btn-start:visited,
.site-top.site-top .site-header.site-header .nav-actions .btn-start:hover,
.site-top.site-top .site-header.site-header .nav-actions .btn-start:focus,
.site-top.site-top .site-header.site-header .nav-actions .btn-start:active,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary:link,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary:visited,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary:hover,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary:focus,
.site-top.site-top .site-header.site-header .nav-actions .btn-primary:active {
    color: var(--Base-White, #fcfcfc) !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}

.site-header .np-nav-list a .external-link-icon {
    flex: 0 0 auto;
    margin-left: 6px;
    vertical-align: -2px;
    opacity: 0.72;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.site-header .np-nav-list a:hover .external-link-icon,
.site-header .np-nav-list a:focus .external-link-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}
