/* Footer styles */

/* ============================================
   Enhanced Footer Styles
   ============================================ */

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top-text {
    display: none;
}

/* Footer Container */
.site-footer {
    background: linear-gradient(180deg, #0f172a 0%, #0a0f1f 100%);
    color: #94a3b8;
    padding: 60px 0 30px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", system-ui, sans-serif;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Trust Bar */
.footer-trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 32px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #cbd5e1;
}

.trust-icon {
    font-size: 1rem;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
    gap: 40px;
    margin-bottom: 48px;
}

/* Brand Section */
.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    margin-bottom: 12px;
}

.brand-description {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #94a3b8;
    margin-bottom: 20px;
}

/* Newsletter */
.footer-newsletter h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
}

.newsletter-text {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 12px;
}

.newsletter-input-group {
    display: flex;
    margin-bottom: 12px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 10px 14px;
    border: none;
    border-radius: 40px 0 0 40px;
    background: rgba(255, 255, 255, 0.08);
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: #94a3b8;
}

.newsletter-input-group input:focus {
    background: rgba(255, 255, 255, 0.12);
}

.newsletter-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    border: none;
    border-radius: 0 40px 40px 0;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.newsletter-btn:hover {
    opacity: 0.9;
}

.newsletter-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-checkbox input {
    width: 14px;
    height: 14px;
    margin-top: 2px;
}

.newsletter-checkbox label {
    font-size: 0.7rem;
    color: #94a3b8;
}

.newsletter-checkbox a {
    color: #60a5fa;
    text-decoration: none;
}

.newsletter-message {
    font-size: 0.7rem;
    padding: 8px;
    border-radius: 8px;
    margin-top: 8px;
}

.newsletter-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Social Links */
.footer-social h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 20px 0 12px 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Footer Columns */
.footer-col h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0 0 16px 0;
}

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

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

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

/* Contact Information */
.footer-contact h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 20px 0 12px 0;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.contact-icon {
    flex-shrink: 0;
}

.contact-detail a {
    color: #94a3b8;
    text-decoration: none;
}

.contact-detail a:hover {
    color: #60a5fa;
}

/* Payment Badges */
.footer-payment {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.payment-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.payment-badge {
    font-size: 0.85rem;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 40px;
}

/* Recent Posts */
.footer-recent-posts {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-recent-posts h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: white;
    text-align: center;
    margin-bottom: 16px;
}

.recent-posts-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.recent-post-item {
    text-align: center;
}

.recent-post-title {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 4px;
    transition: color 0.2s;
}

.recent-post-title:hover {
    color: #60a5fa;
}

.recent-post-date {
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Legal Links */
.footer-legal {
    text-align: center;
    margin-bottom: 24px;
}

.legal-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
}

.legal-links a:hover {
    color: #60a5fa;
}

.separator {
    color: #334155;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 4px 0;
}

.footer-credits {
    font-size: 0.7rem;
}

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

@media (max-width: 768px) {
    .footer-trust-bar {
        gap: 16px;
    }
    .trust-item {
        font-size: 0.7rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .recent-posts-list {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .legal-links {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .legal-links .separator {
        display: none;
    }
    .payment-badges {
        gap: 12px;
    }
    .payment-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    .footer-content {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .footer-trust-bar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .newsletter-input-group {
        flex-direction: column;
        gap: 10px;
    }
    .newsletter-input-group input {
        border-radius: 40px;
    }
    .newsletter-btn {
        border-radius: 40px;
        width: 100%;
    }
}
