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

/* Legacy Footer */
.footer {
    background: var(--dark-charcoal);
    color: var(--pure-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    color: var(--accent-warm);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-light);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-light);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--accent-green);
}

/* ========================================
   AGENCY FOOTER STYLES
   ======================================== */

.agency-footer {
    background: #000;
    color: #fff;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.agency-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    box-shadow: 0 0 20px var(--accent);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-copyright-inline {
    margin-top: 1.25rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.02em;
}

/* Agency Brand Mark */
.footer-brand {
    padding-right: 2rem;
}

.agency-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mark-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--accent);
    text-shadow: 0 0 20px var(--accent);
}

.mark-dot {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}

.agency-tagline {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.agency-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Footer Navigation */
.footer-nav h4,
.footer-connect h4,
.footer-cta h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

/* Footer Connect */
.footer-connect .footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.footer-connect .footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-connect .footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer-email {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-email:hover {
    color: var(--accent);
}

/* Footer CTA */
.footer-cta p {
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.btn-footer:hover {
    background: var(--accent);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--accent);
}

/* Footer Bottom */
.agency-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-top: none;
}

.footer-copyright p {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
    margin: 0;
}

/* Built By Badge */
.built-by-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 100px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.built-by-badge:hover {
    background: rgba(193, 68, 14, 0.15);
    border-color: var(--accent);
    color: var(--accent);
}

.badge-icon {
    font-size: 1rem;
    color: var(--accent);
}

.badge-text {
    font-family: 'Inter', sans-serif;
}

/* Embeddable GXM Badge (for client sites) */
.gxm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #0f0908;
    border: 1px solid rgba(193, 68, 14, 0.3);
    border-radius: 100px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.gxm-badge:hover {
    background: #1a0d08;
    border-color: #c1440e;
    color: #c1440e;
}

.gxm-badge .gxm-icon {
    color: #c1440e;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        padding-right: 0;
    }
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .agency-footer {
        padding: 60px 0 0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .agency-mark {
        justify-content: center;
    }

    .footer-connect .footer-social {
        justify-content: center;
    }

    .agency-footer .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}
