/* ==========================================================================
   dissolveX HRMS - Unified Global Footer Stylesheet
   Shared across all landing and feature pages via landing/partials/footer.html
   ========================================================================== */

.feat-footer {
    background: #1a1f2e;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.feat-footer .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* 3-Column Balanced Grid Footer */
.feat-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

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

.feat-footer-group {
    display: flex;
    flex-direction: column;
}

.feat-footer-group + .feat-footer-group {
    margin-top: 28px;
}

.feat-footer-header {
    font-size: 1.20rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

.feat-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.feat-footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 1.04rem;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    line-height: 1.45;
    white-space: nowrap;
    transition: color 0.2s ease, transform 0.2s ease;
    user-select: text;
}

@media (hover: hover) and (pointer: fine) {
.feat-footer-link:hover {
    color: #10b981;
    transform: translateX(3px);
}
}

/* Brand Bar */
.feat-footer-brand-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 0;
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 28px;
}

.feat-footer-brand-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.feat-brand-link,
.footer-brand-logo-btn {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.feat-footer-brand-logo,
.footer-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: none !important;
    mix-blend-mode: normal !important;
}

.feat-footer-tagline {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    max-width: 480px;
}

.feat-footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-social-box {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
.feat-social-box:hover {
    border-color: #10b981;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}
}

/* Sub-Bar & Legal Links */
.feat-footer-sub-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.0rem;
    color: #94a3b8;
    padding-bottom: 36px;
}

.feat-footer-legal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feat-legal-btn {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
.feat-legal-btn:hover {
    color: #ffffff;
    text-decoration: underline;
}
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 840px) {
    .feat-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 20px;
    }

    .feat-footer-brand-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .feat-footer-brand-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .feat-footer-tagline {
        padding-left: 0;
        border-left: none;
    }

    .feat-footer-link {
        white-space: normal;
    }

    .feat-footer-sub-bar {
        flex-direction: column;
        gap: 14px;
        text-align: center;
    }

    .feat-footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feat-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
