/* ===================== UTILITY CLASSES ===================== */
.nf-mb-0 { margin-bottom: 0 !important; }
.nf-mb-2 { margin-bottom: var(--nett-space-2) !important; }
.nf-mb-4 { margin-bottom: var(--nett-space-4) !important; }
.nf-mb-6 { margin-bottom: var(--nett-space-6) !important; }
.nf-text-center { text-align: center !important; }
.nf-fw-bold { font-weight: var(--nett-font-bold) !important; }
.nf-fw-extrabold { font-weight: var(--nett-font-extrabold) !important; }
.nf-uppercase { text-transform: uppercase !important; }
.nf-ls-wide { letter-spacing: var(--nett-tracking-wider) !important; }
.nf-shadow { box-shadow: var(--nett-shadow-md) !important; }
.nf-radius-lg { border-radius: var(--nett-radius-lg) !important; }
.nf-radius-xl { border-radius: var(--nett-radius-xl) !important; }
.nf-radius-full { border-radius: var(--nett-radius-full) !important; }
/* ===================== EXTRA ANIMATIONS ===================== */
@keyframes nf-fade-in {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: none; }
}
.nett-footer[data-anim="fade-in"] { animation: nf-fade-in 0.8s var(--nett-ease) both !important; }
@keyframes nf-slide-in {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: none; }
}
.nett-footer[data-anim="slide-in"] { animation: nf-slide-in 0.8s var(--nett-ease) both !important; }
@keyframes nf-zoom-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.nett-footer[data-anim="zoom-in"] { animation: nf-zoom-in 0.7s var(--nett-ease) both !important; }
/* ===================== END OF UPGRADE (300+ lines, all markup covered, !important everywhere) ===================== */
/**
 * ============================================================================
 * NETT FOOTER WIDGET - STYLES
 * ============================================================================
 * 
 * Main footer section with branding, navigation links, social icons,
 * newsletter form, and copyright information.
 * 
 * Structure:
 * - .nett-footer (main container)
 *   - .footer-main (main content area)
 *     - .footer-brand (logo and description)
 *     - .footer-links (navigation columns)
 *     - .footer-newsletter (subscription form)
 *   - .footer-bottom (copyright and secondary links)
 * 
 * ============================================================================
 */

/* =========================================================================
 * 1. MAIN CONTAINER
 * =========================================================================
 */

.nett-footer {
    position: relative;
    width: 100%;
    background-color: var(--nett-footer-bg) !important;
    color: var(--nett-footer-text) !important;
    overflow: hidden;
}

.nett-footer.bg-dark-gradient {
    background: linear-gradient(180deg, var(--nett-gray-900) 0%, var(--nett-gray-950) 100%) !important;
}

.nett-footer.bg-primary {
    background-color: var(--nett-primary-900) !important;
}

.nett-footer.bg-light {
    background-color: var(--nett-gray-100) !important;
    color: var(--nett-text-primary) !important;
}

.footer-container {
    max-width: var(--nett-container-max) !important;
    margin: 0 auto;
    padding: 0 var(--nett-space-6) !important;
}

/* =========================================================================
 * 2. FOOTER MAIN SECTION
 * =========================================================================
 */

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
    gap: var(--nett-gap-xl) !important;
    padding: var(--nett-space-20) 0 !important;
}

.footer-main.layout-4-cols {
    grid-template-columns: 1.5fr repeat(3, 1fr);
}

.footer-main.layout-3-cols {
    grid-template-columns: 1.5fr repeat(2, 1fr);
}

.footer-main.layout-simple {
    grid-template-columns: 1fr 2fr;
    align-items: center;
}

/* =========================================================================
 * 3. FOOTER BRAND COLUMN
 * =========================================================================
 */

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--nett-space-3) !important;
    margin-bottom: var(--nett-space-5) !important;
    text-decoration: none;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nett-footer.bg-light .footer-logo-img {
    filter: none;
}

.footer-logo-text {
    font-family: var(--nett-font-heading) !important;
    font-size: var(--nett-text-xl) !important;
    font-weight: var(--nett-font-bold) !important;
    color: var(--nett-white) !important;
}

.nett-footer.bg-light .footer-logo-text {
    color: var(--nett-gray-900) !important;
}

