/* Professional DENDAT.SECURE Footer Styles */
.dendat-footer {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 50%, #0A0A0A 100%);
    border-top: 2px solid rgba(0, 245, 160, 0.2);
    color: #ffffff;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.dendat-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 245, 160, 0.2) 20%, 
        rgba(0, 245, 160, 0.8) 50%, 
        rgba(0, 245, 160, 0.2) 80%, 
        transparent 100%);
    animation: tacticalScan 4s ease-in-out infinite;
}

.dendat-footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(0, 245, 160, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes tacticalScan {
    0%, 100% { 
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% { 
        opacity: 1;
        transform: translateX(0%);
    }
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-section h4 {
    color: #00F5A0;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.footer-brand .footer-logo .material-icons {
    font-size: 2.5rem;
    color: #00F5A0;
    margin-right: 0.75rem;
    filter: drop-shadow(0 0 10px rgba(0, 245, 160, 0.5));
    animation: logoPulse 3s ease-in-out infinite;
}

.footer-brand h3 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #00F5A0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    position: relative;
}

@keyframes logoPulse {
    0%, 100% { 
        filter: drop-shadow(0 0 10px rgba(0, 245, 160, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(0, 245, 160, 0.8));
    }
}

.footer-tagline {
    background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    display: inline-block;
}

.footer-tagline::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
    border-radius: 1px;
    opacity: 0.6;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.1), rgba(0, 217, 245, 0.1));
    border: 1px solid rgba(0, 245, 160, 0.3);
    color: #00F5A0;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cert-badge::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cert-badge:hover {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.2), rgba(0, 217, 245, 0.2));
    border-color: rgba(0, 245, 160, 0.6);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 245, 160, 0.3);
    color: #ffffff;
}

.cert-badge:hover::before {
    left: 100%;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: inline-block;
    padding: 0.3rem 0;
}

.footer-links a::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00F5A0, #00D9F5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-50%);
    border-radius: 1px;
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00F5A0, #00D9F5);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #00F5A0;
    transform: translateX(8px);
    text-shadow: 0 0 8px rgba(0, 245, 160, 0.3);
}

.footer-links a:hover::before {
    width: 12px;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-classification {
    color: #FFC107 !important;
    font-weight: 500;
    margin-top: 0.5rem !important;
    font-size: 0.85rem !important;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 245, 160, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-link:hover {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.15), rgba(0, 217, 245, 0.1));
    border-color: rgba(0, 245, 160, 0.4);
    color: #00F5A0;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 245, 160, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:active {
    transform: translateY(-3px) scale(1.05);
}

.social-link .material-icons {
    font-size: 1.2rem;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-contact:hover {
    background: linear-gradient(135deg, rgba(0, 245, 160, 0.1), rgba(0, 217, 245, 0.05));
    border-color: rgba(0, 245, 160, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 245, 160, 0.2);
}

.footer-contact .material-icons {
    font-size: 1.2rem;
    color: #00F5A0;
    filter: drop-shadow(0 0 5px rgba(0, 245, 160, 0.3));
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-main {
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-main .footer-section:last-child {
        grid-column: 2 / -1;
        margin-top: 1rem;
    }
}

@media (max-width: 968px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-main .footer-section:last-child {
        grid-column: auto;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-bottom-right {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-certifications {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer-brand .footer-logo .material-icons {
        font-size: 2rem;
    }
    
    .cert-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Dark mode compatibility */
body.dark-mode .dendat-footer {
    background: linear-gradient(135deg, #000000 0%, #111111 50%, #000000 100%);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dendat-footer {
        border-top-width: 3px;
    }
    
    .footer-links a {
        color: #ffffff;
    }
    
    .footer-links a:hover {
        color: #00FF00;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .dendat-footer::before {
        animation: none;
    }
    
    .cert-badge,
    .social-link,
    .footer-links a {
        transition: none;
    }
}
