.footer {
    background: #0f1420;
    color: #ffffff;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 50px;
    align-items: start;
}

/* Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.brand-logo {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: #4a9fd8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    /*padding-top: 12px;*/
}

.brand-description {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #1a1f2e;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #4a9fd8;
    color: #ffffff;
}

/* Footer Sections */
.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4a9fd8;
    border-radius: 50%;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4a9fd8;
}

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #9ca3af;
    font-size: 14px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #4a9fd8;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #4a9fd8;
}

/* Newsletter Section */
.newsletter-description {
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 260px;
}

.newsletter-input {
    width: 100%;
    padding: 14px 16px;
    background: #1a1f2e;
    border: 1px solid #2a3142;
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
    color: #6b7280;
}

.newsletter-input:focus {
    border-color: #4a9fd8;
}

.subscribe-btn {
    width: 100%;
    padding: 14px 24px;
    background-color: var(--primary-cta-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #3a8bc4;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px 0;
    border-top: 1px solid #1a1f2e;
    border-bottom: 1px solid #1a1f2e;
    justify-items: center;
}

.feature-card {
    padding: 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-icon.secure {
    color: #4a9fd8;
}

.feature-icon.shipping {
    color: #10b981;
}

.feature-icon.satisfaction {
    color: #06b6d4;
}

.feature-icon.support {
    color: #4a9fd8;
}

.feature-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-content p {
    font-size: 12px;
    color: #9ca3af;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 0;
}

.copyright {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
    line-height: 1;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.footer-bottom-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #4a9fd8;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-cards {
        /*grid-template-columns: 1fr;*/
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.toast {
    background: #1a1f2e;
    border: 1px solid #2a3142;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i:first-child {
    font-size: 20px;
    flex-shrink: 0;
}

.toast-success {
    border-left: 4px solid #10b981;
}

.toast-success i:first-child {
    color: #10b981;
}

.toast-error {
    border-left: 4px solid #ef4444;
}

.toast-error i:first-child {
    color: #ef4444;
}

.toast-info {
    border-left: 4px solid #4a9fd8;
}

.toast-info i:first-child {
    color: #4a9fd8;
}

.toast-message {
    flex: 1;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}

.toast-close {
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: #2a3142;
    color: #ffffff;
}

.toast-close i {
    font-size: 14px;
}

/* Subscribe Button Loading State */
.subscribe-btn {
    position: relative;
}

.subscribe-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.subscribe-btn.loading i.fa-paper-plane {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.95);
    }
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile Toast Adjustments */
@media (max-width: 640px) {
    .toast-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }

    .toast {
        padding: 14px 16px;
        font-size: 13px;
    }

    .toast i:first-child {
        font-size: 18px;
    }
}