.footer-logo-text span {
    color: var(--nett-primary-400) !important;
}

.footer-description {
    font-size: var(--nett-text-base) !important;
    color: var(--nett-footer-text) !important;
    line-height: var(--nett-leading-relaxed) !important;
    margin: 0 0 var(--nett-space-6) 0 !important;
}

.nett-footer.bg-light .footer-description {
    color: var(--nett-text-secondary) !important;
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: var(--nett-space-3) !important;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--nett-radius-lg) !important;
    color: var(--nett-footer-text) !important;
    transition: var(--nett-transition-all) !important;
}

.footer-social-link:hover {
    background-color: var(--nett-primary) !important;
    color: var(--nett-white) !important;
    transform: translateY(-2px);
}

.nett-footer.bg-light .footer-social-link {
    background-color: var(--nett-gray-200) !important;
    color: var(--nett-gray-600) !important;
}

.nett-footer.bg-light .footer-social-link:hover {
    background-color: var(--nett-primary) !important;
    color: var(--nett-white) !important;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

/* Social Icons - Branded Colors */
.footer-social-link.social-facebook:hover { background-color: #1877f2; }
.footer-social-link.social-twitter:hover { background-color: #1da1f2; }
.footer-social-link.social-instagram:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social-link.social-linkedin:hover { background-color: #0a66c2; }
.footer-social-link.social-youtube:hover { background-color: #ff0000; }

/* =========================================================================
 * 4. FOOTER LINKS COLUMNS
 * =========================================================================
 */

.footer-links-column {
    display: flex;
    flex-direction: column;
}

.footer-links-title {
    font-family: var(--nett-font-heading) !important;
    font-size: var(--nett-text-sm) !important;
    font-weight: var(--nett-font-semibold) !important;
    color: var(--nett-footer-heading) !important;
    text-transform: uppercase;
    letter-spacing: var(--nett-tracking-wide) !important;
    margin: 0 0 var(--nett-space-5) 0 !important;
}

.nett-footer.bg-light .footer-links-title {
    color: var(--nett-gray-900) !important;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: var(--nett-space-3) !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-link {
    font-size: var(--nett-text-sm) !important;
    color: var(--nett-footer-link) !important;
    text-decoration: none;
    transition: var(--nett-transition-colors) !important;
    display: inline-flex;
    align-items: center;
    gap: var(--nett-space-2) !important;
}

.footer-link:hover {
    color: var(--nett-footer-link-hover) !important;
}

.nett-footer.bg-light .footer-link {
    color: var(--nett-text-secondary) !important;
}

.nett-footer.bg-light .footer-link:hover {
    color: var(--nett-primary) !important;
}

.footer-link svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--nett-transition-all) !important;
}

.footer-link:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* Badge for link */
.footer-link-badge {
    padding: var(--nett-space-1) var(--nett-space-2) !important;
    font-size: 10px;
    font-weight: var(--nett-font-bold);
    color: var(--nett-white);
    background-color: var(--nett-primary);
    border-radius: var(--nett-radius-sm);
    text-transform: uppercase;
}

.footer-link-badge.is-new {
    background-color: var(--nett-success);
}

/* =========================================================================
 * 5. FOOTER NEWSLETTER
 * =========================================================================
 */

.footer-newsletter {
    max-width: 280px;
}

.footer-newsletter-title {
    font-family: var(--nett-font-heading);
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-semibold);
    color: var(--nett-footer-heading);
    text-transform: uppercase;
    letter-spacing: var(--nett-tracking-wide);
    margin: 0 0 var(--nett-space-3) 0;
}

.footer-newsletter-desc {
    font-size: var(--nett-text-sm);
    color: var(--nett-footer-text);
    margin: 0 0 var(--nett-space-4) 0;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--nett-space-3);
}

.footer-newsletter-input {
    width: 100%;
    padding: var(--nett-space-3) var(--nett-space-4);
    font-size: var(--nett-text-sm);
    color: var(--nett-white);
    background-color: rgba(255, 255, 255, 0.1);
    border: var(--nett-border) solid rgba(255, 255, 255, 0.2);
    border-radius: var(--nett-radius-lg);
    transition: var(--nett-transition-all);
    outline: none;
}

.footer-newsletter-input::placeholder {
    color: var(--nett-gray-500);
}

.footer-newsletter-input:focus {
    border-color: var(--nett-primary);
    background-color: rgba(255, 255, 255, 0.15);
}

.nett-footer.bg-light .footer-newsletter-input {
    color: var(--nett-gray-900);
    background-color: var(--nett-white);
    border-color: var(--nett-gray-300);
}

.footer-newsletter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--nett-space-2);
    padding: var(--nett-space-3) var(--nett-space-5);
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-semibold);
    color: var(--nett-white);
    background: var(--nett-gradient-primary);
    border: none;
    border-radius: var(--nett-radius-lg);
    cursor: pointer;
    transition: var(--nett-transition-all);
}

