/* Footer — jumbo site chrome */
.site-footer {
    background:
        radial-gradient(ellipse 80% 60% at 10% 0%, rgba(59, 130, 246, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 100%, rgba(139, 92, 246, 0.1), transparent 50%),
        linear-gradient(180deg, #0a0f1c 0%, #060912 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5.5rem 0 0;
    margin-top: 5rem;
    position: relative;
    z-index: 10;
}

.site-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2.5rem 4rem;
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: 3rem 2.5rem;
    align-items: start;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 360px;
}

.site-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.site-footer-logo img {
    height: 64px;
    width: 64px;
    border-radius: 14px;
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.45);
}

.site-footer-logo-text {
    font-size: 2.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.site-footer-logo-text span {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-footer-tagline {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0;
}

.site-footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.site-footer-badge.pulse::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

/* Social icons */
.site-footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.25s ease;
}

.site-footer-social a:hover {
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.25);
}

.site-footer-social svg {
    width: 20px;
    height: 20px;
    display: block;
}

.site-footer-social svg.fill {
    fill: currentColor;
}

.site-footer-social svg.stroke {
    fill: none;
    stroke: currentColor;
}

.site-footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer-col h3,
.site-footer-col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 0.6rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer-col h3::after,
.site-footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.site-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.site-footer-col ul li {
    margin: 0;
    padding: 0;
}

.site-footer-col a,
.site-footer-link {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.site-footer-col a:hover,
.site-footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.site-footer-col a.accent-gold:hover { color: #fbbf24; }
.site-footer-col a.accent-red:hover { color: #f87171; }
.site-footer-col a.accent-green:hover { color: #34d399; }

.site-footer-bottom {
    background: rgba(0, 0, 0, 0.45);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.75rem 2.5rem 2rem;
    text-align: center;
}

.site-footer-bottom p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer-bottom .copy {
    margin-top: 0.65rem;
    color: #6b7280;
}

@media (max-width: 1100px) {
    .site-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .site-footer-brand {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding-top: 3.5rem;
        margin-top: 3rem;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        padding: 0 1.25rem 2.5rem;
        gap: 2rem;
    }

    .site-footer-logo img {
        height: 52px;
        width: 52px;
    }

    .site-footer-logo-text {
        font-size: 1.75rem;
    }

    .site-footer-bottom {
        padding: 1.35rem 1.25rem 1.75rem;
    }
}

/* Light Black / Midnight Slate Footer Overrides */
[data-theme="light"] .site-footer {
    background: #182232 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="light"] .site-footer-logo-text {
    color: #ffffff !important;
}

[data-theme="light"] .site-footer-tagline {
    color: #94a3b8 !important;
}

[data-theme="light"] .site-footer-badge {
    background: #1c2638 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

[data-theme="light"] .site-footer-social-btn {
    background: #1c2638 !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

[data-theme="light"] .site-footer-social-btn:hover {
    background: rgba(99, 102, 241, 0.2) !important;
    border-color: rgba(99, 102, 241, 0.4) !important;
    color: #ffffff !important;
}

[data-theme="light"] .site-footer-col h4,
[data-theme="light"] .site-footer-col h3 {
    color: #ffffff !important;
}

[data-theme="light"] .site-footer-col a {
    color: #94a3b8 !important;
}

[data-theme="light"] .site-footer-col a:hover {
    color: #ffffff !important;
}

[data-theme="light"] .site-footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    color: #64748b !important;
}



