/**
 * legal-pages.css
 * Styles for Privacy Policy and Terms of Service pages
 * Clean, professional styling without animations
 */

/* Override any conflicting rules from main stylesheet */
html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* Main wrapper with horizontal padding */
.legal-wrapper {
    width: 100%;
    min-height: 100vh;
    padding: 0 2rem !important;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    margin: 0 auto;
}

/* Content container */
.legal-content {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
    padding-left: 0;
    padding-right: 0;
    position: relative;
    box-sizing: border-box;
}

.legal-content > * {
    max-width: 100%;
    word-wrap: break-word;
}

/* Back to home link */
.back-link {
    color: #fb923c;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #f97316;
    transform: translateX(-5px);
}

/* Page title */
.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

/* Last updated date */
.last-updated {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 3rem;
    font-size: 0.95rem;
}

/* Section headings */
.legal-content h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #fb923c;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-weight: 600;
}

/* Paragraphs */
.legal-content p {
    margin-bottom: 1rem;
    color: #e0e6ed;
    line-height: 1.8;
    font-size: 1rem;
}

/* Lists */
.legal-content ul, 
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: #e0e6ed;
    line-height: 1.8;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* Bold text */
.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Links in content */
.legal-content a {
    color: #fb923c;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-content a:hover {
    color: #f97316;
    text-decoration: underline;
}

/* Contact box and important boxes */
.contact-box,
.important-box {
    background: rgba(251, 146, 60, 0.1);
    border: 1px solid rgba(251, 146, 60, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(5px);
}

.contact-box p,
.important-box p {
    margin-bottom: 0.5rem;
}

.contact-box p:last-child,
.important-box p:last-child {
    margin-bottom: 0;
}

.important-box h3 {
    margin-top: 0;
    color: #fb923c;
}

/* Links inside boxes */
.contact-box a,
.important-box a {
    color: #fb923c;
    text-decoration: none;
    font-weight: 500;
}

.contact-box a:hover,
.important-box a:hover {
    color: #f97316;
    text-decoration: underline;
}

/* Footer note styling */
.footer-note {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(251, 146, 60, 0.2);
    color: #94a3b8;
    font-size: 0.9rem;
    font-style: italic;
}

.footer-note p {
    color: #94a3b8;
}

/* Section dividers */
.legal-section {
    margin-bottom: 2rem;
}

/* Highlighted/Warning boxes */
.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.warning-box p {
    color: #fca5a5;
    margin-bottom: 0;
}

/* Contact highlights */
.contact-highlight {
    background: rgba(251, 146, 60, 0.15);
    border-left: 4px solid #fb923c;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.contact-highlight p {
    margin-bottom: 0.5rem;
}

.contact-highlight p:last-child {
    margin-bottom: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .legal-wrapper {
        padding: 0 1.5rem !important;
    }
    
    .legal-content {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    .legal-content h3 {
        font-size: 1.1rem;
    }
    
    .contact-box,
    .important-box,
    .warning-box {
        padding: 1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .legal-wrapper {
        padding: 0 1rem !important;
    }
    
    .legal-content {
        padding-top: 5rem;
    }
    
    .legal-content h1 {
        font-size: 1.75rem;
    }
    
    .legal-content ul,
    .legal-content ol {
        padding-left: 1.5rem;
    }
}

/* Print styles */
@media print {
    .legal-wrapper {
        padding: 0 !important;
    }
    
    .back-link,
    header,
    footer {
        display: none;
    }
    
    .legal-content {
        padding-top: 1rem;
        max-width: 100%;
    }
    
    .legal-content h1 {
        color: #000;
        -webkit-text-fill-color: #000;
    }
    
    .legal-content h2 {
        color: #333;
    }
    
    .legal-content h3 {
        color: #333;
    }
    
    .legal-content p,
    .legal-content li {
        color: #000;
    }
    
    .contact-box,
    .important-box,
    .warning-box {
        border: 1px solid #999;
        background: #f5f5f5;
    }
}
