/* ==========================================
   Legal Pages Styles (Privacy & Terms)
   ========================================== */

.legal-page {
    padding: 120px 24px 80px;
    min-height: 100vh;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.legal-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.last-updated {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Legal Content */
.legal-content {
    font-size: 16px;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.legal-section p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.legal-section ul {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-section li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
}

.legal-section li::marker {
    color: var(--primary);
}

.legal-section li strong {
    color: var(--text-primary);
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.legal-section a:hover {
    color: var(--primary-dark);
}

/* Contact Info Box */
.contact-info {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 16px;
}

.contact-info p {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info strong {
    color: var(--primary);
}

/* Legal Footer */
.legal-footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition-normal);
}

.btn-back:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-back .material-icons-round {
    font-size: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-page {
        padding: 100px 16px 60px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .legal-section h3 {
        font-size: 16px;
    }

    .legal-content {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .legal-header h1 {
        font-size: 28px;
    }

    .legal-section {
        margin-bottom: 32px;
        padding-bottom: 32px;
    }

    .contact-info {
        padding: 16px;
    }
}
