/* Footer CSS - White Translucent Theme with Responsive Interactions */

/* Main footer container */
.footer-unified {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    color: rgba(255, 255, 255, 0.8);
    padding: 30px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

/* Icons section */
.footer-icons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-item {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.icon-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.icon-item:active {
    transform: translateY(0) scale(1.05);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.15s ease;
}

/* Icon pulse effect */
.icon-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.icon-item:hover::before {
    width: 60px;
    height: 60px;
    opacity: 0;
}

/* Platform and device icons */
.platform-icon, .device-icon, .info-icon {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.65);
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
    transition: all 0.3s ease;
}

.icon-item:hover .platform-icon,
.icon-item:hover .device-icon,
.icon-item:hover .info-icon {
    fill: rgba(255, 255, 255, 0.75);
    filter: brightness(1.2) contrast(1.1);
}

/* Footer divider vertical */
.footer-divider-vertical {
    width: 2px;
    height: 45px;
    background: rgba(255, 255, 255, 0.25);
    margin: 2 4px;
    position: relative;
}

/* Info button specific styles */
.info-button {
    position: relative;
}

.info-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.info-button:active {
    transform: translateY(0) scale(1.05);
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
    transition: all 0.15s ease;
}

/* Links section */
.footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    position: relative;
}

/* Micro-interaction for links */
.footer-links:hover .footer-link:not(:hover) {
    opacity: 0.5;
    transform: scale(0.95);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-link:hover {
    opacity: 1;
    transform: translateY(-1px) scale(1.02);
    color: rgba(255, 255, 255, 0.75);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.footer-link:active {
    transform: translateY(0) scale(0.98);
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.15s ease;
}

/* Underline animation */
.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 1px;
}

.footer-link:hover::after {
    width: 100%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.footer-divider {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.85;
}

/* Contact information section */
.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    margin: 20px 0;
}

.footer-contact-header {
    margin-bottom: 10px;
}

.footer-company-name {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
    margin: 0;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.footer-contact-item {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.8;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.footer-qr-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-qr-image {
    width: 80px;
    height: 80px;
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    object-fit: cover;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-qr-item:hover .footer-qr-image {
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    opacity: 1;
}

.footer-qr-text {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    opacity: 0.8;
    line-height: 1.3;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-qr-text:first-of-type {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

.footer-qr-item:hover .footer-qr-text {
    color: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

/* Copyright section */
.footer-copyright {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.85;
    line-height: 1.6;
}

/* Responsive design and touch interactions */
@media (max-width: 768px) {
    .footer-unified {
        padding: 25px 0;
        background: rgba(0, 0, 0, 0.9);
    }

    .footer-content {
        gap: 15px;
    }

    .footer-icons {
        gap: 8px;
    }

    /* Tablet and mobile: increased touch targets and reduced hover effects */
    .icon-item {
        width: 48px;
        height: 48px;
        transition: all 0.25s ease;
        transform: scale(1);
    }

    .icon-item:hover {
        transform: translateY(-1px) scale(1.05);
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
    }

    .icon-item:active {
        transform: translateY(0) scale(0.98);
        background: rgba(255, 255, 255, 0.35);
        transition: all 0.1s ease;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-link {
        font-size: 1rem;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.25s ease;
    }

    .footer-link:hover {
        transform: translateY(-1px) scale(1.01);
        background: rgba(255, 255, 255, 0.2);
    }

    .footer-divider {
        display: none;
    }

    .footer-contact {
        margin: 15px 0;
        gap: 15px;
    }

    .footer-company-name {
        font-size: 1.2rem;
    }

    .footer-contact-info {
        gap: 6px;
    }

    .footer-contact-item {
        font-size: 0.85rem;
    }

    .footer-qr-container {
        gap: 20px;
    }

    .footer-qr-image {
        width: 70px;
        height: 70px;
    }

    .footer-qr-text {
        font-size: 0.7rem;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
        font-size: 0.75rem;
    }
}



/* High-resolution and desktop optimizations */
@media (min-width: 1200px) {
    .footer-unified {
        padding: 35px 0;
    }

    .footer-content {
        gap: 24px;
    }

    .footer-icons {
        gap: 14px;
    }

    /* Desktop: enhanced hover effects with precise cursor interactions */
    .icon-item {
        width: 46px;
        height: 46px;
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .icon-item:hover {
        transform: translateY(-3px) scale(1.12);
        background: rgba(255, 255, 255, 0.28);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 0.45);
    }

    .icon-item:active {
        transform: translateY(-1px) scale(1.06);
        background: rgba(255, 255, 255, 0.35);
        transition: all 0.12s ease;
    }

    .footer-link {
        font-size: 0.95rem;
        padding: 6px 10px;
        border-radius: 5px;
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .footer-link:hover {
        transform: translateY(-2px) scale(1.03);
        background: rgba(255, 255, 255, 0.18);
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
    }

    .footer-link:active {
        transform: translateY(0) scale(0.99);
        background: rgba(255, 255, 255, 0.25);
        transition: all 0.15s ease;
    }

    .footer-contact {
        margin: 25px 0;
        gap: 25px;
    }

    .footer-company-name {
        font-size: 1.5rem;
    }

    .footer-contact-item {
        font-size: 0.95rem;
    }

    .footer-qr-container {
        gap: 35px;
    }

    .footer-qr-image {
        width: 90px;
        height: 90px;
    }

    .footer-qr-text {
        font-size: 0.8rem;
    }
}

/* Reduce motion for users who prefer less movement */
@media (prefers-reduced-motion: reduce) {
    .icon-item,
    .footer-link,
    .icon-item:hover,
    .footer-link:hover,
    .icon-item:active,
    .footer-link:active {
        transform: none !important;
        transition: none !important;
    }

    .icon-item::before {
        display: none;
    }
}