/* ==========================================================================
   Footer — Full-Width Bar v4
   Single horizontal row: brand | links | copyright
   Dark/light themes, fully responsive
   ========================================================================== */

/* ── VARIABLES ──────────────────────────────────────────────────────────── */
:root {
    --ft-h: 64px;
    --ft-bg: rgba(5, 9, 7, 0.97);
    --ft-border: rgba(255, 255, 255, 0.07);
    --ft-accent: #6EDC5F;
    --ft-accent-dim: rgba(110, 220, 95, 0.14);
    --ft-text: #C8DDD5;
    --ft-text-muted: #5A8070;
    --ft-blur: 14px;
}

/* ── WRAPPER ─────────────────────────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: auto;
}

/* ── FULL-WIDTH BAR ───────────────────────────────────────────────────────── */
.futuristic-footer {
    width: 100%;
    min-height: var(--ft-h);
    background: var(--ft-bg);
    backdrop-filter: blur(var(--ft-blur)) saturate(130%);
    -webkit-backdrop-filter: blur(var(--ft-blur)) saturate(130%);
    border-top: 1px solid var(--ft-border);
    position: relative;
    overflow: hidden;
}

/* Top accent line */
.futuristic-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(110,220,95,0.45) 20%,
        rgba(184,240,74,0.65) 50%,
        rgba(110,220,95,0.45) 80%,
        transparent 100%
    );
    pointer-events: none;
}

/* ── INNER ROW ───────────────────────────────────────────────────────────── */
.futuristic-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    width: 100%;
    min-height: var(--ft-h);
    padding: 0 2rem;
}

/* ── BRAND (left) ────────────────────────────────────────────────────────── */
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.futuristic-footer .brand-pill {
    /* Wordmark: no box, pure gradient text */
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(135deg, #6EDC5F 0%, #B8F04A 60%, #74f25e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border: none;
    box-shadow: none;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    transition: filter 0.18s;
}

.futuristic-footer .brand-pill::after {
    content: '/';
    -webkit-text-fill-color: rgba(110, 220, 95, 0.35);
    font-weight: 300;
    font-size: 1rem;
    margin: 0 0.42rem;
}

.footer-brand-link:hover .brand-pill {
    filter: brightness(1.12) saturate(1.15);
    box-shadow: none;
}

.futuristic-footer .brand-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    background: linear-gradient(125deg, #6EDC5F 0%, #B8F04A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── CENTER NAV ──────────────────────────────────────────────────────────── */
.footer-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--ft-text-muted);
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0.4rem;
    border-radius: 5px;
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
}

.footer-link:hover {
    color: var(--ft-text);
    background: rgba(255,255,255,0.05);
}

.footer-dot {
    color: var(--ft-border);
    font-size: 0.75rem;
    pointer-events: none;
    user-select: none;
}

/* ── COPYRIGHT (right) ───────────────────────────────────────────────────── */
.footer-copy {
    font-size: 0.78rem;
    color: var(--ft-text-muted);
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── LIGHT MODE ─────────────────────────────────────────────────────────── */
html.dc-light .futuristic-footer {
    background: rgba(243, 248, 245, 0.98);
    border-top-color: rgba(0, 0, 0, 0.08);
}

html.dc-light .futuristic-footer::before {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(77,184,64,0.40) 20%,
        rgba(110,220,95,0.60) 50%,
        rgba(77,184,64,0.40) 80%,
        transparent 100%
    );
}

html.dc-light .futuristic-footer .brand-pill {
    background: linear-gradient(135deg, #2c9a2a 0%, #58b820 60%, #3dc833 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    border: none;
}

html.dc-light .futuristic-footer .brand-pill::after {
    -webkit-text-fill-color: rgba(40, 140, 40, 0.35);
}

html.dc-light .futuristic-footer .brand-name {
    background: linear-gradient(125deg, #3a9a3a 0%, #70c030 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

html.dc-light .footer-link {
    color: #6a9080;
}

html.dc-light .footer-link:hover {
    color: #1a2b25;
    background: rgba(0,0,0,0.04);
}

html.dc-light .footer-dot {
    color: rgba(0,0,0,0.15);
}

html.dc-light .footer-copy {
    color: #8aab9c;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .futuristic-footer__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem 1.25rem;
        gap: 0.6rem;
        min-height: unset;
    }

    .footer-nav {
        justify-content: center;
    }

    .footer-copy {
        font-size: 0.74rem;
    }
}

@media (max-width: 400px) {
    .futuristic-footer__inner {
        padding: 0.85rem 1rem;
    }
}