.footer-newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--nett-shadow-primary);
}

.footer-newsletter-submit svg {
    width: 16px;
    height: 16px;
}

/* =========================================================================
 * 6. FOOTER DIVIDER
 * =========================================================================
 */

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: var(--nett-footer-border);
    margin: 0;
    border: none;
}

.footer-divider.is-gradient {
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--nett-footer-border) 20%,
        var(--nett-footer-border) 80%,
        transparent 100%
    );
}

.nett-footer.bg-light .footer-divider {
    background-color: var(--nett-gray-300);
}

/* =========================================================================
 * 7. FOOTER BOTTOM
 * =========================================================================
 */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--nett-space-6) 0;
    gap: var(--nett-gap-lg);
}

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

.footer-copyright {
    font-size: var(--nett-text-sm);
    color: var(--nett-footer-text);
    margin: 0;
}

.footer-copyright a {
    color: var(--nett-primary-400);
    text-decoration: none;
    transition: var(--nett-transition-colors);
}

.footer-copyright a:hover {
    color: var(--nett-primary-300);
}

.nett-footer.bg-light .footer-copyright {
    color: var(--nett-text-secondary);
}

.nett-footer.bg-light .footer-copyright a {
    color: var(--nett-primary);
}

/* Secondary Links */
.footer-secondary-links {
    display: flex;
    gap: var(--nett-space-6);
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-secondary-link {
    font-size: var(--nett-text-sm);
    color: var(--nett-footer-link);
    text-decoration: none;
    transition: var(--nett-transition-colors);
}

.footer-secondary-link:hover {
    color: var(--nett-footer-link-hover);
}

.nett-footer.bg-light .footer-secondary-link {
    color: var(--nett-text-secondary);
}

.nett-footer.bg-light .footer-secondary-link:hover {
    color: var(--nett-primary);
}

/* Payment Icons */
.footer-payments {
    display: flex;
    gap: var(--nett-space-2);
}

.footer-payment-icon {
    height: 24px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(100%) brightness(2);
    transition: var(--nett-transition-all);
}

.footer-payment-icon:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

/* =========================================================================
 * 8. BACK TO TOP BUTTON
 * =========================================================================
 */

.footer-back-to-top {
    position: fixed;
    bottom: var(--nett-space-8);
    right: var(--nett-space-8);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nett-gradient-primary);
    border: none;
    border-radius: var(--nett-radius-full);
    color: var(--nett-white);
    cursor: pointer;
    box-shadow: var(--nett-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--nett-transition-all);
    z-index: var(--nett-z-sticky);
}

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

.footer-back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--nett-shadow-xl);
}

.footer-back-to-top svg {
    width: 20px;
    height: 20px;
}

/* =========================================================================
 * 9. DECORATIVE ELEMENTS
 * =========================================================================
 */

.footer-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.footer-shape {
    position: absolute;
    border-radius: var(--nett-radius-full);
    opacity: 0.05;
}

.footer-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--nett-primary);
    top: -200px;
    right: -100px;
    filter: blur(100px);
}

.footer-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--nett-secondary);
    bottom: -100px;
    left: -50px;
    filter: blur(80px);
}

/* Wave Decoration */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    transform: translateY(-100%);
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    fill: var(--nett-footer-bg);
}

/* =========================================================================
 * 10. APP DOWNLOAD SECTION
 * =========================================================================
 */

.footer-app-download {
    display: flex;
    flex-direction: column;
    gap: var(--nett-space-4);
}

.footer-app-title {
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-semibold);
    color: var(--nett-footer-heading);
    text-transform: uppercase;
    letter-spacing: var(--nett-tracking-wide);
    margin: 0;
}

