/* ========================================
   CUTTING-EDGE FOOTER DESIGN
   Inspired by: Amazon, Shopify, Apple, Nike
   ======================================== */

/* Newsletter Section - Premium Design */
#newsletter {
    background: linear-gradient(135deg, #00C851 0%, #00a844 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

#newsletter::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.newsletter {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter p {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
}

.newsletter p::after {
    content: '📱';
    margin-left: 10px;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.newsletter form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 600px;
    margin: 20px auto 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.newsletter .input {
    flex: 1;
    min-width: 0;
    padding: 18px 30px;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
    color: #333;
}

.newsletter .input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 18px 35px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-btn:hover {
    background: #000;
    transform: translateX(-2px);
}

.newsletter-btn i {
    font-size: 18px;
}

/* Main Footer - Industry Standard */
#footer {
    background: #0a0a0a;
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00C851, transparent);
}

#footer .section {
    padding: 70px 0 40px;
    position: relative;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Company Info Section */
.footer-company {
    padding-right: 30px;
}

.footer-logo {
    margin-bottom: 25px;
}

.footer-logo img {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-company p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b0b0b0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-contact-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 200, 81, 0.1);
    border-radius: 8px;
    color: #00C851;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-contact-item:hover {
    color: #00C851;
}

.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}

/* Footer Columns */
.footer {
    margin-bottom: 0;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: #00C851;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #00C851;
    transition: width 0.3s ease;
}

.footer-links li a:hover {
    color: #00C851;
    padding-left: 8px;
}

.footer-links li a:hover::before {
    width: 100%;
}

/* Social Media Section */
.footer-social {
    margin-top: 30px;
}

.footer-payments {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-payments li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payments li a:hover {
    background: #00C851;
    border-color: #00C851;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 200, 81, 0.3);
}

/* Trust Badges */
.footer-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(0, 200, 81, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #00C851;
    font-weight: 600;
}

.trust-badge i {
    font-size: 16px;
}

/* Bottom Footer */
#bottom-footer {
    background: #000;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #666;
    font-size: 14px;
}

.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-method {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-method i {
    font-size: 16px;
    color: #00C851;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00C851, #00a844);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0, 200, 81, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 200, 81, 0.4);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
    }
    
    .footer-social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-company {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    #newsletter {
        padding: 40px 20px;
    }
    
    .newsletter p {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .newsletter form {
        flex-direction: row;
        border-radius: 50px;
        max-width: 100%;
    }
    
    .newsletter .input {
        padding: 16px 20px;
        font-size: 14px;
        min-width: 0;
    }
    
    .newsletter-btn {
        padding: 16px 25px;
        font-size: 14px;
    }
    
    .newsletter-btn span {
        display: none;
    }
    
    .newsletter-btn i {
        font-size: 18px;
        margin: 0;
    }
    
    #footer .section {
        padding: 50px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-company {
        text-align: center;
    }
    
    .footer-contact-info {
        align-items: center;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-payments {
        justify-content: center;
    }
    
    .footer-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .bottom-footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-payment-methods {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .newsletter p {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .newsletter .input {
        padding: 14px 18px;
        font-size: 13px;
    }
    
    .newsletter-btn {
        padding: 14px 20px;
    }
    
    .newsletter-btn i {
        font-size: 16px;
    }
    
    .footer-title {
        font-size: 14px;
    }
    
    .footer-links li a {
        font-size: 13px;
    }
    
    .footer-payments li a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
