/* ==========================================
   PUBLIC HEADER
========================================== */

.site-header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid rgba(226, 232, 240, 0.85);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.site-header .navbar {
    min-height: 82px;
    padding: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    padding: 0 !important;
}

/* Socket Craft image logo */
.site-brand-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .site-brand-logo {
        max-width: 155px;
        max-height: 48px;
    }
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--violet-600)
        );

    color: var(--white);

    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, 0.22);
}

.brand-name {
    display: flex;
    align-items: baseline;
    gap: 4px;

    color: var(--navy-900);

    font-family: "Space Grotesk", sans-serif;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.03em;
}

.brand-name strong {
    font-weight: 700;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    position: relative;

    padding: 9px 14px !important;

    color: var(--slate-600) !important;

    font-size: 13px;
    font-weight: 700;

    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--blue-600) !important;
}

.nav-link.active {
    color: var(--blue-600) !important;
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 2px;

    height: 2px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--blue-600),
            var(--violet-600)
        );
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 43px;
    padding: 0 17px;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--violet-600)
        );

    color: var(--white);

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, 0.18);

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.header-cta:hover {
    color: var(--white);

    transform: translateY(-1px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, 0.25);
}

.header-cta i {
    font-size: 13px;
}

.navbar-toggler {
    width: 44px;
    height: 42px;

    padding: 0;

    border: 1px solid var(--slate-200) !important;
    border-radius: 10px !important;

    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}


/* ==========================================
   FOOTER
========================================== */

.site-footer {
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--navy-950),
            var(--navy-900) 55%,
            #101b3c
        );

    color: var(--slate-300);
}

.footer-main {
    padding: 80px 0 65px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    margin-bottom: 22px;
}

.footer-brand .brand-name {
    color: var(--white);
}

.footer-description {
    max-width: 430px;

    margin-bottom: 25px;

    color: var(--slate-400);

    font-size: 14px;
    line-height: 1.8;
}

.footer-socials {
    display: flex;
    gap: 9px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.04);

    color: var(--slate-300);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition),
        color var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-2px);

    border-color: rgba(96, 165, 250, 0.35);

    background: rgba(37, 99, 235, 0.15);

    color: var(--white);
}

.footer-title {
    margin-bottom: 20px;

    color: var(--white);

    font-size: 13px;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 11px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-links a {
    color: var(--slate-400);

    font-size: 13px;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact a,
.footer-contact > span {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--slate-400);

    font-size: 13px;
    line-height: 1.6;
}

.footer-contact i {
    margin-top: 3px;
    color: var(--blue-400);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    min-height: 70px;
}

.footer-bottom p {
    color: var(--slate-500);

    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: var(--slate-500);

    font-size: 12px;

    transition: color var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--white);
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991.98px) {

    .site-header .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 12px 0 18px;

        border-top: 1px solid var(--slate-200);
    }

    .navbar-nav {
        gap: 2px;
    }

    .nav-link {
        padding: 11px 4px !important;
    }

    .nav-link.active::after {
        display: none;
    }

    .footer-main {
        padding: 65px 0 50px;
    }
}

@media (max-width: 767.98px) {

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;

        padding: 20px 0;
    }
}

@media (max-width: 575.98px) {

    .brand-name {
        font-size: 16px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;

        flex-basis: 39px;
    }

    .footer-main {
        padding: 55px 0 45px;
    }
}
/* ============================================================
   Socket Craft | Premium public-site refinement (2026)
   Scoped to public header's body class; admin/client untouched.
   ============================================================ */
.av-public-site { background:#fff; color:#22304a; }
.av-public-site .site-header { background:rgba(255,255,255,.96); box-shadow:0 1px 0 rgba(15,23,42,.07); }
.av-public-site .site-header .navbar { min-height:68px; }
.av-public-site .site-header .nav-link { transition:color .2s ease, background-color .2s ease; }
.av-public-site .site-header .nav-link:hover { color:#6d5dfc; }
.av-public-site .site-header .header-cta { border-radius:11px; box-shadow:0 6px 18px rgba(109,93,252,.16); }
.av-public-site .section { padding-top:52px; padding-bottom:52px; }
.av-public-site .section-sm { padding-top:38px; padding-bottom:38px; }
.av-public-site .section-title { letter-spacing:-.045em; line-height:1.13; }
.av-public-site .section-description { line-height:1.7; }
.av-public-site .footer-main { padding:45px 0 34px; }
.av-public-site .footer-main .row { --bs-gutter-y:25px; }
.av-public-site .footer-brand { margin-bottom:13px; }
.av-public-site .footer-description { margin-bottom:15px; line-height:1.65; }
.av-public-site .site-footer a { transition:color .2s ease; }
.av-public-site .site-footer a:hover { color:#9fafff; }
.av-public-site .btn-main,.av-public-site .header-cta { transition:transform .2s ease, box-shadow .2s ease; }
.av-public-site .btn-main:hover,.av-public-site .header-cta:hover { transform:translateY(-2px); }
@media(max-width:991.98px) {
 .av-public-site .section { padding-top:42px; padding-bottom:42px; }
 .av-public-site .section-sm { padding-top:32px; padding-bottom:32px; }
 .av-public-site .footer-main { padding:38px 0 28px; }
}
@media(max-width:575.98px) {
 .av-public-site .section { padding-top:34px; padding-bottom:34px; }
 .av-public-site .section-sm { padding-top:28px; padding-bottom:28px; }
 .av-public-site .section-title { line-height:1.17; }
 .av-public-site .footer-main { padding:32px 0 24px; }
}
@media(prefers-reduced-motion:reduce) {
 .av-public-site .btn-main,.av-public-site .header-cta { transition:none; }
}
