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

/* Footer Modernization */
.main-footer {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%) !important;
    font-family: 'Work Sans', sans-serif !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.main-footer .font-weight-semibold,
.main-footer .font-size-md {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 1.125rem !important;
    letter-spacing: 0.3px;
}

.main-footer p,
.main-footer .mb-4 {
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8;
}

.main-footer a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.main-footer a:hover {
    color: #667eea !important;
    text-decoration: none;
}

.main-footer .list-group-item {
    padding: 0.5rem 0 !important;
}

.form-newsletter .input-group {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.form-newsletter .form-control {
    padding: 1rem !important;
    font-size: 1rem !important;
    font-weight: 500;
}

.form-newsletter button {
    padding: 1rem 1.5rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    transition: all 0.3s ease !important;
}

.form-newsletter button:hover {
    transform: translateX(4px);
}

.social-icon a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
}

/* Paywall Buttons in Footer */
.paywall-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: nowrap;
}

.btn-paywall-primary,
.btn-paywall-secondary {
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.btn-paywall-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

.btn-paywall-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    color: #ffffff !important;
    text-decoration: none;
}

.btn-paywall-secondary {
    background: transparent;
    color: #667eea !important;
    border: 2px solid #667eea;
}

.btn-paywall-secondary:hover {
    background: #667eea;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
    text-decoration: none;
}

@media (max-width: 576px) {
    .paywall-actions {
        flex-direction: column;
    }

    .btn-paywall-primary,
    .btn-paywall-secondary {
        width: 100%;
    }
}

.social-icon a:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.footer-last {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem !important;
}

.gtf-back-to-top a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.gtf-back-to-top a:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: translateY(-4px);
}

/* ==========================================================================
   Footer CTA Section
   ========================================================================== */

.main-footer .footer-cta-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #4a5568;
    text-align: left;
    margin-bottom: 1rem;
}

.main-footer .paywall-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.main-footer .btn-paywall-primary,
.main-footer .btn-paywall-secondary {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.main-footer .btn-paywall-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.main-footer .btn-paywall-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.main-footer .btn-paywall-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.main-footer .btn-paywall-secondary:hover {
    background: #667eea;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 576px) {
    .main-footer .paywall-actions {
        flex-direction: row;
        gap: 0.5rem;
    }

    .main-footer .btn-paywall-primary,
    .main-footer .btn-paywall-secondary {
        flex: 1;
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }
}
