/* ============================================
   SLABR LEGAL PAGES - STYLES
   ============================================ */

/* Navigation for legal pages */
.navbar-legal {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.navbar-legal .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Legal Page Main Container */
.legal-page {
    padding: 120px 0 80px;
    min-height: calc(100vh - 200px);
}

/* Legal Header */
.legal-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.legal-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-date {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Legal Content */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.legal-section h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 12px;
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.legal-section ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--gradient-primary);
    border-radius: 50%;
}

.legal-section ul.info-list li::before {
    display: none;
}

.legal-section ul.info-list li {
    padding-left: 0;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-section a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Footer for legal pages */
.footer-legal {
    background: var(--bg-secondary);
    padding: 24px 0;
    border-top: 1px solid var(--border-color);
}

.footer-legal .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-legal-links a:hover {
    color: var(--primary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 0 60px;
    }

    .legal-header {
        margin-bottom: 40px;
        padding-bottom: 24px;
    }

    .legal-section {
        margin-bottom: 36px;
    }

    .legal-section h2 {
        font-size: 1.3rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .footer-legal .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal-links {
        justify-content: center;
    }

    .navbar-legal .container {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Print styles */
@media print {
    .navbar-legal,
    .footer-legal {
        display: none;
    }

    .legal-page {
        padding: 20px 0;
    }

    .legal-header h1 {
        background: none;
        -webkit-text-fill-color: #000;
        color: #000;
    }

    .legal-section h2 {
        border-bottom-color: #000;
    }

    .legal-section p,
    .legal-section ul li {
        color: #333;
    }
}
