/* ===================================
   LEGAL PAGES (Privacy, Terms, About, Contact)
   Professional, clean design
   =================================== */

.legal-page-main {
    min-height: calc(100vh - 200px);
    padding: 3rem 0 5rem;
    background: var(--bg-primary);
}

.legal-page-main .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb */
.legal-page-main .breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.legal-page-main .breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-page-main .breadcrumb a:hover {
    color: var(--accent-purple);
}

.legal-page-main .breadcrumb .separator {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.legal-page-main .breadcrumb .current {
    color: rgba(255, 255, 255, 0.8);
}

/* Page Header */
.legal-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(0, 229, 255, 0.2);
}

.legal-page-title {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
    color: var(--text-color);
    margin: 0 0 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.legal-page-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.legal-page-meta i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Page Content */
.legal-page-content {
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 229, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
}

.legal-page-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 3rem 0 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.legal-page-content h2:first-child {
    margin-top: 0;
}

.legal-page-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 2.5rem 0 1.25rem;
}

.legal-page-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin: 2rem 0 1rem;
}

.legal-page-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.legal-page-content ul,
.legal-page-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.legal-page-content li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.legal-page-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: all 0.3s ease;
}

.legal-page-content a:hover {
    color: var(--accent-purple);
    border-bottom-color: var(--accent-purple);
}

.legal-page-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.legal-page-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    background: rgba(0, 229, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.legal-page-content code {
    background: rgba(0, 229, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

.legal-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.legal-page-content th,
.legal-page-content td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-page-content th {
    background: rgba(0, 229, 255, 0.1);
    color: var(--text-color);
    font-weight: 600;
}

.legal-page-content tr:hover {
    background: rgba(0, 229, 255, 0.05);
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.contact-form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-purple));
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.3);
}

.contact-form button:active {
    transform: translateY(0);
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-info-card {
    background: rgba(0, 229, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-info-card h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--text-color);
}

.contact-info-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    border: none;
}

.contact-info-card a:hover {
    color: var(--accent-purple);
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page-main {
        padding: 2rem 0 3rem;
    }
    
    .legal-page-main .container {
        padding: 0 1rem;
    }
    
    .legal-page-title {
        font-size: 2rem;
    }
    
    .legal-page-subtitle {
        font-size: 1rem;
    }
    
    .legal-page-content {
        padding: 2rem 1.5rem;
    }
    
    .legal-page-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-page-content h3 {
        font-size: 1.25rem;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

/* Light Mode */
body.light-mode .legal-page-main {
    background: #f8f9fa;
}

body.light-mode .legal-page-title {
    background: linear-gradient(135deg, #0085ff, #7c4dff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.light-mode .legal-page-subtitle {
    color: #4a5568;
}

body.light-mode .legal-page-content {
    background: #ffffff;
    border-color: rgba(0, 133, 255, 0.2);
    color: #1c1e21;
}

body.light-mode .legal-page-content h2,
body.light-mode .legal-page-content h3,
body.light-mode .legal-page-content h4 {
    color: #050505;
}

body.light-mode .legal-page-content a {
    color: #0085ff;
    border-bottom-color: rgba(0, 133, 255, 0.3);
}

body.light-mode .legal-page-content a:hover {
    color: #7c4dff;
}

body.light-mode .contact-form input,
body.light-mode .contact-form textarea {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.1);
    color: #050505;
}

body.light-mode .contact-form input:focus,
body.light-mode .contact-form textarea:focus {
    background: #ffffff;
    border-color: #0085ff;
}

body.light-mode .contact-info-card {
    background: #f8f9fa;
    border-color: rgba(0, 133, 255, 0.2);
}

body.light-mode .contact-info-card:hover {
    background: #ffffff;
}

