/* FENOGRAM Footer - Video Background Design */

.fenogram-footer {
    position: relative;
    overflow: hidden;
    margin-top: 0;
    margin-left: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Background Video */
.footer-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Backdrop - Blur + Opacity */
.footer-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(20px);
    z-index: 2;
}

/* Top Gradient */
.footer-gradient-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, #000000 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

/* Bottom Gradient */
.footer-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0) 100%);
    z-index: 3;
}

/* Content Wrapper */
.footer-content {
    position: relative;
    z-index: 4;
    padding: 80px 0 0;
}

.footer-container {
    margin: 0;
    padding: 0 60px;
    padding-right: 0;
}

/* Main Grid */
.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 2.5fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-right: 60px;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 16px;
}

.footer-brand-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: 1px;
}

.footer-brand-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 200;
}

/* Links Section - 4 Columns */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-link-group h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 200;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-link-group a:hover {
    color: var(--fenogram-yellow);
}

/* App Stores */
.footer-apps h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-stores {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-btn {
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.store-btn:hover {
    opacity: 1;
}

.store-btn img {
    height: 36px;
    width: auto;
}

/* Divider - Full Width (extends beyond sidebar) */
.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-left: -140px;
    margin-right: 0;
}

/* Bottom Bar - Full Width (extends beyond sidebar) */
.footer-bottom-wrapper {
    position: relative;
    z-index: 4;
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-left: -140px;
    margin-right: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 200px;
    padding-right: 90px;
}

/* Payment Icons */
.payment-icons {
    display: flex;
    gap: 8px;
}

.payment-icon {
    opacity: 0.8;
}

/* Copyright */
.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 200;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Social Icons - Bottom Right - Fixed 50px from right */
.footer-social-bottom {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.footer-social-bottom a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.footer-social-bottom a:hover {
    background: rgba(255, 255, 138, 0.15);
    color: var(--fenogram-yellow);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .footer-container {
        padding: 0 40px;
        padding-right: 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding-right: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-apps {
        grid-column: span 2;
    }
    
    .app-stores {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-divider {
        margin-left: -120px;
        margin-right: 0;
    }
    
    .footer-bottom-wrapper {
        margin-left: -120px;
        margin-right: 0;
    }
    
    .footer-bottom {
        padding-left: 160px;
        padding-right: 50px;
    }
}

@media (max-width: 768px) {
    .fenogram-footer {
        margin-left: 0;
    }
    
    .footer-content {
        padding: 60px 0 0;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding-right: 0;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-link-group h4 {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }
    
    .footer-link-group a {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .footer-apps {
        grid-column: auto;
    }
    
    .footer-apps h4 {
        font-size: 0.8rem;
    }
    
    .app-stores {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .store-btn img {
        height: 32px;
    }
    
    .footer-divider {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .footer-bottom-wrapper {
        margin-left: -20px;
        margin-right: -20px;
        padding: 20px 0;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .payment-icons {
        order: 1;
    }
    
    .footer-copyright {
        order: 2;
        text-align: center;
        position: static;
        transform: none;
    }
    
    .footer-social-bottom {
        order: 3;
        justify-content: center;
        margin-left: 0;
    }
    
    .footer-gradient-top,
    .footer-gradient-bottom {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 50px 0 0;
    }
    
    .footer-brand-title {
        font-size: 1.5rem;
    }
    
    .footer-brand-desc {
        font-size: 0.85rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .app-stores {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-copyright {
        font-size: 0.8rem;
    }
    
    .footer-social-bottom a {
        width: 34px;
        height: 34px;
    }
}
