/* ════════════════════════════════════════
   FLAVOR FOOTER v6.0 - TRUE GLASSMORPHISM
   ════════════════════════════════════════ */

/* ── RESET ── */
html body #fl-footer-wrap,
html body #fl-footer-wrap *,
html body #fl-footer-wrap *::before,
html body #fl-footer-wrap *::after {
    box-sizing: border-box !important;
}

html body #fl-footer-wrap {
    display: block !important;
    width: 100% !important;
    margin: 80px 0 0 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    line-height: 1.6 !important;
    color: #DCEAF7 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 5 !important;
}

html body #fl-footer-wrap a {
    text-decoration: none !important;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    color: inherit !important;
}

html body #fl-footer-wrap a:hover {
    text-decoration: none !important;
}

html body #fl-footer-wrap button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-family: inherit !important;
    color: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

html body #fl-footer-wrap svg {
    display: block !important;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap ul,
html body #fl-footer-wrap ol,
html body #fl-footer-wrap li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap h4,
html body #fl-footer-wrap p {
    margin: 0 !important;
    padding: 0 !important;
}

html body #fl-footer-wrap img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}


/* ════════════════════════════════════════
   GLASSMORPHISM BACKGROUND BASE
   لایه بک‌گراند تیره با گرادیان آبی
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-bg {
    position: relative !important;
    width: 100% !important;
    background:
        radial-gradient(circle at 20% 20%, rgba(164, 180, 0, .15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(75, 132, 191, .25) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(45, 95, 147, .2) 0%, transparent 70%),
        linear-gradient(180deg, #1B3F63 0%, #0F2540 100%) !important;
    background-color: #1B3F63 !important;
    overflow: hidden !important;
}

/* اشکال شناور تزیینی */
html body #fl-footer-wrap .fl-ft-shape {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
    filter: blur(60px) !important;
    z-index: 0 !important;
}

html body #fl-footer-wrap .fl-ft-shape-1 {
    top: -100px !important;
    right: 10% !important;
    width: 400px !important;
    height: 400px !important;
    background: radial-gradient(circle, #A4B400 0%, transparent 70%) !important;
    opacity: .25 !important;
    animation: flShapeFloat 20s ease-in-out infinite !important;
}

html body #fl-footer-wrap .fl-ft-shape-2 {
    bottom: -150px !important;
    left: 5% !important;
    width: 500px !important;
    height: 500px !important;
    background: radial-gradient(circle, #4B84BF 0%, transparent 70%) !important;
    opacity: .3 !important;
    animation: flShapeFloat 25s ease-in-out infinite reverse !important;
}

html body #fl-footer-wrap .fl-ft-shape-3 {
    top: 30% !important;
    left: 40% !important;
    width: 300px !important;
    height: 300px !important;
    background: radial-gradient(circle, #2D5F93 0%, transparent 70%) !important;
    opacity: .2 !important;
    animation: flShapeFloat 30s ease-in-out infinite !important;
}

@keyframes flShapeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -30px) scale(1.05); }
    66%      { transform: translate(-30px, 30px) scale(.95); }
}


