/* Main Layout Styles */
.app-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    /* padding-top removed to avoid double spacing with page-specific styles */
}

/* Footer Styles */
.footer {
    background: #0f172a;
    /* var(--gray-900) - approximation if var not defined globally yet */
    color: #cbd5e1;
    /* var(--gray-300) */
    padding: 64px 0 32px;
    /* var(--space-16) 0 var(--space-8) */
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    /* var(--space-10) */
    margin-bottom: 40px;
    /* var(--space-10) */
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 2fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    /* var(--space-3) */
    margin-bottom: 16px;
    /* var(--space-4) */
}

.footer-logo .logo-icon {
    font-size: 1.875rem;
    /* var(--text-3xl) */
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    /* var(--text-2xl) */
    font-weight: 700;
    color: white;
    /* var(--white) */
}

.footer-tagline {
    font-size: 0.875rem;
    /* var(--text-sm) */
    color: #94a3b8;
    /* var(--gray-400) */
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    /* var(--space-8) */
}

@media (min-width: 640px) {
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section h4 {
    font-size: 0.875rem;
    /* var(--text-sm) */
    font-weight: 600;
    color: white;
    /* var(--white) */
    margin-bottom: 16px;
    /* var(--space-4) */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section a {
    display: block;
    font-size: 0.875rem;
    /* var(--text-sm) */
    color: #94a3b8;
    /* var(--gray-400) */
    margin-bottom: 8px;
    /* var(--space-2) */
    text-decoration: none;
    transition: color 0.2s;
    /* var(--transition-fast) */
}

.footer-section a:hover {
    color: white;
    /* var(--white) */
}

.footer-bottom {
    padding-top: 32px;
    /* var(--space-8) */
    border-top: 1px solid #1e293b;
    /* var(--gray-800) */
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* var(--space-2) */
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
    /* var(--text-sm) */
    color: #64748b;
    /* var(--gray-500) */
    margin: 0;
}

.footer-note {
    color: #3b82f6 !important;
    /* var(--primary-blue-light) */
}