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

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

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

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

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

.nett-footer-2.bg-transparent {
    background-color: transparent;
}

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

/* =========================================================================
 * 2. FOOTER TOP - CENTERED BRANDING
 * =========================================================================
 */

.footer2-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--nett-space-16) 0 !important;
    border-bottom: 1px solid var(--nett-footer-border) !important;
}

.nett-footer-2.bg-light .footer2-top {
    border-bottom-color: var(--nett-gray-200) !important;
}

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

.footer2-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

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

.footer2-logo-text .highlight {
    background: var(--nett-gradient-primary) !important;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer2-tagline {
    font-size: var(--nett-text-lg) !important;
    color: var(--nett-footer-text) !important;
    max-width: 480px;
    margin: 0 0 var(--nett-space-8) 0 !important;
    line-height: var(--nett-leading-relaxed) !important;
}

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

/* Newsletter in Top Section */
.footer2-newsletter {
    width: 100%;
    max-width: 440px;
}

.footer2-newsletter-form {
    display: flex;
    gap: var(--nett-space-3) !important;
    padding: var(--nett-space-2) !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--nett-radius-full) !important;
}

.nett-footer-2.bg-light .footer2-newsletter-form {
    background-color: var(--nett-gray-100) !important;
}

.footer2-newsletter-input {
    flex: 1;
    padding: var(--nett-space-3) var(--nett-space-5) !important;
    font-size: var(--nett-text-sm) !important;
    color: var(--nett-white) !important;
    background-color: transparent;
    border: none;
    outline: none;
}

.footer2-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.nett-footer-2.bg-light .footer2-newsletter-input {
    color: var(--nett-gray-900) !important;
}

.nett-footer-2.bg-light .footer2-newsletter-input::placeholder {
    color: var(--nett-gray-500) !important;
}

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

.footer2-newsletter-submit:hover {
    transform: scale(1.05);
    box-shadow: var(--nett-shadow-primary) !important;
}

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

/* =========================================================================
 * 3. FOOTER MIDDLE - NAVIGATION
 * =========================================================================
 */

.footer2-middle {
    display: flex;
    justify-content: center;
    padding: var(--nett-space-10) 0 !important;
    border-bottom: 1px solid var(--nett-footer-border) !important;
}

.nett-footer-2.bg-light .footer2-middle {
    border-bottom-color: var(--nett-gray-200) !important;
}

.footer2-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--nett-space-2) !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer2-nav-link {
    display: inline-flex;
    align-items: center;
    padding: var(--nett-space-2) var(--nett-space-4) !important;
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-medium);
    color: var(--nett-footer-link);
    text-decoration: none;
    border-radius: var(--nett-radius-lg);
    transition: var(--nett-transition-all);
}

.footer2-nav-link:hover {
    color: var(--nett-white);
    background-color: rgba(255, 255, 255, 0.1);
}

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

.nett-footer-2.bg-light .footer2-nav-link:hover {
    color: var(--nett-primary);
    background-color: var(--nett-primary-50);
}

/* Divider between links */
.footer2-nav-divider {
    width: 1px;
    height: 20px;
    background-color: var(--nett-footer-border);
    margin: 0 var(--nett-space-2);
    align-self: center;
}

/* =========================================================================
 * 4. FOOTER BOTTOM - COPYRIGHT & SOCIAL
 * =========================================================================
 */

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

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

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

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

.footer2-copyright a:hover {
    color: var(--nett-white);
}

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

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

/* Social Icons */
.footer2-social {
    display: flex;
    gap: var(--nett-space-2);
}

.footer2-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nett-radius-full);
    color: var(--nett-footer-text);
    transition: var(--nett-transition-all);
}

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

.nett-footer-2.bg-light .footer2-social-link {
    background-color: var(--nett-gray-100);
    border-color: var(--nett-gray-200);
    color: var(--nett-gray-600);
}

.footer2-social-link svg {
    width: 16px;
    height: 16px;
}

/* =========================================================================
 * 5. ALTERNATE LAYOUT - MULTI-COLUMN
 * =========================================================================
 */

.footer2-columns {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: var(--nett-gap-xl);
    padding: var(--nett-space-16) 0;
}

.footer2-column {
    display: flex;
    flex-direction: column;
}

.footer2-column-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 0 var(--nett-space-5) 0;
}

.nett-footer-2.bg-light .footer2-column-title {
    color: var(--nett-gray-900);
}

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

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

.footer2-column-link:hover {
    color: var(--nett-white);
}

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

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

/* =========================================================================
 * 6. CTA BANNER INSIDE FOOTER
 * =========================================================================
 */

.footer2-cta {
    position: relative;
    padding: var(--nett-space-12);
    margin-bottom: var(--nett-space-12);
    background: var(--nett-gradient-primary);
    border-radius: var(--nett-radius-2xl);
    text-align: center;
    overflow: hidden;
}

.footer2-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.footer2-cta-title {
    font-family: var(--nett-font-heading);
    font-size: var(--nett-text-2xl);
    font-weight: var(--nett-font-bold);
    color: var(--nett-white);
    margin: 0 0 var(--nett-space-3) 0;
    position: relative;
}

