/*
    FILE: static/css/footer-final.css
    DESCRIPTION: Dark Footer with CTA Header - Exact Match
*/

:root {
    --w360-footer-bg: #0B1120;       /* Very Dark Blue/Black */
    --w360-cta-bg: #172554;          /* Royal Blue for CTA Section */
    --w360-text-main: #94A3B8;       /* Slate 400 */
    --w360-text-light: #F8FAFC;      /* White/Slate 50 */
    --w360-border: #1E293B;          /* Slate 800 */
    --w360-primary: #ffffff;         /* White Buttons */
    --w360-primary-text: #0F172A;    /* Dark Text on Buttons */
}

/* =========================================
   1. CTA SECTION (Ready to Transform...)
   ========================================= */
.w360-cta-section {
    background-color: var(--w360-cta-bg); /* Royal Blue */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.w360-cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.w360-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: white;
}

.w360-cta-subtitle {
    font-size: 1.1rem;
    color: #E2E8F0; /* Light Slate */
    margin-bottom: 40px;
}

.w360-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Primary Button (White) */
.w360-btn-white {
    background-color: #ffffff;
    color: #0F172A;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
    border: 1px solid #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.w360-btn-white:hover {
    transform: translateY(-2px);
    background-color: #f1f5f9;
}

/* Secondary Button (Outline) */
.w360-btn-outline {
    background-color: transparent;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #ffffff;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.w360-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.w360-cta-note {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 24px;
}


/* =========================================
   2. MAIN FOOTER AREA
   ========================================= */
.w360-footer-area {
    background-color: var(--w360-footer-bg); /* Darkest Blue */
    color: var(--w360-text-main);
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
    border-top: 1px solid var(--w360-border);
}

.w360-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    /* 4 Columns: Brand (Wide), Platform, Resources, Company */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

/* Column 1: Brand Info */
.w360-brand-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.w360-footer-logo-img {
    height: 5px;
    width: auto;
    margin-bottom: 24px;
    /* Optional: Ensure logo is visible on dark bg */
    filter: brightness(0) invert(1);
}

.w360-footer-logo-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.w360-footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 350px;
    color: white;
}

/* Social Icons (Square/Minimal) */
.w360-social-bar {
    display: flex;
    gap: 12px;
}

.w360-social-icon {
    width: 36px;
    height: 36px;
    background-color: #1E293B;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s;
}

.w360-social-icon:hover {
    background-color: #334155;
    color: #fff;
}


/* Columns 2, 3, 4: Links */
.w360-link-col h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 0;
}

.w360-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.w360-link-list li a {
    color: var(--w360-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.w360-link-list li a:hover {
    color: #fff;
}


/* =========================================
   3. COPYRIGHT BOTTOM BAR
   ========================================= */
.w360-copyright-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
    border-top: 1px solid var(--w360-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.w360-legal-links {
    display: flex;
    gap: 24px;
}

.w360-legal-links a {
    color: var(--w360-text-main);
    text-decoration: none;
}

.w360-legal-links a:hover {
    color: #fff;
}

/* Scroll Top Button - Minimal */
.w360-scroll-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: #3B82F6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* =========================================
   4. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .w360-footer-content {
        grid-template-columns: 1fr 1fr; /* 2x2 Grid */
        gap: 40px;
    }
    .w360-brand-info {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .w360-cta-title { font-size: 2rem; }

    .w360-footer-content {
        grid-template-columns: 1fr; /* Stack everything */
        text-align: left;
    }

    .w360-brand-info { grid-column: span 1; }

    .w360-copyright-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
