/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0f172a; /* slate-900 */
    color: #ffffff;
    margin: 0;
    padding: 0;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 100vh;
}

/* Header Styles */
.legal-header {
    background-color: #1e293b; /* slate-800 */
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 2px solid #22d3ee; /* cyan-400 */
}

.legal-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #22d3ee; /* cyan-400 */
    margin-bottom: 15px;
    text-align: center;
}

.legal-header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.legal-header nav a {
    color: #94a3b8; /* slate-400 */
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-header nav a:hover,
.legal-header nav a.active {
    background-color: #22d3ee; /* cyan-400 */
    color: #0f172a; /* slate-900 */
}

/* Main Content */
.legal-content {
    max-width: 100%;
    margin-bottom: 60px;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #22d3ee; /* cyan-400 */
    margin-bottom: 20px;
    text-align: center;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fde047; /* yellow-300 */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #334155; /* slate-700 */
    padding-bottom: 10px;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #22d3ee; /* cyan-400 */
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #94a3b8; /* slate-400 */
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Typography */
.legal-content p {
    margin-bottom: 16px;
    color: #e2e8f0; /* slate-200 */
    line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 16px;
    padding-left: 30px;
}

.legal-content li {
    margin-bottom: 8px;
    color: #e2e8f0; /* slate-200 */
    line-height: 1.6;
}

.legal-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Links */
.legal-content a {
    color: #22d3ee; /* cyan-400 */
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.legal-content a:hover {
    border-bottom-color: #22d3ee;
}

/* Sections */
section {
    margin-bottom: 40px;
    padding: 0;
}

/* Special Elements */
.effective-date {
    background-color: #1e293b; /* slate-800 */
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #22d3ee; /* cyan-400 */
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.support-intro {
    font-size: 1.1rem;
    color: #94a3b8; /* slate-400 */
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

/* Contact Information */
.contact-info {
    background-color: #1e293b; /* slate-800 */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #334155; /* slate-700 */
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

/* FAQ Styles */
.faq-item {
    background-color: #1e293b; /* slate-800 */
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #334155; /* slate-700 */
    margin-bottom: 20px;
}

.faq-item h3 {
    color: #fde047; /* yellow-300 */
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 15px;
}

.faq-item p,
.faq-item ul,
.faq-item ol {
    margin-bottom: 15px;
}

.faq-item p:last-child,
.faq-item ul:last-child,
.faq-item ol:last-child {
    margin-bottom: 0;
}

/* Technical Support Styles */
.technical-issue {
    background-color: #334155; /* slate-700 */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 3px solid #fde047; /* yellow-300 */
}

.technical-issue h4 {
    color: #fde047; /* yellow-300 */
    margin-top: 0;
    margin-bottom: 10px;
}

/* Help Contact */
.help-contact {
    background-color: #1e293b; /* slate-800 */
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #22d3ee; /* cyan-400 */
    text-align: center;
}

.help-contact p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.help-contact ul {
    text-align: left;
    margin-top: 20px;
}

/* Footer */
.legal-footer {
    background-color: #1e293b; /* slate-800 */
    padding: 30px;
    border-radius: 12px;
    border-top: 3px solid #22d3ee; /* cyan-400 */
    margin-top: 50px;
    text-align: center;
}

.legal-footer p {
    margin-bottom: 10px;
    color: #94a3b8; /* slate-400 */
}

.legal-footer p:last-child {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #64748b; /* slate-500 */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .legal-header {
        padding: 15px 0;
        margin-bottom: 30px;
    }
    
    .legal-header h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .legal-header nav {
        gap: 10px;
    }
    
    .legal-header nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
        margin-top: 30px;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
    
    .legal-content ul,
    .legal-content ol {
        padding-left: 20px;
    }
    
    .faq-item,
    .contact-info,
    .help-contact {
        padding: 15px;
    }
    
    .legal-footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .legal-header nav {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .legal-header nav a {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    .legal-content h1 {
        font-size: 1.8rem;
    }
    
    .legal-content h2 {
        font-size: 1.3rem;
    }
    
    .contact-info,
    .faq-item,
    .help-contact {
        padding: 12px;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .legal-header {
        background-color: transparent;
        border-bottom: 2px solid black;
    }
    
    .legal-header nav {
        display: none;
    }
    
    .legal-content h1,
    .legal-content h2,
    .legal-content h3 {
        color: black;
    }
    
    .faq-item,
    .contact-info,
    .help-contact,
    .technical-issue {
        background-color: #f8f9fa;
        border: 1px solid #333;
    }
    
    .legal-footer {
        background-color: transparent;
        border-top: 1px solid black;
    }
}