/**
 * Footer Improvements CSS
 * Trust stats, phone number, improved newsletter, return to top button
 */

/* ============================================
   Footer Trust Stats Bar
   ============================================ */
.footer-trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 16px 16px 0 0;
    margin-bottom: 40px;
}

.trust-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffffff;
}

.trust-stat i {
    font-size: 32px;
    color: #10b981;
}

.trust-stat div {
    display: flex;
    flex-direction: column;
}

.trust-stat strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.trust-stat span {
    font-size: 13px;
    color: #d1d5db;
}

/* ============================================
   Footer Contact Methods
   ============================================ */
.footer-contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 8px;
    color: #6366f1;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    justify-content: flex-start;
}

.contact-method:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(4px);
}

.contact-method i {
    font-size: 18px;
}

.contact-method span {
    flex: 1;
    text-align: left;
}

/* ============================================
   Improved Newsletter Form
   ============================================ */
.newsletter-form-improved {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.newsletter-form-improved input[type="email"] {
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.newsletter-form-improved input[type="email"]:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.newsletter-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-note {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.newsletter-note i {
    color: #10b981;
}

/* Newsletter Success State */
.newsletter-success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #10b981;
}

.newsletter-success i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 15px;
}

.newsletter-success strong {
    display: block;
    color: #065f46;
    font-size: 16px;
    margin-bottom: 15px;
}

.discount-code {
    background: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #6366f1;
    letter-spacing: 2px;
    border: 3px dashed #10b981;
    margin: 15px 0;
}

.newsletter-success p {
    color: #047857;
    font-size: 14px;
    margin: 10px 0 0 0;
}

/* ============================================
   Return to Top Button
   ============================================ */
.return-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 999;
}

.return-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.return-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.5);
}

.return-to-top:active {
    transform: translateY(-2px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .footer-trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-trust-stats {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 15px;
    }

    .trust-stat {
        padding: 10px;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
    }

    .trust-stat i {
        font-size: 28px;
    }

    .trust-stat strong {
        font-size: 18px;
    }

    .footer-contact-phone {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .footer-contact-phone a {
        font-size: 18px;
    }

    .return-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .footer-trust-stats {
        padding: 15px;
    }

    .trust-stat i {
        font-size: 24px;
    }

    .trust-stat strong {
        font-size: 16px;
    }

    .trust-stat span {
        font-size: 12px;
    }

    .footer-contact-phone {
        padding: 12px;
    }

    .footer-contact-phone i {
        font-size: 24px;
    }

    .footer-contact-phone a {
        font-size: 16px;
    }

    .newsletter-form-improved input[type="email"] {
        padding: 12px 14px;
        font-size: 13px;
    }

    .newsletter-submit {
        padding: 12px 16px;
        font-size: 14px;
    }

    .discount-code {
        font-size: 22px;
        padding: 12px 20px;
    }

    .return-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