/* ════════════════════════════════════════
   WAVE TOP
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-wave {
    display: block !important;
    width: 100% !important;
    height: 70px !important;
    line-height: 0 !important;
    color: #1B3F63 !important;
    overflow: hidden !important;
    margin: 0 0 -1px 0 !important;
    background: transparent !important;
    position: relative !important;
    z-index: 3 !important;
}

html body #fl-footer-wrap .fl-ft-wave svg {
    width: 100% !important;
    height: 100% !important;
    fill: #1B3F63 !important;
    display: block !important;
}


/* ════════════════════════════════════════
   INNER CONTAINER
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-inner {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr !important;
    gap: 30px !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 70px 24px 50px !important;
    position: relative !important;
    z-index: 2 !important;
}


/* ════════════════════════════════════════
   GLASS COLUMNS — هر ستون یک کارت شیشه‌ای
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-col {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 24px 22px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, .05) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, .15),
        inset 0 1px 0 rgba(255, 255, 255, .1) !important;
    transition: all .35s cubic-bezier(.4, 0, .2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

html body #fl-footer-wrap .fl-ft-col::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent) !important;
    pointer-events: none !important;
}

html body #fl-footer-wrap .fl-ft-col:hover {
    background: rgba(255, 255, 255, .08) !important;
    border-color: rgba(255, 255, 255, .15) !important;
    transform: translateY(-3px) !important;
    box-shadow:
        0 12px 40px rgba(0, 0, 0, .2),
        inset 0 1px 0 rgba(255, 255, 255, .15) !important;
}

html body #fl-footer-wrap .fl-ft-col-title {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 0 0 18px 0 !important;
    padding: 0 0 12px 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    align-self: flex-start !important;
    position: relative !important;
    text-transform: uppercase !important;
    letter-spacing: .8px !important;
    line-height: 1.3 !important;
}

html body #fl-footer-wrap .fl-ft-col-title::before {
    content: '' !important;
    width: 4px !important;
    height: 18px !important;
    background: linear-gradient(180deg, #A4B400, #C6D83A) !important;
    border-radius: 2px !important;
    box-shadow: 0 0 10px rgba(164, 180, 0, .5) !important;
}

html body #fl-footer-wrap .fl-ft-col-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 60px !important;
    height: 2px !important;
    background: linear-gradient(90deg, #A4B400, transparent) !important;
    border-radius: 1px !important;
}


/* ────────────────────────
   BRAND COLUMN
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-logo {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 0 18px 0 !important;
}

html body #fl-footer-wrap .fl-ft-logo img {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, .95) !important;
    padding: 6px !important;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, .3),
        0 0 0 1px rgba(255, 255, 255, .2) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

html body #fl-footer-wrap .fl-ft-logo-name {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.3 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,.2) !important;
}

html body #fl-footer-wrap .fl-ft-desc {
    color: #DCEAF7 !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
    margin: 0 0 22px 0 !important;
    opacity: .85 !important;
}

html body #fl-footer-wrap .fl-ft-socials {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

html body #fl-footer-wrap .fl-ft-social {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    color: #DCEAF7 !important;
    transition: all .3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1) !important;
}

html body #fl-footer-wrap .fl-ft-social svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    stroke: none !important;
}

html body #fl-footer-wrap .fl-ft-social--whatsapp:hover {
    background: #25D366 !important;
    color: #FFFFFF !important;
    border-color: #25D366 !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, .5) !important;
}

html body #fl-footer-wrap .fl-ft-social--telegram:hover {
    background: #229ED9 !important;
    color: #FFFFFF !important;
    border-color: #229ED9 !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(34, 158, 217, .5) !important;
}

html body #fl-footer-wrap .fl-ft-social--instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #FFFFFF !important;
    border-color: transparent !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(220, 39, 67, .5) !important;
}

html body #fl-footer-wrap .fl-ft-social--linkedin:hover {
    background: #0A66C2 !important;
    color: #FFFFFF !important;
    border-color: #0A66C2 !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(10, 102, 194, .5) !important;
}

html body #fl-footer-wrap .fl-ft-social--email:hover {
    background: #A4B400 !important;
    color: #FFFFFF !important;
    border-color: #A4B400 !important;
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 8px 20px rgba(164, 180, 0, .5) !important;
}


/* ────────────────────────
   NAV LINKS
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-nav {
    display: block !important;
}

html body #fl-footer-wrap .fl-ft-nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
}

html body #fl-footer-wrap .fl-ft-nav li {
    display: block !important;
}

html body #fl-footer-wrap .fl-ft-link {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    color: #DCEAF7 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all .3s ease !important;
    opacity: .9 !important;
    position: relative !important;
    overflow: hidden !important;
}

html body #fl-footer-wrap .fl-ft-link::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(164, 180, 0, .15), transparent) !important;
    transition: left .5s ease !important;
}

html body #fl-footer-wrap .fl-ft-link:hover {
    background: rgba(255, 255, 255, .08) !important;
    color: #C6D83A !important;
    padding-left: 18px !important;
    opacity: 1 !important;
}

html body #fl-footer-wrap .fl-ft-link:hover::before {
    left: 100% !important;
}

html body #fl-footer-wrap .fl-ft-link-dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #A4B400 !important;
    opacity: .6 !important;
    flex-shrink: 0 !important;
    transition: .3s ease !important;
    box-shadow: 0 0 0 0 #A4B400 !important;
}

html body #fl-footer-wrap .fl-ft-link:hover .fl-ft-link-dot {
    opacity: 1 !important;
    transform: scale(1.5) !important;
    background: #C6D83A !important;
    box-shadow: 0 0 12px #A4B400, 0 0 0 4px rgba(164, 180, 0, .15) !important;
}


/* ────────────────────────
   CONTACT
   ──────────────────────── */
html body #fl-footer-wrap .fl-ft-contact-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 12px 0 0 0 !important;
}

html body #fl-footer-wrap .fl-ft-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .06) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    color: #DCEAF7 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: .3s ease !important;
}

html body #fl-footer-wrap .fl-ft-contact-item:hover {
    background: rgba(255, 255, 255, .12) !important;
    color: #FFFFFF !important;
    border-color: rgba(164, 180, 0, .5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .15) !important;
}

html body #fl-footer-wrap .fl-ft-contact-item svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #A4B400 !important;
    fill: none !important;
    stroke-width: 2 !important;
    flex-shrink: 0 !important;
}


/* ════════════════════════════════════════
   BOTTOM BAR — Glass Effect
   ════════════════════════════════════════ */
html body #fl-footer-wrap .fl-ft-bottom {
    display: block !important;
    width: 100% !important;
    background: rgba(0, 0, 0, .25) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    position: relative !important;
    z-index: 3 !important;
}

html body #fl-footer-wrap .fl-ft-bottom-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 20px 24px !important;
    gap: 16px !important;
}

html body #fl-footer-wrap .fl-ft-copy {
    color: #DCEAF7 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    opacity: .7 !important;
}

html body #fl-footer-wrap .fl-ft-back-top {
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, .15) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #DCEAF7 !important;
    transition: .3s ease !important;
    flex-shrink: 0 !important;
}

html body #fl-footer-wrap .fl-ft-back-top:hover {
    background: linear-gradient(135deg, #A4B400, #7C8B00) !important;
    color: #FFFFFF !important;
    border-color: #A4B400 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(164, 180, 0, .4) !important;
}

html body #fl-footer-wrap .fl-ft-back-top svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2 !important;
}


/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
    html body #fl-footer-wrap .fl-ft-inner {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
        padding: 50px 20px 35px !important;
    }
}

@media (max-width: 640px) {
    html body #fl-footer-wrap {
        margin-top: 50px !important;
    }

    html body #fl-footer-wrap .fl-ft-inner {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 40px 16px 30px !important;
    }

    html body #fl-footer-wrap .fl-ft-col {
        padding: 20px 18px !important;
    }

    html body #fl-footer-wrap .fl-ft-bottom-inner {
        flex-direction: column !important;
        gap: 14px !important;
        text-align: center !important;
        padding: 18px !important;
    }
}