.sj-footer-wrapper {
    position: relative;
    background: radial-gradient(circle at 50% 120%, #0d121f 0%, #04060b 100%);
    color: #cbd5e1;
    overflow: hidden;
    padding: 60px 0 30px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sj-ambient-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.sj-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
}

.sj-cloud-1, .sj-cloud-2 {
    position: absolute;
    width: 800px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    filter: blur(50px);
}

.sj-cloud-1 {
    top: -50px;
    left: -200px;
    animation: slow-drift-left 120s linear infinite;
}

.sj-cloud-2 {
    bottom: -100px;
    right: -200px;
    animation: slow-drift-right 100s linear infinite;
}

@keyframes slow-drift-left {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(100px) translateY(30px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes slow-drift-right {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-120px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

.sj-footer-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.sj-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.sj-footer-col {
    display: flex;
    flex-direction: column;
}

/* Nav Columns Styles */
.sj-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sj-nav-item {
    margin-bottom: 12px;
}

.sj-link-item {
    color: #94a3b8;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: inline-block;
}

.sj-link-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #FFDC4A;
    transition: width 0.3s ease;
}

.sj-link-item:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.sj-link-item:hover::after {
    width: 100%;
}

/* Center Logo & Brand Area */
.sj-logo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sj-footer-logo {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sj-footer-logo:hover {
    transform: scale(1.05);
}

.sj-brand-img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 15px rgba(255, 220, 74, 0.2));
}

.sj-logo-placeholder {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #FFDC4A;
    text-transform: uppercase;
}

/* Socials styling */
.sj-socials-wrapper {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.sj-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sj-social-link svg, .sj-social-link i {
    width: 16px;
    height: 16px;
    fill: currentColor;
    font-size: 16px;
}

.sj-social-link:hover {
    background: rgba(255, 220, 74, 0.1);
    border-color: #FFDC4A;
    color: #FFDC4A;
    box-shadow: 0 0 10px rgba(255, 220, 74, 0.3);
    transform: translateY(-3px);
}

/* Newsletter Styles */
.sj-newsletter-col {
    display: flex;
    flex-direction: column;
}

.sj-newsletter-heading {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sj-newsletter-form {
    display: flex;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px;
    backdrop-filter: blur(10px);
}

.sj-newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    padding: 8px 12px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
}

.sj-newsletter-btn {
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    color: #0d121f;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sj-newsletter-btn:hover {
    box-shadow: 0 0 12px rgba(255, 220, 74, 0.5);
    transform: scale(1.02);
}

.sj-quick-nav-right {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.sj-link-item-small {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sj-link-item-small:hover {
    color: #FFDC4A;
}

/* Animated Gradient Divider */
.sj-animated-divider {
    height: 1px;
    width: 100%;
    margin: 30px 0 20px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 220, 74, 0.1), rgba(255, 220, 74, 0.6), rgba(255, 220, 74, 0.1), transparent);
    background-size: 200% auto;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Bottom Bar */
.sj-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.sj-legal-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sj-legal-links a:hover {
    color: #ffffff;
}

.sj-separator {
    margin: 0 8px;
    color: #334155;
}

/* Logo Shape Modifier Classes */
.sj-logo-shape-circle img {
    border-radius: 50%;
}
.sj-logo-shape-rounded img {
    border-radius: 12px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .sj-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sj-logo-col {
        grid-column: span 2;
        order: -1;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .sj-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .sj-logo-col {
        grid-column: span 1;
    }
    .sj-newsletter-form {
        max-width: 320px;
        margin: 0 auto;
    }
    .sj-quick-nav-right {
        justify-content: center;
    }
    .sj-bottom-bar {
        flex-direction: column;
        gap: 15px;
    }
}
