/* =========================
   FOOTER — matches home page design
   White bg, blue accents, Syne + Inter
========================= */

:root {
    --blue: #1a56ff;
    --blue-mid: #4f75ff;
    --cyan: #00d4ff;
    --dark: #111320;
    --muted: #6b7280;
    --white: #ffffff;
    --off: #f7f8fc;
    --border: #e2e6f0;
}

/* =========================
   FOOTER WRAPPER
========================= */
.site-footer {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

/* top gradient line like home page sections */
.footer-top-bar {
    height: 1px;
    background: linear-gradient(to right,
        rgba(26,86,255,0.1),
        rgba(0,212,255,0.8),
        rgba(26,86,255,0.1)
    );
}

/* subtle glow behind footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse, rgba(26,86,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* =========================
   FOOTER INNER GRID
========================= */
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 3rem) clamp(2rem, 4vw, 3rem);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    position: relative;
    z-index: 1;
}

/* =========================
   BRAND COL
========================= */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s;
}

.footer-logo:hover { opacity: 0.85; text-decoration: none; }

.footer-logo-img {
    width: 44px; height: 44px;
    border-radius: 10px;
    object-fit: contain;
    padding: 3px;
    background: rgba(255,255,255,0.06);
}

.footer-logo-text {
    font-family: 'Syne', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-logo-accent {
    color: var(--cyan);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

.footer-sub {
    font-family: 'Syne', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
    margin: 0;
}

/* Social */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}

.social-btn {
    width: 38px; height: 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s ease;
}

.social-btn:hover {
    background: rgba(26,86,255,0.15);
    border-color: rgba(26,86,255,0.4);
    color: var(--cyan);
    transform: translateY(-2px);
    text-decoration: none;
}

/* =========================
   LINK COLS
========================= */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    font-weight: 500;
    margin: 0 0 4px;
}

.footer-links {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* =========================
   BOTTOM BAR
========================= */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    position: relative;
    z-index: 1;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-family: 'Inter', sans-serif;
}

.footer-made {
    font-size: 12px;
    color: rgba(255,255,255,0.2);
    font-family: 'Inter', sans-serif;
    font-style: italic;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 2rem;
    }
    .footer-social { margin-top: 0; }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-logo-text { font-size: 20px; }
    .footer-logo-img { width: 36px; height: 36px; }
}