/* ===== Footer Styles ===== */
.site-footer {
    background: linear-gradient(135deg, #0a0a0f 0%, #0f1117 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    margin-top: 6rem;
    padding: 4rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 50%, transparent 100%);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* ===== Footer Grid ===== */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
        gap: 4rem;
    }
}

/* ===== Footer Brand ===== */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 16px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 8px;
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.2),
        0 4px 16px rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-width: 320px;
    font-weight: 400;
    opacity: 0.9;
}

/* ===== Footer Links ===== */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-heading {
    font-size: 0.875rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 1px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav-link {
    color: #94a3b8;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 100%);
    transition: width 0.3s ease;
}

.footer-nav-link:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-nav-link:hover::before {
    width: 100%;
}

.footer-icon {
    font-size: 1rem;
    width: 16px;
    text-align: center;
    opacity: 0.8;
}

/* ===== Footer Bottom - Premium Typography ===== */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

.copyright {
    font-size: 0.875rem;
    color: #cbd5e1;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.disclaimer {
    font-size: 0.8125rem;
    color: #94a3b8;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.notice-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    max-width: 500px;
    width: 100%;
}

.notice {
    font-size: 0.8125rem;
    color: #f1f5f9;
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.notice::before {
    content: '⏱';
    font-size: 1rem;
    opacity: 0.8;
}

.footer-legal {
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.05);
    width: 100%;
    max-width: 400px;
}

/* ===== Responsive Footer ===== */
@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 2rem;
        margin-top: 4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-tagline {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
        text-align: center;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav-link:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 2.5rem 1rem 1.5rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-logo {
        width: 64px;
        height: 64px;
    }
    
    .footer-title {
        font-size: 1.25rem;
    }
    
    .footer-tagline {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        gap: 0.875rem;
    }
    
    .notice-container {
        padding: 1rem;
    }
    
    .notice {
        font-size: 0.75rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .notice::before {
        font-size: 0.875rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .site-footer {
        background: #f8fafc !important;
        border-top: 1px solid #e2e8f0 !important;
    }
    
    .footer-title {
        color: #1e293b !important;
    }
    
    .footer-tagline,
    .copyright,
    .disclaimer,
    .footer-nav-link {
        color: #64748b !important;
    }
    
    .notice-container {
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
    }
    
    .notice {
        color: #334155 !important;
    }
}