/* Mobile Footer Experience Styles
   Created by PUIUX - May 2025
   Optimized for mobile with app-like experience
*/

/* App Experience Container */
.footer-app-experience {
    position: relative;
    z-index: 10;
    background-color: var(--secondary-color);
    padding-bottom: 120px; /* Extra padding for tab menu */
}

/* App Bar Header */
.footer-app-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(15, 20, 40, 0.95);
    backdrop-filter: blur(15px);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.footer-app-bar::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.footer-app-content {
    flex: 1;
}

.footer-app-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white-color);
    margin: 0 0 0.5rem 0;
}

.footer-app-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-app-cta {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: var(--white-color);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(36, 187, 189, 0.3);
    margin-right: 1rem;
    border: none;
    cursor: pointer;
}

.footer-app-cta:hover, 
.footer-app-cta:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(36, 187, 189, 0.5);
    color: var(--white-color);
}

.footer-app-cta i {
    margin-left: 0.75rem;
    font-size: 1.1rem;
}

/* Quick Access Grid */
.footer-app-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    padding: 0 1.5rem 1.5rem;
}

.footer-app-link {
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.2rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-app-link:hover,
.footer-app-link:active {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--white-color);
}

.footer-app-link i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
}

.footer-app-link:hover i,
.footer-app-link:active i {
    transform: translateY(-3px);
}

.footer-app-link span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-align: center;
}

/* Logo Bar */
.footer-app-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
}

.footer-app-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-app-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
    margin-bottom: 0.7rem;
    transition: all 0.3s ease;
}

.footer-app-logo:hover img {
    transform: scale(1.05);
}

.footer-app-logo span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Copyright */
.footer-app-copyright {
    text-align: center;
    padding: 1rem 1.5rem 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Make sure mobile footer is visible only on mobile */
@media (min-width: 769px) {
    .footer-app-experience {
        display: none;
    }
}

/* Adjust layout for very small screens */
@media (max-width: 576px) {
    .footer-app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-app-link {
        padding: 1rem 0.5rem;
    }
    
    .footer-app-bar {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .footer-app-content {
        margin-bottom: 1rem;
    }
    
    .footer-app-cta {
        margin-right: 0;
        width: 100%;
        justify-content: center;
    }
    
    .footer-app-logos {
        flex-direction: column;
        gap: 1.5rem;
    }
}