/* ===== Premium Footer - Responsive Design ===== */
.premium-footer {
    position: relative;
    background: var(--bg-void);
    border-top: var(--glass-border);
    margin-top: 2rem;
}

.footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: var(--glow-lg);
}

.premium-footer .footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem;
}

/* Footer Top - Brand + Newsletter */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: var(--glass-border);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.premium-footer .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 280px;
}

.premium-footer .footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
}

.premium-footer .footer-logo .logo-icon {
    font-size: 2rem;
}

.premium-footer .footer-logo .logo-text {
    color: var(--text-primary);
}

.premium-footer .footer-logo .highlight {
    color: var(--accent-primary);
}

.premium-footer .footer-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 320px;
    margin: 0;
    line-height: 1.6;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(245, 158, 11, 0.2);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--glow-sm);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Newsletter */
.footer-newsletter {
    background: rgba(245, 158, 11, 0.05);
    border: var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    flex: 1;
    max-width: 400px;
    min-width: 300px;
}

.footer-newsletter h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    font-weight: 600;
}

.footer-newsletter p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.6rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    border-color: var(--accent-primary);
    box-shadow: var(--glow-sm);
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}
.newsletter-form input:focus:not(:focus-visible) {
    outline: none;
}

.newsletter-form button {
    padding: 0.75rem 1.5rem;
    background: var(--accent-primary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
    box-shadow: var(--glow-md);
}

/* Footer Links Row */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    padding: 1.25rem 0;
    border-bottom: var(--glass-border);
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    padding: 0.35rem 0;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-link-sep {
    display: none;
}

/* Footer Bottom */
.premium-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-copyright p {
    margin: 0;
}

.footer-data-source {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 0.25rem;
}

.footer-badges {
    display: flex;
    gap: 0.6rem;
}

.footer-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: var(--glass-border);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .footer-links {
        gap: 0.4rem 1.25rem;
    }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 768px) {
    .premium-footer .footer-container {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }

    .premium-footer .footer-brand {
        min-width: 100%;
    }

    .footer-newsletter {
        max-width: 100%;
        min-width: 100%;
    }

    .footer-links {
        gap: 0.25rem 1rem;
    }

    .premium-footer .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-badges {
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .premium-footer .footer-container {
        padding: 2rem 1.25rem 1.25rem;
    }

    .premium-footer .footer-logo {
        font-size: 1.5rem;
    }

    .premium-footer .footer-logo .logo-icon {
        font-size: 1.75rem;
    }

    .premium-footer .footer-tagline {
        font-size: 0.95rem;
    }

    .footer-newsletter {
        padding: 1.25rem;
    }

    .footer-newsletter h4 {
        font-size: 1.1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-links {
        gap: 0.2rem 0.75rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-social {
        justify-content: flex-start;
    }

    .social-link {
        width: 48px;
        height: 48px;
    }

    .footer-copyright {
        font-size: 0.9rem;
    }

    .footer-badges .badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}
