/**
 * DigitalMDHusain v2 - Footer Styles
 * Premium footer with 4-column layout
 */

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: #0F172A;
    color: #94A3B8;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #5B4CF0 0%, #7C6BF5 50%, #5B4CF0 100%);
}

/* ============================================
   FOOTER GRID
   ============================================ */

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

/* ============================================
   FOOTER BRAND
   ============================================ */

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__logo {
    display: inline-block;
    text-decoration: none;
}

.footer__logo-text {
    font-family: var(--font-secondary, 'Inter', system-ui, sans-serif);
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #5B4CF0 0%, #7C6BF5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer__description {
    font-size: 14px;
    line-height: 1.7;
    color: #64748B;
    margin: 0;
    max-width: 320px;
}

/* ============================================
   FOOTER SOCIAL
   ============================================ */

.footer__social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(91, 76, 240, 0.1);
    border: 1px solid rgba(91, 76, 240, 0.2);
    border-radius: 12px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__social-link:hover {
    background: linear-gradient(135deg, #5B4CF0 0%, #7C6BF5 100%);
    border-color: #5B4CF0;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 76, 240, 0.4);
}

.footer__social-link svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   FOOTER TRUST BADGES
   ============================================ */

.footer__trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__trust-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #94A3B8;
    transition: all 0.3s ease;
}

.footer__trust-badge:hover {
    background: rgba(91, 76, 240, 0.1);
    border-color: rgba(91, 76, 240, 0.3);
    color: #5B4CF0;
}

.footer__trust-icon {
    width: 18px;
    height: 18px;
    color: #5B4CF0;
}

/* ============================================
   FOOTER LINKS COLUMNS
   ============================================ */

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__links-title {
    font-size: 16px;
    font-weight: 700;
    color: #F8FAFC;
    margin: 0;
    position: relative;
    padding-bottom: 16px;
}

.footer__links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #5B4CF0, #7C6BF5);
    border-radius: 2px;
}

.footer__links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links-list a {
    font-size: 14px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer__links-list a:hover {
    color: #5B4CF0;
    transform: translateX(4px);
}

/* ============================================
   FOOTER SUPPORT
   ============================================ */

.footer__support {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__support-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__support-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__support-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #5B4CF0;
}

.footer__support-item a {
    font-size: 14px;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer__support-item a:hover {
    color: #5B4CF0;
}

.footer__business-hours {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 13px;
    color: #94A3B8;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright p {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer__legal a {
    font-size: 14px;
    color: #64748B;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer__legal a:hover {
    color: #5B4CF0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 32px;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer__legal {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 425px) {
    .footer__logo-text {
        font-size: 24px;
    }
    
    .footer__description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer__logo-text {
        font-size: 24px;
    }
    
    .footer__description {
        font-size: 13px;
    }
}
