/* --- SUPER FOOTER STYLES --- */
:root {
    --footer-bg: #020617;
    --footer-border: #1e293b;
    --footer-text: #94a3b8;
    --footer-input: rgba(255, 255, 255, 0.05);
}

global-footer {
    display: block;
    width: 100%;
}

.super-footer {
    background: var(--footer-bg);
    border-top: 1px solid var(--footer-border);
    padding: 80px 0 40px;
    font-family: 'Inter', sans-serif;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* BRAND COLUMN */
.footer-brand h3 {
    color: white;
    font-size: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    color: var(--footer-text);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 300px;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background: #0077b5; /* LinkedIn Blue */
    border-color: #0077b5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

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

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--accent-blue, #3b82f6);
    border-color: var(--accent-blue, #3b82f6);
    transform: translateY(-3px);
}

/* LINK COLUMNS */
.footer-col h4 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--accent-cyan, #06b6d4);
    transform: translateX(5px);
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
    width: 100%;
    margin: 0 auto;
}

.copyright {
    color: #475569;
    font-size: 13px;
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-links a {
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: white;
}

.footer-disclaimer {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 40px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* SCROLL TO TOP BUTTON (Standardized) */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    /* Aligned above Dev Access */
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--accent-blue, #3b82f6);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* HOW TO CITE COMPONENT */
.cite-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    margin: 60px auto;
    max-width: 1000px;
}

.cite-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.cite-content {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.6;
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.cite-format {
    display: block;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cite-format:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cite-label {
    display: block;
    color: #3b82f6;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 800;
}

.scroll-to-top:hover {
    background: var(--accent-cyan, #06b6d4);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(6, 182, 212, 0.4);
}