.footer2-cta-desc {
    font-size: var(--nett-text-base);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 var(--nett-space-6) 0;
    position: relative;
}

.footer2-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--nett-space-2);
    padding: var(--nett-space-3) var(--nett-space-6);
    font-size: var(--nett-text-sm);
    font-weight: var(--nett-font-semibold);
    color: var(--nett-primary);
    background-color: var(--nett-white);
    border-radius: var(--nett-radius-full);
    text-decoration: none;
    transition: var(--nett-transition-all);
    position: relative;
}

.footer2-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--nett-shadow-xl);
}

.footer2-cta-btn svg {
    width: 16px;
    height: 16px;
}

/* =========================================================================
 * 7. LANGUAGE/REGION SELECTOR
 * =========================================================================
 */

.footer2-locale {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.footer2-locale-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--nett-space-2);
    padding: var(--nett-space-2) var(--nett-space-3);
    font-size: var(--nett-text-sm);
    color: var(--nett-footer-text);
    background-color: transparent;
    border: 1px solid var(--nett-footer-border);
    border-radius: var(--nett-radius-lg);
    cursor: pointer;
    transition: var(--nett-transition-all);
}

.footer2-locale-btn:hover {
    border-color: var(--nett-footer-link-hover);
    color: var(--nett-footer-link-hover);
}

.footer2-locale-btn svg {
    width: 16px;
    height: 16px;
}

.footer2-locale-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 150px;
    padding: var(--nett-space-2);
    margin-bottom: var(--nett-space-2);
    background-color: var(--nett-gray-800);
    border: 1px solid var(--nett-gray-700);
    border-radius: var(--nett-radius-lg);
    box-shadow: var(--nett-shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--nett-transition-all);
    list-style: none;
    margin: 0;
    padding: var(--nett-space-2);
}

.footer2-locale:hover .footer2-locale-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-bottom: var(--nett-space-2);
}

.footer2-locale-option {
    padding: var(--nett-space-2) var(--nett-space-3);
    font-size: var(--nett-text-sm);
    color: var(--nett-gray-300);
    border-radius: var(--nett-radius-md);
    cursor: pointer;
    transition: var(--nett-transition-colors);
}

.footer2-locale-option:hover {
    background-color: var(--nett-gray-700);
    color: var(--nett-white);
}

/* =========================================================================
 * 8. DECORATIVE ELEMENTS
 * =========================================================================
 */

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

/* Gradient Orbs */
.footer2-orb {
    position: absolute;
    border-radius: var(--nett-radius-full);
    filter: blur(100px);
    opacity: 0.1;
}

.footer2-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--nett-primary);
    top: -200px;
    left: -100px;
}

.footer2-orb-2 {
    width: 300px;
    height: 300px;
    background: var(--nett-secondary);
    bottom: -150px;
    right: -100px;
}

/* Grid Pattern */
.footer2-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* =========================================================================
 * 9. ANIMATIONS
 * =========================================================================
 */

.footer2-logo.animate {
    animation: footer2-fade-up 0.6s var(--nett-ease) forwards;
}

.footer2-tagline.animate {
    animation: footer2-fade-up 0.6s var(--nett-ease) 0.1s forwards;
    opacity: 0;
}

.footer2-newsletter.animate {
    animation: footer2-fade-up 0.6s var(--nett-ease) 0.2s forwards;
    opacity: 0;
}

@keyframes footer2-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
 * 10. RESPONSIVE STYLES
 * =========================================================================
 */

@media (max-width: 1024px) {
    .footer2-columns {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer2-columns .footer2-column:first-child {
        grid-column: span 3;
        text-align: center;
        margin-bottom: var(--nett-space-8);
    }
}

@media (max-width: 768px) {
    .footer2-newsletter-form {
        flex-direction: column;
        border-radius: var(--nett-radius-xl);
        padding: var(--nett-space-3);
    }
    
    .footer2-newsletter-submit {
        width: 100%;
    }
    
    .footer2-nav {
        gap: var(--nett-space-1);
    }
    
    .footer2-nav-divider {
        display: none;
    }
    
    .footer2-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer2-columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer2-columns .footer2-column:first-child {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .footer2-container {
        padding: 0 var(--nett-space-4);
    }
    
    .footer2-top {
        padding: var(--nett-space-12) 0;
    }
    
    .footer2-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer2-columns .footer2-column:first-child {
        grid-column: span 1;
    }
    
    .footer2-column {
        align-items: center;
    }
    
    .footer2-cta {
        padding: var(--nett-space-8);
    }
}

/* =========================================================================
 * 11. UTILITY CLASSES
 * =========================================================================
 */

.footer2-top > *,
.footer2-middle > *,
.footer2-bottom > * {
    position: relative;
    z-index: 1;
}

.nett-footer-2.compact .footer2-top {
    padding: var(--nett-space-10) 0;
}

.nett-footer-2.minimal .footer2-middle {
    display: none;
}