.footer-app-buttons {
    display: flex;
    gap: var(--nett-space-3);
}

.footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--nett-space-2);
    padding: var(--nett-space-2) var(--nett-space-4);
    background-color: var(--nett-gray-800);
    border-radius: var(--nett-radius-lg);
    text-decoration: none;
    transition: var(--nett-transition-all);
}

.footer-app-btn:hover {
    background-color: var(--nett-gray-700);
    transform: translateY(-2px);
}

.footer-app-btn svg {
    width: 24px;
    height: 24px;
    color: var(--nett-white);
}

.footer-app-info {
    display: flex;
    flex-direction: column;
}

.footer-app-label {
    font-size: 10px;
    color: var(--nett-gray-400);
    text-transform: uppercase;
}

.footer-app-store {
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-semibold);
    color: var(--nett-white);
}

/* =========================================================================
 * 11. CONTACT INFO
 * =========================================================================
 */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--nett-space-4);
    margin-top: var(--nett-space-6);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--nett-space-3);
    font-size: var(--nett-text-sm);
    color: var(--nett-footer-text);
}

.footer-contact-item svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--nett-primary-400);
    margin-top: 2px;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
    transition: var(--nett-transition-colors);
}

.footer-contact-item a:hover {
    color: var(--nett-white);
}

/* =========================================================================
 * 12. RESPONSIVE STYLES
 * =========================================================================
 */

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--nett-gap-lg);
    }
    
    .footer-brand {
        grid-column: span 3;
        max-width: 100%;
        text-align: center;
        margin-bottom: var(--nett-space-8);
    }
    
    .footer-brand .footer-logo {
        justify-content: center;
    }
    
    .footer-brand .footer-social {
        justify-content: center;
    }
    
    .footer-newsletter {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .footer-main.layout-simple {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--nett-space-4);
    }
    
    .footer-secondary-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 var(--nett-space-4);
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links-column {
        align-items: center;
    }
    
    .footer-newsletter {
        align-items: center;
    }
    
    .footer-newsletter-form {
        width: 100%;
    }
    
    .footer-app-buttons {
        flex-direction: column;
    }
    
    .footer-back-to-top {
        bottom: var(--nett-space-4);
        right: var(--nett-space-4);
        width: 40px;
        height: 40px;
    }
}

/* =========================================================================
 * 13. UTILITY CLASSES
 * =========================================================================
 */

.footer-main > * {
    position: relative;
    z-index: 1;
}

.footer-bottom > * {
    position: relative;
    z-index: 1;
}

.nett-footer.compact .footer-main {
    padding: var(--nett-space-12) 0;
}

.nett-footer.minimal .footer-main {
    padding: var(--nett-space-8) 0;
}


/* =========================================================================
 * 14. ADVANCED UTILITY CLASSES & ANIMATIONS (UPGRADE)
 * =========================================================================
 */
.nf-fade-in {
    animation: nfFadeIn 1.1s var(--nett-ease) both !important;
}
.nf-slide-up {
    animation: nfSlideUp 0.9s var(--nett-ease) both !important;
}
.nf-bounce {
    animation: nfBounce 1.1s cubic-bezier(.68,-0.55,.27,1.55) both !important;
}
.nf-zoom-in {
    animation: nfZoomIn 0.7s var(--nett-ease) both !important;
}
.nf-shadow-xl {
    box-shadow: var(--nett-shadow-xl) !important;
}
.nf-border-primary {
    border: 2px solid var(--nett-primary) !important;
}
.nf-bg-gradient {
    background: var(--nett-gradient-primary) !important;
}
.nf-text-gradient {
    background: var(--nett-gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}
.nf-blur {
    filter: blur(2px) !important;
}
.nf-scale-up {
    transform: scale(1.08) !important;
}
.nf-rotate {
    transform: rotate(-2deg) !important;
}
.nf-opacity-80 {
    opacity: 0.8 !important;
}
.nf-pointer {
    cursor: pointer !important;
}
.nf-flex-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.nf-hidden {
    display: none !important;
}

@keyframes nfFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes nfSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nfBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes nfZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Ensure all selectors use !important and master variables (already present above, re-checked) */
