/* Modern Footer - Light Theme */
.modern-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #333333;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="black" fill-opacity="0.01"><circle cx="50" cy="50" r="2"/></g></svg>');
    z-index: 1;
}

.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 2;
}

/* Footer Widget */
.footer-widget {
    margin-bottom: 40px;
}

/* Footer Logo */
.footer-logo-text {
    font-size: 32px;
    font-weight: 800;
    color: var(--ng-primary-start, #5b83cd);
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.footer-logo-text:hover {
    transform: scale(1.05);
    color: var(--ng-primary-start, #5b83cd);
}

/* Footer Description */
.footer-description {
    margin-bottom: 32px;
}

.footer-description p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Footer Contact */
.footer-contact {
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--ng-primary-start, #5b83cd);
    font-size: 16px;
    width: 20px;
}

.contact-item a {
    color: #666666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--ng-primary-start, #5b83cd);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(91, 131, 205, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ng-primary-start, #5b83cd);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 1px solid rgba(91, 131, 205, 0.2);
}

.social-link:hover {
    background: var(--ng-primary-start, #5b83cd);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--ng-shadow-dark, rgba(91, 131, 205, 0.3));
}

/* Footer Title */
.footer-title {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 24px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: #666666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--ng-primary-start, #5b83cd);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    color: var(--ng-primary-start, #5b83cd);
    padding-left: 16px;
}

.footer-links a:hover::before {
    opacity: 1;
}

/* Footer Features */
.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(91, 131, 205, 0.1);
    color: var(--ng-primary-start, #5b83cd);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(91, 131, 205, 0.2);
}

.feature-badge i {
    font-size: 14px;
}

/* Newsletter */
.newsletter-description {
    color: #666666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.newsletter-form {
    margin-bottom: 32px;
}

.input-group {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    padding: 4px;
    border: 1px solid #e0e0e0;
    margin-bottom: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: #333333;
    font-size: 15px;
    outline: none;
}

.input-group input::placeholder {
    color: #999999;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--ng-primary-start, #5b83cd) 0%, var(--ng-primary-end, #c280bf) 100%);
    border: none;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--ng-shadow-dark, rgba(91, 131, 205, 0.3));
}

.newsletter-response {
    font-size: 14px;
    margin-top: 8px;
}

.newsletter-response .alert {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin: 0;
}

/* Footer Apps */
.apps-title {
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.app-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.app-btn:hover {
    background: rgba(91, 131, 205, 0.1);
    border-color: rgba(91, 131, 205, 0.3);
    color: var(--ng-primary-start, #5b83cd);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.app-btn i {
    font-size: 20px;
}

/* Footer Bottom */
.footer-bottom {
    background: #f8f9fa;
    padding: 24px 0;
    border-top: 1px solid #e9ecef;
    position: relative;
    z-index: 2;
}

.copyright p {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

.copyright strong {
    color: var(--ng-primary-start, #5b83cd);
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #666666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--ng-primary-start, #5b83cd);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .footer-main {
        padding: 50px 0 30px;
    }
    
    .footer-widget {
        margin-bottom: 40px;
    }
    
    .footer-logo-text {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .footer-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-features {
        justify-content: flex-start;
    }
    
    .app-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 16px;
    }
}

@media (max-width: 767px) {
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
    }
    
    .footer-logo-text {
        font-size: 24px;
        text-align: left;
        display: block;
        margin-bottom: 16px;
    }
    
    .footer-description {
        text-align: left;
        margin-bottom: 24px;
    }
    
    .footer-contact {
        margin-bottom: 24px;
    }
    
    .footer-social {
        justify-content: flex-start;
        margin-bottom: 32px;
    }
    
    .footer-title {
        font-size: 16px;
        text-align: left;
        margin-bottom: 16px;
    }
    
    .footer-links {
        text-align: left;
    }
    
    .footer-features {
        justify-content: center;
        margin-top: 16px;
    }
    
    .newsletter-description {
        text-align: left;
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .apps-title {
        text-align: left;
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .app-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .app-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 20px 0;
        text-align: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        margin-top: 16px;
        justify-content: center;
    }
    
    .copyright {
        margin-bottom: 16px;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 16px;
        margin-top: 0;
    }
}

@media (max-width: 575px) {
    .footer-main {
        padding: 30px 0 15px;
    }
    
    .footer-logo-text {
        font-size: 22px;
    }
    
    .footer-description p {
        font-size: 14px;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .footer-social {
        gap: 8px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 14px;
    }
    
    .feature-badge {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .input-group {
        padding: 2px;
    }
    
    .input-group input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .newsletter-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-bottom-links a {
        font-size: 13px;
    }
    
    .copyright p {
        font-size: 13px;
    }
}

/* Dark mode enhancements (optional - can be removed if not needed) */
@media (prefers-color-scheme: dark) {
    .modern-footer {
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    }
    
    .input-group {
        background: #ffffff;
        border-color: #e0e0e0;
    }
    
    .app-btn {
        background: #ffffff;
        border-color: #e0e0e0;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .modern-footer {
        background: #ffffff;
        border-top: 2px solid #333333;
    }
    
    .footer-logo-text {
        color: var(--ng-primary-start, #5b83cd);
    }
    
    .footer-title {
        color: #000000;
    }
    
    .footer-links a {
        color: #000000;
    }
    
    .footer-links a:hover {
        color: var(--ng-primary-start, #5b83cd);
    }
    
    .social-link {
        background: #f0f0f0;
        border-color: #333333;
        color: var(--ng-primary-start, #5b83cd);
    }
    
    .social-link:hover {
        background: var(--ng-primary-start, #5b83cd);
        color: #ffffff;
    }
}

/* Animation for footer elements */
@media (prefers-reduced-motion: no-preference) {
    .footer-widget {
        animation: fadeInUp 0.8s ease-out;
    }
    
    .footer-widget:nth-child(1) { animation-delay: 0.1s; }
    .footer-widget:nth-child(2) { animation-delay: 0.2s; }
    .footer-widget:nth-child(3) { animation-delay: 0.3s; }
    .footer-widget:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
