/* =========================================================
   ULK-POS Ultra Premium Modern Footer & Feature Banner
   ========================================================= */

:root {
    --ulk-navy-dark: #001B3A;
    --ulk-navy-deep: #002B5B;
    --ulk-navy-accent: #004085;
    --ulk-blue-bright: #0076C6;
    --ulk-orange-glow: #FF8C00;
    --ulk-orange-light: #FFA02A;
    --ulk-white: #FFFFFF;
    --ulk-gray-light: #E2E8F0;
    --ulk-gray-sub: #94A3B8;
}

/* Footer Root Element */
.ulk-modern-footer {
    position: relative;
    width: 100%;
    background: linear-gradient(180deg, var(--ulk-navy-deep) 0%, var(--ulk-navy-dark) 100%);
    color: var(--ulk-white);
    padding: 0 0 20px 0;
    margin-top: auto;
    margin-bottom: 0 !important;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    overflow: hidden !important;
}

/* ---------------------------------------------------------
   SVG Wave Top Divider (Ultra Smooth Dual-Curve Transition)
   --------------------------------------------------------- */
.ulk-footer-wave-wrapper {
    position: absolute;
    top: -59px;
    left: 0;
    width: 100%;
    height: 60px;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    z-index: 2;
}

.ulk-footer-wave-wrapper svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

/* Decorative Background Glows (clipped inside container) */
.ulk-footer-glow-left {
    position: absolute;
    top: 0;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 118, 198, 0.2) 0%, rgba(0, 43, 91, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.ulk-footer-glow-right {
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, rgba(0, 43, 91, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* ---------------------------------------------------------
   Main Features Container (Glassmorphism & Micro-Interactions)
   --------------------------------------------------------- */
.ulk-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 0 24px;
    position: relative;
    z-index: 5;
}

.ulk-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

/* Premium Glass Feature Card */
.ulk-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

/* Orange accent highlight bar on card top border */
.ulk-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--ulk-orange-glow), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.ulk-feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 140, 0, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 140, 0, 0.15);
}

.ulk-feature-card:hover::before {
    opacity: 1;
}

/* Icon Container with Radiant Glow */
.ulk-icon-wrapper {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
    transition: all 0.35s ease;
}

.ulk-feature-card:hover .ulk-icon-wrapper {
    background: linear-gradient(135deg, var(--ulk-orange-glow) 0%, var(--ulk-orange-light) 100%);
    border-color: var(--ulk-orange-glow);
    box-shadow: 0 8px 20px rgba(255, 140, 0, 0.4);
}

.ulk-icon-wrapper svg {
    width: 26px;
    height: 26px;
    stroke: var(--ulk-white);
    transition: transform 0.35s ease;
}

.ulk-feature-card:hover .ulk-icon-wrapper svg {
    transform: scale(1.1);
}

/* Typography Styling */
.ulk-feature-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--ulk-white);
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.ulk-feature-content p {
    font-size: 13px;
    font-weight: 400;
    color: var(--ulk-gray-sub);
    margin: 0;
    line-height: 1.4;
}

/* Footer Bottom Bar (Copyright & Branding) */
.ulk-footer-bottom {
    max-width: 1280px;
    margin: 12px auto 0 auto;
    padding: 10px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 5;
}

.ulk-footer-bottom span strong {
    color: var(--ulk-orange-glow);
}

/* =========================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================= */

@media (max-width: 1100px) {
    .ulk-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .ulk-modern-footer {
        margin-top: 80px;
        padding-bottom: 30px;
    }
    .ulk-footer-wave-wrapper {
        top: -79px;
        height: 80px;
    }
    .ulk-features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ulk-feature-card {
        padding: 16px 18px;
        border-radius: 12px;
    }
    .ulk-icon-wrapper {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 10px;
    }
    .ulk-icon-wrapper svg {
        width: 22px;
        height: 22px;
    }
    .ulk-feature-content h4 {
        font-size: 15px;
    }
    .ulk-feature-content p {
        font-size: 12px;
    }
    .ulk-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        margin-top: 24px;
    }
}

/* Fix body and footer flex layout to remove gaps outside body */
html {
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
    background-color: #F8FAFC !important;
}
body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #F8FAFC !important;
}
footer.ulk-modern-footer {
    margin-top: auto !important;
    margin-bottom: 0 !important;
    flex-shrink: 0;
}
div[id*="volume-booster"],
div[class*="volume-booster"],
#volume-booster-tnmPt,
[id^="volume-booster"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
}
